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

Bug 1434209

Summary: [TEXT] Error message is confusing when hosted-engine Storage Domain can't be mounted
Product: Red Hat Enterprise Virtualization Manager Reporter: Bryan Yount <byount>
Component: ovirt-hosted-engine-setupAssignee: Jenny Tokar <jtokar>
Status: CLOSED ERRATA QA Contact: Nikolai Sednev <nsednev>
Severity: high Docs Contact:
Priority: medium    
Version: 4.0.6CC: dfediuck, gveitmic, lsurette, mavital, mgoldboi, rmcswain, stirabos, ykaul, ylavi
Target Milestone: ovirt-4.2.0Keywords: Triaged, ZStream
Target Release: 4.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
: 1460982 (view as bug list) Environment:
Last Closed: 2018-05-15 17:32:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1487915    
Bug Blocks: 1458709, 1460982    

Description Bryan Yount 2017-03-21 00:28:04 UTC
Description of problem:
Recently my customer opened a support case regarding an error message in their environment. I have also seen this same error in my lab and I, too, found it confusing at first since it doesn't actually tell you the real reason for the error.

# hosted-engine --vm-status
Unable to read vm.conf, please check ovirt-ha-agent logs

The customer reported that they were not able to start the hosted-engine because "the config file is missing" which, while accurate, is not the real reason. The real reason was that the Hosted Engine Storage Domain could not be mounted. After checking the storage connection and restarting the ovirt-ha-* services, the customer was able to launch the hosted-engine VM.


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

How reproducible:
Very

Steps to Reproduce:
1. Create a hosted-engine environment hosted on NFS storage and cause an outage of some kind where the NFS mount doesn't get properly unmounted or can't be mounted at all.
2. Restart the ovirt-ha-agent and ovirt-ha-broker services.
3. No errors on ovirt-ha-* service restart. Only later in 'systemctl status ovirt-ha-agent ovirt-ha-broker' is the real error seen.
4. Run 'hosted-engine --vm-status'.

Actual results:
Error message is confusing and doesn't indicate a storage domain connection issue.

Expected results:
Error message should be more descriptive and provide users the proper commands to run (or perhaps a link to the attached kbase for more detailed resolution steps).

Additional info:
https://access.redhat.com/solutions/2973011

Comment 4 Nikolai Sednev 2017-09-03 10:26:47 UTC
Forth to https://bugzilla.redhat.com/show_bug.cgi?id=1460982#c15 moving to verified.

Comment 7 errata-xmlrpc 2018-05-15 17:32:21 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:1471

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