On 30 May 2017 at 16:31, Evgeni Golov <[email protected]> wrote: > > > - yum clean all, all good > > > - yum upgrade doesn't recognise new repos. If I look into > > > /etc/yum.repos.d/redhat.repo and the new products aren't listed in that > > > file. > > > > > > In order to get it to work, traditionally I've then performed: > > > > > > subscription-manager identity > > > subscription-manager unsubscribe > > > subscription-manager register --org="ACMI" --activationkey="Utility > > > Server" > > > > I have discovered that my traditional method was finally deprecated and > it > > didn't work. > > > > But I also found that the slightly easier work around works: > > > > subscription-manager repos > > > > For whatever reason, that refreshes the redhat.repo. > > So would "subscription-manager refresh". > When you change repos, your subscription changes, but it is not pulled > in on every yum invocation. > > You can set full_refresh_on_yum = 1 in rhsm.conf, but even then not > every aspect is properly updated [1]. > > Also, I would suggest against using sub-man unregister && sub-man > register as a cluebat workaround. The subscription certificate is also > used for katello-agent, and if you don't restart it after doing the > sub-man dance, you end up without the ability to apply errata via > katello-agent. >
Ah! Thanks. That's great information to know - I'll start using that method. I find the documentation around subscription-manager to be a little opaque to be honest. cheers L. ------ "Mission Statement: To provide hope and inspiration for collective action, to build collective power, to achieve collective transformation, rooted in grief and rage but pointed towards vision and dreams." - Patrisse Cullors, *Black Lives Matter founder* -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
