]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/log
ceph-ci.git
2 years agomgr/dashboard: ignore type checking for exception handling module
John Mulligan [Tue, 28 Mar 2023 21:07:20 +0000 (17:07 -0400)]
mgr/dashboard: ignore type checking for exception handling module

Add a `# type: ignore` comment to the exception handling dashboard
module just like the instance to lines below. This module does not
already import typing, so I'm not going to add it.
This change is needed in order to run mypy 0.981.

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

2 years agopybind/mgr: add a type annotation to the extra_args dict
John Mulligan [Tue, 28 Mar 2023 21:07:04 +0000 (17:07 -0400)]
pybind/mgr: add a type annotation to the extra_args dict

This change makes this file pass mypy checking on mypy 0.981.

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

2 years agomgr/dashboard: add an assertion for type narrowing
John Mulligan [Tue, 28 Mar 2023 21:06:51 +0000 (17:06 -0400)]
mgr/dashboard: add an assertion for type narrowing

This change makes this file pass mypy checking on mypy 0.981.

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

2 years agomgr/cephadm: add a type annotation to the ganesha conf template context
John Mulligan [Tue, 28 Mar 2023 17:49:21 +0000 (13:49 -0400)]
mgr/cephadm: add a type annotation to the ganesha conf template context

This change makes this file pass mypy checking on mypy 0.981.

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

2 years agoqa/cephadm: add check that iscsi daemon /etc/hosts matches host /etc/hosts
Adam King [Mon, 30 Jan 2023 16:27:09 +0000 (11:27 -0500)]
qa/cephadm: add check that iscsi daemon /etc/hosts matches host /etc/hosts

To make sure we aren't being affected by any podman introduced
changes to the /etc/hosts file and test that we're properly
mounting /etc/hosts in our daemon containers

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 5493e2d3300c115795987d6f63134af2437e83fc)

2 years agocephadm: mount host /etc/hosts for containers in podman deployments
Adam King [Sat, 21 Jan 2023 23:44:22 +0000 (18:44 -0500)]
cephadm: mount host /etc/hosts for containers in podman deployments

Podman messes with the /etc/hosts file in certain version. There
was already a past issue with it placing the container name
there fixed by https://github.com/ceph/ceph/pull/42242. This time
it is adding an entry for "host.containers.internal" (seems to be
podman 4.1 onward currently). Iscsi figures out the FQDN for a
host by running

python3 -c 'import socket; print(socket.getfqdn())

which is resolving to "host.containers.internal" when run in
the container with the podman modified /etc/hosts.

There is also an issue with grafana dashboard with
this entry present

Passing --no-hosts resolves this, but I think in the past
we avoided that due to not wanting to break deployments
where host name resolution was handled using /etc/hosts.
That's why we had that workaround previously linked. This
time I'm not sure such a workaround exists. The try here
is to mount a copy of the host's version of /etc/hosts
into the iscsi container. That copy won't have the extra
entry podman adds in but will have any user created entries in
case they were actually using it for host name resolution.
If /etc/hosts file isn't present for whatever reason, we're
assuming that this user isn't using /etc/hosts for hostname
resolution, and just going back to passing --no-hosts.

Fixes: https://tracker.ceph.com/issues/58532
Fixes: https://tracker.ceph.com/issues/57018
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit dd8627bbe3ebc6d924912a37785859d8124f95e5)

2 years agomgr/cephadm: add more aggressive force flag for host maintenance enter
Adam King [Wed, 1 Mar 2023 15:58:43 +0000 (10:58 -0500)]
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>
(cherry picked from commit 0a980666f645387f1eaa5f2c995db304c42e85e6)

2 years agomgr/cephadm: handle HostConnectionError when checking for valid addr
Adam King [Wed, 15 Mar 2023 17:18:02 +0000 (13:18 -0400)]
mgr/cephadm: handle HostConnectionError when checking for valid addr

Otherwise, the error is not properly passed back up the chain
and the user can get an error message like

TypeError: __init__() missing 2 required positional arguments: 'hostname' and 'addr'

when trying to add a host, despite the actual problem being

cephadm.ssh.HostConnectionError: Failed to connect to vm-01 (192.168.122.248). Permission denied

The tracker shows a bit more, but generally trying to add a host
that doesn't have the proper pub-key set as an authorized key
will get a misleasing error message. With this patch, the error message looks like

[ceph: root@vm-00 /]# ceph orch host add vm-01 192.168.122.29
Error EINVAL: Failed to connect to vm-01 (192.168.122.29). Permission denied
Log: Opening SSH connection to 192.168.122.29, port 22
[conn=1] Connected to SSH server at 192.168.122.29, port 22
[conn=1]   Local address: 192.168.122.156, port 49552
[conn=1]   Peer address: 192.168.122.29, port 22
[conn=1] Beginning auth for user root
[conn=1] Auth failed for user root
[conn=1] Connection failure: Permission denied
[conn=1] Aborting connection

which is much more useful

Fixes: https://tracker.ceph.com/issues/59081
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit efc6c585562ceda55a37ae591bf3c15ab35cdda8)

2 years agocephadm: bump default keepalived image to 2.2.4
Adam King [Tue, 21 Mar 2023 13:25:41 +0000 (09:25 -0400)]
cephadm: bump default keepalived image to 2.2.4

Now that we have a keepalived 2.2.4 image pushed to
https://quay.io/repository/ceph/keepalived?tab=tags,
we should try to use it.

Fixes: https://tracker.ceph.com/issues/51971
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 9454709c438f32b073d5152301c06c2cfb7e7d07)

