[rhn-users] Two Questions re: XMLRPC Interface

inode0 inode0 at gmail.com
Sat Jun 11 18:32:31 UTC 2005


On 6/11/05, Steven Lee <slee at cs.cornell.edu> wrote:
> Hi,
> 
> I just started playing with the XMLRPC interface in hope to build some
> custom scripts to automate some tasks.  I have 2 questions:
> 
> 1) There doesn't seem to be routines for manipulating activation keys.
> For example, creating an activation key, deleting an activation key,
> list all the systems activated by a specified key.  Unfortunately, we
> are using activation keys for granting a large number of users use of
> RHEL licenses (We have an academic site license).  Am I missing
> something here?  I looked through the api at
> https://rhn.redhat.com/rpc/api and couldn't find anything.

I feel your pain using the web interface to do these tasks. As I
understand the current state of the API there is no support for
several common tasks that you will want including activation key
manipulation. There was a hint at the Red Hat Summit that a new
version of the API is in the pipeline and should arrive fairly soon.
No hint about whether the features I want (which are surely the
features you want as I'm doing the same thing you are with an academic
site license) will be included though.

> 2) I tried deleting a user using "user.delete" and got a
> "permission_check_failure".  This is a sub-account that I created.  Why
> can't I delete it using XMLRPC (or the RHN web interface for that matter)?

Good question. I read somewhere that currently you must request that
someone at Red Hat delete accounts on your behalf. That is rather
inconvenient. It would be nice if we could fully manage, including
deletion, of accounts we create.

John




More information about the rhn-users mailing list