]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
orch/cephadm: fix osd.default creation 68121/head
authorGuillaume Abrioux <gabrioux@ibm.com>
Mon, 23 Mar 2026 12:55:10 +0000 (13:55 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Tue, 31 Mar 2026 09:21:05 +0000 (09:21 +0000)
commit0ba250921d669deba8c6c99fe11b2b26a9581b5c
tree91da09b66fe42f22b14b8b750de05b5ce8f73764
parent5bb3278730741031382ca9c3dc9d221a942e06a2
orch/cephadm: fix osd.default creation

The 'ceph orch daemon add osd' path mishandles osd.default which can
can save an incomplete osd.default spec (wrong store key, incomplete
spec, and apply ordering) and can skip work or reject valid LV paths.

This commit validates before saving, persists the full device
selections, matches the spec store by service name, and forces OSD
creation so each command is actually executed.

Fixes: https://tracker.ceph.com/issues/75670
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 1f9230654562b56bbfb0d0491286d2748df69949)
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/services/osd.py
src/pybind/mgr/cephadm/tests/test_cephadm.py