Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1584523

Summary: [downstream clone - 4.2.4] [HE] Failed to deploy RHV-H on Hosted engine
Product: Red Hat Enterprise Virtualization Manager Reporter: RHV bug bot <rhv-bugzilla-bot>
Component: ovirt-host-deployAssignee: Ido Rosenzwig <irosenzw>
Status: CLOSED ERRATA QA Contact: Pavol Brilla <pbrilla>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.2.3CC: bgraveno, cshao, dougsland, huzhao, ipinto, irosenzw, jiaczhan, khakimi, lsurette, lsvaty, mgoldboi, qiyuan, ratamir, rbalakri, Rhev-m-bugs, sbonazzo, srevivo, stirabos, weiwang, yaniwang, ycui, ykaul, yzhao
Target Milestone: ovirt-4.2.4Keywords: Automation, AutomationBlocker, Regression, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-host-deploy-1.7.4-1.el7ev Doc Type: Bug Fix
Doc Text:
Cause: new vdsm's yum plugin that was called vdsm.py Consequence: used vdsm's yum plugin instead of the main vdsm module Fix: renamed vdsm's yum plugin. Result: deployment succeed with no errors
Story Points: ---
Clone Of: 1583038 Environment:
Last Closed: 2018-06-27 10:04:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1583038    
Bug Blocks:    

Description RHV bug bot 2018-05-31 07:05:06 UTC
+++ This bug is a downstream clone. The original bug is: +++
+++   bug 1583038 +++
======================================================================

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.

(Originally by Israel Pinto)

Comment 1 RHV bug bot 2018-05-31 07:05:16 UTC
Created attachment 1442722 [details]
logs

(Originally by Israel Pinto)

Comment 3 RHV bug bot 2018-05-31 07:05:25 UTC
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?

(Originally by Yaniv Kaul)

Comment 6 RHV bug bot 2018-05-31 07:05:44 UTC
About W/A i don't know if we can, But maybe Ido does.
Ido can we W/A this?

(Originally by Israel Pinto)

Comment 7 RHV bug bot 2018-05-31 07:05:52 UTC
It also reproduced with our environment GE-1 and GE-5

(Originally by Kobi Hakimi)

Comment 10 RHV bug bot 2018-05-31 07:06:10 UTC
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.
"""

(Originally by Yihui Zhao)

Comment 12 Pavol Brilla 2018-06-06 08:46:57 UTC
tested on SHE with ovirt-host-deploy.noarch  1.7.4-1.el7ev @rhv-4.2.4-cand

Host RHV-H rhvh-4.2.3.1-0.20180531.0+1 added to env successfully

Comment 15 errata-xmlrpc 2018-06-27 10:04:41 UTC
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-2018:2078

Comment 16 Franta Kust 2019-05-16 13:07:53 UTC
BZ<2>Jira Resync