]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: do source devices zapping if they're detached.
authorIgor Fedotov <ifedotov@croit.io>
Fri, 31 May 2024 14:05:29 +0000 (17:05 +0300)
committerIgor Fedotov <ifedotov@croit.io>
Tue, 4 Jun 2024 08:33:30 +0000 (11:33 +0300)
commitae5ef432845dcf9b061258357ffd97f4eae59a63
tree27f8e0d1b57a51e509f5376b5b94817055f4ba84
parentef9bf7651800632d10bacef3c41f3432db769f40
ceph-volume: do source devices zapping if they're detached.

One needs to zap source device(s) after DB/WAL migration.
Original imlementation removes LVM tags only which leaves device(s) in a
state where "ceph-volume raw activate" still reconginizes them as
attached to OSD due to information preserved in bdev label.
Hence the need to do more zapping.
Fixes: https://tracker.ceph.com/issues/66315
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
src/ceph-volume/ceph_volume/devices/lvm/migrate.py