[Bug 891527] [NEW] cobblerd fails to start: NoSectionError
Adam Gandelman
891527 at bugs.launchpad.net
Thu Nov 17 09:01:53 UTC 2011
Public bug reported:
On 12.04 with cobbler 2.2.2-0ubuntu1 on 12.04, package installs fine but
upstart cannot start cobblerd. The following traceback occurs when
attempting to start manually:
ubuntu at domU-12-31-39-16-39-C3:~$ sudo cobblerd -F
Traceback (most recent call last):
File "/usr/bin/cobblerd", line 76, in main
api = cobbler_api.BootAPI(is_cobblerd=True)
File "/usr/lib/python2.7/dist-packages/cobbler/api.py", line 127, in __init__
module_loader.load_modules()
File "/usr/lib/python2.7/dist-packages/cobbler/module_loader.py", line 62, in load_modules
blip = __import__("modules.%s" % ( modname), globals(), locals(), [modname])
File "/usr/lib/python2.7/dist-packages/cobbler/modules/serializer_mongodb.py", line 53, in <module>
host = cp.get("connection","host")
File "/usr/lib/python2.7/ConfigParser.py", line 599, in get
raise NoSectionError(section)
NoSectionError: No section: 'connection'
It appears the serializer_mongodb module is attempting to load module-specific config from /etc/cobbler/mongodb.conf. This file is shipped in the upstream cobbler source tree but not installed by package with the rest of the config. Importing the file manually resolves the issue.
** 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/891527
Title:
cobblerd fails to start: NoSectionError
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cobbler/+bug/891527/+subscriptions
More information about the Ubuntu-server-bugs
mailing list