Bug 1319695

Summary: Disabling enable-shared-storage deletes the volume with the name - "gluster_shared_storage"
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Gaurav Kumar Garg <ggarg>
Component: glusterdAssignee: Satish Mohan <smohan>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: amukherj, asengupt, bmohanra, bsrirama, byarlaga, mlawrenc, nlevinki, rcyriac, rhinduja, rhs-bugs, rjoseph, sankarshan, sasundar, smohan, storage-qa-internal, vbellur
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.1.3   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.7.9-1 Doc Type: Bug Fix
Doc Text:
Previously, when shared storage was disabled with 'gluster volume set all cluster.enable-shared-storage off', a volume that was named gluster_shared_storage was deleted regardless of whether that volume was created by gluster or by the user. This update ensures that user-created volumes are not deleted when shared storage is disabled.
Story Points: ---
Clone Of: 1236503 Environment:
RHEL 6.7
Last Closed: 2016-06-23 05:04:58 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: 1311817    

Comment 3 Gaurav Kumar Garg 2016-03-21 11:03:48 UTC
this bug is to track the fix
which was already in 3.1.2 but missed out as part of rebasing to 3.1.3
from upstream 3.7.9

Comment 4 Gaurav Kumar Garg 2016-03-21 11:05:47 UTC
downstream patch for this bug: https://code.engineering.redhat.com/gerrit/70335

Comment 6 SATHEESARAN 2016-03-29 13:01:52 UTC
Disabling enable-shared-storage, when the volume ( gluster_shared_storage ) is created manually - fails.

[root@ ~]# gluster volume create gluster_shared_storage dhcp37-52:/tmp/2 force
volume create: gluster_shared_storage: success: please start the volume to access data

[root@ ~]# gluster volume set all enable-shared-storage disable
volume set: failed: Shared storage volume does not exist. Please enable shared storage for creating shared storage volume.

Comment 13 errata-xmlrpc 2016-06-23 05:04:58 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/RHBA-2016:1240