Why spacewalk-clone-by-date command fails with error "IOError: unsupported XML-RPC protocol" ?

Solution Verified - Updated -

Issue

  • The spacewalk-clone-by-date command fails,
# spacewalk-clone-by-date --user=username --server=localhost -l rhel-x86_64-server-5 rhel-x86_64-server-5U2 -d 2009-01-19   Password:
Traceback (most recent call last):
  File "/usr/bin/spacewalk-clone-by-date", line 206, in ?
    sys.exit(abs(main() or 0))
  File "/usr/bin/spacewalk-clone-by-date", line 196, in main
    return cloneByDate.main(args)
  File "/usr/share/rhn/utils/cloneByDate.py", line 117, in main
    xmlrpc = RemoteApi(options.server, options.username, options.password)
  File "/usr/share/rhn/utils/cloneByDate.py", line 558, in __init__
    self.client = xmlrpclib.Server(server_url)
  File "/usr/lib64/python2.4/xmlrpclib.py", line 1357, in __init__
    raise IOError, "unsupported XML-RPC protocol"
IOError: unsupported XML-RPC protocol

Environment

  • Red Hat Network Satellite 5.4/5.5

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