From: Yolanda Robla Date: Fri, 10 Jul 2020 10:32:06 +0000 (+0200) Subject: Remove bootstrap vm after deploying workers X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=a44639776c645441f96348c509f3c4db55728db9;p=kni%2Finstaller.git Remove bootstrap vm after deploying workers Due to https://github.com/openshift/okd/issues/209, the worker nodes cannot fetch ignition properly when bootstrap vm is up. So we need to destroy the vm after the worker creation, so they can get ign properly. Signed-off-by: Yolanda Robla Change-Id: I5e2c74db201825c2375d86af5c621f452d788672 --- diff --git a/ci/kni_deploy_baremetal.sh b/ci/kni_deploy_baremetal.sh index 71b482f..00fe5e4 100755 --- a/ci/kni_deploy_baremetal.sh +++ b/ci/kni_deploy_baremetal.sh @@ -50,6 +50,9 @@ popd pushd $HOME/go/src/gerrit.akraino.org/kni/installer ./knictl deploy_workers $SITE_NAME +# destroy bootstrap node +virsh destroy ${UPI_NAME}-bootstrap + # just sleep for some time, and workers should be up sleep 20m popd