[Spacewalk-list] [SOLVED] Re: Help with repository creation

Carlo Filippetto carlo.filippetto at gmail.com
Mon Jan 16 10:43:50 UTC 2012


I found the solution.
I follow the installation guide, but nowhere is written that after
command "spacewalk-setup --disconnected" I have to go inside the
web-application and "enable" the system...

After it all is started.

Thank'you

---
Carlo





2012/1/16 Michael Mraka <michael.mraka at redhat.com>:
> Carlo Filippetto wrote:
> % Hi,
> % I'm trying to configure the first mirror, but it doesn't work
> %
> % SO -> CentOs 5.7
> % Spacewalk -> 1.6
> %
> % Errore
> % ------------------------
> % /usr/bin/spacewalk-repo-sync --channel="centos5-base-i386" --type=yum
> % Traceback (most recent call last):
> %   File "/usr/bin/spacewalk-repo-sync", line 100, in ?
> %     sys.exit(abs(main() or 0))
> %   File "/usr/bin/spacewalk-repo-sync", line 93, in main
> %     sync.sync()
> %   File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/reposync.py",
> % line 103, in sync
> %     self.import_packages(plugin, repo_id, url)
> %   File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/reposync.py",
> % line 309, in import_packages
> %     packages = plug.list_packages(filters)
> %   File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/repo_plugins/yum_src.py",
> % line 149, in list_packages
> %     self.sack.populate(self.repo, 'metadata', None, 0)
> %   File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 168, in populate
> %     if self._check_db_version(repo, mydbtype):
> %   File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 226, in
> % _check_db_version
> %     return repo._check_db_version(mdtype)
> %   File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1226,
> % in _check_db_version
> %     repoXML = self.repoXML
> %   File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1399, in <lambda>
> %     repoXML = property(fget=lambda self: self._getRepoXML(),
> %   File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1395,
> % in _getRepoXML
> %     raise Errors.RepoError, msg
> % yum.Errors.RepoError: Cannot retrieve repository metadata (repomd.xml)
> % for repository: centos5-base-i386. Please verify its path and try
> % again
> % -------------------------------
>
> This is either network issue or wrong repo URL.
>
> Regards,
>
> --
> Michael Mráka
> Satellite Engineering, Red Hat
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list