Bug 1601790

Summary: Automatic creation of storage domain uses front-end IP to mount the gluster volume
Product: [oVirt] ovirt-hosted-engine-setup Reporter: SATHEESARAN <sasundar>
Component: Plugins.GlusterAssignee: Gobinda Das <godas>
Status: CLOSED CURRENTRELEASE QA Contact: bipin <bshetty>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 2.2.24CC: bshetty, bugs, rhs-bugs, sabose, sankarshan, stirabos
Target Milestone: ovirt-4.2.5Flags: rule-engine: ovirt-4.2+
rule-engine: blocker+
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ovirt-hosted-engine-setup-2.2.24-1.el7ev Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1601700 Environment:
Last Closed: 2018-07-31 15:26:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1596330, 1601700    
Attachments:
Description Flags
Cockpit_UI_Verified none

Description SATHEESARAN 2018-07-17 09:03:07 UTC
+++ This bug was initially created as a clone of Bug #1601700 +++

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.

--- Additional comment from Red Hat Bugzilla Rules Engine on 2018-07-17 00:51:07 EDT ---

This bug is automatically being proposed for the current release of Red Hat Hyperconverged Infrastructure (RHHI) under active development, by setting the release flag 'rhhi‑2.0' to '?'. 

If this bug should be proposed for a different release, please manually change the proposed release flag.

Comment 1 bipin 2018-07-26 10:23:06 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 2 bipin 2018-07-26 10:23:50 UTC
Created attachment 1470677 [details]
Cockpit_UI_Verified

Comment 3 Sandro Bonazzola 2018-07-31 15:26:38 UTC
This bugzilla is included in oVirt 4.2.5 release, published on July 30th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.5 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.