On 30 May 2017 at 16:31, Evgeni Golov <[email protected]> wrote:

> 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.
>



Can I ask - since the unregister, reregister workaround is cluebat, what
are we to do when the subscription-manager refresh doesn't work as you
state it does?

We have systems - that I've just updated - but are not finding the new
redhat.repo or the updates therein.

Whereas the unregister, reregister workaround is shown to work,
consistently.

cheers
L.

------
"The antidote to apocalypticism is *apocalyptic civics*. Apocalyptic civics
is the insistence that we cannot ignore the truth, nor should we panic
about it. It is a shared consciousness that our institutions have failed
and our ecosystem is collapsing, yet we are still here — and we are
creative agents who can shape our destinies. Apocalyptic civics is the
conviction that the only way out is through, and the only way through is
together. "

*Greg Bloom* @greggish
https://twitter.com/greggish/status/873177525903609857

-- 
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.

Reply via email to