[Spacewalk-list] Exception when calling listLatestUpgradablePackages

Michael Mraka michael.mraka at redhat.com
Mon Dec 10 15:29:23 UTC 2012


Pierre Casenove wrote:
% Thanks, but as I understand, it won't be backported to spacewalk 1.8?

Hi Pierre,
as it's clearly regression against 1.7, I've backported changes.
You can download spacewalk-java-1.8.181-1 packages directly from koji
(e.g. http://koji.spacewalkproject.org/koji/buildinfo?buildID=29420 for
RHEL/Centos 6).

% > % On spacewalk 1.8 with postgresql, when I'm trying to call the api
% > % method listLatestUpgradablePackages, I get the following error:
% > % >>> pprint.pprint(client.system.listLatestUpgradablePackages(key,
% > % 1000010000)
% > % ... )
% > % Traceback (most recent call last):
% > %   File "<stdin>", line 1, in ?
% > %   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
% > %     verbose=self.__verbose
% > %   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])
% > % xmlrpclib.Fault: <Fault -1: 'redstone.xmlrpc.XmlRpcFault: unhandled
% > % internal exception: ERROR: schema "sp" does not exist'>
% > %
% > % This is a regression compared to version 1.7, when the method was
% > working.
% >
% > Hello Pierre,
% >
% > this issue has been both introduced nad fixed as a part of
% > https://bugzilla.redhat.com/show_bug.cgi?id=839960.
% > (Fixed in
% > http://git.fedorahosted.org/cgit/spacewalk.git/commit/?id=594781171402e28f85cdcb9fe7e838e35288a505
% > .)

Regards,

--
Michael Mráka
Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list