aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2020-01-27 17:32:20 +0100
committerPawel Wieczorek <p.wieczorek2@samsung.com>2020-01-29 17:12:32 +0100
commit33649808cab93a4f60474b9381d67e5ac0559858 (patch)
tree1ea811cf7facb76d1816d485923c7b9163c26b75
parent3fbeaf029e392a829ab81ea7e87e18c90c58545f (diff)
Make cluster removal fail softly
VM destruction ("vagrant destroy") failed in case RKE cluster had not been set up properly. Initial intention for this trigger was to leave Control and Worker VMs provisioned even if Operator VM is destroyed. Issue-ID: ONAPARC-551 Change-Id: I2b47c539e2517a7c72675924731a0186d1ae25c0 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
-rw-r--r--bootstrap/vagrant-minimal-onap/Vagrantfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap/vagrant-minimal-onap/Vagrantfile b/bootstrap/vagrant-minimal-onap/Vagrantfile
index e3b2c950d..3ffa6a368 100644
--- a/bootstrap/vagrant-minimal-onap/Vagrantfile
+++ b/bootstrap/vagrant-minimal-onap/Vagrantfile
@@ -149,7 +149,7 @@ $link_file = <<-SCRIPT
SCRIPT
$rke_up = "rke up"
-$rke_down = "rke remove --force"
+$rke_down = "rke remove --force || true" # best effort
$get_oom = <<-SCRIPT
BRANCH="${1:-5.0.1-ONAP}"