Skip to content

doc: Remove SysVinit/upstart references from user-facing docs - #69360

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

eameh-LF merged 3 commits into
ceph:mainfrom
eameh-LF:wip-doc-77187

Conversation

@eameh-LF

@eameh-LF eameh-LF commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Problem

Ceph has required systemd for several release cycles, but three
user-facing pages still referenced SysVinit and upstart as valid
init systems:

  • rados/operations/operating.rst contained a full indexed
    "Running Ceph with SysVinit" section (54 lines of tables and
    commands) and mentioned a stale set of distros (CentOS 7, Debian
    Jessie 8, SUSE) in the systemd intro paragraph.
  • ceph-volume/intro.rst:54 listed "upstart, sysvinit, etc." as
    init systems ceph-disk had to support.
  • start/os-recommendations.rst:65 listed sysvinit alongside
    systemd as an example supported init framework.

Changes

  • operating.rst: Remove the SysVinit section and its index entry.
    Clean up the systemd intro paragraph to remove the outdated distro
    list and the "(and NOT legacy SysVinit scripts)" parenthetical.
    Remove the now-unused initctl link reference.
  • ceph-volume/intro.rst: Replace "(upstart, sysvinit, etc.)" with
    "multiple init systems" in the historical ceph-disk context paragraph.
  • os-recommendations.rst: Remove sysvinit from the supported
    init framework list; retain only systemd.

Fixes: https://tracker.ceph.com/issues/77187

Signed-off-by: Emmanuel Ameh [email protected]

Comment thread doc/ceph-volume/intro.rst Outdated
@@ -51,8 +51,7 @@ testing, or development.
Replacing ``ceph-disk``
-----------------------
The ``ceph-disk`` tool was created at a time when the project was required to
support many different types of init systems (upstart, sysvinit, etc.) while
being able to discover devices. This caused the tool to concentrate initially
support multiple init systems while being able to discover devices. This caused the tool to concentrate initially

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 think at this point we might remove references to ceph-disk too. While it makes sense to retain info for a couple of releases while users adjust, ceph-volume is mature and should be assumed.

We typically would not backport docs improvements to earlier than Squid, so all the things remain in the older releases. Were we to have only a single doc corpus we would be compelled to document old stuff indefinitely.

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 call. Removed the full ceph-disk migration section from index.rst since it has been deprecated since v13 and ceph-volume is mature enough to stand on its own now.

Comment thread doc/rados/operations/operating.rst Outdated
Jessie 8 and later, and SUSE), systemd files (and NOT legacy SysVinit scripts)
are used to manage Ceph daemons. Ceph daemons therefore behave like any other daemons
that can be controlled by the ``systemctl`` command, as in the following examples:
Ceph uses systemd to manage Ceph daemons. Ceph daemons behave like any

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.

When using Podman. I think this might not work with Docker. Which some people elect for their own reasons.

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.

Added a note clarifying that the systemctl approach applies to Podman-based container deployments, and that Docker-based deployments may need different management commands.

@eameh-LF

Copy link
Copy Markdown
Contributor Author

Thanks for the review Anthony. Removed the ceph-disk migration section from index.rst entirely since it has been deprecated since v13 and ceph-volume is the standard now. Also added a note to operating.rst flagging that the systemctl approach is specific to Podman-based deployments. Let me know if you'd like any further changes.

@anthonyeleven anthonyeleven left a comment

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.

Sorry, a few additional requests.

Comment thread doc/ceph-volume/index.rst Outdated

There is currently support for ``lvm``, and plain disks (with GPT partitions)
that may have been deployed with ``ceph-disk``.
There is currently support for ``lvm``, and plain disks (with GPT partitions).

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.

nit: I try to write "devices" instead of "disks" because they increasingly are not round.

Comment thread doc/ceph-volume/index.rst Outdated
---------------
For new deployments, :ref:`ceph-volume-lvm` is recommended. It can use any
logical volume as input for data OSDs, or it can setup a minimal/naive logical
logical volume as input for data OSDs, or it can set up a minimal logical

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.

s/as input for data//

Comment thread doc/ceph-volume/index.rst Outdated
For new deployments, :ref:`ceph-volume-lvm` is recommended. It can use any
logical volume as input for data OSDs, or it can setup a minimal/naive logical
logical volume as input for data OSDs, or it can set up a minimal logical
volume from a device.

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.

s/from/on/

Comment thread doc/ceph-volume/intro.rst Outdated
that come installed for Ceph. These rules allow automatic detection of
previously set up devices that are in turn fed into ``ceph-disk`` to activate
them.
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.

"tool" repeated in the same sentence.

The ceph-volume tool deploys and manages OSDs on logical volumes.

Comment thread doc/rados/operations/operating.rst Outdated
are used to manage Ceph daemons. Ceph daemons therefore behave like any other daemons
that can be controlled by the ``systemctl`` command, as in the following examples:
In deployments managed by systemd, Ceph daemons behave like any other
daemons that can be controlled by the ``systemctl`` command, as in

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.

s/daemons that can be/services/

Comment thread doc/rados/operations/operating.rst Outdated
daemons that can be controlled by the ``systemctl`` command, as in
the following examples. Note that this applies to Podman-based container
deployments. Docker-based deployments do not integrate with systemd in the
same way and may require different management commands.

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.

s/may

@eameh-LF

eameh-LF commented Aug 2, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for the second pass Anthony. Pushed a commit with all the wording fixes: devices instead of disks, the lvm sentence tightened, the repeated tool in intro.rst reworded to your suggestion, and services/might in the systemd section. Let me know if anything else stands out.

Ceph has required systemd for several release cycles. Remove the
"Running Ceph with SysVinit" section from operating.rst and update
two other files that still listed sysvinit as a valid init system.

- rados/operations/operating.rst: remove the SysVinit section and
  the stale distribution list in the systemd intro paragraph
- ceph-volume/intro.rst: remove "(upstart, sysvinit, etc.)" from
  the ceph-disk historical context paragraph
- start/os-recommendations.rst: remove ``sysvinit`` as an example
  init framework; systemd is the only supported option

Fixes: https://tracker.ceph.com/issues/77187

Signed-off-by: Emmanuel Ameh <[email protected]>
…temd note

Remove the ceph-disk migration block from ceph-volume/index.rst as ceph-disk
has been deprecated since v13 and ceph-volume is now the assumed standard.
Add a note to operating.rst clarifying that systemctl management applies to
Podman-based deployments and may differ for Docker.
Prefer devices over disks, tighten the ceph-volume lvm and intro
sentences, and say services/might in the systemd section.

Signed-off-by: Emmanuel Ameh <[email protected]>
@eameh-LF

eameh-LF commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto main to resolve the conflict with #69671, which touched the same ceph-volume pages and merged first. I kept the newer wording from that PR for the overlapping sections, so this PR is now scoped to the SysVinit/upstart removal plus the small wording fixes from the last review round. Should be conflict-free and ready to merge.

@eameh-LF
eameh-LF merged commit a31557d into ceph:main Aug 5, 2026
7 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 a31557dc04178d2c4c386e9feae5802f5976bbec^..a31557dc04178d2c4c386e9feae5802f5976bbec

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/31049780612

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