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

Sreejith P G sreejith.512 at gmail.com
Tue May 23 18:26:00 UTC 2017


Hi Michael,
        Yes, I recently updated httpd and got the culprit :) I did the work
around as below and it worked. Thanks for your time.

# echo “HTTPProtocolOptions unsafe” >>
/etc/httpd/conf.d/123unsafe.conf; service httpd restart


On Tue, May 23, 2017 at 8:38 PM, Michael Mraka <michael.mraka at redhat.com>
wrote:

> 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
>
> _______________________________________________
> 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/20170524/1067f2e9/attachment.htm>


More information about the Spacewalk-list mailing list