diff options
author | Tim Rozet <trozet@redhat.com> | 2017-05-18 20:25:17 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-05-18 20:25:17 +0000 |
commit | 0ea79ccda01ea235ea3171273e8ee02dfc4ab2a9 (patch) | |
tree | baf7093a988b9b808a58ecdb60a562b55d35e5cd /lib/overcloud-deploy-functions.sh | |
parent | 5bfa41f042beab7575c94979ac881ce9e721be03 (diff) | |
parent | 3dd07ba7905005ceb49c00cca9046853e8eebc2f (diff) |
Merge "Add VBMC double check"
Diffstat (limited to 'lib/overcloud-deploy-functions.sh')
-rwxr-xr-x | lib/overcloud-deploy-functions.sh | 7 |
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 |