Repository navigation
doc: Remove SysVinit/upstart references from user-facing docs - #69360
Conversation
| @@ -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 | |||
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
| 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 |
There was a problem hiding this comment.
When using Podman. I think this might not work with Docker. Which some people elect for their own reasons.
There was a problem hiding this comment.
Added a note clarifying that the systemctl approach applies to Podman-based container deployments, and that Docker-based deployments may need different management commands.
|
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
left a comment
There was a problem hiding this comment.
Sorry, a few additional requests.
|
|
||
| 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). |
There was a problem hiding this comment.
nit: I try to write "devices" instead of "disks" because they increasingly are not round.
| --------------- | ||
| 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 |
There was a problem hiding this comment.
s/as input for data//
| 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. |
| 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 |
There was a problem hiding this comment.
"tool" repeated in the same sentence.
The ceph-volume tool deploys and manages OSDs on logical volumes.
| 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 |
There was a problem hiding this comment.
s/daemons that can be/services/
| 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. |
|
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]>
|
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. |
|
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. |
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.rstcontained 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:54listed "upstart, sysvinit, etc." asinit systems ceph-disk had to support.
start/os-recommendations.rst:65listedsysvinitalongsidesystemdas an example supported init framework.Changes
Clean up the systemd intro paragraph to remove the outdated distro
list and the "(and NOT legacy SysVinit scripts)" parenthetical.
Remove the now-unused
initctllink reference."multiple init systems" in the historical ceph-disk context paragraph.
sysvinitfrom the supportedinit framework list; retain only
systemd.Fixes: https://tracker.ceph.com/issues/77187
Signed-off-by: Emmanuel Ameh [email protected]