2 years agomgr/cephadm: increasing container stop timeout for OSDs
Redouane Kachach [Fri, 24 Mar 2023 12:04:43 +0000 (13:04 +0100)]
mgr/cephadm: increasing container stop timeout for OSDs
Fixes: https://tracker.ceph.com/issues/58158
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 17bcfa8b9908eaaab7fde53f1a23cb5aed465512)

2 years agomgr/cephadm: fixing ceph-exporter prometheus's job section
Redouane Kachach [Mon, 27 Mar 2023 10:56:58 +0000 (12:56 +0200)]
mgr/cephadm: fixing ceph-exporter prometheus's job section
Fixes: https://tracker.ceph.com/issues/59170
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit a2927e0cdd76f10f3b6e067b8de387f358016cc9)

2 years agomgr/orchestrator: fix device size in `orch device ls` output
Adam King [Thu, 17 Nov 2022 18:14:55 +0000 (13:14 -0500)]
mgr/orchestrator: fix device size in `orch device ls` output

Fixes: https://tracker.ceph.com/issues/58045
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 7e576185ac87877e4d626c09bdef34e194042778)

2 years agomgr/cephadm: use a dedicated cephadm tmp dir to copy remote files
Redouane Kachach [Wed, 29 Mar 2023 08:48:30 +0000 (10:48 +0200)]
mgr/cephadm: use a dedicated cephadm tmp dir to copy remote files
Fixes: https://tracker.ceph.com/issues/59189
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit ef958d47b44f8e4579ae380bd9d6890c0c62e13a)

2 years agocephadm: handle exceptions applying secondary services during bootstrap
Adam King [Wed, 15 Mar 2023 17:55:26 +0000 (13:55 -0400)]
cephadm: handle exceptions applying secondary services during bootstrap

Otherwise we risk hitting a mismatch between the cephadm binary version
and the container image version we're bootstrapping on, resulting in
bootstrap failing. Example in the tracker.

Fixes: https://tracker.ceph.com/issues/59082
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit a57fc000cc40066dff8692f489e4942d5bda1f56)

2 years agoRemove the filestore section from ceph-volume
Francesco Pantano [Fri, 17 Feb 2023 14:02:12 +0000 (15:02 +0100)]
Remove the filestore section from ceph-volume

Filestore is no longer supported in cephadm and both the doc [1] and the
DriveGroupValidation [2] raise an exception if this method is used. This
patch removes the legacy code that is supposed to produce filestore
ceph-volume related commands.

[1] https://github.com/ceph/ceph/blob/main/doc/cephadm/adoption.rst#limitations
[2] https://github.com/ceph/ceph/blob/main/src/python-common/ceph/deployment/drive_group.py#L366-L369

Signed-off-by: Francesco Pantano <fpantano@redhat.com>
(cherry picked from commit 6e5bef1b1d69ec6e8be9b0fa2f4f47491df80687)

2 years agomgr/cephadm: make upgrade respect use_repo_digest
Adam King [Sun, 12 Feb 2023 18:53:14 +0000 (13:53 -0500)]
mgr/cephadm: make upgrade respect use_repo_digest

If the option is false, we should upgrade images based
on whether their container image name matches, not whether
the digest is the same or not.

Fixes: https://tracker.ceph.com/issues/58698
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 78a73d146586e2f1f15d44c3b499f24299bc6662)

2 years agotest_cephadm: fix conf format
Rongqi Sun [Wed, 8 Mar 2023 02:16:55 +0000 (10:16 +0800)]
test_cephadm: fix conf format

Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
(cherry picked from commit b3125f4449781828d310c5eaf43bc478b91cba4d)

2 years agocephadm: eliminate duplication of sections
Rongqi Sun [Tue, 7 Mar 2023 09:12:31 +0000 (17:12 +0800)]
cephadm: eliminate duplication of sections

Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
(cherry picked from commit 0d1596e9275e8ca1b8c09b1490b3e595130aa97b)

2 years agocephadm: eliminate duplication of [global] section when applying set-extra-ceph-conf
Rongqi Sun [Wed, 1 Mar 2023 08:15:26 +0000 (16:15 +0800)]
cephadm: eliminate duplication of [global] section when applying set-extra-ceph-conf

Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
(cherry picked from commit ece7ccccc915392bced60c07703eb82142874516)

2 years agomgr/prometheus: remove dependency on cephadm module
Adam King [Fri, 3 Mar 2023 20:31:03 +0000 (15:31 -0500)]
mgr/prometheus: remove dependency on cephadm module

https://github.com/ceph/ceph/commit/f967ac061ebee362cdc82c458e955da75a9045e9
introduced an import of something in the cephadm module
in the prometheus module. This seems to break the prometheus
module in some non-cephadm setups. For example, the ceph-ansible
ci hit

failed: [mgr0 -> mon0] (item=prometheus) => changed=true
  ansible_loop_var: item
  cmd:
  - ceph
  - -n
  - client.admin
  - -k
  - /etc/ceph/ceph.client.admin.keyring
  - --cluster
  - ceph
  - mgr
  - module
  - enable
  - prometheus
  delta: '0:00:00.389965'
  end: '2023-03-03 15:30:07.631308'
  item: prometheus
  rc: 2
  start: '2023-03-03 15:30:07.241343'
  stderr: 'Error ENOENT: module ''prometheus'' reports that it cannot run on the active manager daemon: No module named ''cephadm'' (pass --force to force enablement)'
  stderr_lines: <omitted>
  stdout: ''
  stdout_lines: <omitted>

so we need to be a bit more careful with this import and
make sure the prometheus module works fine without cephadm

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 8be588958bd2694b8a427bdfc10011ba62df8453)

