fix: master node release

This commit is contained in:
adobdin 2015-12-21 09:10:14 +00:00
parent b455d14421
commit 1a0f9b2e53

View File

@ -322,6 +322,8 @@ class Nodes(object):
cmd = "awk -F ':' '/fuel_version/ {print \$2}' /etc/astute.yaml" cmd = "awk -F ':' '/fuel_version/ {print \$2}' /etc/astute.yaml"
for node in self.nodes.values(): for node in self.nodes.values():
# skip master # skip master
if node.node_id == 0:
node.release = self.version
if (node.node_id != 0) and ( node.status == 'ready'): if (node.node_id != 0) and ( node.status == 'ready'):
release, err, code = ssh_node(ip=node.ip, release, err, code = ssh_node(ip=node.ip,
command=cmd, command=cmd,