[Spacewalk-list] Is it possible to use SSM in the XMLRPC API?

Ananta Ch ananta.c at googlemail.com
Mon Sep 23 22:20:23 UTC 2019


I even ran into this problem. spacecmd is very buggy. It fail half the time
for me or returns null.

Alternative reliable option is to use API. I read every option and there is
no way to apply errata to a group. You have to loop system by system.

ac


sent from my phone. Sory fer eny typeos

On Mon, Sep 23, 2019, 2:15 PM Guy Matz <guymatz at gmail.com> wrote:

> Thanks.  So if I want to run actionchain.add_eratta_update (
> ActionChainHandler.addErrataUpdate
> <https://spacewalkproject.github.io/documentation/api/2.9/handlers/ActionChainHandler.html#addErrataUpdate>)
> I need to run loop through the machines in a group?  I can't just apply  it
> to a group?
>
> Thanks again!
>
> On Fri, Sep 20, 2019 at 6:06 PM David Rock <david at graniteweb.com> wrote:
>
>>
>> > On Sep 20, 2019, at 16:41, Guy Matz <guymatz at gmail.com> wrote:
>> >
>> > Hi!  I would like to update a number of systems via the XMLRPC API, and
>> thought that SSM would be the way to go, however I don't see a way to use
>> the SSM in the API . . .  any advice out there?
>>
>> The SSM is really a tool to make working in the WebUI easier.  If you use
>> the API, you don’t really need the SSM; you’d just feed the list directly.
>>
>>
>>>> David Rock
>> david at graniteweb.com
>>
>>
>>
>>
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20190923/878f28b2/attachment.htm>


More information about the Spacewalk-list mailing list