Public bug reported:

I'm trying to create a CentOS 5 repository, but it errors out because it
is missing the the reposync executable.  The question how do I get
reposync is this a bug?  Should'nt reposync come with the cobbler
package?

cobbler repo add
--mirror=http://centos.mirror.netriplex.com/5/updates/x86_64
--name=centos5-x86-64 --arch=x86_64

cobbler reposync
task started: 2011-05-27_101747_reposync
task started (id=Reposync, time=Fri May 27 10:17:47 2011)
hello, reposync
run, reposync, run!
Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'no /usr/bin/reposync found, please install yum-utils'
Exception Info:
  File "/usr/lib/python2.7/dist-packages/cobbler/utils.py", line 123, in die
    raise CX(msg)

Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'no /usr/bin/reposync found, please install yum-utils'
Exception Info:
  File "/usr/lib/python2.7/dist-packages/cobbler/action_reposync.py", line 119, 
in run
    self.sync(repo)
   File "/usr/lib/python2.7/dist-packages/cobbler/action_reposync.py", line 
150, in sync
    return self.yum_sync(repo)
   File "/usr/lib/python2.7/dist-packages/cobbler/action_reposync.py", line 
326, in yum_sync
    utils.die(self.logger,"no /usr/bin/reposync found, please install 
yum-utils")
   File "/usr/lib/python2.7/dist-packages/cobbler/utils.py", line 131, in die
    raise CX(msg)

reposync failed, tries left: 0
Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'reposync failed, retry limit reached, aborting'
Exception Info:
  File "/usr/lib/python2.7/dist-packages/cobbler/utils.py", line 123, in die
    raise CX(msg)

Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'reposync failed, retry limit reached, aborting'
Exception Info:
  File "/usr/lib/python2.7/dist-packages/cobbler/remote.py", line 93, in run
    rc = self._run(self)
   File "/usr/lib/python2.7/dist-packages/cobbler/remote.py", line 246, in 
runner
    name=None, nofail=nofail, logger=self.logger)
   File "/usr/lib/python2.7/dist-packages/cobbler/api.py", line 730, in reposync
    return reposync.run(name)
   File "/usr/lib/python2.7/dist-packages/cobbler/action_reposync.py", line 
128, in run
    utils.die(self.logger,"reposync failed, retry limit reached, aborting")
   File "/usr/lib/python2.7/dist-packages/cobbler/utils.py", line 131, in die
    raise CX(msg)

!!! TASK FAILED !!!

** Affects: cobbler (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cobbler in Ubuntu.
https://bugs.launchpad.net/bugs/789266

Title:
  Cobbler: Missing yum-utils & other cobbler related utils

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to