aboutsummaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authorMichal Skalski <mskalski@mirantis.com>2016-08-12 14:28:10 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-12 14:28:10 +0000
commit0d53f22492e043b66734af4e47dcd07ee15a2d13 (patch)
tree6cd558ffce1359f5908f466552f44d651e19a581 /deploy
parent1268d78a2564bcadb02226103aec3d4f01eb1fb0 (diff)
parent58dcda0e29975f2d64ea571d14649ede43209da0 (diff)
Merge "Filter out non-cluster nodes"
Diffstat (limited to 'deploy')
-rw-r--r--deploy/cloud/deployment.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy/cloud/deployment.py b/deploy/cloud/deployment.py
index f8e1617f8..4a9fcd9a8 100644
--- a/deploy/cloud/deployment.py
+++ b/deploy/cloud/deployment.py
@@ -157,10 +157,10 @@ class Deployment(object):
def verify_node_status(self):
- node_list = parse(exec_cmd('fuel node list'))
+ node_list = parse(exec_cmd('fuel --env %s node' % self.env_id))
failed_nodes = []
for node in node_list:
- if node[N['status']] != 'ready' and node[N['cluster']] != 'None':
+ if node[N['status']] != 'ready':
failed_nodes.append((node[N['id']], node[N['status']]))
if failed_nodes: