]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm:Enable cephadm device scan to use LSM
authorPaul Cuzner <pcuzner@redhat.com>
Mon, 22 Feb 2021 01:35:03 +0000 (14:35 +1300)
committerPaul Cuzner <pcuzner@redhat.com>
Tue, 2 Mar 2021 20:24:35 +0000 (09:24 +1300)
commit3105fa254b70f0fb56c86eb110580108dcd03509
treede48b77ee78fd766591cc907015b89ac1fa890d4
parent08af21c9c0c3c5b391a60d13140c0af414146bb8
mgr/cephadm:Enable cephadm device scan to use LSM

Using libstoragemgmt (LSM) in ceph-volume was disabled by default,
(nov 2020) which meant cephadm's inventory never had a way to
request the LSM data. This patch adds a module option called
'device_enhanced_scan' (bool), that if set will append the
--with-lsm parameter to the ceph-volume inventory call.

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/serve.py