[Bugs] [Bug 1245077] snapshot delete all command fails with --xml option.
bugzilla at redhat.com
bugzilla at redhat.com
Tue Sep 1 09:07:46 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1245077
Shashank Raj <sraj at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ON_QA |VERIFIED
--- Comment #9 from Shashank Raj <sraj at redhat.com> ---
Verified this bug with glusterfs-3.7.1-14.el7rhgs.x86_64 build and its working
as expected.
Steps followed are as below:
1) Create a volume and create multiple snapshots of the volume:
Created a testvolume and created 10 snapshots of it testvolume-snap0-9
2) Check the snapshots using the list or info command
[root at dhcp35-211 ~]# gluster snapshot list
testvolume-snap0
testvolume-snap1
testvolume-snap2
testvolume-snap3
testvolume-snap4
testvolume-snap5
testvolume-snap6
testvolume-snap7
testvolume-snap8
testvolume-snap9
3) Delete all the snapshots using below xml command:
[root at dhcp35-214 ~]# gluster snapshot delete all --xml
System contains 10 snapshot(s).
Do you still want to continue and delete them? (y/n) y
.
.
.
.
[root at dhcp35-214 ~]# gluster snapshot list
No snapshots present
4) Again create the same snapshots and now try to delete them using below
command:
[root at dhcp35-214 ~]# gluster snapshot list
testvolume-snap0
testvolume-snap1
testvolume-snap2
testvolume-snap3
testvolume-snap4
testvolume-snap5
testvolume-snap6
testvolume-snap7
testvolume-snap8
testvolume-snap9
[root at dhcp35-214 ~]# gluster snapshot delete volume testvolume --xml
Volume (testvolume) contains 10 snapshot(s).
Do you still want to continue and delete them? (y/n) y
.
.
.
.
[root at dhcp35-214 ~]# gluster snapshot list
No snapshots present
So both the commands, gluster snapshot delete all --xml and gluster snapshot
delete volume volname --xml is working as expected, its deleting all the
snapshots and no error messages are observed.
Hence marking this bug as Verified.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=XSXpU9x7cZ&a=cc_unsubscribe
More information about the Bugs
mailing list