Entitlement server?

General support questions
Post Reply
MartinR
Posts: 590
Joined: 2015/05/11 07:53:27
Location: UK

Entitlement server?

Post by MartinR » 2020/04/29 18:27:43

Yum has started issuing an error:

Code: Select all

# yum update
Loaded plugins: fastestmirror, langpacks, priorities, product-id, search-disabled-repos, subscription-manager

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

Loading mirror speeds from cached hostfile
...
The error wasn't there this morning. I assume this is a RHEL carry-over.

boboshaq
Posts: 3
Joined: 2020/04/29 15:17:57

Re: Entitlement server?

Post by boboshaq » 2020/04/29 19:26:29

I have the same error today.
I was updated system to 7.8 version.

User avatar
KernelOops
Posts: 278
Joined: 2013/12/18 15:04:03
Location: xfs file system

Re: Entitlement server?

Post by KernelOops » 2020/04/29 20:11:42

Looks like you have more yum plugins than you should.

I think the default is to only load the fastestmirror plugin.
--
I love my computer - all my friends live there.
--

MartinR
Posts: 590
Joined: 2015/05/11 07:53:27
Location: UK

Re: Entitlement server?

Post by MartinR » 2020/04/29 20:31:41

Good catch. This morning it started with:

Code: Select all

    Loaded plugins: fastestmirror, langpacks, priorities
    Loading mirror speeds from cached hostfile
...
It looks like this morning's yum update added search-disabled-repos, subscription-manager. Looking back I see that subscription-manager and subscription-manager-rhsm were installed for dependencies. I've checked with yum provides and a subsequent repoquery -l subscription-manager and that is definitely the source.

Trying to remove the two subscription manager packages triggers a "removing for dependencies" of:
  • containers-common
  • docker
  • docker-client
  • docker-common
It looks to me as though there is a RHEL dependency that's been inadvertently built into CentOS.

lightman47
Posts: 1161
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: Entitlement server?

Post by lightman47 » 2020/04/29 21:12:07

subscription-manager is a Red Hat thing - I suspect it crept into the CentOS updates and will be quickly 'dealt with'.
Remember - importing/building packages will likely "byte you in the butt" come update time, long after you'd forgotten you did that! Use repos whenever possible.

User avatar
TrevorH
Forum Moderator
Posts: 29145
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Entitlement server?

Post by TrevorH » 2020/04/30 00:49:02

Subscription-manager is present in CentOS as it was requested for something that I don't remember. The insight-client shouldn't be there at all.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

desertcat
Posts: 761
Joined: 2014/08/07 02:17:29
Location: Tucson, AZ

Re: Entitlement server?

Post by desertcat » 2020/04/30 02:37:04

MartinR wrote:
2020/04/29 20:31:41
Good catch. This morning it started with:

Code: Select all

    Loaded plugins: fastestmirror, langpacks, priorities
    Loading mirror speeds from cached hostfile
...
It looks like this morning's yum update added search-disabled-repos, subscription-manager. Looking back I see that subscription-manager and subscription-manager-rhsm were installed for dependencies. I've checked with yum provides and a subsequent repoquery -l subscription-manager and that is definitely the source.

Trying to remove the two subscription manager packages triggers a "removing for dependencies" of:
  • containers-common
  • docker
  • docker-client
  • docker-common
It looks to me as though there is a RHEL dependency that's been inadvertently built into CentOS.
Usually I keep a watch on my /etc/yum.repos.d file then if something goes wrong, I simply go there, and move the offending repo to some backup space, then delete the offending repo from /etc/yum.repos.d file, save, and then run yum update again. Since the offending repo is no longer there it is totally skipped. After a month or two I'll copy the repo back to yum.repos.d and then re-rum yum update to see if the problem has been fixed. Trinity is one such repo that has given me problems in the past, but eventually the problems will get fixed.

MartinR
Posts: 590
Joined: 2015/05/11 07:53:27
Location: UK

Re: Entitlement server?

Post by MartinR » 2020/04/30 08:37:19

Good advice, but subscription-manager is in base and I doubt that you'd want to remove that!

rlynch99
Posts: 1
Joined: 2020/05/02 21:42:17

Re: Entitlement server?

Post by rlynch99 » 2020/05/02 22:11:10

I ran into the same problem. I decided to remove the subscription manager but when it warned about
docker and container removal I decided not to. Instead, for the time being, I've disabled subscription
manager by setting enabled=0 in /etc/yum/pluginconf.d/subscription-manager.conf. I no longer
get the warning.

One further note... I had a 7.7 test system running in a VM that didn't have docker or containers installed
and the upgrade to 7.8.2003 didn't include subscription manager so it never experienced the problem. I'm not
sure that my workaround was the right thing to do but I'm leaving it for now.

JesusRod
Posts: 1
Joined: 2020/07/03 14:58:20

Re: Entitlement server?

Post by JesusRod » 2020/07/03 15:02:23

Go to

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

enabled=0

-- yum clean all

Post Reply

Return to “CentOS 7 - General Support”