]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: add osd_type to orchestrator
authorShraddha Agrawal <shraddha.agrawal000@gmail.com>
Tue, 6 Jan 2026 12:51:01 +0000 (18:21 +0530)
committerShraddha Agrawal <shraddha.agrawal000@gmail.com>
Mon, 2 Feb 2026 12:13:35 +0000 (17:43 +0530)
commit0fdc81bf3cda16165ba2ccc40e893fdeca0abe6b
tree1855cb3d27dbf72caa623813b216d0f1312f8fbe
parentb70593eab04eaeb603eef8f4da6a6484e59101eb
cephadm: add osd_type to orchestrator

This commit enables us to deploy both classic and crimson
type OSDs using cephadm. To enable the same, a new feature,
osd_type is added to DriverGroupSpec. The default value for
the same is classic, but can also be set to crimson.
When this value is read by cephadm, the entrypoint is
changed from /usr/bin/ceph-osd to /usr/bin/ceph-osd-crimson.

Fixes: https://tracker.ceph.com/issues/74081
Signed-off-by: Shraddha Agrawal <shraddha.agrawal000@gmail.com>
src/cephadm/cephadmlib/daemons/ceph.py
src/pybind/mgr/cephadm/services/osd.py
src/pybind/mgr/cephadm/tests/test_spec.py
src/pybind/mgr/orchestrator/module.py
src/pybind/mgr/orchestrator/tests/test_orchestrator.py
src/python-common/ceph/deployment/drive_group.py
src/python-common/ceph/tests/test_service_spec.py