diff options
author | Avra Sengupta <asengupt@redhat.com> | 2013-07-25 14:58:46 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-07-29 04:42:40 -0700 |
commit | 355ff31dff9713319a1d2663e5f8d3d386c1b938 (patch) | |
tree | 25bb85af8cdcf50d0371f0c4a84c740dfd41340b /cli/src/input.c | |
parent | ebbe623fe44dddc9318067698bf3796035265997 (diff) |
glusterd: Fixing create force issues while it returned true everytime.
Now geo-rep create force will return true if a node is down, and log an
appropriate message. It will also return true with an appropriate log
message if the slave verification fails.
However it will not return true if the config file is deleted, ot corrupted,
so as not to get the state_file's path. It will also fail if the slave url
is invalid. If the push-pem option is given and
/var/lib/glusterd/geo-replication/common_secret.pem.pub is not present, then
also the create force command will fail.
Change-Id: Ie7532a0884ddf9c3008bd30832d171d5b53b540e
BUG: 988314
Signed-off-by: Avra Sengupta <asengupt@redhat.com>
Reviewed-on: http://review.gluster.org/5405
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'cli/src/input.c')
0 files changed, 0 insertions, 0 deletions