]> 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)
committerSage Weil <sage@newdream.net>
Tue, 16 Mar 2021 12:56:17 +0000 (07:56 -0500)
commit5cd146231dca9e8d1782823e8c6a6dfb7f089c01
tree72ce863dbd3065dae6b23228081ecc52d749431d
parentd39de644ca484193f9b523e9605b4c66a2c2e870
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>
(cherry picked from commit 3105fa254b70f0fb56c86eb110580108dcd03509)
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/serve.py