]> git-server-git.apps.pok.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>
Thu, 12 Nov 2020 16:27:16 +0000 (11:27 -0500)
commitc152a577a350ac528f6e1991380c5be8b27ebe69
treed375e7aca649c6fb36289c860eee4c00271d7ab7
parent31d4e76d0d584790763b4b1146b29ea4cfc2e9af
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>
(cherry picked from commit 2a854ca373fadef099a1d037930eb241e757b2c3)
src/ceph-volume/ceph_volume/devices/lvm/batch.py