summaryrefslogtreecommitdiffstats
path: root/cli/src/cli3_1-cops.c
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2010-09-21 02:02:48 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-21 03:24:06 -0700
commit0484b5768da303998549e8153d08899e58edab68 (patch)
tree7b4e34221e9a554da5066243f4a83a7a4a811753 /cli/src/cli3_1-cops.c
parentae376259304b654206c50b095dabf172fc355438 (diff)
cli, mgmt/glusterd: send errno in case of Peer reject
Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1653 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1653
Diffstat (limited to 'cli/src/cli3_1-cops.c')
-rw-r--r--cli/src/cli3_1-cops.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/src/cli3_1-cops.c b/cli/src/cli3_1-cops.c
index 832618c24..53b80c556 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);