[Spacewalk-list] Cannot trtrieve reposiitory metadata (repomd.xml)

Alexander Innes senni at necurity.co.uk
Fri Nov 7 10:04:16 UTC 2014


Its usually a cache error on spacewalk,

cd /var/cache/rhn/repodata/
rm -rf $Broken
spacecmd softwarechannel_regenerateyumcache
spacewalk-repo-sync -c $Broken

Usualy fixes that for me

On 7 November 2014 07:35, YANG LI <yangli at clemson.edu> wrote:

> I got the latest spacewalk 2.2 installed. It was working fine. I can
> register a rhel6 client to oraclelinux6-x86_64 channel and did yum update
> without issue. Then one day i found out yum update is broken.
> this is message I see when I try to yum check-update:
>
> [root at yangli-test ~]# yum check-update Loaded plugins: product-id,
> rhnplugin, subscription-manager This system is not registered to Red Hat
> Subscription Management. You can use subscription-manager to register. This
> system is receiving updates from ULN. Error: Cannot retrieve repository
> metadata (repomd.xml) for repository: oraclelinux6-x86_64. Please verify
> its path and try again
>
> I have tried to resync oraclelinux6-x86_64 channels without luck. I am not
> sure which changes have caused this. I think there are only three changes I
> have made on spacewalk servers:
>
> 1. added EPEL channel as child channel of oralelinux6-x86_64 channel
>
> # spacewalk-common-channels -v -u aais-admin -p spacewalk -a x86_64 -k
> unlimited epel6
>
> 2. added osad to force scheduled actions to run mediately on spacewalk
> clients. This was tested and worked fine.
>
> 3. Enabled monitoring.
>
> I am thinking it may related to add epel channel, so i deleted epel
> channel, but it still broke. Any idea how i fix this?
>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20141107/4c28f0da/attachment.htm>


More information about the Spacewalk-list mailing list