diff options
author | Stefan K. Berg <stefan.k.berg@ericsson.com> | 2016-06-01 13:25:37 +0200 |
---|---|---|
committer | Stefan K. Berg <stefan.k.berg@ericsson.com> | 2016-06-01 13:25:37 +0200 |
commit | 09b0ac0860e274e53413f1c2eaf46b5eae8cd51a (patch) | |
tree | 7ce3b6aa1da87a5f5804d1c46a11440e99fd1417 /deploy/deploy_env.py | |
parent | 74454885828f33629f0355616017b67768bc7bd8 (diff) |
Auto deploy corrections for Fuel 9.0
- The auto deployer's detection of nodes being up corrected as "fuel node"
now returns "1" instead of "True" to denote that the node is up.
- The location of bootstrap_admin_node.sh has changed so the detection of
whether the Fuel node installation needed a correction for the deployer
not to throw an exit code and terminate prematurely.
- Small fix: deploy.py is now executable (just a chmod change).
Change-Id: I8fed7bafe6912f8b4278619bbdaa16577a82737b
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
Diffstat (limited to 'deploy/deploy_env.py')
-rw-r--r-- | deploy/deploy_env.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/deploy/deploy_env.py b/deploy/deploy_env.py index aa861e102..5eeaf11e0 100644 --- a/deploy/deploy_env.py +++ b/deploy/deploy_env.py @@ -216,7 +216,8 @@ class CloudDeploy(object): def node_discovery(self, node_list, discovered_macs): for node in node_list: if (node[N['status']] == 'discover' and - node[N['online']] == 'True' and + (node[N['online']] == 'True' or + node[N['online']] == '1') and node[N['mac']] not in discovered_macs): discovered_macs.append(node[N['mac']]) blade = self.find_mac_in_dict(node[N['mac']]) |