Just started playing with 2.0.1 and it seems the _CIDR function is missing from utils.py? Took a look in there, and the _IP function exists but not _CIDR .. Copy and pasting the function out of the 2.0.0 branch fixes it, but I'm gonna assume it's missing for a reason ;-)
Starting cobbler daemon: cannot import name _CIDR Traceback (most recent call last): File "/usr/bin/cobblerd", line 76, in main api = cobbler_api.BootAPI(is_cobblerd=True) File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 121, in __init__ module_loader.load_modules() File "/usr/lib/python2.4/site-packages/cobbler/module_loader.py", line 64, in load_modules blip = __import__("modules.%s" % ( modname), globals(), locals(), [modname]) File "/usr/lib/python2.4/site- packages/cobbler/modules/cli_network.py", line 31, in ? from utils import _, _IP, _CIDR ImportError: cannot import name _CIDR
The cli_* modules are obsolete and leftovers from a development release install. You need to remove /usr/lib/python2.4/site-packages/cobbler/modules/cli_*
Regards, Peter
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.