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

bugzilla at redhat.com bugzilla at redhat.com
Wed Oct 14 12:13:47 UTC 2015


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

            Bug ID: 1271627
           Summary: Creating a already deleted snapshot-clone deletes the
                    corresponding snapshot.
           Product: GlusterFS
           Version: 3.7.5
         Component: snapshot
          Severity: urgent
          Priority: urgent
          Assignee: bugs at gluster.org
          Reporter: sraj at redhat.com
        QA Contact: sraj at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Created attachment 1082804
  --> https://bugzilla.redhat.com/attachment.cgi?id=1082804&action=edit
logs from one node

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

-- 
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