Code Review
/
fuel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
1268d78
)
Merge "Filter out non-cluster nodes"
author
Michal Skalski
<mskalski@mirantis.com>
Fri, 12 Aug 2016 14:28:10 +0000
(14:28 +0000)
committer
Gerrit Code Review
<gerrit@172.30.200.206>
Fri, 12 Aug 2016 14:28:10 +0000
(14:28 +0000)
deploy/cloud/deployment.py
patch
|
blob
|
history
diff --git
a/deploy/cloud/deployment.py
b/deploy/cloud/deployment.py
index
f8e1617
..
4a9fcd9
100644
(file)
--- 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: