]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: verify spec service_id before applying
authorTimothy Q Nguyen <timqn22@gmail.com>
Wed, 28 Jan 2026 17:01:52 +0000 (09:01 -0800)
committerTimothy Q Nguyen <timqn22@gmail.com>
Fri, 13 Feb 2026 01:51:08 +0000 (17:51 -0800)
commitfbe3a053c2a2bee19a4e8302a94bcc7af7e156d3
tree6dbaa5baf5ffddd10c9db86d54f44bdaccd0a035
parent627d6cb11df8056dbdf27d04fd5d9340a2368826
mgr/cephadm: verify spec service_id before applying

There are scenarios where the wrong spec is applied to the wrong OSDs,
likely due to some unknown process interruption or corruption of cache
data, to mitigate this issue I added a check for OSDs service_id to match
the spec service_id.

Fixes: https://tracker.ceph.com/issues/74885
Signed-off-by: Timothy Q Nguyen <timqn22@gmail.com>
src/pybind/mgr/cephadm/services/osd.py