Bug 1535403 - Allow user to choose or mention the volume name
Summary: Allow user to choose or mention the volume name
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-colonizer
Version: rhgs-3.3
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: RHGS 3.3.1 Async
Assignee: Dustin Black
QA Contact: Rahul Hinduja
URL:
Whiteboard:
Depends On:
Blocks: 1560066 1564133
TreeView+ depends on / blocked
 
Reported: 2018-01-17 10:28 UTC by Nag Pavan Chilakam
Modified: 2019-04-03 09:12 UTC (History)
5 users (show)

Fixed In Version: gluster-colonizer-1.1-2.el7rhgs.noarch.rpm
Doc Type: Bug Fix
Doc Text:
Cause: When a deployment theme is selected, colonizer selects the name of the volume Consequence: Names of volumes are non intuitive Fix: Default volume name is configurable by the user in the OEMID configuration file Result: User can input a specific name to the configuration file and accomplish intuitive volume names
Clone Of:
Environment:
Last Closed: 2018-05-03 08:27:12 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:1317 0 None None None 2018-05-03 08:27:50 UTC

Description Nag Pavan Chilakam 2018-01-17 10:28:39 UTC
Description of problem:
====================
currently with colonizer, when we create gluster setup with the volume based on deployment theme, the name assigned to the volume is done by colonizer.

Instead we must prompt the user to give a name to the volume.

We don't have a way to rename a volume in gluster in general, and hence user will have to live with that name for ever.

Instead leave it to the user or if user doenst enter anything , then default it to a random name.

Comment 2 Dustin Black 2018-01-23 16:42:42 UTC
Excluding this flexibility was done consciously in an effort to limit user choice and thus target simplicity in the UX. The name of a Gluster volume is mostly arbitrary, so the ability to change the name is not critical.

That being said, offering a balance of flexibility and simple UX here is preferred. I'm proposing that we move the default volume name to the OEMID config file where it can be a more easily adjustable variable while still maintaining the simpler UX for the colonizer.

Comment 3 Dustin Black 2018-01-31 18:09:40 UTC
Default volname now in the oemid file with upstream merge commit to master d97a4789a9add2c177c41bde7e8c05200abbffd8

Comment 4 Jeff Applewhite 2018-02-22 15:19:02 UTC
I think having it configurable in oemid yaml config is perfect. I'd consider this one fixed

Comment 6 Nag Pavan Chilakam 2018-04-09 08:57:16 UTC
(In reply to Jeff Applewhite from comment #4)
> I think having it configurable in oemid yaml config is perfect. I'd consider
> this one fixed

Jeff,
While I understand that making volume name configurable through yaml file is good, and is does work on gluster-colonizer-1.1-2.el7rhgs.noarch.rpm
However, the bug I raised is to have user prompted for the same.
If you think that this feature is not required for now, or is not to be scoped in rhsone, then we must be either deferring this bug or close it as won't fix.

For now, the bug doesn't fix the problem raised.

Comment 7 Nag Pavan Chilakam 2018-04-09 09:00:20 UTC
(In reply to Dustin Black from comment #3)
> Default volname now in the oemid file with upstream merge commit to master
> d97a4789a9add2c177c41bde7e8c05200abbffd8

Dustin,
Based on comment#2 and comment#3, if we don't want to prompt user to feed vol name, and that is not in plan for now, then this bug should be left as is (ie deferred) or closed as won't fix.

If we want to allow user to rename volume by modifying volume name in yaml file, then we should track this under a new bug.

Comment 12 Nag Pavan Chilakam 2018-04-18 07:18:26 UTC
moving this bug to verified as we now allow user to choose a volume name of personal choice, through modifying the yaml file

However raising a new RFE for user being prompted instead of having to edit  yaml files.

discussed same with Ramky

Comment 15 errata-xmlrpc 2018-05-03 08:27:12 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:1317


Note You need to log in before you can comment on or make changes to this bug.