Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1236153 - setting enable-shared-storage without mentioning the domain, doesn't enables shared storage
setting enable-shared-storage without mentioning the domain, doesn't enables ...
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: glusterd (Show other bugs)
3.1
x86_64 All
unspecified Severity high
: ---
: RHGS 3.1.2
Assigned To: Gaurav Kumar Garg
Byreddy
: ZStream
Depends On:
Blocks: 1216951 1238224 1260783
  Show dependency treegraph
 
Reported: 2015-06-26 13:27 EDT by SATHEESARAN
Modified: 2016-03-21 05:45 EDT (History)
12 users (show)

See Also:
Fixed In Version: glusterfs-3.7.5-0.3
Doc Type: Bug Fix
Doc Text:
Previously while creating the shared storage it only accepted the "cluster.enable-shared-storage" key without accepting enable-shared-storage. With this fix, GlusterFS will accept key with or without domain name while creating shared storage.
Story Points: ---
Clone Of:
: 1238224 1319658 (view as bug list)
Environment:
Last Closed: 2016-03-01 00:26:43 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0193 normal SHIPPED_LIVE Red Hat Gluster Storage 3.1 update 2 2016-03-01 05:20:36 EST

  None (edit)
Description SATHEESARAN 2015-06-26 13:27:07 EDT
Description of problem:
-----------------------
Setting the option, enable-shared-storage, without mentioning the domain 'cluster' doesn't creates the gluster_shared_storage volume

Version-Release number of selected component (if applicable):
--------------------------------------------------------------
glusterfs-3.7.1-5.el6rhs

How reproducible:
------------------
Always

Steps to Reproduce:
--------------------
1. Create a volume of any type
2. Enable enable-shared-storage on the volume, without mentioning the domain
(i.e) gluster volume set all enable-shared-storage enable

Actual results:
---------------
Setting enabling the option enable-shared-storage doesn't created the shared gluster volume by name gluster_shared_storage

Expected results:
-----------------
gluster_shared_storage should be created when enable-shared-storage is enabled

Additional info:
----------------
RCA is here.
The hook script '/var/lib/glusterd/hooks/1/set/post/S32gluster_enable_shared_storage.sh' checks for the key 'cluster.enable-shared-storage' and exits when the key is 'enable-shared-storage'

<snip_from_hook_script>
if [ "$key" != "cluster.enable-shared-storage" ]; then
    exit;
fi
</snip_from_hook_script>
Comment 2 SATHEESARAN 2015-07-10 03:06:21 EDT
Marking this bug for a known-issue
Comment 3 Gaurav Kumar Garg 2015-07-13 06:28:51 EDT
upstream patch available http://review.gluster.org/11491 . will clone to downstream.
Comment 4 monti lawrence 2015-07-22 16:53:47 EDT
Doc text is edited. Please sign off to be included in Known Issues.
Comment 5 Gaurav Kumar Garg 2015-07-27 01:34:49 EDT
hi monti,

this doc text looks good to me.
Comment 6 rjoseph 2015-07-27 05:14:31 EDT
Slightly modified the text.
Comment 7 Anand Nekkunti 2015-10-05 01:51:21 EDT
upstream patch merged: http://review.gluster.org/11491
Comment 10 Byreddy 2015-10-21 02:17:55 EDT
with the fix, Able to create the shared storage with/without mentioning the domain (cluster) that is,
>>gluster volume set all cluster.enable-shared-storage enable
(OR)
>>gluster volume set all enable-shared-storage enable

RHGS version used is = glusterfs-3.7.5-0.3.

With above details moving this bug to verified state.
Comment 12 errata-xmlrpc 2016-03-01 00:26:43 EST
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/RHBA-2016-0193.html

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