On Mon, Jul 9, 2012 at 2:43 PM, Chris Lee <[email protected]> wrote: > > >> I have an old system that is still running SL4 and cobbler 2.0.3.1 >> I am in the process of configuring a new server that is running SL6.2 and >> cobbler 2.2.3 >> >> Cobbler on the new system works perfectly and I now need to "import" or >> copy the old systems, repo's profiles, etc, over to the new system. >> Doing this manually by copying the files from /var/lib/cobbler/config >> cause the following error when trying to restart cobbler >> >> service cobblerd start >> 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 130, in >> __init__ >> self.deserialize() >> File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 898, in >> deserialize >> return self._config.deserialize() >> File "/usr/lib/python2.6/site-packages/cobbler/config.py", line 266, in >> deserialize >> raise CX("serializer: error loading collection %s. Check >> /etc/cobbler/modules.conf" % item.collection_type()) >> CX: 'serializer: error loading collection profile. Check >> /etc/cobbler/modules.conf' >> >> removing all the files again, cause cobbler to start properly. >> I have tried using replicate, and get the following error:
Remove any serializer lines you have in modules.conf and recopy the files. That should get you past this error. >> cobbler replicate --master=mydomain.com >> task started: 2012-07-09_194438_replicate >> task started (id=Replicate, time=Mon Jul 9 19:44:38 2012) >> cobbler_master = mydomain.com >> profile_patterns = [] >> system_patterns = [] >> repo_patterns = [] >> image_patterns = [] >> mgmtclass_patterns = [] >> package_patterns = [] >> file_patterns = [] >> omit_data = False >> sync_all = False >> using CLI defined master >> XMLRPC endpoint: http://mydomain.com/cobbler_api >> test ALPHA >> test BETA >> Querying Both Servers >> Exception occured: <class 'xmlrpclib.Fault'> >> Exception value: <Fault 1: "cobbler.cexceptions.CX:'internal error, >> collection name mgmtclass not supported'"> >> Exception Info: >> File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 89, in >> run >> rc = self._run(self) >> File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 217, in >> runner >> self.logger >> File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 994, in >> replicate >> sync_all = sync_all >> File "/usr/lib/python2.6/site-packages/cobbler/action_replicate.py", >> line 361, in run >> self.replicate_data() >> File "/usr/lib/python2.6/site-packages/cobbler/action_replicate.py", >> line 134, in replicate_data >> self.remote_data[what] = self.remote.get_items(what) >> File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__ >> return self.__send(self.__name, args) >> File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request >> verbose=self.__verbose >> File "/usr/lib64/python2.6/xmlrpclib.py", line 1253, in request >> return self._parse_response(h.getfile(), sock) >> File "/usr/lib64/python2.6/xmlrpclib.py", line 1392, in _parse_response >> return u.close() >> File "/usr/lib64/python2.6/xmlrpclib.py", line 838, in close >> raise Fault(**self._stack[0]) >> >> !!! TASK FAILED !!! >> >> Does anyone know what i am doing wrong.. or is there some other way to >> move the old systems over? Unfortunately cobbler does not support replicating between two different versions, so your best bet is a backup/restore strategy. _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
