Bug 1043940

Summary: [SNAPSHOT] : Need a clearer message while creating a snap of multiple volume with same volume name
Product: Red Hat Gluster Storage Reporter: senaik
Component: snapshotAssignee: rjoseph
Status: CLOSED NOTABUG QA Contact: senaik
Severity: medium Docs Contact:
Priority: medium    
Version: rhgs-3.0CC: asengupt, nsathyan, rhinduja, rhs-bugs, rjoseph, sdharane, ssamanta, storage-qa-internal, vmallika
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: SNAPSHOT
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-20 13:49:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description senaik 2013-12-17 13:24:35 UTC
Description of problem:
=====================
On creating a CG with same volume name , snapshot create command fails with the below error message : 

gluster snapshot create volume1 volume1 -n Cons_Grp1 -d "this is new CG"
snapshot create: failed: Another transaction is in progress. Please try again after sometime.
Snapshot command failed

Display a clear message stating the reason for the failure : 

gluster snapshot create volume1 volume1 -n Cons_Grp1 -d "this is new CG"
snapshot create: failed:Please specify different volume names while creating CG
Snapshot command failed

Version-Release number of selected component (if applicable):
=============================================================
glusterfs 3.4.0.snap.dec03.2013git

How reproducible:
================
always


Steps to Reproduce:
==================
1.Create 2 distribute replicate volume (volume1 volume2) and start it 

2.Create a CG only with volume1 as below : 

gluster snapshot create volume1 volume1 -n Cons_Grp1 -d "this is new CG"
snapshot create: failed: Another transaction is in progress. Please try again after sometime.
Snapshot command failed


Actual results:
==============
gluster snapshot create volume1 volume1 -n Cons_Grp1 -d "this is new CG"
snapshot create: failed: Another transaction is in progress. Please try again after sometime.
Snapshot command failed


Expected results:
================

gluster snapshot create volume1 volume1 -n Cons_Grp1 -d "this is new CG"
snapshot create: failed:Please specify different volume names while creating CG
Snapshot command failed

Additional info:

Comment 3 rjoseph 2014-03-18 07:27:16 UTC
Snapshot support for multiple volume will be provided in future release. Therefore changing the target release of the bug.

Comment 4 Nagaprasad Sathyanarayana 2014-04-21 06:18:13 UTC
Marking snapshot BZs to RHS 3.0.

Comment 5 Sudhir D 2014-05-22 14:23:39 UTC
Moving this to future as we moved away from CG, this functionality is not implemented currently and hence cannot be tested.

Comment 6 Vijaikumar Mallikarjuna 2014-07-30 06:42:08 UTC
As per the new design CG is no more a valid feature, so I think we can close this bug.

Comment 7 rjoseph 2015-03-20 13:49:38 UTC
This feature is no more there in the current release therefore closing the bug.