From 670596ed8ee8a6619812584f288628a4ef1c82ce Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 15 Feb 2020 18:51:02 -0500 Subject: [PATCH] Add dead node states to status --- daemon-common/cluster.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon-common/cluster.py b/daemon-common/cluster.py index df7154ed..35e0edd8 100644 --- a/daemon-common/cluster.py +++ b/daemon-common/cluster.py @@ -131,7 +131,8 @@ def getClusterInformation(zk_conn): node_state_combinations = [ 'run,ready', 'run,flush', 'run,flushed', 'run,unflush', 'init,ready', 'init,flush', 'init,flushed', 'init,unflush', - 'stop,ready', 'stop,flush', 'stop,flushed', 'stop,unflush' + 'stop,ready', 'stop,flush', 'stop,flushed', 'stop,unflush', + 'dead,ready', 'dead,flush', 'dead,flushed', 'dead,unflush' ] vm_state_combinations = [ 'start', 'restart', 'shutdown', 'stop', 'disable', 'fail', 'migrate', 'unmigrate', 'provision'