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 <guym...@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 <da...@graniteweb.com> wrote:
>
>>
>> > On Sep 20, 2019, at 16:41, Guy Matz <guym...@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
>> da...@graniteweb.com
>>
>>
>>
>>
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list@redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to