From 6a09cc017780d80edf9bc0d3f74b9533492c1779 Mon Sep 17 00:00:00 2001 From: Satoru Takeuchi Date: Mon, 13 Apr 2020 14:49:05 +0900 Subject: [PATCH] ceph: remove unnecessary lvremove in test LVs in a VG are removed with vgremove. So lvremove before vgremove is not necessary. Signed-off-by: Satoru Takeuchi --- tests/framework/installer/ceph_installer.go | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/framework/installer/ceph_installer.go b/tests/framework/installer/ceph_installer.go index c908ffc68..b50099ad0 100644 --- a/tests/framework/installer/ceph_installer.go +++ b/tests/framework/installer/ceph_installer.go @@ -804,7 +804,6 @@ spec: # Wipe VGs for vg in $(vgs --noheadings --readonly --separator=' ' -o vg_name); do if [[ $vg =~ ^ceph- ]]; then - lvremove --yes --force "$vg" vgremove --yes --force "$vg" fi done