From e0cf8cfdbd723af1c4e2046ae589c8983cfce488 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Thu, 14 Aug 2025 10:29:47 -0600 Subject: [PATCH] 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 --- src/pybind/mgr/cephadm/module.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pybind/mgr/cephadm/module.py b/src/pybind/mgr/cephadm/module.py index f6b3c49355a..cce2c6ce90f 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 ) -- 2.39.5