Hi, Most probably it is a bug. Can you add 'debugger: on_failed' to the task ?
Maybe it will provide a hint where is the issue. Best Regards, Strahil NikolovOn Dec 31, 2019 06:36, [email protected] wrote: > > Hi, > > I have encountered the same error that results in the failure of hosted > engine deployment. I have tried to replace "ovirt_host_facts" by > "ovirt_host_info" in > /usr/share/ansible/roles/ovirt.hosted_engine_setup/tasks/bootstrap_local_vm/05_add_host.yml > however it did not help with the following error message: > > 2019-12-31 11:23:27,595+0900 INFO > otopi.ovirt_hosted_engine_setup.ansible_utils > ansible_utils._process_output:109 TASK [ovirt.hosted_engine_setup : Wait for > the host to be up] > 2019-12-31 11:23:28,997+0900 DEBUG > otopi.ovirt_hosted_engine_setup.ansible_utils > ansible_utils._process_output:103 {u'msg': u"The conditional check > 'host_result_up_check is succeeded and > host_result_up_check.ansible_facts.ovirt_hosts|length >= 1 and ( > host_result_up_check.ansible_facts.ovirt_hosts[0].status == 'up' or > host_result_up_check.ansible_facts.ovirt_hosts[0].status == 'non_operational' > )' failed. The error was: error while evaluating conditional > (host_result_up_check is succeeded and > host_result_up_check.ansible_facts.ovirt_hosts|length >= 1 and ( > host_result_up_check.ansible_facts.ovirt_hosts[0].status == 'up' or > host_result_up_check.ansible_facts.ovirt_hosts[0].status == 'non_operational' > )): 'dict object' has no attribute 'ansible_facts'", u'_ansible_no_log': > False} > 2019-12-31 11:23:29,098+0900 ERROR > otopi.ovirt_hosted_engine_setup.ansible_utils > ansible_utils._process_output:107 fatal: [localhost]: FAILED! => {"msg": "The > conditional check 'host_result_up_check is succeeded and > host_result_up_check.ansible_facts.ovirt_hosts|length >= 1 and ( > host_result_up_check.ansible_facts.ovirt_hosts[0].status == 'up' or > host_result_up_check.ansible_facts.ovirt_hosts[0].status == 'non_operational' > )' failed. The error was: error while evaluating conditional > (host_result_up_check is succeeded and > host_result_up_check.ansible_facts.ovirt_hosts|length >= 1 and ( > host_result_up_check.ansible_facts.ovirt_hosts[0].status == 'up' or > host_result_up_check.ansible_facts.ovirt_hosts[0].status == 'non_operational' > )): 'dict object' has no attribute 'ansible_facts'"} > > According to the latest doc of Ansible (2.9) regarding "ovirt_host_facts", it > is deprecated and one should use "ovirt_host_info" instead as you can refer > here: > https://docs.ansible.com/ansible/latest/modules/ovirt_host_facts_module.html > > And one of the requirements to use "ovirt_host_info" is > "ovirt-engine-sdk-python >= 4.3.0" however in my installation, the installed > package is "python-ovirt-engine-sdk4 (4.3.2-2.el7)" instead of > "ovirt-engine-sdk-python". The "ovirt-engine-sdk-python" package is available > however the version is 3.6.9.1-1.el7. > > I have been trying to install the latest oVirt (based in 4.3 repository) and > hyperconverged mode using 3 nodes. Tried already with cockpit installation > and now debugging it by using CLI installation. > > Is this a bug or is there already a fix? > > Best regards, > Sang-Un > _______________________________________________ > Users mailing list -- [email protected] > To unsubscribe send an email to [email protected] > Privacy Statement: https://www.ovirt.org/site/privacy-policy/ > oVirt Code of Conduct: > https://www.ovirt.org/community/about/community-guidelines/ > List Archives: > https://lists.ovirt.org/archives/list/[email protected]/message/V2OYCPZAHUVLFM7P5NF63SQ4QBE2SPJV/ _______________________________________________ Users mailing list -- [email protected] To unsubscribe send an email to [email protected] Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/[email protected]/message/5BDK7WKVELKPABRZ4YZADGYFKKOD4MVR/

