From 0484b5768da303998549e8153d08899e58edab68 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Tue, 21 Sep 2010 02:02:48 +0000 Subject: cli, mgmt/glusterd: send errno in case of Peer reject Signed-off-by: Pranith Kumar K Signed-off-by: Vijay Bellur BUG: 1653 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1653 --- cli/src/cli3_1-cops.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cli') diff --git a/cli/src/cli3_1-cops.c b/cli/src/cli3_1-cops.c index 832618c2446..53b80c55667 100644 --- a/cli/src/cli3_1-cops.c +++ b/cli/src/cli3_1-cops.c @@ -114,6 +114,11 @@ gf_cli3_1_probe_cbk (struct rpc_req *req, struct iovec *iov, cli_out ("%s is already part of " "another cluster", rsp.hostname); break; + case GF_PROBE_VOLUME_CONFLICT: + cli_out ("Atleast one volume on %s conflicts " + "with existing volumes in the " + "cluster", rsp.hostname); + break; default: cli_out ("Probe returned with unknown errno %d", rsp.op_errno); -- cgit