summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-05-18 20:25:17 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-05-18 20:25:17 +0000
commit0ea79ccda01ea235ea3171273e8ee02dfc4ab2a9 (patch)
treebaf7093a988b9b808a58ecdb60a562b55d35e5cd
parent5bfa41f042beab7575c94979ac881ce9e721be03 (diff)
parent3dd07ba7905005ceb49c00cca9046853e8eebc2f (diff)
Merge "Add VBMC double check"
-rwxr-xr-xlib/overcloud-deploy-functions.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh
index e125eb62..ab0421f6 100755
--- a/lib/overcloud-deploy-functions.sh
+++ b/lib/overcloud-deploy-functions.sh
@@ -328,8 +328,11 @@ EOI
DEPLOY_OPTIONS+=" --control-flavor control --compute-flavor compute"
if [[ "$virtual" == "TRUE" ]]; then
DEPLOY_OPTIONS+=" -e virtual-environment.yaml"
- # double check the status of the vbmc devices
- # TODO add some validation logic here
+ echo 'Ensuring Virtual BMC device status'
+ for i in $(vbmc list | grep down | awk '{ print $2}'); do
+ vbmc start $i
+ sleep 5
+ done
vbmc list
fi