[Bugs] [Bug 1272339] New: Creating a already deleted snapshot-clone deletes the corresponding snapshot.

bugzilla at redhat.com bugzilla at redhat.com
Fri Oct 16 07:16:55 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1272339

            Bug ID: 1272339
           Summary: Creating a already deleted snapshot-clone deletes the
                    corresponding snapshot.
           Product: GlusterFS
           Version: mainline
         Component: snapshot
          Severity: urgent
          Priority: urgent
          Assignee: bugs at gluster.org
          Reporter: asengupt at redhat.com
                CC: asengupt at redhat.com, bugs at gluster.org,
                    gluster-bugs at redhat.com, rjoseph at redhat.com,
                    sraj at redhat.com
        Depends On: 1271627



+++ This bug was initially created as a clone of Bug #1271627 +++

Description of problem:

Deleting and then creating the snapshot-clone with the same name deletes the
snapshot as well


Version-Release number of selected component (if applicable):

glusterfs-3.7.5-0.19


How reproducible:
Always


Steps to Reproduce:
1. Create a dist-replica volume and start it.
2. Create a snapshot of this volume.
3. Create a clone from this snapshot.
4. Delete the clone and observe that the clone entries can still be seen under
/run/gluster/snaps/clonename/../ and its is shows as mounted.
5. Create the clone again with the same name from the snapshot.
6. Observe that the creation of clone fails and inturn it deletes the snapshot
from which we are trying to create the clone.

Actual results:

Creating a already deleted clone deletes the corresponding snapshot.

Expected results:

Failure while creating a clone should not delete the corresponding snapshot.

Additional info:

logs attached for the reference

--- Additional comment from Vijay Bellur on 2015-10-15 06:46:30 EDT ---

REVIEW: http://review.gluster.org/12364 (snapshot: Fix snapshot clone
postvalidate) posted (#1) for review on master by Avra Sengupta
(asengupt at redhat.com)

--- Additional comment from Vijay Bellur on 2015-10-15 06:52:45 EDT ---

REVIEW: http://review.gluster.org/12364 (snapshot: Fix snapshot clone
postvalidate) posted (#2) for review on master by Avra Sengupta
(asengupt at redhat.com)


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1271627
[Bug 1271627] Creating a already deleted snapshot-clone deletes the
corresponding snapshot.
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list