2 years agomgr/cephadm: be aware of host's shortname and FQDN
Adam King [Wed, 15 Feb 2023 22:07:09 +0000 (17:07 -0500)]
mgr/cephadm: be aware of host's shortname and FQDN

The idea is to gether the shortname and FQDN as part
of gather-facts, and then if we ever try to check if a certain
host is in our internal inventory by hostname, we can check
these other known names. This should avoid issues where
we think a hostname specified by FQDN is not in our
inventory because we know the host by the shortname
or vice versa.

Fixes: https://tracker.ceph.com/issues/58738
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 6443cf15d54a5e50c245dd08c3db005bb8521b6a)

2 years agocephadm/tests: enable timeout test cases for call function
John Mulligan [Mon, 27 Feb 2023 19:39:18 +0000 (14:39 -0500)]
cephadm/tests: enable timeout test cases for call function

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

2 years agocephadm: fix timeout argument to call function
John Mulligan [Mon, 27 Feb 2023 19:38:50 +0000 (14:38 -0500)]
cephadm: fix timeout argument to call function

The timeout argument to call function, for executing sub-processes, did
not function - this patch makes timeout work as (probably) intended.
Use the `process.communicate()` method rather than `tee` functions to
handle IO collection. Since no logging is done until after the exit code
is known the tee calls are not necessary. Add calls to kill the child
process when the time out occurs. This helps prevent event loop "leaks"
that generate python warnings.

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

2 years agocephadm/tests: add initial test coverage for call function
John Mulligan [Thu, 23 Feb 2023 19:51:13 +0000 (14:51 -0500)]
cephadm/tests: add initial test coverage for call function

The call function provides the ability to run subprocesses, log output,
and provides an optional timeout parameter. This timeout parameter does
not appear to function correctly today, so we make use of
pytest.param/pytest.mark.xfail to mark these cases as already known to
fail.

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

2 years agocephadm: disable coverage for some compatibility blocks
John Mulligan [Wed, 22 Feb 2023 18:57:21 +0000 (13:57 -0500)]
cephadm: disable coverage for some compatibility blocks

This change disables reporting missing coverage for blocks that
contain copy and pasted code from other python versions and exist
to make those functions available to older python versions.

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

2 years agomgr/orchestrator: allow deploying raw mode OSDs with --all-available-devices
Adam King [Mon, 13 Feb 2023 21:25:38 +0000 (16:25 -0500)]
mgr/orchestrator: allow deploying raw mode OSDs with --all-available-devices

Fixes: https://tracker.ceph.com/issues/58714
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit c034b08d952467a99be35a8cf6fc02834eb9a933)

2 years agocephadm: set --ulimit nofiles with Docker
Michal Nasiadka [Mon, 27 Feb 2023 08:15:50 +0000 (09:15 +0100)]
cephadm: set --ulimit nofiles with Docker

cephadm is setting LimitNOFILE in systemd units, but it doesn't
get picked up by Docker.

Fixes: https://tracker.ceph.com/issues/58855
Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
(cherry picked from commit ce169004f749f088c4f05505b6457e7a190db680)

2 years agomgr/cephadm: add commands to set services to managed/unmanaged
Adam King [Mon, 13 Feb 2023 20:01:59 +0000 (15:01 -0500)]
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>
(cherry picked from commit b0d8c0846cbe0ebae69dbdeb3f2982213ab56a58)

2 years agodrive_group: fix limit filter in drive_selection.selector
Guillaume Abrioux [Wed, 1 Feb 2023 16:51:18 +0000 (17:51 +0100)]
drive_group: fix limit filter in drive_selection.selector

When multiple osd service specs with 'limit' filter are applied,
the current logic makes the second service speec
try to pick devices that are already used by the first service spec.

Fixes: https://tracker.ceph.com/issues/58626
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 8b7da77ae0bf3b7c2ab28cd54b166bc1ff43b437)

2 years agoqa: adding logic to wait for rgw realm tokens before testing
Redouane Kachach [Fri, 24 Mar 2023 14:59:10 +0000 (15:59 +0100)]
qa: adding logic to wait for rgw realm tokens before testing

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit b431e308a747afa7fa8c1852ba7a375c4e0f1867)

2 years agomgr/rgw: removing placement section
Redouane Kachach [Tue, 14 Mar 2023 16:49:21 +0000 (17:49 +0100)]
mgr/rgw: removing placement section

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 89b3bd7935f3f804ed00f2f3c03d0e31231b1ea8)

2 years agoqa: Adding rgw multisite support
Redouane Kachach [Thu, 23 Feb 2023 16:16:39 +0000 (17:16 +0100)]
qa: Adding rgw multisite support

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 3e4ef2c967f24e5b993116a679225750faf528bc)

2 years agoMerge pull request #50880 from guits/wip-59310-reef
Guillaume Abrioux [Tue, 25 Apr 2023 08:05:09 +0000 (10:05 +0200)]
Merge pull request #50880 from guits/wip-59310-reef

reef: ceph-volume: fix issue with fast device allocs when there are multiple PVs per VG

2 years agoMerge pull request #51181 from zdover23/wip-doc-2023-04-23-backport-51177-to-reef
Anthony D'Atri [Sun, 23 Apr 2023 21:19:18 +0000 (23:19 +0200)]
Merge pull request #51181 from zdover23/wip-doc-2023-04-23-backport-51177-to-reef

reef: doc/start: edit first 150 lines of documenting-ceph

2 years agoMerge pull request #51184 from zdover23/wip-doc-2023-04-23-backport-51178-to-reef
Anthony D'Atri [Sun, 23 Apr 2023 21:15:41 +0000 (23:15 +0200)]
Merge pull request #51184 from zdover23/wip-doc-2023-04-23-backport-51178-to-reef

