
20 Jan
2023
20 Jan
'23
5:30 p.m.
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!