+++ This bug was initially created as a clone of Bug #1746394 +++ Description of problem: ======================= Even after adding the other 2 hosts FQDN's in additional hosts tab, the hosts are not added in RHV-M. Version-Release number of selected component (if applicable): ============================================================ rhvh-4.3.6.2-0.20190821.0+1 ovirt-engine-4.3.6.3-0.1.el7.noarch How reproducible: ================ 100% Steps to Reproduce: =================== 1.Start deploying RHHI and fill the additional hosts parameters. 2.Once the deployment is completed the additional hosts are not added Actual results: ============== The hosts are not added Expected results: ================ The hosts should be seen Additional info: --- Additional comment from bipin on 2019-08-28 11:00:34 UTC --- 2019-08-28 11:43:22,129 ovirt-hosted-engine-setup-ansible ansible on_any args TASK: ovirt.hosted_engine_setup : Add additional gluster hosts to engine kwargs is_conditional:False 2019-08-28 11:43:22,129 ovirt-hosted-engine-setup-ansible ansible on_any args localhostTASK: ovirt.hosted_engine_setup : Add additional gluster hosts to engine kwargs 2019-08-28 11:43:22,900 ovirt-hosted-engine-setup-ansible ansible failed {'status': 'FAILED', 'ansible_type': 'task', 'ansible_task': u'Add additional gluster hosts to engine', 'ansible_result': u'type: <type \'dict\'>\nstr: {\'msg\': u"The conditional check \'gluster is defined and hosts in gluster and gluster.hosts | length > 1\' failed. The error was: error while evaluating conditional (gluster is defined and hosts in gluster and gluster.hosts | length > 1): \'hosts\' is undefined\\n\\nThe error appears to be in \'/usr/share/', 'task_duration': 1, 'ansible_host': u'localhost', 'ansible_playbook': u'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml'} 2019-08-28 11:43:22,900 ovirt-hosted-engine-setup-ansible ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f1e8ae50dd0> kwargs ignore_errors:True 2019-08-28 11:43:23,776 ovirt-hosted-engine-setup-ansible ansible task start {'status': 'OK', 'ansible_task': u'ovirt.hosted_engine_setup : Add additional glusterfs storage domains', 'ansible_playbook': u'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml', 'ansible_type': 'task'} 2019-08-28 11:43:23,776 ovirt-hosted-engine-setup-ansible ansible on_any args TASK: ovirt.hosted_engine_setup : Add additional glusterfs storage domains kwargs is_conditional:False 2019-08-28 11:43:23,777 ovirt-hosted-engine-setup-ansible ansible on_any args localhostTASK: ovirt.hosted_engine_setup : Add additional glusterfs storage domains kwargs 2019-08-28 11:44:04,464 ovirt-hosted-engine-setup-ansible ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f1e8ae50d50> kwargs 2019-08-28 11:44:45,324 ovirt-hosted-engine-setup-ansible ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f1e8ae502d0> kwargs 2019-08-28 11:44:46,083 ovirt-hosted-engine-setup-ansible ansible ok {'status': 'OK', 'ansible_type': 'task', 'ansible_task': u'Add additional glusterfs storage domains', 'task_duration': 83, 'ansible_host': u'localhost', 'ansible_playbook': u'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml'} --- Additional comment from RHEL Product and Program Management on 2019-08-28 11:00:39 UTC --- This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.
Created attachment 1608974 [details] ansible.log
Created attachment 1608975 [details] setup_target_vm
Created attachment 1608976 [details] inventory_additional_host
Raised PR: https://github.com/oVirt/ovirt-ansible-hosted-engine-setup/pull/242
Not included in 1.0.27, will be included in next build.
Sandro, will this be included in 4.3.6?
Verified the bug using cockpit-ovirt-dashboard-0.13.8-1.el7ev.noarch & ovirt-ansible-hosted-engine-setup-1.0.28-1.el7ev.noarch The additional hosts are now automatically added to the RHV-M. So closing the bug. Logs: ===== 2019-09-06 10:44:03,952+05 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-1) [5da7dd55] EVENT_ID: USER_ADD_VDS(42), Host rhsqa-grafton8-nic2.lab.eng.blr.redhat.com was added by admin@internal-authz. 2019-09-06 10:44:03,957+05 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-2) [68a805c8] EVENT_ID: USER_ADD_VDS(42), Host rhsqa-grafton9-nic2.lab.eng.blr.redhat.com was added by admin@internal-authz.
This bugzilla is included in oVirt 4.3.6 release, published on September 26th 2019. Since the problem described in this bug report should be resolved in oVirt 4.3.6 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.