Bug 1584523 - [downstream clone - 4.2.4] [HE] Failed to deploy RHV-H on Hosted engine
Summary: [downstream clone - 4.2.4] [HE] Failed to deploy RHV-H on Hosted engine
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-host-deploy
Version: 4.2.3
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ovirt-4.2.4
: ---
Assignee: Ido Rosenzwig
QA Contact: Pavol Brilla
URL:
Whiteboard:
Depends On: 1583038
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-31 07:05 UTC by RHV bug bot
Modified: 2019-05-16 13:07 UTC (History)
23 users (show)

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
Clone Of: 1583038
Environment:
Last Closed: 2018-06-27 10:04:41 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:2078 0 None None None 2018-06-27 10:04:51 UTC
oVirt gerrit 91672 0 None MERGED Hosted-engine: log import exception stack trace 2020-02-21 09:31:40 UTC
oVirt gerrit 91676 0 master MERGED packaging: rename vdsm yum plugin to avoid a name clash 2020-02-21 09:31:40 UTC
oVirt gerrit 91710 0 None MERGED Hosted-engine: log import exception stack trace 2020-02-21 09:31:40 UTC
oVirt gerrit 91711 0 ovirt-4.2 MERGED packaging: rename vdsm yum plugin to avoid a name clash 2020-02-21 09:31:40 UTC

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


Note You need to log in before you can comment on or make changes to this bug.