From 33649808cab93a4f60474b9381d67e5ac0559858 Mon Sep 17 00:00:00 2001 From: Pawel Wieczorek Date: Mon, 27 Jan 2020 17:32:20 +0100 Subject: [PATCH] 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 --- bootstrap/vagrant-minimal-onap/Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" -- 2.16.6