I saw no mention in the doc that replication across versions wasn't
supported, but I might have missed it. And I was thinking about just
copying the files over and hoping for the best, but I wasn't sure that was
recommended or supported. Looks like it is? Bravo and thanks....Nick
On Fri, Jul 5, 2013 at 4:48 PM, James Cammarata <jimi(a)sngx.net> wrote:
On Fri, Jul 5, 2013 at 4:25 PM, nicholas geovanis
<nickgeovanis(a)gmail.com>wrote:
> Hi to all -
> I'm upgrading a cobbler server running cobbler 2.0.11 on CentOS 6.0,
> installing fresh on a new machine running RedHat 6.1and cobbler 2.2.3. The
> new install (cobbler from EPEL RPMs) is uneventful, "cobbler check"
> indicates nothing suspicious-looking.
>
> After initial configuration and check that cobblerd and httpd start-up
> OK, I thought I would take the wiki recommendation and attempt a "cobbler
> replicate". Verified rsync connectivity between the hosts. Result is the
> "internal error" below. Wondering if I've missed something simple.
> Thanks......Nick Geo
>
> # cobbler replicate --master=10.15.39.51 --profiles='*'
--systems='*'
> task started: 2013-07-05_160213_replicate
> task started (id=Replicate, time=Fri Jul 5 16:02:13 2013)
> cobbler_master = 10.15.39.51
> 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://10.15.39.51/cobbler_api
> test ALPHA
> test BETA
> Querying Both Servers
> Exception occured: <class 'xmlrpclib.Fault'>
> Exception value: <Fault 1: "<class
'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 !!!
>
Sorry, replication between different versions is not supported. Your best
bet is to manually rsync the /var/lib/cobbler and /var/www/cobbler
directories over to the new server and restart cobblerd once that's
complete.
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler