[Spacewalk-list] Spacewalk 2.6: Error: Cannot retrieve repository metadata (repomd.xml) for repository

Sreejith P G sreejith.512 at gmail.com
Mon May 22 19:19:26 UTC 2017


Hi Michael,
                Please find the logs below. The server is throwing 400
error code.

172.18.165.90 - - [23/May/2017:03:14:20 +0800] "POST /XMLRPC HTTP/1.1" 200
1076 "-" "rhn.rpclib.py/2.6.3-1.el6"
172.18.165.90 - - [23/May/2017:03:14:20 +0800] "GET
/XMLRPC/GET-REQ/nus_centos-6.9/repodata/repomd.xml HTTP/1.1" 400 226 "-" "
rhn.rpclib.py/2.6.3-1.el6"
172.18.165.90 - - [23/May/2017:03:14:20 +0800] "POST /XMLRPC HTTP/1.1" 200
917 "-" "rhn.rpclib.py/2.6.3-1.el6"
172.18.165.90 - - [23/May/2017:03:14:20 +0800] "GET
/XMLRPC/GET-REQ/nus_centos-6.9/repodata/repomd.xml HTTP/1.1" 400 226 "-" "
rhn.rpclib.py/2.6.3-1.el6"
172.18.165.90 - - [23/May/2017:03:14:20 +0800] "POST /XMLRPC HTTP/1.1" 200
917 "-" "rhn.rpclib.py/2.6.3-1.el6"
172.18.165.90 - - [23/May/2017:03:14:20 +0800] "GET
/XMLRPC/GET-REQ/nus_centos-6.9/repodata/repomd.xml HTTP/1.1" 400 226 "-" "
rhn.rpclib.py/2.6.3-1.el6"
172.18.165.90 - - [23/May/2017:03:14:20 +0800] "POST /XMLRPC HTTP/1.1" 200
917 "-" "rhn.rpclib.py/2.6.3-1.el6"
172.18.165.90 - - [23/May/2017:03:14:20 +0800] "GET
/XMLRPC/GET-REQ/nus_centos-6.9/repodata/repomd.xml HTTP/1.1" 400 226 "-" "
rhn.rpclib.py/2.6.3-1.el6"


On Mon, May 22, 2017 at 9:56 PM, Michael Mraka <michael.mraka at redhat.com>
wrote:

> Sreejith P G:
> > Hi Team,
> >           I configures Spacewalk 2.6 on CentOS 7 server and created two
> > channel one for CentOS 7 and another one for CentOS6. Both CentOS6 and
> > CentOS 7 clients got registered by executing rhnreg_ks command. CentOS7
> > client works fine after registering while CentOS 6 client is not able to
> > fetch any packages for update. Its throwing an error "Error: Cannot
> > retrieve repository metadata (repomd.xml) for repository: nus_centos-6.9.
> > Please verify its path and try again". I could find the files are present
> > under /var/cache/rhn/repodata/nus_centos-6.9/ of spacewalk server.
> Please
> > help me to fix the error.
> ...
>
> Check /var/log/httpd/*access.log to see which file client tries to
> download and server's answer (is it 200 OK?).
> You can also see /var/log/httpd/*error.log for errors.
>
> Regards,
>
> --
> Michael Mráka
> System Management Engineering, Red Hat
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list




-- 
Regards,
Sreejith P G
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20170523/a571413e/attachment.htm>


More information about the Spacewalk-list mailing list