[Spacewalk-list] yum repolist shows 0 packages
Michael Mraka
michael.mraka at redhat.com
Fri Apr 13 12:01:30 UTC 2018
Emiliano Sgrano:
> Hello all,
>
> after a client successfully registers to Spacewalk it doesn't see any
> packages from the channels.
>
> Basically we have an base channel which is called upon the environment it's
> corresponding to, for instance: development, test and production/
> Then we have child-channels for each app/category: epel, rhel, chef,
> gitlab, etc...
>
> We have also a lifecycle-mangement in place which is used to promote
> packages from development to test, test to production.
>
> Activation keys are created for each child-channel so that a client
> registers to Spacewalk using 1 or more activation keys, depending on which
> channel it want to registers to.
>
> The registration works fine, no problem, I can see the client registered to
> Spacewalk and packages that need to be upgraded, but when I run 'yum
> repolist' I got 0 packages and yum update fails with the following error:
>
> Loaded plugins: amazon-id, priorities, rhnplugin, rhui-lb,
> search-disabled-repos
>
> This system is receiving updates from RHN Classic or Red Hat Satellite.
>
> One of the configured repositories failed (Unknown),
> and yum doesn't have enough cached data to continue. At this point the only
> safe thing yum can do is fail. There are a few ways to work "fix" this:
...
> One thing I noticed is that 'Last Repo Build' in the channel details is
> (none), could be that the problem? It looks the repo is not built. How can
> I build it?
Hello Emiliano,
Check that 'taskomatic' service is running on your spacewalk server.
It's the one responsible for (re)building repo metadata.
Spacewalk logs are located in /var/log/rhn.
> I've run out of options.
>
> Thanks in advance,
> Emiliano
Regards,
--
Michael Mráka
System Management Engineering, Red Hat
More information about the Spacewalk-list
mailing list