Bug 688132
| Summary: | getting ISE when deleting package through API on SWnightly on PostgreSQL | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Jan Hutař <jhutar> |
| Component: | API | Assignee: | Jan Pazdziora (Red Hat) <jpazdziora> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.4 | CC: | jpazdziora |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | spacewalk-schema-1.4.12-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-04-26 09:10:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 674675 | ||
Fixed in Spacewalk master, 8fbc8e2d65ffcd59fd0c45c7d797cac0f0aa41cb. Spacewalk 1.4 has been released |
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)