Cobbler sync issue

Russ Lavoy ussray_00 at yahoo.com
Thu Dec 1 17:28:43 UTC 2011


I have an issue with replication from my master cobbler server (running on port 80) with one of my other cobbler slaves running on a different port (2080).

When I run the cobbler replicate command it connects to the master server then errors with the following:

<snip>
Exception occured: xmlrpclib.ProtocolError
Exception value: <ProtocolError for 127.0.0.1/cobbler_api: 301 Moved Permanently>
Exception Info:
  File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 93, 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 891, in replicate
    sync_all             = sync_all
   File "/usr/lib/python2.4/site-packages/cobbler/action_replicate.py", line 357, 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 1137, in request
    headers

!!! TASK FAILED !!!

</snip>

Even though I have the listening port for cobbler set to 2080 in settings it is still trying to look at the localhost on port 80 for the cobbler_api.

How can I fix this?

Thanks!


More information about the cobbler mailing list