reef: doc/glossary: add "Placement Groups" definition

2 years agodoc/glossary: add "Placement Groups" definition
Zac Dover [Sat, 22 Apr 2023 08:55:38 +0000 (10:55 +0200)]
doc/glossary: add "Placement Groups" definition

Add a definition of "Placement Groups" to the Glossary.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 9f37ea651f9ee2c51e0705b9b58ed356f1bc56e6)

2 years agodoc/start: edit first 50 lines of documenting-ceph
Zac Dover [Sat, 22 Apr 2023 07:03:12 +0000 (09:03 +0200)]
doc/start: edit first 50 lines of documenting-ceph

Edit the first 150 lines of doc/start/documenting-ceph.rst. This is part
of an initiative to harvest the fruits of Cephalocon 2023, at which
documentation proved to be in demand to a surprising degree.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit dd37f94aa4f1de947b1eaf5d82cc529925f5823e)

2 years agoMerge pull request #51151 from rhcs-dashboard/wip-59468-reef
Nizamudeen A [Thu, 20 Apr 2023 17:39:25 +0000 (23:09 +0530)]
Merge pull request #51151 from rhcs-dashboard/wip-59468-reef

reef: mgr/dashboard: skip Create OSDs step in Cluster expansion

Reviewed-by: Pegonzal <NOT@FOUND>
2 years agomgr/dashboard: skip Create OSDs step in Cluster expansion
Nizamudeen A [Fri, 14 Apr 2023 19:33:11 +0000 (01:03 +0530)]
mgr/dashboard: skip Create OSDs step in Cluster expansion

Its to ensure OSDs are not deployed on all hosts because that would make
the host draining impossible

Fixes: https://tracker.ceph.com/issues/59457
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 0f6d23a7aa024495a79cdedc80f7a00902115b6b)

2 years agoMerge pull request #51125 from zdover23/wip-doc-2023-04-17-backport-50639-to-reef
zdover23 [Tue, 18 Apr 2023 14:07:39 +0000 (16:07 +0200)]
Merge pull request #51125 from zdover23/wip-doc-2023-04-17-backport-50639-to-reef

reef: doc: account for PG autoscaling being the default

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #51121 from rhcs-dashboard/wip-59465-reef
Nizamudeen A [Tue, 18 Apr 2023 13:32:03 +0000 (19:02 +0530)]
Merge pull request #51121 from rhcs-dashboard/wip-59465-reef

reef: mgr/dashboard: remove unncessary hyperlink in landing page

Reviewed-by: Pegonzal <NOT@FOUND>
2 years agoMerge pull request #51123 from zdover23/wip-doc-2023-04-17-backport-49762-to-reef
zdover23 [Tue, 18 Apr 2023 09:48:34 +0000 (11:48 +0200)]
Merge pull request #51123 from zdover23/wip-doc-2023-04-17-backport-49762-to-reef

reef: vstart: fix text format

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc: account for PG autoscaling being the default
Conrad Hoffmann [Wed, 22 Mar 2023 22:03:57 +0000 (23:03 +0100)]
doc: account for PG autoscaling being the default

The current documentation tries really hard to convince people to set
both `osd_pool_default_pg_num` and `osd_pool_default_pgp_num` in their
configs, but at least the latter has undesirable side effects on any
Ceph version that has PG autoscaling enabled by default (at least quincy
and beyond).

Assume a cluster with defaults of `64` for `pg_num` and `pgp_num`.
Starting `radosgw` will fail as it tries to create various pools without
providing values for `pg_num` or `pgp_num`. This triggers the following
in `OSDMonitor::prepare_new_pool()`:

- `pg_num` is set to `1`, because autoscaling is enabled
- `pgp_num` is set to `osd pool default pgp_num`, which we set to `64`
- This is an invalid setup, so the pool creation fails

Likewise, `ceph osd pool create mypool` (without providing values for
`pg_num` or `pgp_num`) does not work.

Following this rationale:

- Not providing a default value for `pgp_num` will always do the right
  thing, unless you use advanced features, in which case you can be
  expected to set both values on pool creation
- Setting `osd_pool_default_pgp_num` in your config breaks pool creation
  for various cases

This commit:

- Removes `osd_pool_default_pgp_num` from all example configs
- Adds mentions of the autoscaling and how it interacts with the default
  values in various places

For each file that was touched, the following maintenance was also
performed:

- Change interternal spaces to underscores for config values
- Remove mentions of filestore or any of its settings
- Fix minor inconsistencies, like indentation etc.

There is also a ticket which I think is very relevant and fixed by this,
though it only captures part of the broader issue addressed here:

Fixes: https://tracker.ceph.com/issues/47176
Signed-off-by: Conrad Hoffmann <ch@bitfehler.net>
(cherry picked from commit 402d2eacbc67f7a6d47d8f90d9ed757fc20931a6)

2 years agovstart: fix text format
Rongqi Sun [Tue, 17 Jan 2023 05:55:01 +0000 (13:55 +0800)]
vstart: fix text format

Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
(cherry picked from commit 57dc8ce51602543d42a2f82cb829eda1c231b434)

2 years agomgr/dashboard: remove unncessary hyperlink in landing page
Nizamudeen A [Mon, 17 Apr 2023 09:38:06 +0000 (15:08 +0530)]
mgr/dashboard: remove unncessary hyperlink in landing page

Fixes: https://tracker.ceph.com/issues/59462
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 7e7da955445ecf37bc43fc296298bd91d0d8a140)

2 years agoMerge pull request #51080 from rhcs-dashboard/wip-59452-reef
Nizamudeen A [Mon, 17 Apr 2023 13:38:33 +0000 (19:08 +0530)]
Merge pull request #51080 from rhcs-dashboard/wip-59452-reef

reef: mgr/dashboard: fix cephadm e2e expression changed error

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
2 years agoMerge pull request #51116 from zdover23/wip-doc-2023-04-17-backport-51114-to-reef
colemitchell [Mon, 17 Apr 2023 10:43:33 +0000 (12:43 +0200)]
Merge pull request #51116 from zdover23/wip-doc-2023-04-17-backport-51114-to-reef

reef: doc/radosgw: format part of s3select

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agodoc/radosgw: format part of s3select
Cole Mitchell [Mon, 17 Apr 2023 09:34:49 +0000 (05:34 -0400)]
doc/radosgw: format part of s3select

Partially format the 'Basic Workflow' section's introduction and 'Basic Functionalities' subsection in s3select. Nothing else is being fixed.

Signed-off-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
(cherry picked from commit 13cf134c0610509da52aa68e11e26f0740002bde)

2 years agoMerge pull request #51110 from zdover23/wip-doc-2023-04-16-backport-50941-to-reef
Anthony D'Atri [Sun, 16 Apr 2023 20:25:39 +0000 (22:25 +0200)]
Merge pull request #51110 from zdover23/wip-doc-2023-04-16-backport-50941-to-reef

reef: doc/foundation: Update Foundation members for April 2023

2 years agoMerge pull request #51107 from zdover23/wip-doc-2023-04-16-backport-51099-to-reef
zdover23 [Sun, 16 Apr 2023 16:24:30 +0000 (18:24 +0200)]
Merge pull request #51107 from zdover23/wip-doc-2023-04-16-backport-51099-to-reef

reef: doc/dev: format command in cephfs-mirroring

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agoMerge pull request #51096 from zdover23/wip-doc-2023-04-16-backport-51062-to-reef
zdover23 [Sun, 16 Apr 2023 16:22:40 +0000 (18:22 +0200)]
Merge pull request #51096 from zdover23/wip-doc-2023-04-16-backport-51062-to-reef

reef: doc/glossary: add "Hybrid Storage"

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agoMerge pull request #51092 from zdover23/wip-doc-2023-04-16-backport-51091-to-reef
zdover23 [Sun, 16 Apr 2023 16:18:43 +0000 (18:18 +0200)]
Merge pull request #51092 from zdover23/wip-doc-2023-04-16-backport-51091-to-reef

reef: doc/mgr/prometheus: fix confval reference

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agodoc/foundation: Update Foundation members for April 2023
Mike Perez [Fri, 7 Apr 2023 21:00:36 +0000 (14:00 -0700)]
doc/foundation: Update Foundation members for April 2023

Signed-off-by: Mike Perez <thingee@gmail.com>
(cherry picked from commit 759f26a99f7a1b52954e12e080304b867af81418)

2 years agodoc/dev: format command in cephfs-mirroring
Zac Dover [Sun, 16 Apr 2023 09:11:27 +0000 (11:11 +0200)]
doc/dev: format command in cephfs-mirroring

Correctly format a command in doc/dev/cephfs-mirroring/#creating-users.

Reported by casanlin@init7.net at
https://pad.ceph.com/p/Report_Documentation_Bugs

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 408219bfca6b1e698229967e76d22d10028b7c20)

2 years agoMerge pull request #51104 from zdover23/wip-doc-2023-04-16-backport-51103-to-reef
colemitchell [Sun, 16 Apr 2023 14:43:15 +0000 (10:43 -0400)]
Merge pull request #51104 from zdover23/wip-doc-2023-04-16-backport-51103-to-reef

reef: doc/radosgw: format part of s3select

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agodoc/radosgw: format part of s3select
Cole Mitchell [Sun, 16 Apr 2023 13:13:56 +0000 (09:13 -0400)]
doc/radosgw: format part of s3select

Format the first section of s3select. Nothing else is being fixed.

Signed-off-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
(cherry picked from commit a6a84471a7af154e7ccc93f51df2fc9744dc606c)

2 years agodoc/glossary: add "Hybrid Storage"
Zac Dover [Thu, 13 Apr 2023 12:01:44 +0000 (14:01 +0200)]
doc/glossary: add "Hybrid Storage"

Add "Hybrid Storage" to the glossary.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit dc8148d0727b307fb3baa30baf9dfee9bf8a247e)

2 years agodoc/mgr/prometheus: fix confval reference
Piotr Parczewski [Sat, 15 Apr 2023 21:16:35 +0000 (23:16 +0200)]
doc/mgr/prometheus: fix confval reference

Signed-off-by: Piotr Parczewski <piotr@stackhpc.com>
(cherry picked from commit b9b75dafe248e07b21f2958023697397094cc537)

2 years agoMerge pull request #51087 from zdover23/wip-doc-2023-04-15-backport-51086-to-reef
Anthony D'Atri [Sat, 15 Apr 2023 09:46:55 +0000 (11:46 +0200)]
Merge pull request #51087 from zdover23/wip-doc-2023-04-15-backport-51086-to-reef

reef: doc/rados/ops: remove ceph-medic from monitoring

2 years agodoc/rados/ops: remove ceph-medic from monitoring
Zac Dover [Sat, 15 Apr 2023 07:42:31 +0000 (09:42 +0200)]
doc/rados/ops: remove ceph-medic from monitoring

Remove mention of ceph-medic from doc/rados/operations/monitoring.rst,
because it is no longer supported.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 42cd28a2a639e68a44838ae4e7f875cb6bd5d97b)

2 years agomgr/dashboard: fix cephadm e2e expression changed error
Nizamudeen A [Fri, 14 Apr 2023 06:03:16 +0000 (11:33 +0530)]
mgr/dashboard: fix cephadm e2e expression changed error

tried to fix this issue from the daemon component sometime ago several
times but it didn't work. So force ignoring the error

Fixes: https://tracker.ceph.com/issues/59444
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit f7e29e5ab85fabcf2524656bb456a2955fa8608d)

2 years agoMerge pull request #51010 from rhcs-dashboard/wip-59420-reef
Nizamudeen A [Fri, 14 Apr 2023 08:24:57 +0000 (13:54 +0530)]
Merge pull request #51010 from rhcs-dashboard/wip-59420-reef

reef: mgr/dashboard: fix eviction of all FS clients

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #51063 from zdover23/wip-doc-2023-04-13-backport-50713-to-reef
Anthony D'Atri [Thu, 13 Apr 2023 12:32:26 +0000 (08:32 -0400)]
Merge pull request #51063 from zdover23/wip-doc-2023-04-13-backport-50713-to-reef

reef: doc/glossary: improve "CephX" entry

2 years agodoc/glossary: improve "CephX" entry
Zac Dover [Tue, 28 Mar 2023 08:42:11 +0000 (18:42 +1000)]
doc/glossary: improve "CephX" entry

Improve the glossary entry for "CephX".

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 02e3a5cb763987eeaee2dd1a7543d2762aaad7fe)

2 years agoMerge pull request #50919 from idryomov/wip-rbd-reef-backports-1
Ilya Dryomov [Thu, 13 Apr 2023 12:03:55 +0000 (14:03 +0200)]
Merge pull request #50919 from idryomov/wip-rbd-reef-backports-1

reef: RBD backports (batch 1)

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Christopher Hoffman <choffman@redhat.com>
2 years agoMerge pull request #51058 from rhcs-dashboard/wip-59436-reef
Nizamudeen A [Thu, 13 Apr 2023 10:10:20 +0000 (15:40 +0530)]
Merge pull request #51058 from rhcs-dashboard/wip-59436-reef

reef: mgr/dashboard: rbd-mirror force promotion

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoqa/suites/rbd: install qemu-utils in addition to qemu-block-extra on Ubuntu
Ilya Dryomov [Tue, 11 Apr 2023 20:43:58 +0000 (22:43 +0200)]
qa/suites/rbd: install qemu-utils in addition to qemu-block-extra on Ubuntu

qemu-utils is usually pre-installed but, due to what appears to be
a Ubuntu packaging bug, it's not upgraded when qemu-block-extra is
installed:

  The following NEW packages will be installed:
    qemu-block-extra
  The following packages will be upgraded:
    qemu-system-common qemu-system-data qemu-system-gui qemu-system-x86

However, the version of the block driver must match exactly the version
of the qemu-img tool, so the above leads to:

  $ qemu-img convert -f qcow2 -O raw /home/ubuntu/cephtest/qemu/base.client.0.0.qcow2 rbd:rbd/client.0.0
  Failed to initialize module: /usr/lib/x86_64-linux-gnu/qemu/block-rbd.so
  Note: only modules from the same build can be loaded.
  qemu: module block-block-rbd not found, do you want to install qemu-block-extra package?
  qemu-img: Unknown protocol 'rbd'

Fixes: https://tracker.ceph.com/issues/59431
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit c529fdd63a5aae2c598078df05fe9bbef40042dc)

2 years agomgr/dashboard: rbd-mirror force promotion
Pedro Gonzalez Gomez [Wed, 5 Apr 2023 15:42:52 +0000 (17:42 +0200)]
mgr/dashboard: rbd-mirror force promotion

resolves: https://tracker.ceph.com/issues/59327
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit 9696b6a04830297c23c4cccd6e7c225f183ba0b2)

2 years agoMerge pull request #51035 from zdover23/wip-doc-2023-04-12-backport-50993-to-reef
zdover23 [Wed, 12 Apr 2023 09:41:54 +0000 (19:41 +1000)]
Merge pull request #51035 from zdover23/wip-doc-2023-04-12-backport-50993-to-reef

reef: doc/rados/operations: edit monitoring.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #50994 from guits/cv-bkp-50473-reef
Guillaume Abrioux [Wed, 12 Apr 2023 07:58:53 +0000 (09:58 +0200)]
Merge pull request #50994 from guits/cv-bkp-50473-reef

ceph-volume: update the OS before deploying Ceph (reef)

2 years agodoc/rados/operations: edit monitoring.rst
Zac Dover [Tue, 11 Apr 2023 04:15:47 +0000 (14:15 +1000)]
doc/rados/operations: edit monitoring.rst

Line-edit the final third of doc/rados/operations/monitoring.rst.

Follows https://github.com/ceph/ceph/pull/50834.

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit b9ccad80608953fc0af779e8cad93971d47649b6)

2 years agoMerge pull request #51006 from rhcs-dashboard/wip-59402-reef
Nizamudeen A [Tue, 11 Apr 2023 16:11:42 +0000 (21:41 +0530)]
Merge pull request #51006 from rhcs-dashboard/wip-59402-reef

reef: mgr/dashboard: fix create osd default selected as recommended not working

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
2 years agomgr/dashboard: fix eviction of all FS clients
Pere Diaz Bou [Wed, 5 Apr 2023 16:54:45 +0000 (18:54 +0200)]
mgr/dashboard: fix eviction of all FS clients

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
(cherry picked from commit 780f49325aefd0b2c537462c6bb498232621ee8a)

2 years agoceph-volume/tests: fix an issue with rpm
Guillaume Abrioux [Tue, 11 Apr 2023 11:29:15 +0000 (13:29 +0200)]
ceph-volume/tests: fix an issue with rpm

Typical error seen in the CI:

```
error: /var/cache/dnf/baseos-00fe51d07def85f0/packages/kernel-core-4.18.0-483.el8.x86_64.rpm: signature hdr data: BAD, no. of bytes(459772) out of range
```

Upgrading `rpm` fixes this issue.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 05aa334b96ed8a8c8497047bc26da64ee3a3d1fa)

2 years agomgr/dashboard: fix create osds step failing on the default option
Nizamudeen A [Thu, 6 Apr 2023 06:37:20 +0000 (12:07 +0530)]
mgr/dashboard: fix create osds step failing on the default option

the backend was reporting with a keyError which doesn't find the
`encrypted` key.

Fixes: https://tracker.ceph.com/issues/59319
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit ca8b107cf2198ecf189b513ff75b9d5a9d9782b9)

2 years agomgr/dashboard: add option to skip the create OSDs step
Nizamudeen A [Wed, 5 Apr 2023 06:37:11 +0000 (12:07 +0530)]
mgr/dashboard: add option to skip the create OSDs step

Fixes: https://tracker.ceph.com/issues/59319
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit caa0c456b1d0c33f6abb847b3c9259501d587004)

2 years agoceph-volume: add bluefs_buffered_io: false in functional tests
Guillaume Abrioux [Fri, 10 Mar 2023 15:44:16 +0000 (16:44 +0100)]
ceph-volume: add bluefs_buffered_io: false in functional tests

This is a workaround to make dmcrypt scenarios pass the CI.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 491e88ede56b51bc425ba5e38adf6eb74ad5196e)

2 years agoceph-volume: update the OS before deploying Ceph
Guillaume Abrioux [Fri, 10 Mar 2023 15:01:19 +0000 (16:01 +0100)]
ceph-volume: update the OS before deploying Ceph

ceph-volume tests are failing, OSDs never get up and running.
For some reason, updating the OS early in the testing workflow
addresses that issue in the CI.

-- to be continued ... --

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 663c914c59873f433a5512aca0ebc4b4a7ef1fd3)

2 years agoMerge pull request #50955 from zdover23/wip-doc-2023-04-09-backport-50827-to-reef
colemitchell [Tue, 11 Apr 2023 01:04:56 +0000 (21:04 -0400)]
Merge pull request #50955 from zdover23/wip-doc-2023-04-09-backport-50827-to-reef

reef: doc/rados/ops: edit health-checks.rst (4 of x)

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agoMerge pull request #50966 from zdover23/wip-doc-2023-04-10-backport-50828-to-reef
Anthony D'Atri [Mon, 10 Apr 2023 11:48:40 +0000 (07:48 -0400)]
Merge pull request #50966 from zdover23/wip-doc-2023-04-10-backport-50828-to-reef

reef: doc/rados/ops: edit health checks.rst (5 of x)

2 years agoMerge pull request #50969 from zdover23/wip-doc-2023-04-10-backport-50829-to-reef
Anthony D'Atri [Mon, 10 Apr 2023 11:46:50 +0000 (07:46 -0400)]
Merge pull request #50969 from zdover23/wip-doc-2023-04-10-backport-50829-to-reef

reef: doc/rados/ops: edit health-checks.rst (6 of x)

2 years agodoc/rados/ops: edit health-checks.rst (6 of x)
Zac Dover [Sat, 1 Apr 2023 20:39:32 +0000 (06:39 +1000)]
doc/rados/ops: edit health-checks.rst (6 of x)

Edit docs/rados/operations/health-checks.rst (6 of x).

Follows https://github.com/ceph/ceph/pull/50828.

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit c59bc152ea746a8bfc5795dbeb68b2ef6e511b1f)

2 years agodoc/rados/ops: edit health checks.rst (5 of x)
Zac Dover [Sat, 1 Apr 2023 20:33:45 +0000 (06:33 +1000)]
doc/rados/ops: edit health checks.rst (5 of x)

Edit docs/rados/operations/health-checks.rst (5 of x).

Follows https://github.com/ceph/ceph/pull/50827

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit cb8ec5b5ab8f5fb25c8f2c6404447dabe4ebd1ad)

2 years agoMerge pull request #50959 from zdover23/wip-doc-2023-04-09-backport-50958-to-reef
Anthony D'Atri [Sun, 9 Apr 2023 19:08:46 +0000 (15:08 -0400)]
Merge pull request #50959 from zdover23/wip-doc-2023-04-09-backport-50958-to-reef

reef: doc/rados/ops: add hyphen to mon-osd-pg.rst

2 years agodoc/rados/ops: add hyphen to mon-osd-pg.rst
Zac Dover [Sun, 9 Apr 2023 02:42:11 +0000 (12:42 +1000)]
doc/rados/ops: add hyphen to mon-osd-pg.rst

Remove confusing parentheses and add a clearer (as compared to the
parentheses) hyphen (actually an em-dash, or at least it is intended
to be an em-dash) to doc/rados/operations/monitoring-osd-pg.rst

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 0c965c18d0e6ab1461b5fad42d481f25e4207940)

2 years agoMerge pull request #50952 from zdover23/wip-doc-2023-04-09-backport-50826-to-reef
zdover23 [Sun, 9 Apr 2023 05:03:40 +0000 (15:03 +1000)]
Merge pull request #50952 from zdover23/wip-doc-2023-04-09-backport-50826-to-reef

reef: doc/rados/ops: edit health-checks.rst (3 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #50949 from zdover23/wip-doc-2023-04-09-backport-50907-to-reef
zdover23 [Sun, 9 Apr 2023 05:03:09 +0000 (15:03 +1000)]
Merge pull request #50949 from zdover23/wip-doc-2023-04-09-backport-50907-to-reef

reef: doc/rados/config: edit auth-config-ref

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados/ops: edit health-checks.rst (4 of x)
Zac Dover [Sat, 1 Apr 2023 20:25:42 +0000 (06:25 +1000)]
doc/rados/ops: edit health-checks.rst (4 of x)

Edit docs/rados/operations/health-checks.rst (4 of x).

Follows https://github.com/ceph/ceph/pull/50826.

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 31df75356f2e49e0da6e0f4a6ec498e3609bd39e)

2 years agodoc/rados/ops: edit health-checks.rst (3 of x)
Zac Dover [Sat, 1 Apr 2023 20:17:06 +0000 (06:17 +1000)]
doc/rados/ops: edit health-checks.rst (3 of x)

Edit docs/rados/operations/health-checks.rst (3 of x).

Follows https://github.com/ceph/ceph/pull/50825

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit e02ddb24e583b5bedd4056ba0871a9427b581bfe)

2 years agodoc/rados/config: edit auth-config-ref
Zac Dover [Thu, 6 Apr 2023 00:21:01 +0000 (10:21 +1000)]
doc/rados/config: edit auth-config-ref

Line edit doc/rados/config/auth-config-ref.rst.

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 3d0acf9372a35ef48be47efe68192ec389c17ccb)

2 years agoMerge pull request #50945 from zdover23/wip-doc-2023-04-08-backport-50863-to-reef
zdover23 [Sat, 8 Apr 2023 04:53:55 +0000 (14:53 +1000)]
Merge pull request #50945 from zdover23/wip-doc-2023-04-08-backport-50863-to-reef

reef: doc/rados/ops: edit monitoring-osd-pg.rst (2 of x)

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agoMerge pull request #50942 from zdover23/wip-doc-2023-04-08-backport-50795-to-reef
zdover23 [Sat, 8 Apr 2023 04:13:30 +0000 (14:13 +1000)]
Merge pull request #50942 from zdover23/wip-doc-2023-04-08-backport-50795-to-reef

reef: doc/rados: line-edit common.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados/ops: edit monitoring-osd-pg.rst (2 of x)
Zac Dover [Wed, 5 Apr 2023 03:32:43 +0000 (13:32 +1000)]
doc/rados/ops: edit monitoring-osd-pg.rst (2 of x)

Line-edit monitoring-osd-pg.rst (2 of x).

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 270e2fd730dad19d970d73ea19c6872defa9fce4)

2 years agodoc/rados: line-edit common.rst
Zac Dover [Thu, 30 Mar 2023 22:54:05 +0000 (08:54 +1000)]
doc/rados: line-edit common.rst

Edit syntax and semantics in doc/configuration/common.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 6c9f226742e951de6c40627271ba6d6cabba4535)

2 years agoMerge pull request #50933 from zdover23/wip-doc-2023-04-07-backport-50928-to-reef
Anthony D'Atri [Fri, 7 Apr 2023 11:25:37 +0000 (07:25 -0400)]
Merge pull request #50933 from zdover23/wip-doc-2023-04-07-backport-50928-to-reef

reef: doc/rados/ops: line-edit operating.rst

2 years agodoc/rados/ops: line-edit operating.rst
Zac Dover [Fri, 7 Apr 2023 00:46:50 +0000 (10:46 +1000)]
doc/rados/ops: line-edit operating.rst

Line-edit doc/rados/operations/operating.rst.

https://tracker.ceph.com/issues/58485

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit bb8fc0068369369fd213062590738e38c9f4dc63)

2 years agoMerge pull request #50848 from zdover23/wip-doc-2023-04-04-backport-50834-to-reef
zdover23 [Fri, 7 Apr 2023 02:10:11 +0000 (12:10 +1000)]
Merge pull request #50848 from zdover23/wip-doc-2023-04-04-backport-50834-to-reef

reef: doc/rados: edit ops/monitoring.rst (2 of 3)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados: edit ops/monitoring.rst (2 of 3)
Zac Dover [Sun, 2 Apr 2023 22:03:29 +0000 (08:03 +1000)]
doc/rados: edit ops/monitoring.rst (2 of 3)

Line-edit the second third of doc/rados/operations/monitoring.rst.

Follows https://github.com/ceph/ceph/pull/50670.

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 41684ebd33b5c9fe707f5a33b27c55ed29cd5ede)

2 years agoMerge pull request #50911 from zdover23/wip-doc-2023-04-06-backport-50825-to-reef
Anthony D'Atri [Thu, 6 Apr 2023 16:05:17 +0000 (12:05 -0400)]
Merge pull request #50911 from zdover23/wip-doc-2023-04-06-backport-50825-to-reef

reef: doc/rados/ops: edit health-checks.rst (2 of x)

2 years agolibrbd: avoid generating ESHUTDOWN in ManagedLock
Ilya Dryomov [Tue, 28 Mar 2023 18:03:05 +0000 (20:03 +0200)]
librbd: avoid generating ESHUTDOWN in ManagedLock

EBLOCKLISTED has a very special meaning but happens to be an alias for
ESHUTDOWN.  If the client gets blocklisted, we always want to propagate
EBLOCKLISTED error code since it's generated by the OSD.

For ManagedLock use case of indicating that an operation on the lock
raced with lock shut down, meaning that a higher level request can just
be restarted, ERESTART should do.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 76856d90e0e0d73276c06a724091197301f982e9)