]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: check "ceph_device_lvm" field instead of "ceph_device" during zap
authorAdam King <adking@redhat.com>
Tue, 8 Apr 2025 17:42:46 +0000 (13:42 -0400)
committerAdam King <adking@redhat.com>
Mon, 21 Apr 2025 18:03:50 +0000 (14:03 -0400)
commit32fae5ca4942f80a9604c6aa123442449594284e
treef980108ec7aaab52b20663e51dea31cce7358966
parent09275f4ff9615b1364f37c29fc986c086445ce5c
cephadm: check "ceph_device_lvm" field instead of "ceph_device" during zap

This field was renamed as part of
https://github.com/ceph/ceph/commit/4941d098e337f2b7ad8c6f7c90be3ae252d22f7b
but the cephadm piece was still looking for "ceph_device" meaning
we would never zap any devices. Worth noting this won't
get caught by teuthology as we make OSDs in that env directly
on top of LVs made out of a split up nvme drive and
ceph-volume inventory doesn't list LVs.

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit fd8a05b2cb97370fe770ca18b50ad1c3ab763447)
src/cephadm/cephadm.py