Description of problem: Version-Release number of selected component (if applicable): RHN Satellite 5.4.1 How reproducible: deterministic Steps to Reproduce: 1. Create a SSL or GPG key (kickstart.keys.create) 2. Delete the key (kickstart.keys.delete) 3. Repeat step 2. Actual results: XmlRpcFault: unhandled internal exception: null Expected results: Exception, saying that the given key does not exists Additional info:
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