search for: cli_out

Displaying 1 result from an estimated 1 matches for "cli_out".

Did you mean: cc_out
2017 Jul 20
0
error reporting and --xml
Hi all, I am developing a gluster wrapper, and when using glusterfs-3.8.9-1 (on centos) with --xml, timeout errors have two issues: 1) the message is on stdout 2) the message is not formatted in XML I think the error is the use of cli_out() here: https://github.com/gluster/glusterfs/blob/master/cli/src/cli-cmd.c#L293 since cli_out() bypasses all the XML formatting output and writes directly to stdout. Moreover, when a "peer probe --xml" failed, its opRet was still set to zero and its error messsage was not in opErrstr:...