Hi Didi,
Apologies as this is my first post. I am referring the issue that is mentioned
in the Red hat solution mentioned in this thread.
https://access.redhat.com/solutions/4462431
I am trying to deploy hosted engine VM. I tried via cockpit gui and through
CLI. In both cased deployment fails with error message
From the below error message I can see VM is in powering down state and health
status is bad
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check engine VM health]
[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 180, "changed": true,
"cmd": ["hosted-engine", "--vm-status", "--json"], "delta": "0:00:00.162941",
"end": "2022-01-06 00:43:07.060659", "rc": 0, "start": "2022-01-06
00:43:06.897718", "stderr": "", "stderr_lines": [], "stdout": "{\"1\":
{\"host-id\": 1, \"host-ts\": 117459, \"score\": 3400, \"engine-status\":
{\"vm\": \"up\", \"health\": \"bad\", \"detail\": \"Powering down\",
\"reason\": \"failed liveliness check\"}, \"hostname\":
\"seliics00123.ovirt4.fl.dselab.seli.gic.ericsson.se\", \"maintenance\": false,
\"stopped\": false, \"crc32\": \"d889fd9b\", \"conf_on_shared_storage\": true,
\"local_conf_timestamp\": 117459, \"extra\":
\"metadata_parse_version=1\\nmetadata_feature_version=1\\ntimestamp=117459 (Thu
Jan 6 00:43:02 2022)\\nhost-id=1\\nscore=3400\\nvm_conf_refresh_time=117459
(Thu Jan 6 00:43:02
2022)\\nconf_on_shared_storage=True\\nmaintenance=False\\nstate=EngineStop\\nstopped=False\\ntimeout=Fri
Jan 2 08:38:08 1970
\\n\", \"live-data\": true}, \"global_maintenance\": false}", "stdout_lines":
["{\"1\": {\"host-id\": 1, \"host-ts\": 117459, \"score\": 3400,
\"engine-status\": {\"vm\": \"up\", \"health\": \"bad\", \"detail\": \"Powering
down\", \"reason\": \"failed liveliness check\"}, \"hostname\":
\"seliics00123.ovirt4.fl.dselab.seli.gic.ericsson.se\", \"maintenance\": false,
\"stopped\": false, \"crc32\": \"d889fd9b\", \"conf_on_shared_storage\": true,
\"local_conf_timestamp\": 117459, \"extra\":
\"metadata_parse_version=1\\nmetadata_feature_version=1\\ntimestamp=117459 (Thu
Jan 6 00:43:02 2022)\\nhost-id=1\\nscore=3400\\nvm_conf_refresh_time=117459
(Thu Jan 6 00:43:02
2022)\\nconf_on_shared_storage=True\\nmaintenance=False\\nstate=EngineStop\\nstopped=False\\ntimeout=Fri
Jan 2 08:38:08 1970\\n\", \"live-data\": true}, \"global_maintenance\":
false}"]}
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check VM status at virt level]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fail if engine VM is not
running]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Get target engine VM IP
address]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Get VDSM's target engine VM
stats]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Convert stats to JSON format]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Get target engine VM IP
address from VDSM stats]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fail if Engine IP is
different from engine's he_fqdn resolved IP]
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Engine VM
IP address is while the engine's he_fqdn
manager-ovirt4.fl.dselab.seli.gic.ericsson.se resolves to 10.228.170.36. If you
are using DHCP, check your DHCP reservation configuration"}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing
ansible-playbook
VM is running
[root@host]# virsh -c
qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf list
Id Name State
------------------------------
37 HostedEngine running
Please let me know if you need any further output or log file.
Regards
Sohail
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/[email protected]/message/UXSUW6XMTQJM2J2SNOUWGZXTFKBFY2V2/