diff options
author | Michal Skalski <mskalski@mirantis.com> | 2016-08-12 14:28:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-08-12 14:28:10 +0000 |
commit | 0d53f22492e043b66734af4e47dcd07ee15a2d13 (patch) | |
tree | 6cd558ffce1359f5908f466552f44d651e19a581 | |
parent | 1268d78a2564bcadb02226103aec3d4f01eb1fb0 (diff) | |
parent | 58dcda0e29975f2d64ea571d14649ede43209da0 (diff) |
Merge "Filter out non-cluster nodes"
-rw-r--r-- | deploy/cloud/deployment.py | 4 |
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: |