Why spacewalk-clone-by-date command fails with error "IOError: unsupported XML-RPC protocol" or "redstone.xmlrpc.XmlRpcFault: unhandled internal exception" or "Exception RuntimeError: 'maximum recursion depth exceeded "

Solution Verified - Updated -

Issue

  • The spacewalk-clone-by-date command fails,
# spacewalk-clone-by-date  --username=username --server=satellite.example.com --channels=rhel-x86_64-server-6 rhel-x86_64-server-6U9 --to_date=2017-02-15
Password:
Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in <type 'exceptions.AttributeError'> ignored
Traceback (most recent call last):
  File "/usr/bin/spacewalk-clone-by-date", line 420, in <module>
    sys.exit(abs(main() or 0))
  File "/usr/bin/spacewalk-clone-by-date", line 410, in main
    return cloneByDate.main(args)
  File "/usr/share/rhn/utils/cloneByDate.py", line 119, in main
    xmlrpc = RemoteApi(options.server, options.username, options.password)
  File "/usr/share/rhn/utils/cloneByDate.py", line 848, in __init__
    self.client = xmlrpclib.Server(server_url)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1463, in __init__
    raise IOError, "unsupported XML-RPC protocol"
IOError: unsupported XML-RPC protocol
# spacewalk-clone-by-date  --username=username --server=satellite.example.com --channels=rhel-x86_64-server-6 rhel-x86_64-server-6U9 --to_date=2017-02-15
Password:
redstone.xmlrpc.XmlRpcFault: unhandled internal exception: net.sf.jpam.Pam (initialization failure)

Environment

  • Red Hat Network Satellite 5.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content