On Tue, 6 Jul 2010 22:57:25 +0100, Tom Brown <[email protected]> wrote:
> Hi
> 
> We use cobbler with spacewalk over the top and there is an auth
> mechanism called authn_spacewalk which as far as i can tell is
> provided by Spacewalk. I am trying to use the xmlrpc api to add
> systems into cobbler but all i ever get is ....
> 
> Traceback (most recent call last):
>   File "xml-rpc.py", line 13, in ?
>     token = conn.login("testuser","testpass")
>   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: testuser'">
> 
> 'testuser' using 'testpass' can log into Spacewalk just fine. Anyone
> tried this or have any clues?

Is there anything in /var/log/cobbler/cobbler.log that looks to be
related?

Also, try running the authn_spacewalk.py module.  It should attempt to
authenticate as 'admin/redhat' to your spacewalk instance.  There should
be some additional debug messages there.

-- 
Scott Henson
Red Hat CIS Operator
WVU Alum BSAE/BSME
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to