Bug 1387160 - clone creation with older names in a system fails
Summary: clone creation with older names in a system fails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: snapshot
Version: mainline
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Avra Sengupta
QA Contact:
URL:
Whiteboard:
Depends On: 1309209
Blocks: 1268895
TreeView+ depends on / blocked
 
Reported: 2016-10-20 09:24 UTC by Avra Sengupta
Modified: 2017-03-06 17:30 UTC (History)
12 users (show)

Fixed In Version: glusterfs-3.10.0
Clone Of: 1309209
Environment:
Last Closed: 2017-03-06 17:30:20 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Comment 1 Worker Ant 2016-10-20 09:30:05 UTC
REVIEW: http://review.gluster.org/15683 (snapshot: Fix the failure to recreate clones with same name) posted (#1) for review on master by Avra Sengupta (asengupt)

Comment 2 Worker Ant 2016-10-25 09:14:12 UTC
REVIEW: http://review.gluster.org/15683 (snapshot: Fix the failure to recreate clones with same name) posted (#2) for review on master by Avra Sengupta (asengupt)

Comment 3 Worker Ant 2016-11-02 06:28:31 UTC
COMMIT: http://review.gluster.org/15683 committed in master by Rajesh Joseph (rjoseph) 
------
commit 9a2b3fb8b9ff28edafa012dacc5f5f0e4ee1afab
Author: Avra Sengupta <asengupt>
Date:   Thu Oct 20 12:58:16 2016 +0530

    snapshot: Fix the failure to recreate clones with same name
    
    The brick path of snapshot clones contained the clonename,
    thereby failing to create newer clones with the same name
    after the original clone had been deleted.
    
    This fix creates the brick path with the clone's vol id
    instead of the clones name. Hence future clones with the
    same name will not have the namespace clash.
    
    Change-Id: I262712adc576122f051b5d1ce171d020efaefd1a
    BUG: 1387160
    Signed-off-by: Avra Sengupta <asengupt>
    Reviewed-on: http://review.gluster.org/15683
    Smoke: Gluster Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: Rajesh Joseph <rjoseph>

Comment 4 Shyamsundar 2017-03-06 17:30:20 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.10.0, please open a new bug report.

glusterfs-3.10.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/gluster-users/2017-February/030119.html
[2] https://www.gluster.org/pipermail/gluster-users/


Note You need to log in before you can comment on or make changes to this bug.