Bug 1549489

Summary: [downstream clone - 4.1.10] Misleading error message as "Failed to install Host. HA client was not imported" while adding additional HE host
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: Nikolai Sednev <nsednev>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.7CC: apinnick, dougsland, irosenzw, lsurette, rbalakri, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ovirt-4.1.10Keywords: Triaged, ZStream
Target Release: ---Flags: irosenzw: needinfo-
lsvaty: testing_plan_complete-
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: 1512621 Environment:
Last Closed: 2018-03-20 16:41:03 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: 1512621    
Bug Blocks:    

Description RHV bug bot 2018-02-27 09:09:45 UTC
+++ This bug is a downstream clone. The original bug is: +++
+++   bug 1512621 +++
======================================================================

Description of problem:

While adding additional HE host, the events pane in the RHV-M portal will show below error log.

Failed to install Host. HA client was not imported.

However, the installation will proceed fine and HE host will be deployed successfully. The error occurs only with RHEL host since ovirt-hosted-engine-ha package will only be installed during the deployment process. 

It will not happen with RHV-H since ovirt-hosted-engine-ha will be pre-installed in RHV-H and hence client module will be always available.

Relavent logs.

====
2017-11-13 21:49:02,717+05 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [2f7f70f5] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Correlation ID: 2f7f70f5, Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: Installing Host . Yum Verify: 6/6: ovirt-hosted-engine-ha.noarch 0:2.1.7-1.el7ev - u.
2017-11-13 21:49:03,606+05 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [2f7f70f5] EVENT_ID: VDS_INSTALL_IN_PROGRESS_ERROR(511), Correlation ID: 2f7f70f5, Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: Failed to install Host . HA client was not imported.
====


Version-Release number of selected component (if applicable):

ovirt-host-deploy-1.6.7-1.el7ev.noarch
rhevm-4.1.7.6-0.1.el7.noarch

How reproducible:

100%

Steps to Reproduce:

1. Add an additional HE RHEL host and watch the events tab. Make sure that host is not having the ovirt-hosted-engine-ha before adding to RHV-M.


Actual results:

Misleading error message as "Failed to install Host" which confuses users.

Expected results:
 

Additional info:

(Originally by Nijin Ashok)

Comment 5 RHV bug bot 2018-02-27 09:10:05 UTC
1.Deployed SHE over Gluster.
2.Added NFS data storage domain.
3.Got SHE storage domain and SHE-VM auto-imported.
4.Added additional clean ha-host without ovirt-hosted-engine-setup previously installed on it.
5.Additional ha-host became active as ha-host.
6.Original error wasn't reproduced.

Tested on these components:
ovirt-hosted-engine-ha-2.2.0-0.0.master.20171128125909.20171128125907.gitfa5daa6.el7.centos.noarch
ovirt-hosted-engine-setup-2.2.0-0.0.master.20171129192644.git440040c.el7.centos.noarch
ovirt-engine-appliance-4.2-20171129.1.el7.centos.noarch

Moving to verified.

(Originally by Nikolai Sednev)

Comment 7 Nikolai Sednev 2018-03-07 16:03:03 UTC
Works for me on these components on hosts:
ovirt-hosted-engine-ha-2.1.9-1.el7ev.noarch
ovirt-hosted-engine-setup-2.1.4.1-1.el7ev.noarch
3.10.0-858.el7.x86_64
Red Hat Enterprise Linux Server release 7.5 (Maipo)

Egnine:
ovirt-engine-setup-4.1.10.1-0.1.el7.noarch
3.10.0-858.el7.x86_64
Red Hat Enterprise Linux Server release 7.5 (Maipo)

Successfully added additional ha-host to 4.1.10.1-0.1 engine and haven't seen any issues.

Moving to verified.

Comment 12 errata-xmlrpc 2018-03-20 16:41:03 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/RHBA-2018:0568

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

Comment 14 Daniel Gur 2019-08-28 13:15:22 UTC
sync2jira

Comment 15 Daniel Gur 2019-08-28 13:21:09 UTC
sync2jira