]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume/tests: fix lvm centos8-filestore-create job 48117/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 15 Sep 2022 09:07:33 +0000 (11:07 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 15 Sep 2022 09:07:33 +0000 (11:07 +0200)
commit890e1687d0180f02637c0853ef14aeaf32941a8f
tree7bfd4a4905b8af21cfaedebcb56e13fa0153dd9d
parent2c21cc1b0bcc537d558a04e0756e1ff8a8a55744
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>
src/ceph-volume/ceph_volume/tests/functional/lvm/playbooks/test_filestore.yml