Repository navigation
doc/ceph-volume: update stale ceph-disk references - #69671
Conversation
ceph-disk was deprecated in Ceph 13.0.0 and has since been removed, but the ceph-volume docs still described it as a current, deprecated tool and carried extensive historical migration narrative. * index.rst: state that ceph-disk has been removed rather than "is deprecated" with warnings that no longer appear; keep the two migration paths for clusters that still have ceph-disk OSDs * intro.rst: collapse the historical "why ceph-disk was replaced" narrative into a brief note, preserving the ceph-disk-replaced anchor * man/8/ceph-volume.rst: describe ceph-disk in the past tense The ceph-volume simple subcommand still manages legacy ceph-disk OSDs, so its documentation is left in place. Fixes: https://tracker.ceph.com/issues/77186 Signed-off-by: Emmanuel Ameh <[email protected]>
|
|
||
| For details on why ``ceph-disk`` was removed please see the :ref:`Why was | ||
| ceph-disk replaced? <ceph-disk-replaced>` section. | ||
| ``ceph-disk`` was deprecated in Ceph 13.0.0 and has since been removed. |
There was a problem hiding this comment.
There wasn't a 13.0.0 release. Mimic.
| ceph-disk replaced? <ceph-disk-replaced>` section. | ||
| ``ceph-disk`` was deprecated in Ceph 13.0.0 and has since been removed. | ||
| ``ceph-volume`` is the supported tool for provisioning and managing OSDs. If | ||
| your cluster still has OSDs that were originally deployed with ``ceph-disk``, |
There was a problem hiding this comment.
has OSDs that rely on ceph-disk
| #. Keep OSDs deployed with ``ceph-disk``: the :ref:`ceph-volume-simple` command | ||
| takes over their management and disables the old ``ceph-disk`` triggers. | ||
| #. Redeploy existing OSDs with ``ceph-volume``: this is covered in depth in | ||
| :ref:`rados-replacing-an-osd`. |
There was a problem hiding this comment.
I might add a note that while adopting ceph-disk OSDs allows them to run, the cephadm orchestrator won't be able to manage them as it does ceph-volume OSDs, and thus incremental redeployment is favored.
| The ``ceph-volume`` tool aims to be a single purpose command line tool to deploy | ||
| logical volumes as OSDs, trying to maintain a similar API to ``ceph-disk`` when | ||
| preparing, activating, and creating OSDs. | ||
| The ``ceph-volume`` tool is a single purpose command line tool to deploy |
There was a problem hiding this comment.
Didn't I just review this content? Or is it duplicated?
The ceph-volume tool deploys and manages
There was a problem hiding this comment.
Good catch. This overlaps with #69360, which touches the same Overview sentence. I have aligned the wording in both branches so whichever merges first, the other rebases cleanly. Happy to pull the intro.rst changes out of one of them if you would rather keep the two PRs disjoint.
| partitions and ``UDEV`` rules to label, discover, and activate devices. That | ||
| approach was slow and hard to debug, and because it was tied to GPT partitions | ||
| it could not work with technologies such as LVM. For these reasons | ||
| ``ceph-disk`` was deprecated in Ceph 13.0.0 and has since been removed. |
Say Mimic instead of 13.0.0, tighten the migration wording, and note that adopted ceph-disk OSDs are not managed by the cephadm orchestrator. Signed-off-by: Emmanuel Ameh <[email protected]>
|
Thanks Anthony. Pushed a commit fixing the release name to Mimic in both places, tightening the migration sentence, and adding your suggested note that adopted ceph-disk OSDs are not managed by the cephadm orchestrator, so incremental redeployment is preferred. Also added the checklist to the description so the Verify check passes now. |
|
This is an automated message by src/script/redmine-upkeep.py. I found one or more
The referenced tickets are: Those tickets do not reference this merged Pull Request. If this Pull Request merge resolves any of those tickets, please update the "Pull Request ID" field on each ticket. A future run of this script will appropriately update them. |
Summary
Addresses tracker https://tracker.ceph.com/issues/77186.
ceph-diskwas deprecated in Ceph 13.0.0 and has since been removed, but theceph-volumedocumentation still described it as a current, deprecated tool and carried a long historical migration narrative that is now confusing to new operators.Changes
ceph-disk"is deprecated" since 13.0.0 and that "deprecation warnings will show up."ceph-diskis now fully removed and no such warnings appear, so this is reworded. The two migration paths are kept because they are still valid for clusters that have OSDs originally deployed withceph-disk.ceph-disk-replacedanchor (referenced fromindex.rst) and theceph-volume lvmsubsection are preserved.ceph-diskin the past tense in the overview.Intentionally left unchanged
ceph-volume/simple/*and theceph-diskmentions inlvm/activate.rst,lvm/encryption.rst, andlvm/list.rst. Theceph-volume simplesubcommand still exists and its job is to take over and disable legacyceph-diskOSDs, so those references correctly describe current behavior.cephadm/adoption.rst, which already labelsceph-deployas "a legacy deployment tool" and legitimately needs to name the tools that existing clusters were deployed with.Fixes: https://tracker.ceph.com/issues/77186
Checklist