summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2017-05-23 15:05:19 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2017-06-02 05:51:45 +0000
commit8133c3d520cd8eee68cbe065bea444b7191aa3d5 (patch)
treea74d141fa6b673bf1cf5d3404bfaf1db13d55914
parent9c77ac8be90a5f9a3fd25d5c433515cb06ee7402 (diff)
info: show node as configured if status is GB_CLEANUP_INPROGRESS
status GB_CLEANUP_INPROGRESS means someone attemped a delete, but node was not in contact/reach. So the configuration on that node is untouched. Hence such nodes need to be shown in configured list or so called 'BLOCK CONFIG NODE(S):' as part of info command. Change-Id: I56f26fdb3fe6e0ac57fae08c58256d8ccb4dc10d Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
-rw-r--r--rpc/block_svc_routines.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpc/block_svc_routines.c b/rpc/block_svc_routines.c
index 728c86a..a6eab99 100644
--- a/rpc/block_svc_routines.c
+++ b/rpc/block_svc_routines.c
@@ -2500,6 +2500,7 @@ blockhostIsValid (char *status)
{
switch (blockMetaStatusEnumParse(status)) {
case GB_CONFIG_SUCCESS:
+ case GB_CLEANUP_INPROGRESS:
case GB_AUTH_ENFORCEING:
case GB_AUTH_ENFORCED:
case GB_AUTH_ENFORCE_FAIL: