]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
dep: delete the network before creating it again 1965/head
authorNizamudeen A <nia@redhat.com>
Fri, 4 Feb 2022 09:18:43 +0000 (14:48 +0530)
committerNizamudeen A <nia@redhat.com>
Fri, 4 Feb 2022 09:18:43 +0000 (14:48 +0530)
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 <nia@redhat.com>
scripts/dashboard/install-cephadm-e2e-deps.sh

index 7e4dfe1fb08cb6d6ff16ab680f6d4132a4d5a8fb..0764b6819a60b3a4c93c40372dad574abcb5b7c8 100644 (file)
@@ -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