Bug 1234708

Summary: Volume option cluster.enable-shared-storage is not listed in "volume set help-xml" output
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Darshan <dnarayan>
Component: snapshotAssignee: rjoseph
Status: CLOSED ERRATA QA Contact: Anil Shah <ashah>
Severity: high Docs Contact:
Priority: high    
Version: rhgs-3.1CC: asengupt, ashah, asrivast, byarlaga, nsathyan, rhs-bugs, sraj, storage-qa-internal, vagarwal
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.1.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.1-12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-05 07:14:33 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: 1234357, 1251815    

Description Darshan 2015-06-23 05:56:45 UTC
Description of problem:
Newly added volume option cluster.enable-shared-storage (for creating and mounting meta volume) is not listed as part of "gluster volume set help-xml" command output. 
RHGSC uses output of command "gluster volume set help-xml" to get the list of all available volume options. Since cluster.enable-shared-storage is not listed in the above command output, there is no way for RHGSC to know about this option and hence wont be able to set this option through console.

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


How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:
"volume set help-xml" command output does not list the volume option cluster.enable-shared-storage

Expected results:
cluster.enable-shared-storage has to be listed as part of "volume set help-xml"
output.

Additional info:

Comment 4 rjoseph 2015-06-25 05:39:20 UTC
Fix for BZ 1232624 fixes this issue as well.

Comment 6 Shashank Raj 2015-08-26 09:59:00 UTC
Verified this bug with glusterfs-3.7.1-12 build and its working as expected.

snippets below:

[root@dhcp35-18 ~]# gluster volume set help --xml | grep cluster.enable-shared-storage
Option: cluster.enable-shared-storage

[root@dhcp35-18 ~]# gluster volume set help-xml | grep cluster.enable-shared-storage

</name></option><option><defaultValue>disable</defaultValue><description>Create and mount the shared storage volume(gluster_shared_storage) at /var/run/gluster/shared_storage on enabling this option. Unmount and delete the shared storage volume  on disabling this option.</description><name>cluster.enable-shared-storage</name>

since this bug is fixed with latest 3.1.1 build, hence marking this as verified.

Comment 8 errata-xmlrpc 2015-10-05 07:14:33 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/RHSA-2015-1845.html