<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
thank you Alexander. tried following on spacewalk server but still broke from client side.
<div><br>
</div>
<div>cd /var/cache/rhn/repodata</div>
<div>rm -rf oraclelinux6-x86_64</div>
<div>spacecmd softwarechannel_regenerateyumcache oraclelinux6-x86_64</div>
<div><br>
</div>
<div>
<div>[root@sbrh1 repodata]# ls -lh</div>
<div>total 40K</div>
<div>drwxr-xr-x 2 root root 4.0K Oct 15 12:14 centos6-x86_64</div>
<div>drwxr-xr-x 2 root root 4.0K Oct 15 12:15 epel6-centos6-x86_64</div>
<div>drwxr-xr-x 2 root root 4.0K Nov  5 15:23 epel6_x86_64</div>
<div>drwxr-xr-x 2 root root 4.0K Nov  7 08:53 oraclelinux5-x86_64</div>
<div>drwxr-xr-x 2 root root 4.0K Oct 24 14:09 oraclelinux5-x86_64-addons</div>
<div>drwxr-xr-x 2 root root 4.0K Oct 28 11:57 oraclelinux6-x86_64-addons</div>
<div>drwxr-xr-x 2 root root 4.0K Oct 10 20:16 oraclelinux6-x86_64-uek-r3</div>
<div>drwxr-xr-x 2 root root 4.0K Oct 29 14:35 sles11-sp3-novel</div>
<div>drwxr-xr-x 2 root root 4.0K Oct 29 14:36 sles11-sp3-updates-x86_64</div>
<div>drwxr-xr-x 2 root root 4.0K Nov  7 02:07 zfs_el6_x86_64</div>
<div><br>
</div>
<div>do not see oraclelinux6-x86_64 get generated. </div>
<div><br>
</div>
<div>started sync from web UI</div>
<div><br>
</div>
<div>
<div>Sync started: Fri Nov  7 08:27:07 2014</div>
<div>['/usr/bin/spacewalk-repo-sync', '--channel', 'oraclelinux6-x86_64', '--type', 'yum', '']</div>
<div>Repo URL: <a href="http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/">
http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/</a></div>
<div>Packages in repo:             28672</div>
<div>No new packages to sync.</div>
<div>Repo <a href="http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/">
http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/</a> has comps file comps.xml.</div>
<div>Repo <a href="http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/">
http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/</a> has 1590 errata.</div>
<div>Sync completed.</div>
<div>Total time: 0:22:55</div>
</div>
<div><br>
</div>
<div>anything else I should try?</div>
<div><br>
</div>
<div>
<div>On Nov 7, 2014, at 5:04 AM, Alexander Innes <<a href="mailto:senni@necurity.co.uk">senni@necurity.co.uk</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>Its usually a cache error on spacewalk, <br>
<br>
cd /var/cache/rhn/repodata/<br>
</div>
rm -rf $Broken<br>
</div>
spacecmd softwarechannel_regenerateyumcache<br>
spacewalk-repo-sync -c $Broken<br>
<br>
</div>
Usualy fixes that for me<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 7 November 2014 07:35, YANG LI <span dir="ltr"><<a href="mailto:yangli@clemson.edu" target="_blank">yangli@clemson.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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.<br>
this is message I see when I try to yum check-update:<br>
<br>
[root@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<br>
<br>
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:<br>
<br>
1. added EPEL channel as child channel of oralelinux6-x86_64 channel<br>
<br>
# spacewalk-common-channels -v -u aais-admin -p spacewalk -a x86_64 -k unlimited epel6<br>
<br>
2. added osad to force scheduled actions to run mediately on spacewalk clients. This was tested and worked fine.<br>
<br>
3. Enabled monitoring.<br>
<br>
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?<br>
<br>
<br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
</blockquote>
</div>
<br>
</div>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
https://www.redhat.com/mailman/listinfo/spacewalk-list</blockquote>
</div>
<br>
</div>
</body>
</html>