yum subscription manager redhat code example
Example: This system is not registered with an entitlement server. You can use subscription-manager to register.
In the plugin configuration file disable plugin
vim /etc/yum/pluginconf.d/subscription-manager.conf
enabled=0