This system is not registered with an entitlement server. You can use subscription-manager to register.

C++
In the plugin configuration file disable plugin

vim /etc/yum/pluginconf.d/subscription-manager.conf

enabled=0
Source

Also in C++: