Trouble Adding Distros: Internal Error Unknown Distro Name

Pete Eby relative.prime at gmail.com
Tue Jul 26 13:57:32 UTC 2011


Howdy,

Though I've installed Cobbler several times in different environments,
usually with little issue, I've run into a snag which I'm having
trouble working out.

I'm running cobbler-2.0.11-2.el6.noarch and (cobbler-web) from EPEL on
RHEL 6.1 and I can't seem to be able to add a distro.

When I run:

cobbler distro add --breed=redhat --name=CentOS-5.6-32bit
--kernel=/var/lib/tftpboot/distros/CentOS5.6-32bit/vmlinuz
initrd=/var/lib/tftpboot/distros/CentOS5.6-32bit/initrd.img

No error is sent to std out, but then when I do a cobbler distro list,
no results are returned.

Looking at the log I see:

Tue Jul 26 09:22:50 2011 - INFO | REMOTE new_item(distro); user(<DIRECT>)
    raise CX("internal error, unknown %s name %s" % (what,name))
   File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line
633, in get_item_handle
    handle = self.get_item_handle(object_type, object_name)
  File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 798,
in xapi_object_edit
Tue Jul 26 09:22:50 2011 - INFO | Exception Info:
Tue Jul 26 09:22:50 2011 - INFO | Exception value: 'internal error,
unknown distro name CentOS-5.6-32bit'
Tue Jul 26 09:22:50 2011 - INFO | Exception occured: <class
'cobbler.cexceptions.CX'>
Tue Jul 26 09:22:50 2011 - DEBUG | get_item; ['distro', 'CentOS-5.6-32bit']
Tue Jul 26 09:22:50 2011 - DEBUG | REMOTE CLI Authorized; user(?)

I've tried some variations, but get the above in all cases.

Any suggestion would by much appreciated.

Thank you,
Pete


More information about the cobbler mailing list