[Spacewalk-list] spacecmd - cannot change group from client
Glen Collins
glenc2004 at comcast.net
Thu Oct 2 17:21:05 UTC 2014
Hi all.
Anyone know a reason why the "spacecmd" has issues doing a "group_addsystems" from the client? It works fine on the spacewalk server itself. But if I do it from the client I see the following in the api log:
Failed:
[2014-10-02 10:09:29,583] INFO - REQUESTED FROM: 10.xxx.xxx.xx CALL: auth.login(admin, ********) CALLER: (admin) TIME: 0.099 seconds
[2014-10-02 10:09:29,673] INFO - REQUESTED FROM: 10.xxx.xxx.xx CALL: systemgroup.addOrRemoveSystems(admin, Management-Servers, [] , true) CALLER: (admin) TIME: 0.025 seconds
[2014-10-02 10:10:25,198] INFO - REQUESTED FROM: 10.xxx.xxx.xx CALL: api.getVersion() CALLER: (admin) TIME: 0.002 seconds
Success:
[2014-10-02 10:10:25,397] INFO - REQUESTED FROM: 10.xxx.xxx.xx CALL: auth.login(admin, ********) CALLER: (admin) TIME: 0.134 seconds
[2014-10-02 10:10:25,488] INFO - REQUESTED FROM: 10.xxx.xxx.xx CALL: system.listSystems(admin) CALLER: (admin) TIME: 0.019 seconds
[2014-10-02 10:10:26,129] INFO - REQUESTED FROM: 10.xxx.xxx.xx CALL: systemgroup.addOrRemoveSystems(admin, Management-Servers, [1000010050], true) CALLER: (admin) TIME: 0.576 seconds
Seems to me spacecmd does not send the spacewalk system id or knows how to get it so it can send. See the highlighted sections above. Just wondering if this is normal. What I'm trying to do is give the installer a script to add the server to a specific group during an install.
If anyone can help or set me straight I would appreciate it.
Thanks
Glen Collins
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20141002/8fc26df6/attachment.htm>
More information about the Spacewalk-list
mailing list