Hi,
The error message is
Fri Oct 14 12:09:06 2011 - INFO | Exception occured: cobbler.cexceptions.CX
Fri Oct 14 12:09:06 2011 - INFO | Exception value: 'internal error, collection name mgmtclass not supported'
Fri Oct 14 12:09:06 2011 - INFO | Exception Info:
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 1759, in _dispatch
return method_handle(*params)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 544, in get_items
item = [x.to_datastruct() for x in self.api.get_items(what)]
File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 252, in get_items
return self._config.get_items(what)
File "/usr/lib/python2.4/site-packages/cobbler/config.py", line 237, in get_items
raise CX("internal error, collection name %s not supported" % collection_type)
From: Steven Goodliff
Sent: 14 October 2011 16:24
To: 'cobbler@lists.fedorahosted.org'
Subject: cobbler replicate between versions
Hi,
I was trying to install cobbler on a new server and installed cobbler-2.2.1-1.el5 but hit a problem when trying to replicate against cobbler-2.0.11-2.el5,
In this file /usr/lib/python2.4/site-packages/cobbler/action_replicate.py commenting out the line below and replacing it with a small set of object types does the tick
""" OBJ_TYPES = [ "distro", "profile", "system", "repo", "image", "mgmtclass", "package", "file" ] """
OBJ_TYPES = [ "distro", "profile", "system", "repo", "image" ]
My python skills are non existant but it seems to do the job so far, the small set matches the same python file in the 2.0.11 version
Hope that helps someone.
Steve