From: Nizamudeen A Date: Fri, 4 Feb 2022 09:18:43 +0000 (+0530) Subject: dep: delete the network before creating it again X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=1528786a77ea2185246923336edc703d7cf8ba10;p=ceph-build.git dep: delete the network before creating it again Need to recreate the network to avoid issues like ssh ing into the environment. Fixes: https://tracker.ceph.com/issues/54131 Signed-off-by: Nizamudeen A --- diff --git a/scripts/dashboard/install-cephadm-e2e-deps.sh b/scripts/dashboard/install-cephadm-e2e-deps.sh index 7e4dfe1f..0764b681 100644 --- a/scripts/dashboard/install-cephadm-e2e-deps.sh +++ b/scripts/dashboard/install-cephadm-e2e-deps.sh @@ -86,5 +86,7 @@ sudo chmod +x /usr/local/bin/kcli # KCLI cleanup function can be found here: https://github.com/ceph/ceph/blob/master/src/pybind/mgr/dashboard/ci/cephadm/start-cluster.sh sudo mkdir -p /var/lib/libvirt/images/ceph-dashboard +kcli delete plan ceph -y || true +kcli delete network ceph-dashboard -y kcli create pool -p /var/lib/libvirt/images/ceph-dashboard ceph-dashboard kcli create network -c 192.168.100.0/24 ceph-dashboard