[Spacewalk-list] Cannot start cobbler, AttributeError: 'str' object has no attribute 'get'

chris balcum sherl0k at gmail.com
Mon Mar 3 15:26:29 UTC 2014


Hi, I'm running Spacewalk on CentOS 6 and after a reboot of the box for
routine patching, cobbler doesn't want to restart.

Starting cobbler daemon: Traceback (most recent call last):
  File "/usr/bin/cobblerd", line 76, in main
    api = cobbler_api.BootAPI(is_cobblerd=True)
  File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 128, in
__init__
    self.deserialize()
  File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 690, in
deserialize
    return self._config.deserialize()
  File "/usr/lib/python2.6/site-packages/cobbler/config.py", line 208, in
deserialize
    serializer.deserialize(self._profiles)
  File "/usr/lib/python2.6/site-packages/cobbler/serializer.py", line 122,
in deserialize
    rc = storage_module.deserialize(obj,topological)
  File
"/usr/lib/python2.6/site-packages/cobbler/modules/serializer_catalog.py",
line 188, in deserialize
    datastruct.sort(__depth_cmp)
  File
"/usr/lib/python2.6/site-packages/cobbler/modules/serializer_catalog.py",
line 198, in __depth_cmp
    d1 = item1.get("depth",1)
AttributeError: 'str' object has no attribute 'get'

Any help in this matter would be greatly appreciated.

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20140303/ddb9cf31/attachment.htm>


More information about the Spacewalk-list mailing list