Bug 688132 - getting ISE when deleting package through API on SWnightly on PostgreSQL
Summary: getting ISE when deleting package through API on SWnightly on PostgreSQL
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: API
Version: 1.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Pazdziora
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space14
TreeView+ depends on / blocked
 
Reported: 2011-03-16 12:30 UTC by Jan Hutař
Modified: 2011-04-26 09:10 UTC (History)
1 user (show)

Fixed In Version: spacewalk-schema-1.4.12-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-26 09:10:28 UTC
Embargoed:


Attachments (Terms of Use)

Description Jan Hutař 2011-03-16 12:30:36 UTC
Description of problem:
I'm getting "500 Internal Server Error" when trying to use packages.removePackage(key, packageid).


Version-Release number of selected component (if applicable):



How reproducible:
always


Steps to Reproduce:
1. I have custom channel with 4 packages (same name, incremental version)
   (pid=3893..3896) and 4 erratas (each errata contains one of the packages)
2. Use API to delete the packages from channel
   >>> import xmlrpclib
   >>> client = xmlrpclib.Server('https://ibm-ls41-02.rhts.eng.bos.redhat.com/rpc/api', verbose=0)
   >>> key = client.auth.login('admin', 'admin')
   >>> client.packages.removePackage(key, 3893)


Actual results:
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.4/xmlrpclib.py", line 1137, in request
    headers
xmlrpclib.ProtocolError: <ProtocolError for ibm-ls41-02.rhts.eng.bos.redhat.com/rpc/api: 500 Internal Server Error>


Expected results:
Should work (I'm able to remove the package from WebUI)

Comment 4 Jan Pazdziora 2011-03-23 16:00:54 UTC
Fixed in Spacewalk master, 8fbc8e2d65ffcd59fd0c45c7d797cac0f0aa41cb.

Comment 5 Miroslav Suchý 2011-04-26 09:10:28 UTC
Spacewalk 1.4 has been released


Note You need to log in before you can comment on or make changes to this bug.