Description of problem: In ovirt_hosted_engine_ha/agent/hosted_engine.py (in _start_engine_vm function) The condition statement checks if stdout string starting with "Virtual machine already exists" after "hosted-engine --vm-start" is executed, but "hosted-engine --vm-start" does not print anything starting with this statement when the rc != 0.
too late for 4.4.2
Tested on: ovirt-engine-setup-4.4.3.6-0.13.el8ev.noarch ovirt-hosted-engine-setup-2.4.7-2.el8ev.noarch ovirt-hosted-engine-ha-2.4.5-1.el8ev.noarch Linux 4.18.0-240.el8.x86_64 #1 SMP Wed Sep 23 05:13:10 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux Red Hat Enterprise Linux release 8.3 (Ootpa) Tried numerous manual migrations using local-maintenance and regularly, shutting down and restarting the engine using ha and manually in global-maintenance, also rebooted ha-host running the engine. No issues observed starting or migrating the engine. Feel free to reopen if reproduced during automation.
This bugzilla is included in oVirt 4.4.3 release, published on November 10th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.3 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.