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

The information contained in this email is confidential and may also be subject to legal privilege. It is intended only for the recipient(s) named above. If you are not named above as a recipient, you must not read, copy, disclose, forward or otherwise use the information contained in this email. If you have received this e-mail in error, please notify the sender (whose contact details are above) immediately by reply e-mail and delete the message and any attachments without retaining any copies. Gaming Technologies Solutions Limited is a company registered in England and Wales with the company number 5425266, the registered office is 55 Baker Street, London, W1U 7EU Virtue Fusion (Alderney) Ltd is a company registered in Alderney with the company number 1628, the registered office is Kington Lodge, Le Grand Val, Alderney, GY9 3XD, British Channel Islands