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
I presume you are trying to mirror a recent Fedora.
Well, you *can* install a newer version of yum-utils on RHEL 5... that
is possible.
I'm not entirely sure how to mirror this without the steps involved, as
I didn't contribute the feature, though I agree falling back to
something simpler in that case might be desirable. Someone would need
to investigate. There have been a lot of yum changes recently and
they are a bit hard to keep up with along with everything else, so help
would be welcome here.
(Given, we might just say upgrade your yum.. as for RHEL management apps
that are "supported" don't use this feature... though if we could get it
to work from older OS's that would be nice and I'd like to do this).
--Michael
running: /usr/bin/rpmquery --queryformat=%{VERSION} createrepo
recieved: 0.4.11
Exception occured: cobbler.cexceptions.CX <
http://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 <
http://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 <
http://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 <
http://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 !!!
------------------------------------------------------------------------
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler