[Spacewalk-list] help with api

Maria Iano maria at purplecoffee.com
Wed Oct 30 15:23:09 UTC 2013


On Wed, Oct 30, 2013 at 01:11:37PM +0000, Brian Collins wrote:
> > I'm trying to use the activationkey.getDetails api call but I always get
> > the error:
> > Fault returned from XML RPC Server, fault code -1:
> > redstone.xmlrpc.XmlRpcFault: unhandled internal exception: Could not
> > find activation key: 42-key-name
> > 
> > I have tried several different keys and made sure they show up in
> > response to the activationkey.listActivationKeys call.
> > 
> > This is on a satellite 5.4.1 server.
> 
> Indeed.  I am on Satellite 5.5, and I was able to re-create the problem.  I even listed all the activation keys (which did list out all my activation keys), and tried getDetails and listActivatedSystems on a few of them.  Same result.
> 
> I see nothing in Red Hat's KB about this.  I'm probably going to open a support case.  Since you're using Satellite, you should probably do the same.
> 

Thanks for the confirmation, I have opened a support case. I actually
wasn't able to get all the keys by just running a script with the api
call because it bombed when processing the result, but I ran the script
with the debugger and dumped the response before it was processed and it
did have all the keys, so the problem was in the xml parsing. I will
bring that up as well.

Thanks!
Maria




More information about the Spacewalk-list mailing list