]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
orch: disk replacement enhancement 60486/head
authorGuillaume Abrioux <gabrioux@ibm.com>
Wed, 31 Jul 2024 14:36:48 +0000 (14:36 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Fri, 25 Oct 2024 12:02:34 +0000 (12:02 +0000)
commit07c7356fd36c4931cdb0a385d39b6750afa80754
tree3bbc665e698cc0a776186eaa3c7659d710e2acbf
parentc38a874ee43dcf497fc07444c998449800426a94
orch: disk replacement enhancement

This introduces a new `ceph orch device replace` command in order to
improve the user experience when it comes to replacing the underlying
device of an OSD.

Fixes: https://tracker.ceph.com/issues/68456
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 212c8740831a7650b5be86c27d14f8c0b6eacbef)
23 files changed:
doc/cephadm/operations.rst
src/ceph-volume/ceph_volume/__init__.py
src/ceph-volume/ceph_volume/api/lvm.py
src/ceph-volume/ceph_volume/devices/lvm/zap.py
src/ceph-volume/ceph_volume/tests/conftest.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_zap.py
src/ceph-volume/ceph_volume/tests/test_inventory.py
src/ceph-volume/ceph_volume/util/arg_validators.py
src/ceph-volume/ceph_volume/util/device.py
src/ceph-volume/ceph_volume/util/disk.py
src/pybind/mgr/cephadm/ceph_volume.py [new file with mode: 0644]
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/serve.py
src/pybind/mgr/cephadm/services/osd.py
src/pybind/mgr/cephadm/tests/ceph_volume_data.py [new file with mode: 0644]
src/pybind/mgr/cephadm/tests/conftest.py
src/pybind/mgr/cephadm/tests/fixtures.py
src/pybind/mgr/cephadm/tests/test_ceph_volume.py [new file with mode: 0644]
src/pybind/mgr/cephadm/tests/test_replace_device.py [new file with mode: 0644]
src/pybind/mgr/orchestrator/_interface.py
src/pybind/mgr/orchestrator/module.py
src/python-common/ceph/deployment/drive_selection/selector.py
src/python-common/ceph/deployment/inventory.py