Bug 1601700

Summary: Automatic creation of storage domain uses front-end IP to mount the gluster volume
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: rhhiAssignee: Sahina Bose <sabose>
Status: CLOSED ERRATA QA Contact: bipin <bshetty>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rhhiv-1.5CC: bshetty, godas, rhs-bugs, sankarshan
Target Milestone: ---   
Target Release: RHHI-V 1.5   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Previously, administrators needed to create storage domains manually after deploying Red Hat Gluster Storage and the Hosted Engine virtual machine. Storage domains are now created automatically as part of Red Hat Hyperconverged Infrastructure for Virtualization 1.5 deployment.
Story Points: ---
Clone Of:
: 1601790 (view as bug list) Environment:
Last Closed: 2018-11-08 05:39:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1601790    
Bug Blocks: 1520836, 1548985    

Description SATHEESARAN 2018-07-17 04:51:02 UTC
Description of problem:
-----------------------
While attempting for the automatic addition of hosts to the RHV Manager, the storage domains are also created automatically.

When creating the storage domain, gluster volumes are attempted to be mounted using the hostname/IP of the host, which may be the front-end network.
In that case, it will end up not mounting the gluster volume, and storage domain is in detached state.

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
cockpit-ovirt-dashboard-0.11.30

How reproducible:
------------------
Always


Steps to Reproduce:
--------------------
1. Set the hostname of the host to the front-end network
2. Start with RHHI deployment, fill in the 'FQDN' tab with additional hosts
3. After deployment, check for the storage domains

Actual results:
---------------
Storage domains ( except HostedEngineStorage domain ) are in detached state

Expected results:
-----------------
All the storage domains should be UP

Additional info:
----------------
gdeploy inventory file is properly generated with the corresponding backend hostname/IP. The procedure of creating storage domains should use that hostname/IP rather than using host name of the system.

Comment 4 bipin 2018-07-26 10:33:47 UTC
Verified the bug on below components:
====================================
ovirt-hosted-engine-setup-2.2.24-1.el7ev.noarch
cockpit-ovirt-dashboard-0.11.31-1.el7ev.noarch


Steps:
=====
1.Start the HE deployment 
2.Once the HE is up , check the storage domains 
3.All the SD's are up


Attaching the screenshot from the RHV-M UI

Comment 6 Sahina Bose 2018-10-17 11:49:14 UTC
Please provide doc_text

Comment 8 errata-xmlrpc 2018-11-08 05:39:29 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:3523