Bug 1073780

Summary: [SNAPSHOT]: Cleanup unwanted snapshot CG code
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Vijaikumar Mallikarjuna <vmallika>
Component: snapshotAssignee: Vijaikumar Mallikarjuna <vmallika>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: mzywusko, nlevinki, nsathyan, rhinduja, rhs-bugs, rjoseph, smohan, storage-qa-internal, vagarwal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: SNAPSHOT
Fixed In Version: 3.4.1.6.snap.mar25.2014 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-10 07:47:32 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:
Embargoed:

Description Vijaikumar Mallikarjuna 2014-03-07 08:11:28 UTC
Description of problem:

As per the new design CG is no more a valid feature. So cleanup unwanted CG code from glusterd and cli.

Comment 2 Vijaikumar Mallikarjuna 2014-03-07 08:52:20 UTC
Patch http://review.gluster.org/#/c/7204/ submitted

Comment 3 Vivek Agarwal 2014-04-07 11:41:02 UTC
Restoring the IWB back to Denali

Comment 4 Rahul Hinduja 2014-04-11 07:15:05 UTC
verified with build: glusterfs-3.4.1.9.snap.apr09.2014git-1.el6.x86_64

Didn't go through the code but did black box testing with CG older commands and help.

[root@snapshot-09 ~]# gluster snapshot help | grep -i cg
[root@snapshot-09 ~]# gluster snapshot create vol0 -name CG
Creating multiple volume snapshot is not supported as of now
Usage: snapshot create <snapname> <volname(s)> [description <description>] [force]
[root@snapshot-09 ~]# 
[root@snapshot-09 ~]# gluster snapshot create vol0 -name CG -d description
Creating multiple volume snapshot is not supported as of now
Usage: snapshot create <snapname> <volname(s)> [description <description>] [force]
[root@snapshot-09 ~]# 
[root@snapshot-09 ~]# gluster snapshot list -d 
Snapshot list : failed: Volume (-d) does not exist
[root@snapshot-09 ~]# gluster snapshot list CG
Snapshot list : failed: Volume (CG) does not exist
[root@snapshot-09 ~]# 
[root@snapshot-09 ~]# gluster snapshot restore -c CG
Usage: snapshot restore <snapname>
[root@snapshot-09 ~]# 
[root@snapshot-09 ~]# 
[root@snapshot-09 ~]# gluster snapshot status -C CG
Usage: snapshot status [(snapname | volume <volname>)]
[root@snapshot-09 ~]# 
[root@snapshot-09 ~]# 
[root@snapshot-09 ~]# gluster snapshot status -c CG
Usage: snapshot status [(snapname | volume <volname>)]
[root@snapshot-09 ~]# 
[root@snapshot-09 ~]# gluster snapshot delete -c CG
Usage: snapshot delete <snapname>
[root@snapshot-09 ~]# 
[root@snapshot-09 ~]# gluster snapshot start -c CG
unrecognized word: start (position 1)
[root@snapshot-09 ~]# 


Moving the bug to verified.

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

Comment 6 Nagaprasad Sathyanarayana 2014-05-06 10:35:15 UTC
BZs not targeted for Denali.

Comment 7 Nagaprasad Sathyanarayana 2014-05-06 12:06:01 UTC
Fixing RHS 3.0 flags.

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