]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: fix lvm batch auto with full SSDs
authorDimitri Savineau <dsavinea@redhat.com>
Tue, 3 Nov 2020 23:21:35 +0000 (18:21 -0500)
committerDimitri Savineau <dsavinea@redhat.com>
Mon, 9 Nov 2020 15:54:50 +0000 (10:54 -0500)
commit2a854ca373fadef099a1d037930eb241e757b2c3
treed03537f65f8b89c4e8702e9b2f1801f8cc01c6d1
parent154830be84c143ce9bc29959655ff55bb1fbdc61
ceph-volume: fix lvm batch auto with full SSDs

The ceph-volume lvm batch --auto introduced by [1] breaks the backward
compatibility when using non rotational devices only (SSD and/or NVMe).
Those devices are reaffected as bluestore db or filestore journal
devices while we want them as data devices.

Fixes: https://tracker.ceph.com/issues/48106
[1] https://github.com/ceph/ceph/pull/34740

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
src/ceph-volume/ceph_volume/devices/lvm/batch.py