Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • channel.software.clone help

    Posted on

    I am trying to write a python script and I can't seem to get the clone method to work correctly. I am certain this is something I am doing wrong, because I am just learning python. Could someone please help me understand why I am getting this error? I am attaching the script as well for your review.

    Here is the error:
    Traceback (most recent call last):
    File "./create_patching_channels.py", line 34, in module
    client.channel.software.clone(key, channel_label, parent_channel_name, parent_channel_label, parent_channel_label)
    File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in call
    return self.__send(self.__name, args)
    File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
    File "/usr/lib64/python2.6/xmlrpclib.py", line 1253, in request
    return self._parse_response(h.getfile(), sock)
    File "/usr/lib64/python2.6/xmlrpclib.py", line 1392, in _parse_response
    return u.close()
    File "/usr/lib64/python2.6/xmlrpclib.py", line 838, in close
    raise Fault(**self._stack[0])
    xmlrpclib.Fault: Fault -1: 'redstone.xmlrpc.XmlRpcFault: Could not find method: clone in class: com.redhat.rhn.frontend.xmlrpc.channel.software.ChannelSoftwareHandler with params: [java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String]'

    Attachments

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat