summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorMeghana M <mmadhusu@redhat.com>2015-06-18 06:39:41 +0530
committerKaleb KEITHLEY <kkeithle@redhat.com>2015-06-19 06:52:32 -0700
commite19552c8cc42a3c80aaf43e70f6e29011ad23516 (patch)
tree83358ac47164f2b6d8adce7676af60956f5bf65b /cli
parent8ab6608accb62d6320d1fc1fbe651fcafd376270 (diff)
common-ha : Fixing add node operation
Resource create for the added node referenced a variable new_node that was never passed. This led to a wrong schema type in the cib file and hence the added node always ended up in failed state. And also, resources were wrongly created twice and led to more errors. I have fixed the variable name and deleted the repetitive invocation of the recreate-resource function. The new node has to be added to the existing ganesha-ha config file for correct behaviour during subsequent add-node operations. This edited file has to be copied to all the other cluster nodes. I have added a fix for this as well. Change-Id: Ie55138e2657d22298d89db1c08f2e17930686bd6 BUG: 1233246 Signed-off-by: Meghana M <mmadhusu@redhat.com> Reviewed-on: http://review.gluster.org/11316 Reviewed-by: Niels de Vos <ndevos@redhat.com> Reviewed-by: soumya k <skoduri@redhat.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'cli')
-rw-r--r--cli/src/cli-rpc-ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c
index 1d2480af97a..bd0d4d8a2c2 100644
--- a/cli/src/cli-rpc-ops.c
+++ b/cli/src/cli-rpc-ops.c
@@ -1971,7 +1971,7 @@ gf_cli_ganesha_cbk (struct rpc_req *req, struct iovec *iov,
}
else {
- cli_out("ganesha enable : success ");
+ cli_out("nfs-ganesha : success ");
}
ret = rsp.op_ret;