Cobbler: Missing yum-utils & other cobbler related utils

Bug #789266 reported by Sherman Boyd
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cobbler (Ubuntu)
Fix Released
Wishlist
Andres Rodriguez

Bug Description

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 !!!

Related branches

Revision history for this message
Sherman Boyd (sherman-twocell) wrote :

We are also missing 'livecd-iso-to-pxeboot'

https://fedorahosted.org/cobbler/wiki/HowToPxeAnyLiveCd

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

This really qualifies as a 'needs-packaging' bug, since reposync does not appear to be packaged.

Marking Triaged, Wishlist, tagging needs-packaging.

Changed in cobbler (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
tags: added: needs-packaging
Dave Walker (davewalker)
Changed in cobbler (Ubuntu):
assignee: nobody → Andres Rodriguez (andreserl)
tags: added: server-o-rs
Dave Walker (davewalker)
Changed in cobbler (Ubuntu):
milestone: none → oneiric-alpha-3
Changed in cobbler (Ubuntu):
status: Triaged → Fix Committed
Dave Walker (davewalker)
Changed in cobbler (Ubuntu):
milestone: oneiric-alpha-3 → ubuntu-11.10-beta-1
Changed in cobbler (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.