On Tue, May 30, 2017 at 11:50:40AM +1000, Lachlan Musicman wrote: > On 30 May 2017 at 11:40, Lachlan Musicman <[email protected]> wrote: > > > Great, thanks. > > > > I am seeing another issue: > > > > - 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. Cheers Evgeni [1] https://bugzilla.redhat.com/show_bug.cgi?id=1439645 -- Beste Grüße/Kind regards, Evgeni Golov Software Engineer ________________________________________________________________________ Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243, Managing Directors: Charles Cachera, Michael Cunningham, Michael O'Neill, Eric Shander -- 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.
