[cobbler] Replication fails with "connection refused"
Speagle , Andy
Andy.Speagle at netapp.com
Wed Feb 5 14:07:38 UTC 2014
Hi Folks,
I'm having some trouble getting replication going under the latest 2.5 dev release. I suspect there's something up with my configuration, but I can't seem to find what it is. I cloned my master cobbler server to a remote site, change the relevant hostname pieces and the new slave server seems to work in itself locally. But when I attempt to replicate from the master, I get the following.
Can anyone clue me in as to what might be happening?
(servernames replaced to protect the innocent)
Andy Speagle
[root@<slave> ~]# cobbler replicate --master=<master> --sync-all
task started: 2014-02-05_080305_replicate
task started (id=Replicate, time=Wed Feb 5 08:03:05 2014)
cobbler_master = <master>
distro_patterns = []
profile_patterns = []
system_patterns = []
repo_patterns = []
image_patterns = []
mgmtclass_patterns = []
package_patterns = []
file_patterns = []
omit_data = False
sync_all = True
use_ssl = False
XMLRPC endpoint: http://<master>/cobbler_api
test ALPHA
test BETA
Exception occured: <class 'socket.error'>
Exception value: [Errno 111] Connection refused
Exception Info:
File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 87, in run
rc = self._run(self)
File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 216, in runner
self.logger
File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 1061, in replicate
use_ssl = use_ssl
File "/usr/lib/python2.6/site-packages/cobbler/action_replicate.py", line 358, in run
self.local.ping()
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 1235, in request
self.send_content(h, request_body)
File "/usr/lib64/python2.6/xmlrpclib.py", line 1349, in send_content
connection.endheaders()
File "/usr/lib64/python2.6/httplib.py", line 908, in endheaders
self._send_output()
File "/usr/lib64/python2.6/httplib.py", line 780, in _send_output
self.send(msg)
File "/usr/lib64/python2.6/httplib.py", line 739, in send
self.connect()
File "/usr/lib64/python2.6/httplib.py", line 720, in connect
self.timeout)
File "/usr/lib64/python2.6/socket.py", line 567, in create_connection
raise error, msg
!!! TASK FAILED !!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/cobbler/attachments/20140205/8ca89b3c/attachment.html>
More information about the cobbler
mailing list