Yum Error: Unable to read consumer identity

In Amazon or Azure if you get Yum error do the following:

  • cd /etc/yumn/pluginconf.d/
  • vi *.conf – and change the “enable=0” instead of 1
    • make sure that subscription-manager.conf has enable=0