[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&#39;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&#39;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">&lt;<a href="mailto:jimi@sngx.net" \
target="_blank">jimi@sngx.net</a>&gt;</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">&lt;<a \
href="mailto:nickgeovanis@gmail.com" \
target="_blank">nickgeovanis@gmail.com</a>&gt;</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&#39;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, &quot;cobbler check&quot; 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 &quot;cobbler \
replicate&quot;. Verified rsync connectivity between the hosts. Result is the \
&quot;internal error&quot; below. Wondering if I&#39;ve missed something simple. \
Thanks......Nick Geo<br>


<br># cobbler replicate --master=10.15.39.51 --profiles=&#39;*&#39; \
--systems=&#39;*&#39;<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    = [&#39;*&#39;]<br>system_patterns     = \
[&#39;*&#39;]<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: &lt;class &#39;xmlrpclib.Fault&#39;&gt;<br>
Exception value: &lt;Fault 1: &quot;&lt;class &#39;<a \
href="http://cobbler.cexceptions.CX" \
target="_blank">cobbler.cexceptions.CX</a>&#39;&gt;:&#39;internal error, collection \
name mgmtclass not supported&#39;&quot;&gt;<br>

Exception Info:<br>
  File &quot;/usr/lib/python2.6/site-packages/cobbler/remote.py&quot;, line 89, in \
run<br>    rc = self._run(self)<br>   File \
&quot;/usr/lib/python2.6/site-packages/cobbler/remote.py&quot;, line 217, in \
runner<br>    self.logger<br>


   File &quot;/usr/lib/python2.6/site-packages/cobbler/api.py&quot;, line 994, in \
replicate<br>    sync_all             = sync_all<br>   File \
&quot;/usr/lib/python2.6/site-packages/cobbler/action_replicate.py&quot;, line 361, \
in run<br>


    self.replicate_data()<br>   File \
&quot;/usr/lib/python2.6/site-packages/cobbler/action_replicate.py&quot;, line 134, \
in replicate_data<br>    self.remote_data[what] = self.remote.get_items(what)<br>   \
File &quot;/usr/lib64/python2.6/xmlrpclib.py&quot;, line 1199, in __call__<br>


    return self.__send(self.__name, args)<br>   File \
&quot;/usr/lib64/python2.6/xmlrpclib.py&quot;, line 1489, in __request<br>    \
verbose=self.__verbose<br>   File &quot;/usr/lib64/python2.6/xmlrpclib.py&quot;, line \
1253, in request<br>


    return self._parse_response(h.getfile(), sock)<br>   File \
&quot;/usr/lib64/python2.6/xmlrpclib.py&quot;, line 1392, in _parse_response<br>    \
return u.close()<br>   File &quot;/usr/lib64/python2.6/xmlrpclib.py&quot;, 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&#39;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