<font face="trebuchet ms,sans-serif"><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px"><font face="trebuchet ms,sans-serif">Hi,</font><div><font face="trebuchet ms,sans-serif"><br>
</font></div><div><font face="trebuchet ms,sans-serif">I successfully setup Spacewalk 1.5 with PostgreSQL on a CentOS 5.6 (64 bit) VM.<br>But when I try to add content, repo-sync fails me.</font></div><div><font face="trebuchet ms,sans-serif">I have added a Centos6 x86_64 Channel, linked to the official Centos6-x86_64 Repository,<br>

</font></div><div><font face="trebuchet ms,sans-serif">together with correct GPG key and fingerprint.</font></div><div><font face="'trebuchet ms', sans-serif">The Spacewalk VM is sitting behing a proxy, whose setting I have applied system wide (/etc/profile)<br>

and also to the Spacewalk GUI.<br>I can access the repository's URL without problem.</font></div><div><font face="'trebuchet ms', sans-serif"><br></font></div><div><font face="'trebuchet ms', sans-serif">But when try to actually issue a sync request (either via GUI or with spacewalk-repo-sync)<br>

it will always fail instantly with this error:</font></div><div><font face="'trebuchet ms', sans-serif">----------</font></div><div><font face="'trebuchet ms', sans-serif"><div>[root@det-repos-1 repodata]# spacewalk-repo-sync -c centos6-x86_64 --url <a href="http://mirror.centos.org/centos-6/6/os/x86_64/" style="color:rgb(28, 81, 168)" target="_blank">http://mirror.centos.org/centos-6/6/os/x86_64/</a> --type yum</div>

<div>Traceback (most recent call last):</div><div>  File "/usr/bin/spacewalk-repo-sync", line 70, in ?</div><div>    sys.exit(abs(main() or 0))</div><div>  File "/usr/bin/spacewalk-repo-sync", line 64, in main</div>

<div>    sync.main()</div><div>  File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/reposync.py", line 111, in main</div><div>    self.import_packages(plugin, url)</div><div>  File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/reposync.py", line 311, in import_packages</div>

<div>    packages = plug.list_packages()</div><div>  File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/repo_plugins/yum_src.py", line 119, in list_packages</div><div>    sack.populate(repo, 'metadata', None, 0)</div>

<div>  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 168, in populate</div><div>    if self._check_db_version(repo, mydbtype):</div><div>  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 226, in _check_db_version</div>

<div>    return repo._check_db_version(mdtype)</div><div>  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1233, in _check_db_version</div><div>    repoXML = self.repoXML</div><div>  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1406, in <lambda></div>

<div>    repoXML = property(fget=lambda self: self._getRepoXML(),</div><div>  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1402, in _getRepoXML</div><div>    raise Errors.RepoError, msg</div><div>

yum.Errors.RepoError: Cannot retrieve repository metadata (repomd.xml) for repository: centos6-x86_64. Please verify its path and try again</div></font><span style="font-family:'trebuchet ms', sans-serif">----------</span></div>

<div><span style="font-family:'trebuchet ms', sans-serif"><br></span></div><div><span style="font-family:'trebuchet ms', sans-serif">/var/satellite/redhat is NOT being filled.</span></div><div><span style="font-family:'trebuchet ms', sans-serif">/var/cache/rhn/repodata/centos6-x86_64 does have some XML files,</span></div>

<div><span style="font-family:'trebuchet ms', sans-serif">but the timestamp indicates, that they were copied at the time of entering<br>the repository in the GUI. I tried the sync later.</span></div><div><span style="font-family:'trebuchet ms', sans-serif"><br>

</span></div><div><span style="font-family:'trebuchet ms', sans-serif">Initially I tried Spacewalk 1.5 on a CentOS 6.0 Server, which did not work out.</span></div><div><span style="font-family:'trebuchet ms', sans-serif">When I saw a post from Jan saying that they'd "kind of expect 6.1" I re-installed<br>

on Scientific Linux 6.1. But it shows exactly the same error.</span></div><div><font face="'trebuchet ms', sans-serif"><br></font></div><div><font face="'trebuchet ms', sans-serif">What can I do?</font></div>

<div><font face="'trebuchet ms', sans-serif">Thank you,</font></div><div><font face="'trebuchet ms', sans-serif"><br></font></div><div><font face="'trebuchet ms', sans-serif">Dirk Lohbeck<br>HRS - Hotel Reservation Service<br>

Cologne / Germany</font></div></span></font>