]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
orch/cephadm: fix osd.default creation 67955/head
authorGuillaume Abrioux <gabrioux@ibm.com>
Mon, 23 Mar 2026 12:55:10 +0000 (13:55 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Wed, 25 Mar 2026 10:31:33 +0000 (11:31 +0100)
commit1f9230654562b56bbfb0d0491286d2748df69949
treea32bb0f4b7ea86f6af299af261c4432d994b0c63
parent2f20123931e751866158fa913c5851bc2686ab9e
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>
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/services/osd.py
src/pybind/mgr/cephadm/tests/test_cephadm.py