]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume/tests: fix lvm centos8-filestore-create job 48122/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 15 Sep 2022 09:07:33 +0000 (11:07 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 16 Sep 2022 11:29:26 +0000 (13:29 +0200)
commited9ee2e81786376264d5df5ce36585f3bc3b1349
tree41ca3a866f36dcd7bc873c9e1cf171f890651e6b
parentf1c897c3c3642b7cdab2b14e01cbc6635430582e
ceph-volume/tests: fix lvm centos8-filestore-create job

/dev/vdc1 can't be zapped if it still holds an lv mapper.
let's use --destroy in the lvm zap command in order to remove
the held lv mapper before zapping the partition and recreate the partition after.

Fixes: https://tracker.ceph.com/issues/57553
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 890e1687d0180f02637c0853ef14aeaf32941a8f)
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
src/ceph-volume/ceph_volume/tests/functional/lvm/playbooks/test_filestore.yml