thank you, Avi and all other who  helped. 

yes, it is spacewalk client packages issue. the client server is a rhel6. I was 
register it to spacewalk for OL6 channel. following packages get replaced by 
upstream OL packages after "yum update" which have broken the yum update from 
spacewalk: 

rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin 

after I removed those packages and installed with those from redhat, everything 
works. does this mean I have to exclude those package ever get updated to make 
sure yum update will not break from spacewalk?

Thanks,
Yang
________________________________________
From: [email protected] [[email protected]] on 
behalf of Avi Miller [[email protected]]
Sent: Friday, November 07, 2014 3:33 PM
To: [email protected]
Subject: Re: [Spacewalk-list] Cannot trtrieve reposiitory metadata      
(repomd.xml)

Hi,

> On 7 Nov 2014, at 6:35 pm, YANG LI <[email protected]> wrote:
>
> [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

Can you remove the subscription-manager yum plugin and test again? This is not 
required for Spacewalk.

Note that we don't have any RHEL boxes internally and have not tested a 
migration from RHEL to Oracle Linux using Spacewalk in this way. You should 
ensure that you have the right Spacewalk Client installed and that it wasn't 
replaced by upstream OL packages.

Cheers,
Avi

--
Oracle <http://www.oracle.com>
Avi Miller | Product Management Director | +61 (3) 8616 3496
Oracle Linux and Virtualization
417 St Kilda Road, Melbourne, Victoria 3004 Australia


_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to