<div dir="ltr">Hello Matt<div><br></div><div>Talking about RHN Satellite isn't not possible to do this, the server need to connect in <a href="http://rhn.redhat.com">rhn.redhat.com</a> to retrieve all packages and when you sign locally (same server), problem happens !! :-)</div><div><br></div><div>Talking about SW, maybe will work, but I've never seen this or configured. Coming from RedHat products (e.g. RHN Satellite), normally we still the same recommendation.</div><div><br></div><div>In fact have to test, in theory can or should work's, but I prefer test before talk about it. ;-)</div><div><br></div><div>Take Care</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div>______________<br>Atenciosamente<br>Waldirio<br>msn: <a href="mailto:waldirio@gmail.com" target="_blank">waldirio@gmail.com</a><br>Skype: waldirio<br>Site: <a href="http://www.waldirio.com.br" target="_blank">www.waldirio.com.br</a><br>Blog: <a href="http://blog.waldirio.com.br" target="_blank">blog.waldirio.com.br</a></div>
<div>LinkedIn: <a href="http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646" target="_blank">http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646</a><br>PGP: <a href="http://www.waldirio.com.br/public.html" target="_blank">www.waldirio.com.br/public.html</a></div></div></div>
<br><div class="gmail_quote">On Fri, Dec 12, 2014 at 7:47 AM, Matt Bayliss <span dir="ltr"><<a href="mailto:aarrgghh765@gmail.com" target="_blank">aarrgghh765@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Waldrino:<br><br></div>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.<br><br><a href="https://www.redhat.com/archives/spacewalk-list/2011-October/msg00010.html" target="_blank">https://www.redhat.com/archives/spacewalk-list/2011-October/msg00010.html</a><br><br></div>However this was a while ago and things may have changed.  If this is not what most people are donig then I'll reconsider.<br><br><br></div><div>Matthew:<br><br>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.<br><br></div><div></div>Regards,<br><br></div><div>Matt<br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 11 December 2014 at 17:49, Waldirio Manhães Pinheiro <span dir="ltr"><<a href="mailto:waldirio@gmail.com" target="_blank">waldirio@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Matt<div><br></div><div>Normally you update your server from Internet and not from local repositories. Like example bellow</div><div><br></div><div><br></div><div>|Internet|</div><div>     |</div><div>|firewall|</div><div>     |</div><div>|SW|</div><div>----------------------------</div><div>   |         |           |</div><div>Proxy  Proxy  Proxy</div><div><br></div><div>=============== <br></div><div>Clients .....</div><div><br></div><div>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.</div><div><br></div><div>I'm not sure if we have someone in the channel updating from local repo. Please guys, tell us! ;-)</div><div><br></div><div>Take Care</div></div><div class="gmail_extra"><br clear="all"><div><div><div>______________<br>Atenciosamente<br>Waldirio<br>msn: <a href="mailto:waldirio@gmail.com" target="_blank">waldirio@gmail.com</a><br>Skype: waldirio<br>Site: <a href="http://www.waldirio.com.br" target="_blank">www.waldirio.com.br</a><br>Blog: <a href="http://blog.waldirio.com.br" target="_blank">blog.waldirio.com.br</a></div>
<div>LinkedIn: <a href="http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646" target="_blank">http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646</a><br>PGP: <a href="http://www.waldirio.com.br/public.html" target="_blank">www.waldirio.com.br/public.html</a></div></div></div>
<br><div class="gmail_quote"><div><div>On Thu, Dec 11, 2014 at 2:53 PM, Matt Bayliss <span dir="ltr"><<a href="mailto:aarrgghh765@gmail.com" target="_blank">aarrgghh765@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><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>
<br></div></div><span>_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></span></blockquote></div><br></div>
<br>_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div><br></div>