Commit Graph

549 Commits

Author SHA1 Message Date
Adam King
d5520f2914 doc/cephadm: document requiring service ids for advanced OSD specs
Signed-off-by: Adam King <adking@redhat.com>
2023-12-06 12:05:38 -05:00
Adam King
62bd0b9368 doc/cephadm: document regex based host pattern
Signed-off-by: Adam King <adking@redhat.com>
2023-11-14 16:04:47 -05:00
Piotr Parczewski
e9654b77ed doc/cephadm: fix typo in set ssh key command
Signed-off-by: Piotr Parczewski <piotr@stackhpc.com>
2023-11-07 12:48:01 +01:00
Adam King
c2ecc9d95f doc/cephadm: document --rm-crush-entry host rm flag
Signed-off-by: Adam King <adking@redhat.com>
2023-11-03 13:23:15 -04:00
Ville Ojamo
329df4959d
doc/cephadm/services: remove excess rendered indentation in osd.rst
Start bash command blocks at the left margin, removing
excessive padding/indentation that would render the
block too much towards the right.

At the same time ident the source consistently:
- Two spaces for command blocks and output blocks.
- Four spaces for notes, code blocks.

There seems to be no uniform style for this, sometimes
commands are indented with three spaces but it would
seem two spaces is common. In the end it all renders
the same I guess.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2023-11-03 12:44:00 +07:00
Zac Dover
b096c21c7c doc/cephadm: edit troubleshooting.rst (2 of x)
Edit doc/cephadm/troubleshooting.rst. This commit and the PR of which it
is a part was raised in response to https://github.com/ceph/ceph/pull/53976.

Co-authored-by: John Mulligan <jmulligan@redhat.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-11-02 23:03:56 +10:00
Zac Dover
69472c26af doc/cephadm: edit troubleshooting.rst (1 of x)
Edit doc/cephadm/troubleshooting.rst. This commit and the PR of which it
is a part was raised in response to
https://github.com/ceph/ceph/pull/53976. The limits of reStructuredText
are particularly visible here in every instance of a BASH for-loop and
in every instance of a command stretched over multiple lines.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-11-01 15:13:25 +10:00
John Mulligan
b4e2b39917 doc/cephadm: extend container debugging to cover live processes
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-10-24 13:59:30 -04:00
John Mulligan
4a033788f8 doc/cephadm: clean up debugging section
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-10-24 13:58:59 -04:00
Adam King
ad54514806
Merge pull request #51926 from adk3798/host-drain-zap
mgr/cephadm: add ability to zap OSDs' devices while draining host

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2023-09-25 13:39:54 -04:00
John Mulligan
abaeed1a20 doc/cephadm: document new cephadm logging destination settings
Add docs for setting the binary's log destination at cephadm bootstrap
or on a running cluster.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-09-19 16:17:24 -04:00
John Mulligan
d5e67783b7 doc/cephadm: clarify what cephadm component writes to the cluster log channel
Clarify that the cephadm orchestrator module, a part of the ceph mgr,
logs to the cluster log channel. This prepares for adding a specific
section to cover logging for the cephadm "binary".

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-09-19 16:17:24 -04:00
Alvin Owyong
38ec8e0692
docs: update warning message
truncated warning message according to comments

Signed-off-by: Alvin Owyong <70066269+alvinowyong@users.noreply.github.com>
2023-09-09 01:21:42 +08:00
Alvin Owyong
5e803567c7
docs: add warning about potential package conflict
Add warning for "creating new osds" section under cephadm services.

Signed-off-by: Alvin Owyong <70066269+alvinowyong@users.noreply.github.com>
2023-09-09 00:25:04 +08:00
Zac Dover
f0df9e1ea9 doc/cephadm: edit "Adding Hosts" in install.rst
Edit the English in the "Adding Hosts" section of
doc/cephadm/install.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-08-30 08:33:09 +10:00
Zac Dover
46352decff doc: test
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-08-29 09:36:26 +10:00
Zac Dover
f10781a281 doc/cephadm: add ssh note to install.rst
Add a note instructing the reader to have ssh running before the
"cephadm bootstrap" command is run.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-08-29 09:35:45 +10:00
Zac Dover
3b8877481a doc/cephadm: edit sentence in mgr.rst
Improve the grammar in the first sentence of
doc/cephadm/services/mgr.rst. This is a small change, but I could not
resist.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-08-27 06:31:12 +10:00
zdover23
42d7c10ab8
Merge pull request #53161 from Svelar/doc_cephadm
doc/cephadm: update cephadm reef version

