From: Zack Cerza Date: Thu, 14 Aug 2025 16:29:47 +0000 (-0600) Subject: cephadm: Use specified method for osd.default X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=e0cf8cfdbd723af1c4e2046ae589c8983cfce488;p=ceph.git cephadm: Use specified method for osd.default When creating the first OSD in a cluster, the method requested was being ignored - meaning an LVM OSD would be created in all cases. If a given cluster couldn't support LVM, it could not be deployed. If we relay the method value requested by the cephadm invocation, we can create OSDs as expected. Fixes: https://tracker.ceph.com/issues/72381 Signed-off-by: Zack Cerza --- diff --git a/src/pybind/mgr/cephadm/module.py b/src/pybind/mgr/cephadm/module.py index f6b3c49355a51..cce2c6ce90fc8 100644 --- a/src/pybind/mgr/cephadm/module.py +++ b/src/pybind/mgr/cephadm/module.py @@ -3005,6 +3005,7 @@ Then run the following: placement=PlacementSpec(host_pattern=host), data_devices=DeviceSelection(paths=devices), unmanaged=False, + method=drive_group.method, objectstore=drive_group.objectstore )