regen_repodata.py fails with the error : "xmlrpclib.Fault: <Fault -1: "While running 'auth.login': caught\nserver.apacheRequest.UnknownXML : Invalid request received (class xmlrpc.auth is not defined (function = login)).\n">"
Issue
regen_repodata.py fails with the error similar to below :
[root@usr ~]# ./regen_repodata.py --force --cleandb --channel="rhel-x86_64-server-6"
enter the satellite url, such as https://satellite.example.com/rpc/api
https://satellite.redhat.com/XMLRPC
Login details for https://satellite.redhat.com/XMLRPC
Login: user
Password:
Traceback (most recent call last):
File "./regen_repodata.py", line 210, in ?
main()
File "./regen_repodata.py", line 195, in main
key = session_init()
File "./regen_repodata.py", line 55, in session_init
key = client.auth.login(SATELLITE_LOGIN, SATELLITE_PASSWORD)
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: "While running 'auth.login': caught\nserver.apacheRequest.UnknownXML : Invalid request received (class xmlrpc.auth is not defined (function = login)).\n">
[root@usqrhs1 ~]#
Environment
- Red Hat Network Satellite or Proxy 5.4.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.