Reviewed-by: Zac Dover <zac.dover@proton.me>
2023-08-26 17:00:29 +10:00
Rongqi Sun
d9888a4223 doc/cephadm: update cephadm reef version
Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
2023-08-26 14:50:00 +08:00
Patrick Donnelly
3a5f9dc37a
doc: expand and consolidate mds placement
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2023-08-24 08:55:47 -04:00
Adam King
85043ff4ce mgr/cephadm: add ability to zap OSDs' devices while draining host
Currently, when cephadm drains a host, it will remove all OSDs on
the host, but provides no option to zap the OSD's devices afterwards.
Given users are draining the host likely to remove it from the cluster,
it makes sense some users would want to clean up the devices on the
host that were being used for OSDs. Cephadm already supports zapping
devices outside of host draining, so it makes shouldn't take much to
add that functionality to the host drain as well.

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

Signed-off-by: Adam King <adking@redhat.com>
2023-08-22 12:38:08 -04:00
Adam King
cb742261f9
Merge pull request #50200 from adk3798/drain-leave-etc-ceph
mgr/cephadm: allow draining host without removing conf/keyring files

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2023-08-22 12:31:33 -04:00
Adam King
871aefb11d mgr/cephadm: allow draining host without removing conf/keyring files
Fixes: https://tracker.ceph.com/issues/58820

Signed-off-by: Adam King <adking@redhat.com>
2023-08-15 16:17:28 -04:00
Adam King
2c837ea9cf doc/cephadm: document setting up CA signed keys in running cluster
Signed-off-by: Adam King <adking@redhat.com>
2023-08-15 15:34:26 -04:00
Adam King
6b4d9b4427 doc/cephadm: document bootstrapping with CA signed keys
Signed-off-by: Adam King <adking@redhat.com>
2023-08-15 15:34:26 -04:00
Adam King
e09a376547 doc/cephadm: document how to pass self made SSH key pairs to bootstrap
This didn't seem to exist in the install section of
the cephadm docs. Wanted to add it in before adding
documentation for bootstrapping with CA signed keys.

Signed-off-by: Adam King <adking@redhat.com>
2023-08-15 15:34:26 -04:00
John Mulligan
ec269d4418 doc/cephadm: document init_containers params for custom containers
Add documentation covering the new init_containers parameter and the
parameters within each init container's configuration.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-08-09 13:48:07 -04:00
John Mulligan
6e22b7b2d3 doc/cephadm: fix typo in cephadm initial crush location section
A minor typo fix found while skimming through the cephadm docs:
"will no remove" -> "will not remove".

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-08-08 16:35:49 -04:00
Adam King
bd1a94f190
Merge pull request #52020 from Dazul/cephadm-keepalived-choose-unicast-or-interface
cephadm: Split multicast interface and unicast_ip in keepalived.conf

Reviewed-by: Adam King <adking@redhat.com>
2023-07-11 17:04:35 -04:00
John Mulligan
344c89a2c6 docs/cephadm: document new extra_{container,entrypoint}_args behavior
Document the new behaviors of extra_container_args and
extra_entrypoint_args. Document that current (previous in code terms)
behavior of splitting strings on spaces and document the recently added
support for ArgumentSpec objects and how they are used.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-06-29 14:59:28 -04:00
Luis Domingues
bb69368fb5
cephadm: Add parameter to set keepalived's virtual router id
When deploying more than 1 ingress, two instances of keepalived
can be generated with the same virtual_router_id. This commit
adds posibility to change the virtual_router_id of keepalived
from the spec file.

Signed-off-by: Luis Domingues <domingues.luis@protonmail.ch>
2023-06-22 06:22:09 +02:00
Luis Domingues
0dfe3e68a9
cephadm: Split multicast interface and unicast_ip in keepalived.conf
When deploying keepalived, cephadm set interface and unicast_src_ip
in keepalived.conf. However, having both options are set, but
if unicast_src_ip is not in the interface set by 'interface',
the instrances of keepalived will not properly commuicate.

