Bug 1512621

Summary: 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: nijin ashok <nashok>
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: bgraveno, dougsland, irosenzw, lsurette, rbalakri, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ovirt-4.2.0Keywords: Triaged, ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ovirt-host-deploy-1.7.0-1.el7ev Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
: 1549489 (view as bug list) Environment:
Last Closed: 2018-05-15 17:55:52 UTC Type: Bug
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:    
Bug Blocks: 1549489    

Description nijin ashok 2017-11-13 16:49:18 UTC
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:

Comment 3 Nikolai Sednev 2017-11-30 13:15:59 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.

Comment 8 errata-xmlrpc 2018-05-15 17:55:52 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:1512

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