Bug 1311895

Summary: Default mount point while creating brick from UI should be /rhgs/brick
Product: Red Hat Enterprise Virtualization Manager Reporter: RamaKasturi <knarra>
Component: rhevm-setup-pluginsAssignee: Sahina Bose <sabose>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: high    
Version: 3.6.0CC: bugs, didi, emesika, gklein, lsurette, pstehlik, rbalakri, Rhev-m-bugs, sabose, sbonazzo, sherold, srevivo, ykaul
Target Milestone: ovirt-4.0.0-alphaKeywords: ZStream
Target Release: 4.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1328391 (view as bug list) Environment:
Last Closed: 2016-08-23 21:03:09 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: 1258386, 1328391    

Description RamaKasturi 2016-02-25 09:51:24 UTC
Description of problem:
when user tries to create a brick default mount point as of now in the UI is /gluster-bricks/brick where as it should be /rhgs/brick

Version-Release number of selected component (if applicable):
rhevm-3.6.3.3-0.1.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. Login to UI
2. Try creating a brick from UI
3. 

Actual results:
By default the mount point is chosen as /gluster-bricks/<brickname>

Expected results:
By default the mount point should be /rhgs/<brickname>

Additional info:

Comment 5 Mike McCune 2016-03-28 23:32:32 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 6 Sahina Bose 2016-04-04 08:54:01 UTC
RHGS downstream documentation and tools continue to refer to mount point as /rhgs - hence need this downstream change to be consistent with these tools and documentation.

Retargeting to 3.6.6 as this is a minor change.

Comment 7 Sandro Bonazzola 2016-04-04 11:23:33 UTC
(In reply to Sahina Bose from comment #6)
> RHGS downstream documentation and tools continue to refer to mount point as
> /rhgs - hence need this downstream change to be consistent with these tools
> and documentation.
> 
> Retargeting to 3.6.6 as this is a minor change.

Sahina are you sure this should go to rhevm-setup-plugins and not to rhsc-setup-plugins?

Why is this becoming an issue in 3.6.6? 
Has documentation and tools changed since 3.5?

Why /rhgs is now required and it wasn't before?

Comment 8 Sahina Bose 2016-04-04 11:29:39 UTC
(In reply to Sandro Bonazzola from comment #7)
> (In reply to Sahina Bose from comment #6)
> > RHGS downstream documentation and tools continue to refer to mount point as
> > /rhgs - hence need this downstream change to be consistent with these tools
> > and documentation.
> > 
> > Retargeting to 3.6.6 as this is a minor change.
> 
> Sahina are you sure this should go to rhevm-setup-plugins and not to
> rhsc-setup-plugins?
> 
> Why is this becoming an issue in 3.6.6? 
> Has documentation and tools changed since 3.5?
> 
> Why /rhgs is now required and it wasn't before?

Yes, this is for rhevm-setup-plugins to change the downstream rhev behaviour. (rhsc has a separate d/s change)

It is targeted for 3.6.6 as we want HC setup to work with minimal user changes.
Brick provisioning was not available in 3.5

Comment 9 Sandro Bonazzola 2016-04-05 07:05:07 UTC
(In reply to Sahina Bose from comment #8)
> Yes, this is for rhevm-setup-plugins to change the downstream rhev
> behaviour. (rhsc has a separate d/s change)

I see https://gerrit.ovirt.org/#/c/55048/ is meant to fix the issue upstream, if so why do you need to change rhevm-setup-plugins?

Comment 10 Sahina Bose 2016-04-05 14:59:46 UTC
(In reply to Sandro Bonazzola from comment #9)
> (In reply to Sahina Bose from comment #8)
> > Yes, this is for rhevm-setup-plugins to change the downstream rhev
> > behaviour. (rhsc has a separate d/s change)
> 
> I see https://gerrit.ovirt.org/#/c/55048/ is meant to fix the issue
> upstream, if so why do you need to change rhevm-setup-plugins?

I submitted this upstream patch initially - but it wasn't the right approach as it's a downstream specific name. Hence the change to rhevm-setup-plugins and change of product in bz.
Abandoning the upstream patch in favour of rhevm-setup-plugin change

Comment 12 SATHEESARAN 2016-08-16 16:36:15 UTC
Tested with gluster 3.7.9 and RHV 4.0.2-6

The bricks are mounted at /rhgs/<given-brick-name>

Comment 14 errata-xmlrpc 2016-08-23 21:03:09 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://rhn.redhat.com/errata/RHEA-2016-1675.html