summaryrefslogtreecommitdiffstats
path: root/deploy/tempest.py
diff options
context:
space:
mode:
authorAlex Yang <yangyang1@zte.com.cn>2017-03-26 22:01:43 +0800
committerAlex Yang <yangyang1@zte.com.cn>2017-03-26 22:01:43 +0800
commit59f1796fd0488926ede5b47279c1e672bda7e35b (patch)
treed5cff21179050a8e847a6e4f044c614de7ab8a53 /deploy/tempest.py
parentbbef0fa1fb89a90a98e66ece5b19852bcf3f2332 (diff)
Fix bug in virtual deploy
In prepare_install function of tempest.py: 1. get_config.py needs dha and network parameters 2. install_os_for_vm_step2 function needs cluster_id parameter Change-Id: Idb13f71ced76f0d99dcbe818cdac3d3f2eb7d5df Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
Diffstat (limited to 'deploy/tempest.py')
-rw-r--r--deploy/tempest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/deploy/tempest.py b/deploy/tempest.py
index 6e626c71..263e62e0 100644
--- a/deploy/tempest.py
+++ b/deploy/tempest.py
@@ -94,6 +94,8 @@ def prepare_install():
print("daisy baremetal deploy start")
install_os_for_bm_oneshot(cluster_id)
elif conf['install'] and conf['install'] == 'yes':
+ cluster_info = get_cluster()
+ cluster_id = cluster_info.id
install_os_for_vm_step2(cluster_id)
except Exception: