<div dir="ltr"><div><div>I am testing a Spacewalk 2.2 server with a connected proxy and three hosts connected via the proxy.  I can successfully update packages both on the proxy and hosts connected though it.<br><br>I have added my Spacewalk 2.2 server to itselff, using its DNS FQDN rather than localhost, however when I try to update packages for it I get the following error in /var/log/up2date:<br><br>Cannot retrieve repository metadata (repomd.xml) for repository: centos6-base-x86_64<br><br></div>I have checked the httpd logs and can't spot a relevant error, what could be the problem?<br><br>Regards,<br></div><div><br>Matt<br><br></div>Full /var/log/up2date log:<br><div><div><br><br>[Thu Dec 11 13:43:42 2014] up2date logging into up2date server<br>[Thu Dec 11 13:43:42 2014] up2date successfully retrieved authentication token from up2date server<br>[Thu Dec 11 13:43:44 2014] up2date updateLoginInfo() login info<br>[Thu Dec 11 13:43:44 2014] up2date logging into up2date server<br>[Thu Dec 11 13:43:44 2014] up2date successfully retrieved authentication token from up2date server<br>[Thu Dec 11 13:43:44 2014] up2date updateLoginInfo() login info<br>[Thu Dec 11 13:43:44 2014] up2date logging into up2date server<br>[Thu Dec 11 13:43:44 2014] up2date successfully retrieved authentication token from up2date server<br>[Thu Dec 11 13:43:44 2014] up2date updateLoginInfo() login info<br>[Thu Dec 11 13:43:44 2014] up2date logging into up2date server<br>[Thu Dec 11 13:43:44 2014] up2date successfully retrieved authentication token from up2date server<br>[Thu Dec 11 13:43:44 2014] up2date<br>Traceback (most recent call last):<br>  File "/usr/sbin/rhn_check", line 351, in __run_action<br>    (status, message, data) = CheckCli.__do_call(method, params, kwargs)<br>  File "/usr/sbin/rhn_check", line 343, in __do_call<br>    method = getMethod.getMethod(method, "/usr/share/rhn/", "actions")<br>  File "/usr/share/rhn/up2date_client/getMethod.py", line 78, in getMethod<br>    actions = __import__(modulename)<br>  File "/usr/share/rhn/actions/packages.py", line 273, in <module><br>    yum_base = YumAction()<br>  File "/usr/share/rhn/actions/packages.py", line 67, in __init__<br>    self.doSackSetup()<br>  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 649, in doSackSetup<br>    return self._getSacks(archlist=archlist, thisrepo=thisrepo)<br>  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 686, in _getSacks<br>    self.repos.populateSack(which=repos)<br>  File "/usr/lib/python2.6/site-packages/yum/repos.py", line 319, in populateSack<br>    sack.populate(repo, mdtype, callback, cacheonly)<br>  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 165, in populate<br>    if self._check_db_version(repo, mydbtype):<br>  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 223, in _check_db_version<br>    return repo._check_db_version(mdtype)<br>  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1260, in _check_db_version<br>    repoXML = self.repoXML<br>  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1459, in <lambda><br>    repoXML = property(fget=lambda self: self._getRepoXML(),<br>  File "/usr/share/yum-plugins/rhnplugin.py", line 580, in _getRepoXML<br>    return YumRepository._getRepoXML(self)<br>  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1455, in _getRepoXML<br>    raise Errors.RepoError, msg<br><class 'yum.Errors.RepoError'>: Cannot retrieve repository metadata (repomd.xml) for repository: centos6-base-x86_64. Please verify its path and try again<br><br>[Thu Dec 11 16:11:07 2014] up2date logging into up2date server<br>[Thu Dec 11 16:11:07 2014] up2date successfully retrieved authentication token from up2date server<br>[Thu Dec 11 16:11:10 2014] up2date updateLoginInfo() login info<br>[Thu Dec 11 16:11:10 2014] up2date logging into up2date server<br>[Thu Dec 11 16:11:10 2014] up2date successfully retrieved authentication token from up2date server<br>[Thu Dec 11 16:11:10 2014] up2date updateLoginInfo() login info<br>[Thu Dec 11 16:11:10 2014] up2date logging into up2date server<br>[Thu Dec 11 16:11:10 2014] up2date successfully retrieved authentication token from up2date server<br>[Thu Dec 11 16:11:10 2014] up2date updateLoginInfo() login info<br>[Thu Dec 11 16:11:10 2014] up2date logging into up2date server<br>[Thu Dec 11 16:11:10 2014] up2date successfully retrieved authentication token from up2date server<br>[Thu Dec 11 16:11:10 2014] up2date<br>Traceback (most recent call last):<br>  File "/usr/sbin/rhn_check", line 351, in __run_action<br>    (status, message, data) = CheckCli.__do_call(method, params, kwargs)<br>  File "/usr/sbin/rhn_check", line 343, in __do_call<br>    method = getMethod.getMethod(method, "/usr/share/rhn/", "actions")<br>  File "/usr/share/rhn/up2date_client/getMethod.py", line 78, in getMethod<br>    actions = __import__(modulename)<br>  File "/usr/share/rhn/actions/packages.py", line 273, in <module><br>    yum_base = YumAction()<br>  File "/usr/share/rhn/actions/packages.py", line 67, in __init__<br>    self.doSackSetup()<br>  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 649, in doSackSetup<br>    return self._getSacks(archlist=archlist, thisrepo=thisrepo)<br>  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 686, in _getSacks<br>    self.repos.populateSack(which=repos)<br>  File "/usr/lib/python2.6/site-packages/yum/repos.py", line 319, in populateSack<br>    sack.populate(repo, mdtype, callback, cacheonly)<br>  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 165, in populate<br>    if self._check_db_version(repo, mydbtype):<br>  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 223, in _check_db_version<br>    return repo._check_db_version(mdtype)<br>  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1260, in _check_db_version<br>    repoXML = self.repoXML<br>  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1459, in <lambda><br>    repoXML = property(fget=lambda self: self._getRepoXML(),<br>  File "/usr/share/yum-plugins/rhnplugin.py", line 580, in _getRepoXML<br>    return YumRepository._getRepoXML(self)<br>  File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1455, in _getRepoXML<br>    raise Errors.RepoError, msg<br><class 'yum.Errors.RepoError'>: Cannot retrieve repository metadata (repomd.xml) for repository: centos6-base-x86_64. Please verify its path and try again<br><br><br></div></div></div>