Hi,
To enable global maintenance using Python SDK you need to fetch
hosted
engine VM and then call maintenance method on it:
Thanks, but, as I wrote - I know how to enable it.
My question was - how can I discover if global maintenance enabled.
So far I got around this problem - I just call
hosted-engine --vm-status --json
on one of my hosts and check output.
I didn't find how to solve it with Ovirt Python SDK.
Regard!