From a44639776c645441f96348c509f3c4db55728db9 Mon Sep 17 00:00:00 2001 From: Yolanda Robla Date: Fri, 10 Jul 2020 12:32:06 +0200 Subject: [PATCH] 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 --- ci/kni_deploy_baremetal.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.16.6