Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1236503 - Disabling enable-shared-storage deletes the volume with the name - "gluster_shared_storage"
Disabling enable-shared-storage deletes the volume with the name - "gluster_s...
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: glusterd (Show other bugs)
3.1
All Linux
unspecified Severity medium
: ---
: RHGS 3.1.2
Assigned To: Gaurav Kumar Garg
Byreddy
: ZStream
Depends On:
Blocks: 1216951 1260783 1266818
  Show dependency treegraph
 
Reported: 2015-06-29 05:18 EDT by SATHEESARAN
Modified: 2016-03-21 07:03 EDT (History)
13 users (show)

See Also:
Fixed In Version: glusterfs-3.7.5-0.3
Doc Type: Bug Fix
Doc Text:
Previously, disabling enable-shared-storage deleted the volume with the name "gluster_shared_storage". With this fix, disabling cluster.enable-shared-storage does not delete of any volume named 'gluster_shared_storage'.
Story Points: ---
Clone Of:
: 1266818 1319695 (view as bug list)
Environment:
RHEL 6.7
Last Closed: 2016-03-01 00:27:02 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-29 05:18:31 EDT
Description of problem:
-----------------------
Consider the case where the shared storage volume - which will be used for snapshot-scheduler, NFS Ganesha, geo-replication - was manually created.
Disabling enable-shared-storage actually deletes this volume, though it was not created by enabling enable-shared-storage

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
RHGS 3.1 Nightly build ( glusterfs-3.7.1-6.el6rhs )

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

Steps to Reproduce:
-------------------
1. Create a volume of any type with the name - "gluster_shared_storage"
2. Disable shared storage by enabling enable-shared-storage
   # gluster volume set all cluster.enable-shared-storage disable

Actual results:
---------------
"gluster_shared_storage" volume which was created manually gets deleted

Expected results:
-----------------
"gluster_shared_storage" volume should not get deleted, as the volume was not created by enabling gluster-shared-storage

Additional info:
-----------------
[root@ ~]# gluster volume create gluster_shared_storage
10.70.37.46:/tmp/1 force
volume create: gluster_shared_storage: success: please start the
volume to access data

[root@ ~]# gluster volume set all cluster.enable-shared-storage enable
volume set: failed: Shared storage volume(gluster_shared_storage)
already exists.

[root@ ~]# gluster volume set all cluster.enable-shared-storage disable
Disabling cluster.enable-shared-storage will delete the shared storage
volume(gluster_shared_storage), which is used by snapshot scheduler,
geo-replication and NFS-Ganesha. Do you still want to continue? (y/n) y
volume set: success

[root@ ~]# gluster volume status gluster_shared_storage
Volume gluster_shared_storage does not exist
Comment 2 senaik 2015-07-03 02:58:11 EDT
Avra, 

Could you please provide the doc text for this bug?
Comment 3 monti lawrence 2015-07-22 15:30:09 EDT
Doc text is edited. Please sign off to be included in Known Issues.
Comment 4 SATHEESARAN 2015-07-23 04:50:55 EDT
Setting needinfo on Avra as he has given the doc_text for known_issue
Comment 5 Gaurav Kumar Garg 2015-07-27 01:36:09 EDT
hi,

this doc text looks good to me.
Comment 6 Anand Nekkunti 2015-10-05 01:47:32 EDT
Upstream patch :http://review.gluster.org/#/c/12232/
Comment 9 Byreddy 2015-10-21 02:29:18 EDT
Verified Steps:
===============
1. Create a volume of type  Distributed with the name - "gluster_shared_storage"
2. Disabled shared storage by enable-shared-storage disable"
   # gluster volume set all cluster.enable-shared-storage disable
3. Volume created in step-1 was not delete by  enable-shared-storage disable.

RHGS ver: glusterfs-3.7.5-0.3

Fix is working good.
Comment 11 errata-xmlrpc 2016-03-01 00:27:02 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.