Description of problem: Failed to add host (RHEVH) Version-Release number of selected component (if applicable): Engine: Software Version:4.2.3.4-0.1.el7 Host: rhvh-4.2.4.0-0.20180525.0+1 HE: ovirt-hosted-engine-setup-2.2.21-1.el7ev.noarch ovirt-hosted-engine-ha-2.2.12-1.el7ev.noarch How reproducible: 100% Steps to Reproduce: Deploy REHV-H host on hosted engine environment Actual results: Failed to install host Additional info: log ovirt-host-deploy-20180528092245-lynx17.lab.eng.tlv2.redhat.com-3194b152.log: 2018-05-28 09:22:45,672+0300 ERROR otopi.plugins.ovirt_host_deploy.hosted-engine.configureha configureha._set_ha_conf:114 HA client was not imported 2018-05-28 09:22:45,673+0300 DEBUG otopi.context context._executeMethod:143 method exception Traceback (most recent call last): File "/tmp/ovirt-fbe4oXrUjy/pythonlib/otopi/context.py", line 133, in _executeMethod method['method']() File "/tmp/ovirt-fbe4oXrUjy/otopi-plugins/ovirt-host-deploy/hosted-engine/configureha.py", line 116, in _set_ha_conf _('Cannot resolve ovirt_hosted_engine_ha module') RuntimeError: Cannot resolve ovirt_hosted_engine_ha module 2018-05-28 09:22:45,674+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Misc configuration': Cannot resolve ovirt_hosted_engine_ha module Engine log: 2018-05-28 09:22:45,674+03 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [3194b152] EVENT_ID: VDS_INSTALL_IN_PROGRESS_ERROR(511), An error has occurred during installation of Host host_mixed_3: HA client was not imported.
Created attachment 1442722 [details] logs
I assume it's RHVH, not RHEVH? Also, is it a regression? It's not marked as such. If there's no workaround, it's a blocker, no?
About W/A i don't know if we can, But maybe Ido does. Ido can we W/A this?
It also reproduced with our environment GE-1 and GE-5
Also met this issue on rhvh-4.2.4.0-0.20180525.0+1(RHVH4.2.4) From my side, the first deployment is ok, only add the HA host met this issue: From the engine log: """ 2018-05-29 09:42:23,922+08 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [1876e95f] EVENT_ID: VDS_INSTALL_IN_PROGRESS_ERROR(511), An error has occurred during installation of Host additional: HA client was not imported. 2018-05-29 09:42:23,930+08 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [1876e95f] EVENT_ID: VDS_INSTALL_IN_PROGRESS_ERROR(511), An error has occurred during installation of Host additional: Failed to execute stage 'Misc configuration': Cannot resolve ovirt_hosted_engine_ha module. """
A quick workaround requires to rename /etc/yum/pluginconf.d/vdsm.conf /usr/share/yum-plugins/vdsm.py* to /etc/yum/pluginconf.d/vdsmupgrade.conf /usr/share/yum-plugins/vdsmupgrade.py* on the additional hosts before trying to deploy them.
# ls -l /etc/yum/pluginconf.d/ total 4 -rw-r--r--. 1 vdsm kvm 19 Aug 21 16:39 vdsmupgrade.conf # ls -l /usr/share/yum-plugins/ total 12 -rw-r--r--. 1 vdsm kvm 1751 Aug 21 16:39 vdsmupgrade.py -rw-r--r--. 2 vdsm kvm 1197 Aug 21 16:39 vdsmupgrade.pyc -rw-r--r--. 2 vdsm kvm 1197 Aug 21 16:39 vdsmupgrade.pyo # rpm -q ovirt-engine ovirt-engine-4.3.0-0.0.master.20180822092543.git251acd285af.fc28.noarch
Referenced in vdsm v4.30.3 despite this bug is on ovirt-host-deploy.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:1031