search for: operrstr

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

Did you mean: errstr
2017 Jul 20
0
error reporting and --xml
...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: <cliOutput> <opRet>0</opRet> <opErrno>2</opErrno> <opErrstr/> <output>Host 172.31.100.103 port 24007 already in peer list</output> </cliOutput> That makes for a quite inconsistent error handling in the wrapper. Thanks, Nicolas Ray...