This commit makes both options exclusive, and add an option to set
either one or the other. Default is set to 'interface', as it seems
multicast is the default way to deploy keepalived.

Signed-off-by: Luis Domingues <domingues.luis@protonmail.ch>
2023-06-22 06:16:00 +02:00
Luis Domingues
e0dcedab77
doc: Add missing custom container_image
While testing cephadm in order to migrate to it in the near
futur, I needed to use some custom images for haproxy
and keepalived. I needed to see into the code to see what
existed. So I put what I found on the code into documentation.

Signed-off-by: Luis Domingues <domingues.luis@protonmail.ch>
2023-06-08 10:17:24 +02:00
John Mulligan
7c6a2cad96 doc: update the cephadm download instructions
Starting with reef, cephadm is a compiled (zipapp) python application.
The cephadm script has been renamed and thus the old curl-based
download instructions will no loner work. While cephadm still has
no dependencies outside the Python stdlib, this will be changed in
future versions so it is no longer appropriate to just download the
source file of cephadm and run it either.

This change updates the `Install cephadm` section of the doc to explain
how to acquire a "compiled" version of cephadm as well as:
* moving and tweaking the note that the two installation methods are
  distinct
* adding a new note linking to instructions on building cephadm
* moving the distribution-specific installations before the curl-based
  installation to subtly hint that we prefer you to get it using
  packages if you can
* Noting cephadm's minimal required python verision and how to run it
  with a particular python version.

Note from Zac Dover, June 1, 2023: Note: This commit is a cherry-pick of
d11cf0e, which was introduced by John Mulligan in #48180. This is one of
three commits introduced in that PR, and this cherry-pick cleans up
omissions I (Zac Dover) inadvertently introduced while attempting to
rectify the merge conflicts in #51843. This should be the final
main-branch-targeting commit that cleans up PR#51483.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit d11cf0e82a)
2023-06-01 22:04:58 +08:00
zdover23
7fa418a02d
Merge pull request #51857 from zdover23/wip-doc-2023-05-31-cephadm-48180-cleanup-1-of-x
doc: make instructions to get an updated cephadm common

Reviewed-by : Adam King <adking@redhat.com>
2023-06-01 19:24:10 +08:00
Adam King
6c5e5dcabf
Merge pull request #50614 from phlogistonjohn/jjm-nfs-haproxy-cfg
mgr/cephadm: add support for nfs with haproxy protocol

Reviewed-by: Adam King <adking@redhat.com>
2023-05-31 14:00:13 -04:00
John Mulligan
d9e8a1de0b doc: make instructions to get an updated cephadm common
As discussed in person and over the ceph orch weekly, we want all users
to use a recent supported version of cephadm. Previously, the
instructions only had those downloading cephadm with curl using the
"add-repo" and "install" commands to get a up-to-date cephadm build.
According to ADK we've seen cases of users get "old" distro packages
in the past. Change the instructions so that the "update cephadm" steps
are common after acquiring a "bootstrap copy" of cephadm.

Note: This commit is a cherry-pick of
d7921e88d6, which was introduced by John
Mulligan in https://github.com/ceph/ceph/pull/48180. This is one of
three commits introduced in that PR, and this cherry-pick cleans up
omissions I (Zac Dover) inadvertently introduced while attempting to
rectify the merge conflicts in https://github.com/ceph/ceph/pull/51843.
I expect that two more cherry-picked commits will follow this one.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit d7921e88d6)
2023-05-31 21:26:26 +08:00
John Mulligan
8a835f1a91 doc: update the cephadm download instructions
Starting with reef, cephadm is a compiled (zipapp) python application.
The cephadm script has been renamed and thus the old curl-based
download instructions will no loner work. While cephadm still has
no dependencies outside the Python stdlib, this will be changed in
future versions so it is no longer appropriate to just download the
source file of cephadm and run it either.

This change updates the `Install cephadm` section of the doc to explain
how to acquire a "compiled" version of cephadm as well as:
* moving and tweaking the note that the two installation methods are
  distinct
