Bug 1040446

Summary: [SNAPSHOT]: CG status is displayed as "Init" on listing CG with -d option
Product: Red Hat Gluster Storage Reporter: senaik
Component: snapshotAssignee: rjoseph
Status: CLOSED WONTFIX QA Contact: senaik
Severity: medium Docs Contact:
Priority: medium    
Version: rhgs-3.0CC: jturner, nsathyan, rhs-bugs, ssamanta, storage-qa-internal
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: SNAPSHOT
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-13 07:14:19 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-11 12:43:22 UTC
Description of problem:
=======================
On listing CG with -d option , CG status is displayed as "Init"


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

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


Steps to Reproduce:
=================
1.create 2 volumes and start it 

2.Create a CG of both the volumes 
gluster snapshot create volume2 volume3 -n CG1

3.Create another CG of the volumes with description [-d option]
gluster snapshot create volume2 volume3 -n CG2 -d "this is the first_CG"

4. List any one CG in detailed description 

 gluster snapshot list -c CG2 -d
CG Name : CG2
CG ID : 8a5a80d8-b19a-4038-a87b-5fe35246bf7b
CG Description : Does not exist
CG Status : Init

Volume Name : volume2
Number of snaps taken : 2
Number of snaps available : 254

	Snap Name : CG1_volume2_snap
	Snap Time : 2013-12-10 11:19:55
	Snap ID : 2678dcca-0e26-49e4-929e-36115492e23a
	CG Name : Does not exist
	CG ID : Does not exist
	Snap Description : Description not present
	Snap Status : In-use

	Snap Name : CG2_volume2_snap
	Snap Time : 2013-12-10 11:35:52
	Snap ID : 5b7e6985-fa07-4d73-b40b-e8c0cae243e7
	CG Name : Does not exist
	CG ID : Does not exist
	Snap Description : this is the first_CG
	Snap Status : In-use

Volume Name : volume3
Number of snaps taken : 2
Number of snaps available : 254

	Snap Name : CG1_volume3_snap
	Snap Time : 2013-12-10 11:19:56
	Snap ID : 977adc92-68ce-4c23-b95f-97baab3591b5
	CG Name : Does not exist
	CG ID : Does not exist
	Snap Description : Description not present
	Snap Status : In-use

	Snap Name : CG2_volume3_snap
	Snap Time : 2013-12-10 11:35:53
	Snap ID : 1a95da30-808f-4448-80c3-0f1eb3a3cf91
	CG Name : Does not exist
	CG ID : Does not exist
	Snap Description : this is the first_CG
	Snap Status : In-use


Actual results:
==============
CG Status is displayed as "Init" 

Expected results:
================
CG status should be listed as "In Use" instead of "Init"


Additional info:

Comment 2 rjoseph 2014-02-07 09:03:53 UTC
CG functionality is dropped from the requirement list.

Comment 5 rjoseph 2014-03-18 07:24:10 UTC
There is different feature coming in place of CG. Therefore all bugs related to CG is no more relevant. It will never be considered for future release as well. 

We have the following bug opened to remove the code related to CG.
https://bugzilla.redhat.com/show_bug.cgi?id=1073780

That's the reason the bug is moved to closed state with Won't fix as resolution.

Comment 6 Nagaprasad Sathyanarayana 2014-04-01 07:52:25 UTC
Giving devel ack to snapshot bugz

Comment 7 Nagaprasad Sathyanarayana 2014-04-01 08:56:12 UTC
Giving devel ack to snapshot bugz

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

Comment 10 Nagaprasad Sathyanarayana 2014-05-06 12:05:58 UTC
Fixing RHS 3.0 flags.

Comment 11 Nagaprasad Sathyanarayana 2014-05-06 12:12:53 UTC
Fixing RHS 3.0 flags.