Bug 1141348

Summary: [RFE] add ability to define the default volume in enable_vol.sh
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Jeff Vance <jvance>
Component: rhs-hadoop-installAssignee: Jeff Vance <jvance>
Status: CLOSED ERRATA QA Contact: Daniel Horák <dahorak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.0CC: bchilds, dahorak, divya, eboyd, jvance, matt, mkudlej, nlevinki
Target Milestone: Release CandidateKeywords: FutureFeature, Triaged, UpcomingRelease, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.17-1 Doc Type: Enhancement
Doc Text:
Previously, the default volume for Hadoop was not defined in enable_vol.sh. Now, with this release, specifying "--make-default" in enable_vol.sh enables the specified volume to be the default volume for Hadoop.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-24 11:55:14 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:    
Bug Blocks: 1159155    

Description Jeff Vance 2014-09-12 18:26:01 UTC
Description of problem:
Today, enable_vol.sh prepends the volume name to the fs.glusterfs.volumes property of core-site.xml. This causes the just-enabled volume to become the default volume used for all unqualified URIs. bin/set_glusterdfs_uri.sh supports both prepending and appending a volume to this property value, so a new option should be added to enable_vol so the user can decide if the new;y enabled volume should be used as the default or not.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Jeff Vance 2014-09-12 18:27:37 UTC
added --make-default to enable_vol.sh. When specified this causes the target volume to become the default volume. The default behavior is that the target volume will not be the default volume,

Comment 3 Jeff Vance 2014-10-09 19:48:57 UTC
*** Bug 1151207 has been marked as a duplicate of this bug. ***

Comment 5 Daniel Horák 2014-11-03 10:19:41 UTC
Tested and verified on several clusters also with different scenarios and multiple Volumes.

# rpm -q rhs-hadoop-install
  rhs-hadoop-install-2_28-1.el6rhs.noarch

> VERIFIED

Comment 6 Divya 2014-11-14 08:29:10 UTC
Jeff,

Could you please provide the doc text in the Doc Text field for this bug?

Comment 7 Divya 2014-11-21 08:27:28 UTC
Jeff,

Could you please review the edited doc text for technical accuracy and sign-off?

Comment 8 errata-xmlrpc 2014-11-24 11:55:14 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-2014-1275.html

Comment 9 Jeff Vance 2014-12-02 01:57:44 UTC
(In reply to Divya from comment #7)
> Jeff,
> 
> Could you please review the edited doc text for technical accuracy and
> sign-off?

done