Bug 1236153 - setting enable-shared-storage without mentioning the domain, doesn't enables shared storage
Summary: setting enable-shared-storage without mentioning the domain, doesn't enables ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: glusterd
Version: rhgs-3.1
Hardware: x86_64
OS: All
unspecified
high
Target Milestone: ---
: RHGS 3.1.2
Assignee: Gaurav Kumar Garg
QA Contact: Byreddy
URL:
Whiteboard:
Depends On:
Blocks: 1216951 1238224 1260783
TreeView+ depends on / blocked
 
Reported: 2015-06-26 17:27 UTC by SATHEESARAN
Modified: 2016-03-21 09:45 UTC (History)
12 users (show)

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.
Clone Of:
: 1238224 1319658 (view as bug list)
Environment:
Last Closed: 2016-03-01 05:26:43 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0193 0 normal SHIPPED_LIVE Red Hat Gluster Storage 3.1 update 2 2016-03-01 10:20:36 UTC

Description SATHEESARAN 2015-06-26 17:27:07 UTC
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 07:06:21 UTC
Marking this bug for a known-issue

Comment 3 Gaurav Kumar Garg 2015-07-13 10:28:51 UTC
upstream patch available http://review.gluster.org/11491 . will clone to downstream.

Comment 4 monti lawrence 2015-07-22 20:53:47 UTC
Doc text is edited. Please sign off to be included in Known Issues.

Comment 5 Gaurav Kumar Garg 2015-07-27 05:34:49 UTC
hi monti,

this doc text looks good to me.

Comment 6 rjoseph 2015-07-27 09:14:31 UTC
Slightly modified the text.

Comment 7 Anand Nekkunti 2015-10-05 05:51:21 UTC
upstream patch merged: http://review.gluster.org/11491

Comment 10 Byreddy 2015-10-21 06:17:55 UTC
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 05:26:43 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/RHBA-2016-0193.html


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