Waldrino: Thanks for your reply - I did investigate whether this was recommended prior to doing it, according to a post from someone with apparently good credentials (Red Hat Satellite engineer) its OK to do this.
https://www.redhat.com/archives/spacewalk-list/2011-October/msg00010.html However this was a while ago and things may have changed. If this is not what most people are donig then I'll reconsider. Matthew: I hadn't, I have now but sadly it didn';t help - same error in log. To reply to your question, I have registered the spacewalk "master" server directly to itself. Regards, Matt On 11 December 2014 at 17:49, Waldirio Manhães Pinheiro <[email protected]> wrote: > Matt > > Normally you update your server from Internet and not from local > repositories. Like example bellow > > > |Internet| > | > |firewall| > | > |SW| > ---------------------------- > | | | > Proxy Proxy Proxy > > =============== > Clients ..... > > So your proxy and your clients (connected directly to SW or via proxy) > will be updated from SW, btw the SW will be updated from Internet. > > I'm not sure if we have someone in the channel updating from local repo. > Please guys, tell us! ;-) > > Take Care > > ______________ > Atenciosamente > Waldirio > msn: [email protected] > Skype: waldirio > Site: www.waldirio.com.br > Blog: blog.waldirio.com.br > LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646 > PGP: www.waldirio.com.br/public.html > > On Thu, Dec 11, 2014 at 2:53 PM, Matt Bayliss <[email protected]> > wrote: > >> 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. >> >> 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: >> >> Cannot retrieve repository metadata (repomd.xml) for repository: >> centos6-base-x86_64 >> >> I have checked the httpd logs and can't spot a relevant error, what could >> be the problem? >> >> Regards, >> >> Matt >> >> Full /var/log/up2date log: >> >> >> [Thu Dec 11 13:43:42 2014] up2date logging into up2date server >> [Thu Dec 11 13:43:42 2014] up2date successfully retrieved authentication >> token from up2date server >> [Thu Dec 11 13:43:44 2014] up2date updateLoginInfo() login info >> [Thu Dec 11 13:43:44 2014] up2date logging into up2date server >> [Thu Dec 11 13:43:44 2014] up2date successfully retrieved authentication >> token from up2date server >> [Thu Dec 11 13:43:44 2014] up2date updateLoginInfo() login info >> [Thu Dec 11 13:43:44 2014] up2date logging into up2date server >> [Thu Dec 11 13:43:44 2014] up2date successfully retrieved authentication >> token from up2date server >> [Thu Dec 11 13:43:44 2014] up2date updateLoginInfo() login info >> [Thu Dec 11 13:43:44 2014] up2date logging into up2date server >> [Thu Dec 11 13:43:44 2014] up2date successfully retrieved authentication >> token from up2date server >> [Thu Dec 11 13:43:44 2014] up2date >> Traceback (most recent call last): >> File "/usr/sbin/rhn_check", line 351, in __run_action >> (status, message, data) = CheckCli.__do_call(method, params, kwargs) >> File "/usr/sbin/rhn_check", line 343, in __do_call >> method = getMethod.getMethod(method, "/usr/share/rhn/", "actions") >> File "/usr/share/rhn/up2date_client/getMethod.py", line 78, in getMethod >> actions = __import__(modulename) >> File "/usr/share/rhn/actions/packages.py", line 273, in <module> >> yum_base = YumAction() >> File "/usr/share/rhn/actions/packages.py", line 67, in __init__ >> self.doSackSetup() >> File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 649, in >> doSackSetup >> return self._getSacks(archlist=archlist, thisrepo=thisrepo) >> File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 686, in >> _getSacks >> self.repos.populateSack(which=repos) >> File "/usr/lib/python2.6/site-packages/yum/repos.py", line 319, in >> populateSack >> sack.populate(repo, mdtype, callback, cacheonly) >> File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 165, in >> populate >> if self._check_db_version(repo, mydbtype): >> File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 223, in >> _check_db_version >> return repo._check_db_version(mdtype) >> File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1260, in >> _check_db_version >> repoXML = self.repoXML >> File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1459, in >> <lambda> >> repoXML = property(fget=lambda self: self._getRepoXML(), >> File "/usr/share/yum-plugins/rhnplugin.py", line 580, in _getRepoXML >> return YumRepository._getRepoXML(self) >> File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1455, in >> _getRepoXML >> raise Errors.RepoError, msg >> <class 'yum.Errors.RepoError'>: Cannot retrieve repository metadata >> (repomd.xml) for repository: centos6-base-x86_64. Please verify its path >> and try again >> >> [Thu Dec 11 16:11:07 2014] up2date logging into up2date server >> [Thu Dec 11 16:11:07 2014] up2date successfully retrieved authentication >> token from up2date server >> [Thu Dec 11 16:11:10 2014] up2date updateLoginInfo() login info >> [Thu Dec 11 16:11:10 2014] up2date logging into up2date server >> [Thu Dec 11 16:11:10 2014] up2date successfully retrieved authentication >> token from up2date server >> [Thu Dec 11 16:11:10 2014] up2date updateLoginInfo() login info >> [Thu Dec 11 16:11:10 2014] up2date logging into up2date server >> [Thu Dec 11 16:11:10 2014] up2date successfully retrieved authentication >> token from up2date server >> [Thu Dec 11 16:11:10 2014] up2date updateLoginInfo() login info >> [Thu Dec 11 16:11:10 2014] up2date logging into up2date server >> [Thu Dec 11 16:11:10 2014] up2date successfully retrieved authentication >> token from up2date server >> [Thu Dec 11 16:11:10 2014] up2date >> Traceback (most recent call last): >> File "/usr/sbin/rhn_check", line 351, in __run_action >> (status, message, data) = CheckCli.__do_call(method, params, kwargs) >> File "/usr/sbin/rhn_check", line 343, in __do_call >> method = getMethod.getMethod(method, "/usr/share/rhn/", "actions") >> File "/usr/share/rhn/up2date_client/getMethod.py", line 78, in getMethod >> actions = __import__(modulename) >> File "/usr/share/rhn/actions/packages.py", line 273, in <module> >> yum_base = YumAction() >> File "/usr/share/rhn/actions/packages.py", line 67, in __init__ >> self.doSackSetup() >> File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 649, in >> doSackSetup >> return self._getSacks(archlist=archlist, thisrepo=thisrepo) >> File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 686, in >> _getSacks >> self.repos.populateSack(which=repos) >> File "/usr/lib/python2.6/site-packages/yum/repos.py", line 319, in >> populateSack >> sack.populate(repo, mdtype, callback, cacheonly) >> File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 165, in >> populate >> if self._check_db_version(repo, mydbtype): >> File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 223, in >> _check_db_version >> return repo._check_db_version(mdtype) >> File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1260, in >> _check_db_version >> repoXML = self.repoXML >> File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1459, in >> <lambda> >> repoXML = property(fget=lambda self: self._getRepoXML(), >> File "/usr/share/yum-plugins/rhnplugin.py", line 580, in _getRepoXML >> return YumRepository._getRepoXML(self) >> File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1455, in >> _getRepoXML >> raise Errors.RepoError, msg >> <class 'yum.Errors.RepoError'>: Cannot retrieve repository metadata >> (repomd.xml) for repository: centos6-base-x86_64. Please verify its path >> and try again >> >> >> >> _______________________________________________ >> 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 >
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
