Remove bootstrap vm after deploying workers 18/3618/1
authorYolanda Robla <yroblamo@redhat.com>
Fri, 10 Jul 2020 10:32:06 +0000 (12:32 +0200)
committerYolanda Robla <yroblamo@redhat.com>
Fri, 10 Jul 2020 10:32:06 +0000 (12:32 +0200)
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 <yroblamo@redhat.com>
Change-Id: I5e2c74db201825c2375d86af5c621f452d788672

ci/kni_deploy_baremetal.sh

index 71b482f..00fe5e4 100755 (executable)
@@ -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