On April 1, 2020 6:51:49 AM GMT+03:00, "Maton, Brett" <matonb@ltresources.co.uk> wrote:
>So, how would I go about disabling global maintenance when hosted
>engine
>isn't running?
>
>I tried editing /var/lib/ovirt-hosted-engine-ha/ha.conf and setting
>both
>values to False but that didn't help.
>
>local_maintenance=False
>local_maintenance_manual=False
>
>
>
>On Tue, 31 Mar 2020 at 23:01, Maton, Brett <matonb@ltresources.co.uk>
>wrote:
>
>> Oooh probably...
>>
>> I'll give that a try in the morning, cheers for the tip!
>>
>> On Tue, 31 Mar 2020, 21:23 , <eevans@digitaldatatechs.com> wrote:
>>
>>> Did you put the ovirt host into global maintenance mode? That may be
>the
>>> issue.
>>>
>>>
>>>
>>> Eric Evans
>>>
>>> Digital Data Services LLC.
>>>
>>> 304.660.9080
>>>
>>>
>>>
>>> *From:* Maton, Brett <matonb@ltresources.co.uk>
>>> *Sent:* Tuesday, March 31, 2020 2:35 PM
>>> *To:* Ovirt Users <users@ovirt.org>
>>> *Subject:* [ovirt-users] Failing to redeploy self hosted engine
>>>
>>>
>>>
>>> I keep running into this error when I try to (re)deploy self-hosted
>>> engine.
>>>
>>>
>>>
>>>
>>>
>>> # ovirt-hosted-engine-cleanup
>>>
>>> # hosted-engine --deploy
>>>
>>> ...
>>>
>>> ...
>>>
>>> [ INFO ] TASK [ovirt.hosted_engine_setup : Fail with error
>description]
>>>
>>> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
>"The
>>> host has been set in non_operational status, deployment errors:
>code
>>> 9000: Failed to verify Power Management configuration for Host
>>> physhost01.example.com, fix accordingly and re-deploy."}
>>>
>>>
>>>
>>> I shut down all of the VM's and detached the storage before cleaning
>up
>>> and trying to re-deploy the hosted engine, first time I've run into
>this
>>> particular problem.
>>>
>>>
>>>
>>> Any help appreciated
>>>
>>>
>>>
>>> Brett
>>>
>>>
>>>
The command ia pushed to the OVFs in the shared storage , which the ovirt-ha-agent is reading.
hosted-engine --set-maintenance --mode=global
Modes can be : global (all nodes), local (this node only), none (remove maintenance).
Best Regards,
Strrahil Nikolov