Bug 1257533

Summary: snapshot delete all command fails with --xml option.
Product: [Community] GlusterFS Reporter: rjoseph
Component: snapshotAssignee: rjoseph
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, dnarayan
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1161416
: 1258113 (view as bug list) Environment:
Last Closed: 2016-06-16 13:33:45 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:
Bug Depends On: 1161416    
Bug Blocks: 1245077, 1258113    

Description rjoseph 2015-08-27 09:46:31 UTC
+++ This bug was initially created as a clone of Bug #1161416 +++

Description of problem:
gluster snapshot delete all command fails when invoked with --xml option.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.gluster snapshot delete all --xml
2.
3.

Actual results:
when above command is executed it fails with message "Snapshot command failed"

Expected results:
command should provide proper xml output.

Additional info:

--- Additional comment from Darshan on 2015-01-23 02:15:46 EST ---

Even "gluster snapshot delete volume <volume-name> --xml" command fails

Comment 1 Anand Avati 2015-08-27 09:53:01 UTC
REVIEW: http://review.gluster.org/12027 (gluster/cli: snapshot delete all does not work with xml) posted (#1) for review on master by Rajesh Joseph (rjoseph)

Comment 2 Anand Avati 2015-08-29 05:11:04 UTC
COMMIT: http://review.gluster.org/12027 committed in master by Rajesh Joseph (rjoseph) 
------
commit fd47635a4ffab621a2357c99cd1edd0482940bd5
Author: Rajesh Joseph <rjoseph>
Date:   Wed Aug 26 08:28:59 2015 +0530

    gluster/cli: snapshot delete all does not work with xml
    
    Problem: snapshot delete all command fails with --xml option
    Fix: Provided xml support for delete all command
    
    Change-Id: I77cad131473a9160e188c783f442b6a38a37f758
    BUG: 1257533
    Signed-off-by: Rajesh Joseph <rjoseph>
    Reviewed-on: http://review.gluster.org/12027
    Tested-by: NetBSD Build System <jenkins.org>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Avra Sengupta <asengupt>

Comment 3 Niels de Vos 2016-06-16 13:33:45 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report.

glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user