[Bugs] [Bug 1278073] The "--xml" option doesn't work for some commands of "snapshot" feature

bugzilla at redhat.com bugzilla at redhat.com
Thu Nov 5 01:41:15 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1278073



--- Comment #2 from Hsiu-Chang Chen <syuusyou at gmail.com> ---
(In reply to Hsiu-Chang Chen from comment #1)
> The "snapshot clone" also has problems with "--xml"
> When clone success, it returns nothing if has "--xml" option.
> But it returns correct results if clone fail.

It's the results I made:

root at localhost [~]# gluster --xml snapshot clone clone1 snap1
root at localhost [~]# gluster --xml snapshot clone clone1 snap1
2<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cliOutput>
  <opRet>-1</opRet>
  <opErrno>30811</opErrno>
  <opErrstr>Volume with name:clone1 already exists</opErrstr>
</cliOutput>

The first command is successful but doesn't show anything.
The second command is fail and displays the error message.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list