Bug 1073780 - [SNAPSHOT]: Cleanup unwanted snapshot CG code
Summary: [SNAPSHOT]: Cleanup unwanted snapshot CG code
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: snapshot
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Vijaikumar Mallikarjuna
QA Contact:
URL:
Whiteboard: SNAPSHOT
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-07 08:11 UTC by Vijaikumar Mallikarjuna
Modified: 2016-09-17 13:06 UTC (History)
9 users (show)

Fixed In Version: 3.4.1.6.snap.mar25.2014
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-10 07:47:32 UTC
Embargoed:


Attachments (Terms of Use)

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.


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