[cobbler] cobbler replicate won't

Dan White ygor at comcast.net
Tue Mar 19 14:58:26 UTC 2013


A clueless one seeking clues.


[root]# cobbler replicate --systems=* --master=192.168.93.16
task started: 2013-03-19_104835_replicate
task started (id=Replicate, time=Tue Mar 19 10:48:35 2013)
cobbler_master      = 192.168.93.16
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://192.168.93.16/cobbler_api
test ALPHA
test BETA
Exception occured: socket.error
Exception value: (111, 'Connection refused')
Exception Info:
  File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 89, in run
    rc = self._run(self)
   File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 217, in runner
    self.logger
   File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 994, in replicate
    sync_all             = sync_all
   File "/usr/lib/python2.4/site-packages/cobbler/action_replicate.py", line 359, in run
    self.local.ping()
   File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)
   File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose
   File "/usr/lib64/python2.4/xmlrpclib.py", line 1129, in request
    self.send_content(h, request_body)
   File "/usr/lib64/python2.4/xmlrpclib.py", line 1243, in send_content
    connection.endheaders()
   File "/usr/lib64/python2.4/httplib.py", line 804, in endheaders
    self._send_output()
   File "/usr/lib64/python2.4/httplib.py", line 685, in _send_output
    self.send(msg)
   File "/usr/lib64/python2.4/httplib.py", line 652, in send
    self.connect()
   File "/usr/lib64/python2.4/httplib.py", line 636, in connect
    raise socket.error, msg

!!! TASK FAILED !!!

HOWEVER, The following python script works just fine:


#!/usr/bin/python
import xmlrpclib
server = xmlrpclib.Server("http://192.168.93.16/cobbler_api")
print server.get_systems()



I have the following settings on both Cobbler servers:

xmlrpc_port: 25151
xmlrpc_rw_enabled: 1
xmlrpc_rw_port: 25151




“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” 
Bill Waterson (Calvin & Hobbes) 



More information about the cobbler mailing list