I was able to solve my earlier cobbler 2.0 issues - prior to upgrading, I
had symbolically linked /var/www/cobbler to another partition after moving
the new /var/www/cobbler to that partition and then copying my ks_mirrors
and repo_mirrors directories over, things seem to be working on the web
side.
I'm seeing a new issue when trying to do a "cobbler reposync". The
reposync
process seems to be working, but at the end of the mirroring it fails with
the following error. Any suggestions for how I fix this on EL5, where
createrepo > 0.9.7 doesn't exist?
Thanks,
-- jeremy
running: /usr/bin/rpmquery --queryformat=%{VERSION} createrepo
recieved: 0.4.11
Exception occured: cobbler.cexceptions.CX
Exception value: 'this repo has presto metadata; you must upgrade createrepo
to >= 0.9.7 first and then need to resync the repo through cobbler.'
Exception Info:
File "/usr/lib/python2.4/site-packages/cobbler/utils.py", line 108, in die
raise CX(msg)
Exception occured: cobbler.cexceptions.CX
Exception value: 'this repo has presto metadata; you must upgrade createrepo
to >= 0.9.7 first and then need to resync the repo through cobbler.'
Exception Info:
File "/usr/lib/python2.4/site-packages/cobbler/action_reposync.py", line
120, in run
self.sync(repo)
File "/usr/lib/python2.4/site-packages/cobbler/action_reposync.py", line
151, in sync
return self.yum_sync(repo)
File "/usr/lib/python2.4/site-packages/cobbler/action_reposync.py", line
415, in yum_sync
os.path.walk(dest_path, self.createrepo_walker, repo)
File "/usr/lib/python2.4/posixpath.py", line 290, in walk
func(arg, top, names)
File "/usr/lib/python2.4/site-packages/cobbler/action_reposync.py", line
186, in createrepo_walker
utils.die(self.logger,"this repo has presto metadata; you must upgrade
createrepo to >= 0.9.7 first and then need to resync the repo through
cobbler.")
File "/usr/lib/python2.4/site-packages/cobbler/utils.py", line 116, in
die
raise CX(msg)
reposync failed, tries left: 0
Exception occured: cobbler.cexceptions.CX
Exception value: 'reposync failed, retry limit reached, aborting'
Exception Info:
File "/usr/lib/python2.4/site-packages/cobbler/utils.py", line 108, in die
raise CX(msg)
Exception occured: cobbler.cexceptions.CX
Exception value: 'reposync failed, retry limit reached, aborting'
Exception Info:
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 92, in run
rc = self._run(self)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 232, in
runner
self.remote.api.reposync(tries=self.options.get("tries",3), name=None,
nofail=False, logger=self.logger)
File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 625, in
reposync
return reposync.run(name)
File "/usr/lib/python2.4/site-packages/cobbler/action_reposync.py", line
129, in run
utils.die(self.logger,"reposync failed, retry limit reached, aborting")
File "/usr/lib/python2.4/site-packages/cobbler/utils.py", line 116, in
die
raise CX(msg)
!!! TASK FAILED !!!