Red Hat Satellite 5.x spacewalk-clone-by-date throws "xmlrpclib.Fault: <Fault -211: 'redstone.xmlrpc.XmlRpcFault: Cloned channel expected'>" error

Solution Verified - Updated -

Issue

  • Unable to clone RHEL channels using spacewalk-clone-by-date. Its failing with below error:
# spacewalk-clone-by-date --config=/root/Scripts/config --to_date=2019-04-17
Reading repository information.
Using issue_date.
________________________________________
Traceback (most recent call last):
....... 
  File "/usr/lib64/python2.6/xmlrpclib.py", line 838, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault -211: 'redstone.xmlrpc.XmlRpcFault: Cloned channel expected: np-w1-star-rhel-x86_64-server-6'>
  • In rhn_web_api.log can see below error message:
[Date Time] ERROR - REQUESTED FROM: *callerIp* CALL: errata.cloneAsOriginal(53389xe13fa601dc8af12f59234b3898520fed, np-w1-star-rhel-x86_64-server-6, [RHSA-2010:0889, RHSA-2010:0894, RHSA-2010:0950, RHSA-2010:0966, RHSA-2011:0013, RHEA-2011:0014, RHSA-2011:0154, RHSA-2011:0170, RHSA-2011:0180, RHSA-2011:0197]) CALLER: (satadmin) TIME: 0.033 seconds
redstone.xmlrpc.XmlRpcFault: Cloned channel expected: np-w1-star-rhel-x86_64-server-6
        at com.redhat.rhn.frontend.xmlrpc.BaseHandler.invoke(BaseHandler.java:124)
        at redstone.xmlrpc.XmlRpcDispatcher.dispatch(XmlRpcDispatcher.java:123)
        at com.redhat.rhn.frontend.xmlrpc.RhnXmlRpcServer.execute(RhnXmlRpcServer.java:53)


Caused by: 
com.redhat.rhn.frontend.xmlrpc.InvalidChannelException: Cloned channel expected: np-w1-star-rhel-x86_64-server-6
        at com.redhat.rhn.frontend.xmlrpc.errata.ErrataHandler.clone(ErrataHandler.java:905)
        at com.redhat.rhn.frontend.xmlrpc.errata.ErrataHandler.cloneAsOriginal(ErrataHandler.java:980)
        ... 41 more
Date Time ,278 [TP-Processor3] ERROR com.redhat.rhn.frontend.xmlrpc.BaseHandler - Caused by: 
com.redhat.rhn.frontend.xmlrpc.InvalidChannelException: Cloned channel expected: np-w1-star-rhel-x86_64-server-6
        at com.redhat.rhn.frontend.xmlrpc.errata.ErrataHandler.clone(ErrataHandler.java:905)
        at com.redhat.rhn.frontend.xmlrpc.errata.ErrataHandler.cloneAsOriginal(ErrataHandler.java:980)

Environment

  • Red Hat Satellite 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In