API calls errata.listPackages and errata.getDetails only work for main organization on Satellite

Solution Unverified - Updated -

Issue

  • When trying to get the packages that belong to an errata via API, it shows:
Traceback (most recent call last):
  File "./bug.py", line 101, in <module>
    for pkg in client.errata.listPackages(key,advisory):
  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 -209: 'redstone.xmlrpc.XmlRpcFault: The errata ***** cannot be found.'>
  • The Spacewalk API call errata.listPackages or errata.getDetails only works with an account in the main organization. Using an account in another org, even if we have a system concerned by the specific errata we're looking for, it throws an error "The errata ... cannot be found".

Environment

  • Red Hat Satellite or Proxy 5.5.

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.