[Spacewalk-list] Cobbler spacewalk proxy issue

Doug Bishop doug at dougbishop.org
Wed Aug 17 04:23:40 UTC 2011


Been beating my head against the wall all day about this. Im running
spacewalk 1.5 on CentOS 5.6, and im running a 1.5 spacewalk proxy with
cobbler on CentOS 5.6 as well. I am having an issue with a cobbler login
when trying to run cobbler sync:

Traceback (most recent call last):
  File "/usr/bin/cobbler", line 35, in ?
    sys.exit(app.main())
  File "/usr/lib/python2.4/site-packages/cobbler/cli.py", line 510, in main
    rc = cli.run(sys.argv)
  File "/usr/lib/python2.4/site-packages/cobbler/cli.py", line 185, in run
    self.token         = self.remote.login("", self.shared_secret)
  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 1147, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib64/python2.4/xmlrpclib.py", line 1286, in _parse_response
    return u.close()
  File "/usr/lib64/python2.4/xmlrpclib.py", line 744, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1: "cobbler.cexceptions.CX:'login failed'">

I get this on the spacewalk server in cobber.log

Wed Aug 17 00:09:01 2011 - INFO | Exception occured: cobbler.cexceptions.CX
Wed Aug 17 00:09:01 2011 - INFO | Exception value: 'login failed'
Wed Aug 17 00:09:01 2011 - INFO | Exception Info:
  File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 1763, in
_dispatch
    return method_handle(*params)
   File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 1572, in
login
    utils.die(self.logger, "login failed")
   File "/usr/lib/python2.4/site-packages/cobbler/utils.py", line 131, in
die
    raise CX(msg)

Version info:


Installed Packages
cobbler.noarch
2.0.11-2.el5
installed
[root at spacewalk-prox-duluth links]#


[root at spacewalk-prox-duluth links]# yum list spacewalk-proxy*
Loaded plugins: fastestmirror, rhnplugin
This system is not subscribed to any channels.
RHN channel support will be disabled.
Loading mirror speeds from cached hostfile
 * base: centos.omnispring.com
 * epel: mirror.steadfast.net
 * extras: mirror.umoss.org
 * updates: mirror.umoss.org
Installed Packages
spacewalk-proxy-broker.noarch
1.5.11-1.el5
installed
spacewalk-proxy-common.noarch
1.5.11-1.el5
installed
spacewalk-proxy-docs.noarch
1.1.1-1.el5
installed
spacewalk-proxy-html.noarch
1.1.1-1.el5
installed
spacewalk-proxy-installer.noarch
1.5.3-1.el5
installed
spacewalk-proxy-management.noarch
1.5.11-1.el5
installed
spacewalk-proxy-package-manager.noarch
1.5.11-1.el5
installed
spacewalk-proxy-redirect.noarch
1.5.11-1.el5
installed
spacewalk-proxy-selinux.noarch
1.1.1-1.el5
installed
Available Packages
spacewalk-proxy-monitoring.noarch
1.2.1-1.el5
spacewalk
[root at spacewalk-prox-duluth links]#

My settings file on the proxy is pointing to the spacewalk master server.
Everything works fine until i configure spacewalk proxy, then cobbler will
not run.

Thanks for the help!

-Doug Bishop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20110817/25c4ddd5/attachment.htm>


More information about the Spacewalk-list mailing list