* adding a new note linking to instructions on building cephadm
* moving the distribution-specific installations before the curl-based
  installation to subtly hint that we prefer you to get it using
  packages if you can
* Noting cephadm's minimal required python verision and how to run it
  with a particular python version.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit d11cf0e82a)

doc: make instructions to get an updated cephadm common

As discussed in person and over the ceph orch weekly, we want all users
to use a recent supported version of cephadm. Previously, the
instructions only had those downloading cephadm with curl using the
"add-repo" and "install" commands to get a up-to-date cephadm build.
According to ADK we've seen cases of users get "old" distro packages
in the past. Change the instructions so that the "update cephadm" steps
are common after acquiring a "bootstrap copy" of cephadm.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit d7921e88d6)
2023-05-31 06:55:43 +08:00
John Mulligan
d7921e88d6 doc: make instructions to get an updated cephadm common
As discussed in person and over the ceph orch weekly, we want all users
to use a recent supported version of cephadm. Previously, the
instructions only had those downloading cephadm with curl using the
"add-repo" and "install" commands to get a up-to-date cephadm build.
According to ADK we've seen cases of users get "old" distro packages
in the past. Change the instructions so that the "update cephadm" steps
are common after acquiring a "bootstrap copy" of cephadm.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-05-30 11:49:38 -04:00
John Mulligan
d11cf0e82a doc: update the cephadm download instructions
Starting with reef, cephadm is a compiled (zipapp) python application.
The cephadm script has been renamed and thus the old curl-based
download instructions will no loner work. While cephadm still has
no dependencies outside the Python stdlib, this will be changed in
future versions so it is no longer appropriate to just download the
source file of cephadm and run it either.

This change updates the `Install cephadm` section of the doc to explain
how to acquire a "compiled" version of cephadm as well as:
* moving and tweaking the note that the two installation methods are
  distinct
* adding a new note linking to instructions on building cephadm
* moving the distribution-specific installations before the curl-based
  installation to subtly hint that we prefer you to get it using
  packages if you can
* Noting cephadm's minimal required python verision and how to run it
  with a particular python version.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-05-30 11:49:21 -04:00
John Mulligan
92ce0ae600 doc/cephadm: document haproxy protocol options
There are now two ways to run NFS with ingress using haxproxy. This
makes three distinct modes for ingress. Document these.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-05-26 10:43:11 -04:00
Alexander Proschek
0557d5e465
doc: Add missing ceph command in documentation section REPLACING AN OSD
Signed-off-by: Alexander Proschek <alexander.proschek@protonmail.com>

Signed-off-by: Alexander Proschek <alexander.proschek@protonmail.com>
2023-05-20 14:06:09 -07:00
Adam King
a98b42b4e2
Merge pull request #50613 from adk3798/grafana-anonymous
mgr/cephadm: allow configuring anonymous access for grafana

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2023-05-03 17:24:20 -04:00
Adam King
5de3312dec doc/cephadm: document keepalive only nfs
Signed-off-by: Adam King <adking@redhat.com>
2023-05-01 15:45:11 -04:00
Paul Cuzner
690d34ab08 docs: Update the Prometheus endpoint info
This patch just tidies up some of the links and adds
an example showing how the http_sd_configs option
may be used.

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
2023-04-28 17:21:39 +12:00
Adam King
c7d382b0ff
Merge pull request #49103 from adk3798/mon-crush-location
mgr/cephadm: allow setting mon crush locations through mon service spec

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2023-04-25 11:25:29 -04:00
Nitzan Mordechai
d79f2a8154 docs: warning and remove few docs section for Filestore
Update docs after filestore removal.

Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
2023-04-20 05:01:53 +00:00
Adam King
cd96b70b67 doc/cephadm: document setting mon crush locations through spec
Signed-off-by: Adam King <adking@redhat.com>
2023-04-10 14:35:41 -04:00
Adam King
5a4b88b005
Merge pull request #48630 from rkachach/fix_issue_57931
mgr/cephadm: Adding extra arguments support for RGW frontend

Reviewed-by: Adam King <adking@redhat.com>
2023-04-04 20:53:53 -04:00