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

Michael Mraka michael.mraka at redhat.com
Tue May 23 12:38:26 UTC 2017


Sreejith P G:
> Hi Michael,
>                 Please find the logs below. The server is throwing 400
> error code.

Hi Sreejith,

did you recently upgraded httpd on spacewalk server? The symptoms look
like 'HTTPD Whitespace Problem' described in
https://access.redhat.com/articles/3013361.

Regards,

> 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"
...
> 
> 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.


--
Michael Mráka
System Management Engineering, Red Hat




More information about the Spacewalk-list mailing list