Skip to content

doc/ceph-volume: update stale ceph-disk references - #69671

Merged
eameh-LF merged 2 commits into
ceph:mainfrom
eameh-LF:wip-doc-77186
Aug 5, 2026
Merged

eameh-LF merged 2 commits into
ceph:mainfrom
eameh-LF:wip-doc-77186

Conversation

@eameh-LF

@eameh-LF eameh-LF commented Jun 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Addresses tracker https://tracker.ceph.com/issues/77186.

ceph-disk was deprecated in Ceph 13.0.0 and has since been removed, but the ceph-volume documentation still described it as a current, deprecated tool and carried a long historical migration narrative that is now confusing to new operators.

Changes

  • ceph-volume/index.rst: the "Migrating" section said ceph-disk "is deprecated" since 13.0.0 and that "deprecation warnings will show up." ceph-disk is 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 with ceph-disk.
  • ceph-volume/intro.rst: collapsed the historical "Replacing ceph-disk", "GPT partitions are simple?", "Modularity", and "LVM performance penalty" subsections into a single brief historical note. The ceph-disk-replaced anchor (referenced from index.rst) and the ceph-volume lvm subsection are preserved.
  • man/8/ceph-volume.rst: describe ceph-disk in the past tense in the overview.

Intentionally left unchanged

  • ceph-volume/simple/* and the ceph-disk mentions in lvm/activate.rst, lvm/encryption.rst, and lvm/list.rst. The ceph-volume simple subcommand still exists and its job is to take over and disable legacy ceph-disk OSDs, so those references correctly describe current behavior.
  • cephadm/adoption.rst, which already labels ceph-deploy as "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

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)

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]>
Comment thread doc/ceph-volume/index.rst Outdated

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There wasn't a 13.0.0 release. Mimic.

Comment thread doc/ceph-volume/index.rst Outdated
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``,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

has OSDs that rely on ceph-disk

Comment thread doc/ceph-volume/index.rst
#. 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`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread doc/ceph-volume/intro.rst Outdated
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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't I just review this content? Or is it duplicated?

The ceph-volume tool deploys and manages

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread doc/ceph-volume/intro.rst Outdated
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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mimic.

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]>
@eameh-LF

eameh-LF commented Aug 2, 2026

Copy link
Copy Markdown
Contributor Author

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.

@eameh-LF
eameh-LF merged commit 96ea0c0 into ceph:main Aug 5, 2026
8 checks passed
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

This is an automated message by src/script/redmine-upkeep.py.

I found one or more Fixes: tags in the commit messages in

git log 96ea0c01f6378b8621ae653f05ca9b08a9b9b338^..96ea0c01f6378b8621ae653f05ca9b08a9b9b338

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.

Update Log: https://github.com/ceph/ceph/actions/runs/31048163991

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants