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
Avra, Could you please provide the doc text for this bug?
Doc text is edited. Please sign off to be included in Known Issues.
Setting needinfo on Avra as he has given the doc_text for known_issue
hi, this doc text looks good to me.
Upstream patch :http://review.gluster.org/#/c/12232/
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.
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