[ovirt-users] How to enable Global Maintenance via the REST-API?

Andrej Krejcir akrejcir at redhat.com
Wed Feb 15 15:20:50 UTC 2017


Hi,

global maintenance can be set using the 'maintenance' method on the Hosted
Engine VM.

http://ovirt.github.io/ovirt-engine-api-model/4.0/#services/
vm/methods/maintenance

Regards,
Andrej

On 13 February 2017 at 21:17, Doug Ingham <dougti at gmail.com> wrote:

> Hey Guys,
>  I've gone through both oVirt's & Red Hat's API docs, but I can only find
> info on getting the global maintenance state & setting local maintenance on
> specific hosts.
>
> Is it not possible to set global maintenance via the API?
>
> I'm writing up a new script for our engine-backup routine, but having to
> set GM by acessing a specific node seems a bit inelegant...
>
> https://access.redhat.com/documentation/en/red-hat-
> virtualization/4.0/single/rest-api-guide/
>
> Cheers,
> --
> Doug
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170215/b145dec9/attachment.html>


More information about the Users mailing list