Bug 753064
| Summary: | ISE on API kickstart.keys.delete, when key does not exists | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Šimon Lukašík <slukasik> | ||||
| Component: | API | Assignee: | Stephen Herr <sherr> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Matej Kollar <mkollar> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 541 | CC: | cperry, dyordano, mkollar, mminar | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | spacewalk-java-1.7.54-42-sat | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-09-21 09:20:52 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: | 819036, 819081 | ||||||
| Attachments: |
|
||||||
|
Description
Šimon Lukašík
2011-11-11 08:27:03 UTC
Created attachment 532993 [details]
snippet of traceback from Catalina
Fixed in Spacewalk master: 28415092c0cac9925d9ab394392ddc33ece66f4f Reproduced against Sat 541 and verified against spacewalk-java-1.7.54-58.el6sat.
> #!/usr/bin/env python
>
> import xmlrpclib
> import pprint
> import sys
>
> myPPrint = pprint.PrettyPrinter(indent=4).pprint
>
> SERVER = "http://%s/rpc/api" % "<FQDN>"
> USER = "admin"
> PASS = "nimda"
>
> client = xmlrpclib.Server(SERVER, verbose=2)
> key = client.auth.login(USER, PASS)
>
> myPPrint(client.kickstart.keys.create(key, "Some random description...", "SSL", "somekey..."))
> myPPrint(client.kickstart.keys.delete(key, "Some random description..."))
> myPPrint(client.kickstart.keys.delete(key, "Some random description..."))
>
> client.auth.logout(key)
This issue is resolved with the release of RHN Satellite 5.5. As of September 20th 2012, RHN Satellite 5.5 has been generally available. Release Notes and other 5.5 documentation can be found here: https://access.redhat.com/knowledge/docs/Red_Hat_Network_Satellite/ The associated Errata for the 5.5 release are: 5.5 Satellite GA Errata - http://rhn.redhat.com/errata/RHEA-2012-1296.html 5.5 Upgrade Errata - http://rhn.redhat.com/errata/RHEA-2012-1298.html 5.5 RHN Proxy GA Errata - http://rhn.redhat.com/errata/RHEA-2012-1297.html 5.5 RHN Tools GA Errata - http://rhn.redhat.com/errata/RHEA-2012-1299.html Regards, Clifford - Engineering Manager, Satellite |