[prev in list] [next in list] [prev in thread] [next in thread]
List: cobbler
Subject: Re: [cobbler] Replicate failure, 2.0.11 to 2.2.3 upgrade
From: nicholas geovanis <nickgeovanis () gmail ! com>
Date: 2013-07-05 22:06:53
Message-ID: CAJmb-YkrKbnSHYSF7B6mDtZ8y=d_hYZBb1ugsQjQXwpcR4U6Ug () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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@sngx.net> wrote:
> On Fri, Jul 5, 2013 at 4:25 PM, nicholas geovanis <nickgeovanis@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@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>
>
[Attachment #5 (text/html)]
<div dir="ltr">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<br> \
<br><br><br><br><div><div><div class="gmail_extra"><br><br><div \
class="gmail_quote">On Fri, Jul 5, 2013 at 4:48 PM, James Cammarata <span \
dir="ltr"><<a href="mailto:jimi@sngx.net" \
target="_blank">jimi@sngx.net</a>></span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Fri, Jul 5, 2013 at \
4:25 PM, nicholas geovanis <span dir="ltr"><<a \
href="mailto:nickgeovanis@gmail.com" \
target="_blank">nickgeovanis@gmail.com</a>></span> wrote:<br> <div \
class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"> <div dir="ltr"><div><div>Hi to all \
-<br></div>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.<br>
<br></div>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<br>
<br># cobbler replicate --master=10.15.39.51 --profiles='*' \
--systems='*'<br>task started: 2013-07-05_160213_replicate<br>task started \
(id=Replicate, time=Fri Jul 5 16:02:13 2013)<br>cobbler_master = \
10.15.39.51<br>
profile_patterns = ['*']<br>system_patterns = \
['*']<br>repo_patterns = []<br>image_patterns = \
[]<br>mgmtclass_patterns = []<br>package_patterns = []<br>file_patterns = \
[]<br>omit_data = False<br>
sync_all = False<br>using CLI defined master<br>XMLRPC endpoint: <a \
href="http://10.15.39.51/cobbler_api" \
target="_blank">http://10.15.39.51/cobbler_api</a><br>test ALPHA<br>test \
BETA<br>Querying Both Servers<br>
Exception occured: <class 'xmlrpclib.Fault'><br>
Exception value: <Fault 1: "<class '<a \
href="http://cobbler.cexceptions.CX" \
target="_blank">cobbler.cexceptions.CX</a>'>:'internal error, collection \
name mgmtclass not supported'"><br>
Exception Info:<br>
File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 89, in \
run<br> rc = self._run(self)<br> File \
"/usr/lib/python2.6/site-packages/cobbler/remote.py", line 217, in \
runner<br> self.logger<br>
File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 994, in \
replicate<br> sync_all = sync_all<br> File \
"/usr/lib/python2.6/site-packages/cobbler/action_replicate.py", line 361, \
in run<br>
self.replicate_data()<br> File \
"/usr/lib/python2.6/site-packages/cobbler/action_replicate.py", line 134, \
in replicate_data<br> self.remote_data[what] = self.remote.get_items(what)<br> \
File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__<br>
return self.__send(self.__name, args)<br> File \
"/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request<br> \
verbose=self.__verbose<br> File "/usr/lib64/python2.6/xmlrpclib.py", line \
1253, in request<br>
return self._parse_response(h.getfile(), sock)<br> File \
"/usr/lib64/python2.6/xmlrpclib.py", line 1392, in _parse_response<br> \
return u.close()<br> File "/usr/lib64/python2.6/xmlrpclib.py", line 838, \
in close<br>
raise Fault(**self._stack[0])<br><br>!!! TASK FAILED \
!!!</div></blockquote></div><br></div></div><div>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.</div>
<br>_______________________________________________<br>
cobbler mailing list<br>
<a href="mailto:cobbler@lists.fedorahosted.org">cobbler@lists.fedorahosted.org</a><br>
<a href="https://lists.fedorahosted.org/mailman/listinfo/cobbler" \
target="_blank">https://lists.fedorahosted.org/mailman/listinfo/cobbler</a><br> \
<br></blockquote></div><br></div></div></div></div>
[Attachment #6 (text/plain)]
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic