"Could not find session with id" error when running Satellite API script

Solution Verified - Updated -


  • API script fails with error like the following:

    Traceback (most recent call last): 
      File "./errata-clone-2023766.py", line 125, in ? 
      File "./errata-clone-2023766.py", line 118, in main 
        myserver.cloneErrata(options.dest_channel, aerrata) 
      File "./errata-clone-2023766.py", line 53, in cloneErrata 
        out = self.server.errata.clone(self.rhnSession,dest_chan,errata) 
      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 
      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]) 
    <Fault -1: 'redstone.xmlrpc.XmlRpcFault: unhandled internal
    exception: Could not find session with id: 6265'> 


  • Red Hat Network Satellite

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