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

Tomas Lestach tlestach at redhat.com
Fri Nov 7 14:25:23 UTC 2014


> thank you Alexander. tried following on spacewalk server but still
> broke from client side.
> 
> 
> cd /var/cache/rhn/repodata
> rm -rf oraclelinux6-x86_64
> spacecmd softwarechannel_regenerateyumcache oraclelinux6-x86_64
> 
> 
> 
> [root at sbrh1 repodata]# ls -lh
> total 40K
> drwxr-xr-x 2 root root 4.0K Oct 15 12:14 centos6-x86_64
> drwxr-xr-x 2 root root 4.0K Oct 15 12:15 epel6-centos6-x86_64
> drwxr-xr-x 2 root root 4.0K Nov 5 15:23 epel6_x86_64
> drwxr-xr-x 2 root root 4.0K Nov 7 08:53 oraclelinux5-x86_64
> drwxr-xr-x 2 root root 4.0K Oct 24 14:09 oraclelinux5-x86_64-addons
> drwxr-xr-x 2 root root 4.0K Oct 28 11:57 oraclelinux6-x86_64-addons
> drwxr-xr-x 2 root root 4.0K Oct 10 20:16 oraclelinux6-x86_64-uek-r3
> drwxr-xr-x 2 root root 4.0K Oct 29 14:35 sles11-sp3-novel
> drwxr-xr-x 2 root root 4.0K Oct 29 14:36 sles11-sp3-updates-x86_64
> drwxr-xr-x 2 root root 4.0K Nov 7 02:07 zfs_el6_x86_64
> 
> 
> do not see oraclelinux6-x86_64 get generated.

It's taskomatic service that generates the repodata. Is the service running?
In case it is, are there any errors in the /var/log/rhn/rhn_taskomatic_daemon.log
file?

Regards,

> 
> 
> started sync from web UI
> 
> 
> 
> Sync started: Fri Nov 7 08:27:07 2014
> ['/usr/bin/spacewalk-repo-sync', '--channel', 'oraclelinux6-x86_64',
> '--type', 'yum', '']
> Repo URL:
> http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/
> Packages in repo: 28672
> No new packages to sync.
> Repo http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/
> has comps file comps.xml.
> Repo http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/
> has 1590 errata.
> Sync completed.
> Total time: 0:22:55
> 
> 
> anything else I should try?
> 
> 
> 
> On Nov 7, 2014, at 5:04 AM, Alexander Innes < senni at necurity.co.uk >
> wrote:
> 
> 
> 
> 
> 
> 
> 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
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list