Commit Graph

536 Commits

Author SHA1 Message Date
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
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
Redouane Kachach
2c46c07419
mgr/cephadm: Adding extra arguments support for RGW frontend
Fixes: https://tracker.ceph.com/issues/57931

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2023-03-31 07:27:04 +02:00
Adam King
e6690dde7b mgr/cephadm: allow configuring anonymous access for grafana
In case users want to not allow anonymous viewers
to view the grafana dashboard but don't want to use
a full custom config

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

Signed-off-by: Adam King <adking@redhat.com>
2023-03-21 14:12:03 -04:00
Adam King
0a980666f6 mgr/cephadm: add more aggressive force flag for host maintenance enter
Right now, we have safety checks that will either say things are okay to stop,
return warnings, or returns "alerts". Warnings can be bypassed already with
the --force flag that exists for the command. However, the alerts cannot be
bypassed and cephadm will refuse to attempt to put the host in maintenance mode.
The idea here is for an additional flag that also bypasses that alerts, in cases
where a user really needs to put the host into maintenance mode even if that
means causing issues within the cluster.

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

Signed-off-by: Adam King <adking@redhat.com>
2023-03-07 14:05:35 -05:00
Adam King
39d3ce94a0
Merge pull request #50100 from adk3798/set-unmanaged
mgr/cephadm: add commands to set services to managed/unmanaged

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2023-03-07 13:25:17 -05:00
Anthony D'Atri
d608dec43b doc/cephadm: Redd up compatibility.rst
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2023-03-03 02:44:26 -05:00
Adam King
383f46aa79 doc/cephadm: update cephadm compatability and stability page
This page is very out of date. This commit probably doesn't
cover everything there is to say about stability and compatability
in cephadm, but it at least gets it noticeably closer to reality

Signed-off-by: Adam King <adking@redhat.com>
2023-03-01 16:10:41 -05:00
thomas
bb5837f049 doc/cephadm/host-management: add service spec link
The old "(below)" text is not accurate, the service spec definition is
not in the same file at this point in time. This commit adds a ref link
to the actual service specification section.

Signed-off-by: thomas <me@thomasanderson.cloud>
2023-02-24 01:10:23 -05:00
Anthony D'Atri
d5bf55bcd6 doc: preen cephadm/troubleshooting.rst and radosgw/placement.rst
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2023-02-23 02:12:34 -05:00
thomas
4e9eaf8b5d doc/cephadm/troubleshooting: remove word repeat
The original text was "In case the cluster the last MGR of a cluster"

Signed-off-by: thomas <me@thomasanderson.cloud>
2023-02-23 00:47:58 -05:00
Adam King
b0d8c0846c mgr/cephadm: add commands to set services to managed/unmanaged
Fixes: https://tracker.ceph.com/issues/58713

Signed-off-by: Adam King <adking@redhat.com>
2023-02-13 15:13:36 -05:00
Adam King
45813ea2f3
Merge pull request #49555 from fmount/drive_group_crush
Add per OSD crush_device_class definition

Reviewed-by: Adam King <adking@redhat.com>
2023-02-13 10:09:07 -05:00
Piotr Parczewski
4cc3cb9cd0
doc/cephadm: grammar / syntax in install.rst
Signed-off-by: Piotr Parczewski <piotr@stackhpc.com>
2023-01-31 09:30:07 +01:00
Ville Ojamo
3eb28aec3b doc/cephadm: Fix example commands
Separate command output block from the command to avoid printing prompt on it.
Also remove double prompt.

Fix indentation of two example commands after prompt.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2023-01-27 17:56:44 +07:00