]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
13 months agodoc/rados: improve leader/peon monitor explanation 57959/head
Zac Dover [Mon, 10 Jun 2024 22:00:00 +0000 (08:00 +1000)]
doc/rados: improve leader/peon monitor explanation

Add an explanation of leader-peon conditions that obtain when the
cluster is in the "HEALTH_OK" state. Previously, the text discussed
these two monitor states only in the context of a health detail entry.

This improvement to the documentation was suggested on the [ceph-users]
email list by Joel Davidow. This email, an absolute model of user
engagement with an upstream project, can be reviewed here: https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/message/KF67F5TXFSSTPXV7EKL6JKLA5KZQDLDQ/

I will list Joel Davidow here as the co-author for the sake of more
expediently getting this change into the documentation, but though he is
listed as the co-author, he is the true author.

Co-authored-by: Joel Davidow <jdavidow@nso.edu>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 6fb9a5ef817eda5184d51ebcb425a6091ca82299)

13 months agoMerge pull request #57949 from zdover23/wip-doc-2024-06-10-backport-57947-to-reef
Zac Dover [Sun, 9 Jun 2024 22:09:43 +0000 (08:09 +1000)]
Merge pull request #57949 from zdover23/wip-doc-2024-06-10-backport-57947-to-reef

reef: doc/start: remove "intro.rst"

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
13 months agodoc/start: remove "intro.rst" 57949/head
Zac Dover [Sun, 9 Jun 2024 18:55:13 +0000 (04:55 +1000)]
doc/start: remove "intro.rst"

Remove "start/intro.rst", which has been renamed "start/index.rst" in
order to follow the conventions followed elsewhere in the documentation.

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

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

13 months agoMerge pull request #57937 from zdover23/wip-doc-2024-06-08-backport-57923-to-reef
Zac Dover [Sun, 9 Jun 2024 18:22:45 +0000 (04:22 +1000)]
Merge pull request #57937 from zdover23/wip-doc-2024-06-08-backport-57923-to-reef

reef: doc/src: add inline literals (``) to variables

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agoMerge pull request #57942 from zdover23/wip-doc-2024-06-09-backport-57939-to-reef
Anthony D'Atri [Sun, 9 Jun 2024 02:36:04 +0000 (22:36 -0400)]
Merge pull request #57942 from zdover23/wip-doc-2024-06-09-backport-57939-to-reef

reef: doc/glossary.rst: add "OpenStack Swift" and "Swift"

13 months agodoc/glossary.rst: add "OpenStack Swift" and "Swift" 57942/head
Zac Dover [Sat, 8 Jun 2024 20:24:43 +0000 (06:24 +1000)]
doc/glossary.rst: add "OpenStack Swift" and "Swift"

Add "OpenStack Swift" and "Swift" entries 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 b2d413ee9db1d68392f29db148a7bc2e87a7b419)

13 months agodoc/src: add inline literals (``) to variables 57937/head
Zac Dover [Fri, 7 Jun 2024 01:24:00 +0000 (11:24 +1000)]
doc/src: add inline literals (``) to variables

Add inline-literal RST markup (``) (double backticks) around variable
names in src/common/options/global.yaml.in.

This follows https://github.com/ceph/ceph/pull/57887.

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

13 months agoMerge pull request #57884 from zdover23/wip-doc-2024-06-05-backport-57868-to-reef
Zac Dover [Thu, 6 Jun 2024 23:39:46 +0000 (09:39 +1000)]
Merge pull request #57884 from zdover23/wip-doc-2024-06-05-backport-57868-to-reef

reef: doc: correct typo

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agoMerge pull request #57916 from zdover23/wip-doc-2024-06-07-backport-57887-to-reef
Zac Dover [Thu, 6 Jun 2024 20:13:28 +0000 (06:13 +1000)]
Merge pull request #57916 from zdover23/wip-doc-2024-06-07-backport-57887-to-reef

reef: doc/rados: add options to network config ref

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agoMerge pull request #57914 from zdover23/wip-doc-2024-06-07-backport-57886-to-reef
Ilya Dryomov [Thu, 6 Jun 2024 17:42:06 +0000 (19:42 +0200)]
Merge pull request #57914 from zdover23/wip-doc-2024-06-07-backport-57886-to-reef

reef: doc/dev: origin of Labeled Perf Counters

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
13 months agodoc/rados: add options to network config ref 57916/head
Zac Dover [Wed, 5 Jun 2024 04:30:01 +0000 (14:30 +1000)]
doc/rados: add options to network config ref

Add the following options to
doc/rados/configuration/network-config-ref.rst:

- public_network_interface
- cluster_network_interface

These additions were made in response to a request from Blaine Gardner.

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

13 months agodoc/dev: origin of Labeled Perf Counters 57914/head
Zac Dover [Wed, 5 Jun 2024 01:18:46 +0000 (11:18 +1000)]
doc/dev: origin of Labeled Perf Counters

Note that Labeled Perf Counters were introduced in Reef.

Fixes: https://github.com/ceph/ceph/pull/57753#discussion_r1626483732
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 36e09fb6894dcec56224d483d36a7315b8d19d60)

13 months agoMerge pull request #57794 from rzarzynski/wip-bug-61948-reef-backport
Laura Flores [Wed, 5 Jun 2024 20:51:54 +0000 (15:51 -0500)]
Merge pull request #57794 from rzarzynski/wip-bug-61948-reef-backport

reef: mon, osd, *: expose upmap-primary in OSDMap::get_features()

13 months agoMerge pull request #57903 from zdover23/wip-doc-2024-06-06-backport-57900-to-reef
Zac Dover [Wed, 5 Jun 2024 20:45:52 +0000 (06:45 +1000)]
Merge pull request #57903 from zdover23/wip-doc-2024-06-06-backport-57900-to-reef

reef: doc/start: s/intro.rst/index.rst/

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agodoc/start: s/intro.rst/index.rst/ 57903/head
Zac Dover [Wed, 5 Jun 2024 16:43:15 +0000 (02:43 +1000)]
doc/start: s/intro.rst/index.rst/

Change the filename "doc/start/intro.rst" to "doc/start/index.rst" so
that Sphinx finds the root filename for the "/start" directory in the
default location.

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

13 months agoMerge pull request #57871 from zdover23/wip-doc-2024-06-05-backport-57867-to-reef
Zac Dover [Wed, 5 Jun 2024 01:11:19 +0000 (11:11 +1000)]
Merge pull request #57871 from zdover23/wip-doc-2024-06-05-backport-57867-to-reef

reef: doc/start: s/http/https/ in links

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agodoc: correct typo 57884/head
Matthew Vernon [Tue, 4 Jun 2024 13:46:57 +0000 (14:46 +0100)]
doc: correct typo

Signed-off-by: Matthew Vernon <mvernon@wikimedia.org>
(cherry picked from commit 4769493887e9f99f990122135d7cab6caee27f71)

13 months agodoc/start: s/http/https/ in links 57871/head
Zac Dover [Tue, 4 Jun 2024 13:37:27 +0000 (23:37 +1000)]
doc/start: s/http/https/ in links

Replace "http" with "https" in doc/start/get-involved.rst.

This commit is, in a way, a repeat of
https://github.com/ceph/ceph/pull/57213/
(1c5383b91bd7dbfa9670c6485fcc5ff28b79f40d), which targeted the Reef
branch instead of the main branch. When this commit has been merged and
backported, I will close https://github.com/ceph/ceph/pull/57213/.

I am listing Casey Cain here as the co-author, but he is in fact the
true author of this change.

Co-authored-by: Casey Cain <ccain@linuxfoundation.org>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 922f23f0f30da856a661376527f413dc9424382d)

13 months agoMerge pull request #57637 from rhcs-dashboard/wip-66175-reef
Avan [Tue, 4 Jun 2024 09:40:56 +0000 (15:10 +0530)]
Merge pull request #57637 from rhcs-dashboard/wip-66175-reef

reef: mgr/dashboard: add absolute path validation for pseudo path of nfs export

Reviewed-by: afreen23 <NOT@FOUND>
13 months agoMerge pull request #57851 from zdover23/wip-doc-2024-06-04-backport-57824-to-reef
Anthony D'Atri [Mon, 3 Jun 2024 19:58:18 +0000 (15:58 -0400)]
Merge pull request #57851 from zdover23/wip-doc-2024-06-04-backport-57824-to-reef

reef: doc/rados: add stop monitor command

13 months agodoc/rados: add stop monitor command 57851/head
Zac Dover [Mon, 3 Jun 2024 00:23:43 +0000 (10:23 +1000)]
doc/rados: add stop monitor command

Add the command for stopping a monitor to the procedure that explains
how to inject a monmap into a monitor.

Zac of the future: cf. 05 Aug 2023.

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

13 months agoMerge pull request #57845 from zdover23/wip-doc-2024-06-04-backport-57839-to-reef
Anthony D'Atri [Mon, 3 Jun 2024 15:54:45 +0000 (11:54 -0400)]
Merge pull request #57845 from zdover23/wip-doc-2024-06-04-backport-57839-to-reef

reef: doc/start: Edit Beginner's Guide

13 months agodoc/start: Edit Beginner's Guide 57845/head
Zac Dover [Mon, 3 Jun 2024 13:43:47 +0000 (23:43 +1000)]
doc/start: Edit Beginner's Guide

Make some improvements to the basic text of the Beginner's Guide.

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

13 months agoMerge pull request #57306 from idryomov/wip-65487-reef
Ilya Dryomov [Mon, 3 Jun 2024 14:02:12 +0000 (16:02 +0200)]
Merge pull request #57306 from idryomov/wip-65487-reef

reef: rbd-mirror: clean up stale pool replayers and callouts better

Reviewed-by: Ramana Raja <rraja@redhat.com>
13 months agoMerge pull request #57309 from idryomov/wip-65624-reef
Yuri Weinstein [Mon, 3 Jun 2024 13:56:08 +0000 (06:56 -0700)]
Merge pull request #57309 from idryomov/wip-65624-reef

reef: pybind/rbd: expose CLONE_FORMAT and FLATTEN image options

Reviewed-by: Ramana Raja <rraja@redhat.com>
13 months agoMerge pull request #57091 from idryomov/wip-65573-reef
Yuri Weinstein [Mon, 3 Jun 2024 13:55:32 +0000 (06:55 -0700)]
Merge pull request #57091 from idryomov/wip-65573-reef

reef: librbd: make group and group snapshot IDs more random

Reviewed-by: Mykola Golub <mgolub@suse.com>
13 months agoMerge pull request #57030 from idryomov/wip-65481-reef
Yuri Weinstein [Mon, 3 Jun 2024 13:54:40 +0000 (06:54 -0700)]
Merge pull request #57030 from idryomov/wip-65481-reef

reef: qa: fix krbd_msgr_segments and krbd_rxbounce failing on 8.stream

Reviewed-by: Ramana Raja <rraja@redhat.com>
13 months agoqa/workunits/rbd: wait for replaying status in bootstrap tests 57306/head
Ilya Dryomov [Mon, 6 May 2024 06:16:01 +0000 (08:16 +0200)]
qa/workunits/rbd: wait for replaying status in bootstrap tests

wait_for_replay_complete() doesn't wait for image status to get
updated.  This didn't matter previously because these tests are run on
two different pools and nothing else was following.

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

Conflicts:
qa/workunits/rbd/rbd_mirror_bootstrap.sh [ commit 3fd8a0388735
  ("qa/workunits/rbd: merge journal and snapshot test scripts")
  not in reef ]

13 months agoMerge pull request #57822 from zdover23/wip-doc-2024-06-02-backport-57820-to-reef
Zac Dover [Sun, 2 Jun 2024 23:27:28 +0000 (09:27 +1000)]
Merge pull request #57822 from zdover23/wip-doc-2024-06-02-backport-57820-to-reef

reef: doc/start: Add Beginner's Guide

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agodoc/start: Add Beginner's Guide 57822/head
Zac Dover [Sun, 2 Jun 2024 11:06:25 +0000 (21:06 +1000)]
doc/start: Add Beginner's Guide

Add a Beginner's Guide to docs.ceph.com.

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

13 months agoMerge pull request #57815 from zdover23/wip-doc-2024-06-01-backport-57804-to-reef
Anthony D'Atri [Sun, 2 Jun 2024 00:02:15 +0000 (20:02 -0400)]
Merge pull request #57815 from zdover23/wip-doc-2024-06-01-backport-57804-to-reef

reef: doc/cephfs: edit vstart warning text

13 months agodoc/cephfs: edit vstart warning text 57815/head
Zac Dover [Fri, 31 May 2024 12:19:59 +0000 (22:19 +1000)]
doc/cephfs: edit vstart warning text

Improve the English in the vstart warning in doc/cephfs/mantle.rst.

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

13 months agoMerge pull request #57792 from zdover23/wip-doc-2024-05-30-backport-57790-to-reef
Anthony D'Atri [Fri, 31 May 2024 01:24:11 +0000 (21:24 -0400)]
Merge pull request #57792 from zdover23/wip-doc-2024-05-30-backport-57790-to-reef

reef: doc/cephfs: edit front matter in mantle.rst

13 months agomon: validate SERVER_REEF on set-require-min-compat-client 57794/head
Radoslaw Zarzynski [Thu, 30 May 2024 08:44:54 +0000 (08:44 +0000)]
mon: validate SERVER_REEF on set-require-min-compat-client

Unit testing
-------------
```
[rzarzynski@o06 build]$ bin/unittest_features
...
[ RUN      ] features.release_features
1 argonaut features 0x40000 looks like argonaut
2 bobtail features 0x40000 looks like argonaut
3 cuttlefish features 0x40000 looks like argonaut
4 dumpling features 0x42040000 looks like dumpling
5 emperor features 0x42040000 looks like dumpling
6 firefly features 0x20842040000 looks like firefly
7 giant features 0x20842040000 looks like firefly
8 hammer features 0x1020842040000 looks like hammer
9 infernalis features 0x1020842040000 looks like hammer
10 jewel features 0x401020842040000 looks like jewel
11 kraken features 0xc01020842040000 looks like kraken
12 luminous features 0xe01020842240000 looks like luminous
13 mimic features 0xe01020842240000 looks like luminous
14 nautilus features 0xe01020842240000 looks like luminous
15 octopus features 0xe01020842240000 looks like luminous
16 pacific features 0xe01020842240000 looks like luminous
17 quincy features 0xe01020842240000 looks like luminous
18 reef features 0xe010208d2240000 looks like reef
19 squid features 0xe010208d2240000 looks like reef
[       OK ] features.release_features (0 ms)
```

Manual testing
--------------
\### 'quincy` client connected to `main` cluster
There was `ceph -w` from `quincy` running in the background.

```
[rzarzynski@o06 build]$ bin/ceph osd set-require-min-compat-client reef
Error EPERM: cannot set require_min_compat_client to reef: 1 connected client(s) look like luminous (missing 0x80000000); add --yes-i-really-mean-it to do it anyway
```

\### Only `main` clients connected to `main` cluster
```
[rzarzynski@o06 build]$ bin/ceph osd get-require-min-compat-client
luminous
[rzarzynski@o06 build]$ bin/ceph daemon mon.a sessions | jq  -jr '.[] | .name, "\t", .con_features, "\t", .con_features_hex, "\n"' | grep client
client.?        4540701547738038271     3f03cffffffdffff
client.?        4540701547738038271     3f03cffffffdffff
[rzarzynski@o06 build]$ bin/ceph osd set-require-min-compat-client reef
set require_min_compat_client to reef
```

Fixes: https://tracker.ceph.com/issues/61948
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit 4d74ff6327ebdc7deb44737cac08125204b2fec6)

13 months agomon, osd, *: expose upmap-primary in OSDMap::get_features()
Radoslaw Zarzynski [Mon, 27 May 2024 16:58:07 +0000 (16:58 +0000)]
mon, osd, *: expose upmap-primary in OSDMap::get_features()

This is a minimal fix to ensure only peers understanding
`pg-upmap-primary` are able to connect, and thus to exclude
the possibility of running into the `pg_upmap_primaries.empty()`
assertion in encoders.

Fixes for other problems will follow up.

The intention is to ship this patch in the very next minor
release of reef.

Manual testing
--------------

\### start using upmap-primar is presence of `quincy` client
NOTE: incompatible clients aren't disconnected but this is
known and expected as we lack the machinery.

```
[rzarzynski@o06 build]$ bin/ceph osd get-require-min-compat-client
reef
[rzarzynski@o06 build]$ bin/ceph daemon mon.a sessions | jq  -jr '.[] | .name, "\t", .con_features, "\t", .con_features_hex, "\n"' | grep client
client.?        4540701547738038271     3f03cffffffdffff
client.?        4540138320759226367     3f01cfbf7ffdffff
[rzarzynski@o06 build]$ bin/ceph osd pool create test_pool 1 1
pool 'test_pool' created
[rzarzynski@o06 build]$ bin/ceph osd pg-upmap-primary 1.0 2
change primary for pg 1.0 to osd.2
[rzarzynski@o06 build]$ bin/ceph daemon mon.a sessions | jq  -jr '.[] | .name, "\t", .con_features, "\t", .con_features_hex, "\n"' | grep client
client.?        4540701547738038271     3f03cffffffdffff
client.?        4540138320759226367     3f01cfbf7ffdffff
```

\### `main` client is still able to connect
```
[rzarzynski@o06 build]$ bin/ceph -w
  cluster:
    id:     d570a7cd-84ca-4fd0-aafb-80138762c6af
    health: HEALTH_WARN
            11 mgr modules have failed dependencies
            1 pool(s) do not have an application enabled

  services:
    mon: 1 daemons, quorum a (age 64m)
    mgr: x(active, since 64m)
    osd: 3 osds: 3 up (since 64m), 3 in (since 64m)

  data:
    pools:   1 pools, 1 pgs
    objects: 0 objects, 0 B
    usage:   3.0 GiB used, 300 GiB / 303 GiB avail
    pgs:     1 active+clean
```

\### `quincy` client is refused
```
[rzarzynski@o06 build-quincy]$ bin/ceph -s -c /home/rzarzynski/ceph2/build/ceph.conf
2024-05-30T08:59:42.411+0000 7f0911a9b700 -1 --2- 127.0.0.1:0/2812481872 >> [v2:127.0.0.1:40536/0,v1:127.0.0.1:40537/0] conn(0x7f090c111500 0x7f090c1118f0 secure :-1 s=SESSION_CONNECTING pgs=0 cs=0 l=0 rev1=1 crypto rx=0x7f08fc0048c0 tx=0x7f08fc009e30 comp rx=0 tx=0).handle_ident_missing_features client does not support all server features: 80000000
2024-05-30T08:59:42.612+0000 7f0911a9b700  0 --2- 127.0.0.1:0/2812481872 >> [v2:127.0.0.1:40536/0,v1:127.0.0.1:40537/0] conn(0x7f090c111500 0x7f090c1118f0 unknown :-1 s=AUTH_CONNECTING pgs=0 cs=0 l=0 rev1=1 crypto rx=0 tx=0 comp rx=0 tx=0).send_auth_request get_initial_auth_request returned -2
```

\### stop using upmap-primary
```
[rzarzynski@o06 build]$ bin/ceph osd rm-pg-upmap-primary 1.0
clear 1.0 pg_upmap_primary mapping
```

\### `quincy` client may connect again
```
[rzarzynski@o06 build-quincy]$ bin/ceph -s -c /home/rzarzynski/ceph2/build/ceph.conf
  cluster:
    id:     d570a7cd-84ca-4fd0-aafb-80138762c6af
    health: HEALTH_WARN
            11 mgr modules have failed dependencies
            1 pool(s) do not have an application enabled

  services:
    mon: 1 daemons, quorum a (age 77m)
    mgr: x(active, since 77m)
    osd: 3 osds: 3 up (since 76m), 3 in (since 76m)

  data:
    pools:   1 pools, 1 pgs
    objects: 0 objects, 0 B
    usage:   3.0 GiB used, 300 GiB / 303 GiB avail
    pgs:     1 active+clean

```

Fixes: https://tracker.ceph.com/issues/61948
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit 5dbb7c4b12707b9c6d1334055cdd9dd820ffc1a6)

Conflicts:
src/osd/OSDMap.cc -- reef lacks MSR

13 months agodoc/cephfs: edit front matter in mantle.rst 57792/head
Zac Dover [Thu, 30 May 2024 13:28:56 +0000 (23:28 +1000)]
doc/cephfs: edit front matter in mantle.rst

Improve the structure and grammar of the front matter in the
doc/cephfs/mantle.rst file.

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

13 months agoMerge pull request #57658 from rhcs-dashboard/wip-65995-reef
Avan [Thu, 30 May 2024 10:01:02 +0000 (15:31 +0530)]
Merge pull request #57658 from rhcs-dashboard/wip-65995-reef

reef: exporter: fix regex for rgw sync metrics

Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
13 months agoMerge pull request #57758 from zdover23/wip-doc-2024-05-29-backport-57753-to-reef
Zac Dover [Wed, 29 May 2024 13:50:00 +0000 (23:50 +1000)]
Merge pull request #57758 from zdover23/wip-doc-2024-05-29-backport-57753-to-reef

reef: doc/dev: add note about intro of perf counters

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agodoc/dev: add note about intro of perf counters 57758/head
Zac Dover [Tue, 28 May 2024 16:27:53 +0000 (02:27 +1000)]
doc/dev: add note about intro of perf counters

Add a note to the "perf counter" section of doc/dev/perf_counters.rst
that explains that this feature was introduced in the Reef release of
Ceph. This note will prevent us from accidentally backporting
perf-counter-related PRs to Quincy.

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

13 months agoMerge pull request #57750 from zdover23/wip-doc-2024-05-29-backport-57732-to-reef
Zac Dover [Tue, 28 May 2024 16:20:41 +0000 (02:20 +1000)]
Merge pull request #57750 from zdover23/wip-doc-2024-05-29-backport-57732-to-reef

doc/developer_guide: update doc about installing teuthology

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agoMerge pull request #57743 from zdover23/wip-doc-2024-05-28-backport-57720-to-reef
Zac Dover [Tue, 28 May 2024 16:19:29 +0000 (02:19 +1000)]
Merge pull request #57743 from zdover23/wip-doc-2024-05-28-backport-57720-to-reef

doc/cephfs: s/subvolumegroups/subvolume groups

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agodoc/developer_guide: update doc about installing teuthology 57750/head
Rishabh Dave [Mon, 27 May 2024 19:37:35 +0000 (01:07 +0530)]
doc/developer_guide: update doc about installing teuthology

There are 2 more ways to install teuthology. Approach with boostrap
script is easier and more convenient while other approach is more
elaborate but manual, document both of them. Don't delete the currently
documented approach because it lets users install teuthology
conveniently in a custom virtual environment. So, keep all three.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 899c481d4006a1231354de6633fd2806aa4bd5d2)

13 months agodoc/cephfs: s/subvolumegroups/subvolume groups 57743/head
Zac Dover [Mon, 27 May 2024 11:09:40 +0000 (21:09 +1000)]
doc/cephfs: s/subvolumegroups/subvolume groups

Use the term "subvolume groups" instead of "subvolumegroups" where the
term appears in plain English. The string "subvolumegroups" is correct
in commands, and remains unchanged.

Also add formatting to command output, to make clearer that the output
is indeed output.

Fixes: https://github.com/ceph/ceph/pull/57574#discussion_r1606988766
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit b303417f653d149852e163bf3e2e3edf5c6b71a0)

13 months agoMerge pull request #57727 from idryomov/wip-labeler-rbd-reef
Ilya Dryomov [Tue, 28 May 2024 07:25:35 +0000 (09:25 +0200)]
Merge pull request #57727 from idryomov/wip-labeler-rbd-reef

reef: .github: sync the list of paths for rbd label, expand tests label to qa/*

Reviewed-by: Ramana Raja <rraja@redhat.com>
13 months agoMerge pull request #57736 from zdover23/wip-doc-2024-05-27-cephfs-metrics-reef-2
Zac Dover [Tue, 28 May 2024 04:10:35 +0000 (14:10 +1000)]
Merge pull request #57736 from zdover23/wip-doc-2024-05-27-cephfs-metrics-reef-2

reef: doc/cephfs: add metrics to left pane

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agodoc/cephfs: add metrics to left pane 57736/head
Zac Dover [Tue, 28 May 2024 02:59:16 +0000 (12:59 +1000)]
doc/cephfs: add metrics to left pane

Add a link to doc/cephfs/index.rst to cause "Metrics" to appear in the
left pane.

Signed-off-by: Zac Dover <zac.dover@proton.me>
13 months agoMerge pull request #57724 from zdover23/wip-doc-2024-05-27-backport-57628-to-reef
Zac Dover [Tue, 28 May 2024 01:12:07 +0000 (11:12 +1000)]
Merge pull request #57724 from zdover23/wip-doc-2024-05-27-backport-57628-to-reef

reef: doc: document metrics exported by CephFS

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
13 months agodoc: document metrics exported by CephFS 57724/head
Jos Collin [Wed, 22 May 2024 12:40:24 +0000 (18:10 +0530)]
doc: document metrics exported by CephFS

Fixes: https://tracker.ceph.com/issues/66173
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit f8f47852f309d2f8d6ea53a0650c7fbef2a70efa)

13 months agoMerge pull request #57734 from zdover23/wip-doc-2024-05-27-cephfs-metrics-reef
Zac Dover [Tue, 28 May 2024 00:59:36 +0000 (10:59 +1000)]
Merge pull request #57734 from zdover23/wip-doc-2024-05-27-cephfs-metrics-reef

reef: doc/dev: add target links to perf_counters.rst

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
13 months agodoc/dev: add target links to perf_counters.rst 57734/head
Zac Dover [Tue, 28 May 2024 00:49:35 +0000 (10:49 +1000)]
doc/dev: add target links to perf_counters.rst

Add target links to perf_counters.rst, to remedy the failure to backport
the docs changes in https://github.com/ceph/ceph/pull/53003.
(https://github.com/ceph/ceph/pull/53003 mixed code and docs changes, so
it is understandable why the backport was not achieved back in October,
when the merge to main occurred.)

Signed-off-by: Zac Dover <zac.dover@proton.me>
13 months ago.github: expand tests label to all files under qa 57727/head
Ilya Dryomov [Thu, 23 May 2024 16:15:08 +0000 (18:15 +0200)]
.github: expand tests label to all files under qa

The test job definition under qa/suites is an integral part of almost
any test.  Often, the test logic is split between the task or workunit
and respective snippet(s) under qa/suites.

Other files under qa are less used, but still related to nothing but
testing, so just add the label on all of it.

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

13 months ago.github: sync the list of paths for rbd label with CODEOWNERS
Ilya Dryomov [Tue, 23 Apr 2024 11:00:08 +0000 (13:00 +0200)]
.github: sync the list of paths for rbd label with CODEOWNERS

With https://github.com/actions/labeler/issues/483 still pending, do it
manually.

A couple of entries matching both files and directories were expanded
since, unlike fnmatch(3), minimatch treats slashes specially:

- src/include/rbd* -> src/include/rbd* src/include/rbd/**
- src/rbd*         -> src/rbd* src/rbd*/**
- src/test/rbd*    -> src/test/rbd* src/test/rbd*/**

A bunch of entries under src/tools were combined into:

- src/tools/rbd*/**

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

13 months agoCODEOWNERS: assign ceph-rbd-mirror systemd service to RBD
Ilya Dryomov [Tue, 23 Apr 2024 10:57:49 +0000 (12:57 +0200)]
CODEOWNERS: assign ceph-rbd-mirror systemd service to RBD

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

13 months agoMerge pull request #57707 from zdover23/wip-doc-2024-05-26-backport-57393-to-reef
Zac Dover [Mon, 27 May 2024 11:00:46 +0000 (21:00 +1000)]
Merge pull request #57707 from zdover23/wip-doc-2024-05-26-backport-57393-to-reef

reef: doc/man: add missing long option switches

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agoMerge pull request #57704 from zdover23/wip-doc-2024-05-26-backport-57701-to-reef
Zac Dover [Mon, 27 May 2024 11:00:19 +0000 (21:00 +1000)]
Merge pull request #57704 from zdover23/wip-doc-2024-05-26-backport-57701-to-reef

reef: doc/cephfs: disambiguate two sentences

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agodoc/man: add missing long option switches 57707/head
Patrick Donnelly [Fri, 10 May 2024 14:09:16 +0000 (10:09 -0400)]
doc/man: add missing long option switches

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit ad710c1f9395917310046a810176fca37b286fab)

13 months agodoc/cephfs: disambiguate two sentences 57704/head
Zac Dover [Sat, 25 May 2024 08:41:03 +0000 (18:41 +1000)]
doc/cephfs: disambiguate two sentences

Rewrite two sentences so that they are unambgiuously in the indicative
mood and not, as they previously seemed, in the imperative mood.

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

13 months agoMerge pull request #57666 from zdover23/wip-doc-2024-05-24-backport-57567-to-reef
Zac Dover [Sat, 25 May 2024 08:28:38 +0000 (18:28 +1000)]
Merge pull request #57666 from zdover23/wip-doc-2024-05-24-backport-57567-to-reef

reef: doc/cephfs: edit "Cloning Snapshots" in fs-volumes.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agoMerge pull request #57663 from zdover23/wip-doc-2024-05-24-backport-57574-to-reef
Zac Dover [Sat, 25 May 2024 07:57:49 +0000 (17:57 +1000)]
Merge pull request #57663 from zdover23/wip-doc-2024-05-24-backport-57574-to-reef

reef: doc/cephfs: edit "Pinning Subvolumes..."

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agoMerge pull request #57669 from zdover23/wip-doc-2024-05-24-backport-57554-to-reef
Zac Dover [Sat, 25 May 2024 07:16:36 +0000 (17:16 +1000)]
Merge pull request #57669 from zdover23/wip-doc-2024-05-24-backport-57554-to-reef

reef: doc/cephfs: separate commands into sections

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agodoc/cephfs: edit "Cloning Snapshots" in fs-volumes.rst 57666/head
Zac Dover [Mon, 20 May 2024 11:55:16 +0000 (21:55 +1000)]
doc/cephfs: edit "Cloning Snapshots" in fs-volumes.rst

Edit the "Cloning Snapshots" section in doc/cephfs/fs-volumes.rst. This
commit represents only a grammar pass. A future commit (and future PR)
will separate this section into subsections by command.

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

13 months agodoc/cephfs: edit "Pinning Subvolumes..." 57663/head
Zac Dover [Mon, 20 May 2024 15:07:14 +0000 (01:07 +1000)]
doc/cephfs: edit "Pinning Subvolumes..."

Edit the section "Pinning Subvolumes and Subvolume Groups" in
doc/cephfs/fs-volumes.rst. This is merely a grammar edit.

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

13 months agoMerge pull request #57647 from zdover23/wip-doc-2024-05-23-backport-57633-to-reef
Zac Dover [Sat, 25 May 2024 07:07:26 +0000 (17:07 +1000)]
Merge pull request #57647 from zdover23/wip-doc-2024-05-23-backport-57633-to-reef

reef: doc: clarify use of location: in host spec

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Adam King <adking@redhat.com>
13 months agoMerge pull request #57644 from zdover23/wip-doc-2024-05-23-backport-57642-to-reef
Zac Dover [Thu, 23 May 2024 15:05:53 +0000 (01:05 +1000)]
Merge pull request #57644 from zdover23/wip-doc-2024-05-23-backport-57642-to-reef

reef: doc/dev/release-process.rst: note new 'project' arguments

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agodoc/cephfs: separate commands into sections 57669/head
Zac Dover [Mon, 20 May 2024 06:29:44 +0000 (16:29 +1000)]
doc/cephfs: separate commands into sections

Separate commands so that each command has its own subsection in the
section "FS Subvolumes" in the file doc/cephfs/fs-volumes.rst.
Previously, the list of commands for manipulating subvolumes was one
long, unbroken list and the beginning of one section could easily be
mistaken for the end of the previous section.

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

13 months agoexporter: fix regex for rgw sync metrics 57658/head
Avan Thakkar [Fri, 22 Mar 2024 21:52:53 +0000 (03:22 +0530)]
exporter: fix regex for rgw sync metrics

Fixes: https://tracker.ceph.com/issues/65091
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit d9d8cbeed5cb92a15727795ac5f63338e93d47a3)

13 months agodoc: clarify use of location: in host spec 57647/head
Matthew Vernon [Wed, 22 May 2024 15:31:33 +0000 (16:31 +0100)]
doc: clarify use of location: in host spec

It wasn't clear that you can specify more than one element of the CRUSH hierarchy in a spec file, nor that it might be useful to do so (e.g. to ensure the host ends up beneath the default root).

So update the text to make it clearer, and similarly the example.

Signed-off-by: Matthew Vernon <mvernon@wikimedia.org>
(cherry picked from commit 2366391ccec0fb6d8a1c159d6e3cdf5ff4f1d603)

13 months agodoc/dev/release-process.rst: note new 'project' arguments 57644/head
Dan Mick [Wed, 22 May 2024 22:25:51 +0000 (15:25 -0700)]
doc/dev/release-process.rst: note new 'project' arguments

Support added to the release scripts (from ceph-build.git) to
work for ceph-iscsi, so 'project' must be passed to these scripts,
and will appear in the prerelease pathnames.  See also
https://github.com/ceph/ceph-build/pull/2243 and
https://github.com/ceph/ceph-container/pull/2210

Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit 7e64c6386e3571c657e0889ef12449e5b43f751a)

13 months agomgr/dashboard: add path validation for pseudo path of nfs export 57637/head
avanthakkar [Fri, 6 Oct 2023 13:40:48 +0000 (19:10 +0530)]
mgr/dashboard: add path validation for pseudo path of nfs export

Fixes: https://tracker.ceph.com/issues/63124
Signed-off-by: avanthakkar <avanjohn@gmail.com>
(cherry picked from commit adeea099a57d34a63b483899a40c22b7bfb8c999)

13 months agoMerge pull request #53717 from leonid-s-usov/bp/msg-wait/reef
Leonid S. Usov [Wed, 22 May 2024 14:25:32 +0000 (17:25 +0300)]
Merge pull request #53717 from leonid-s-usov/bp/msg-wait/reef

reef: msg/AsyncMessenger: re-evaluate the stop condition when woken up in 'wait()'

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
13 months agoMerge pull request #57219 from rhcs-dashboard/wip-65756-reef
Nizamudeen A [Wed, 22 May 2024 08:17:53 +0000 (04:17 -0400)]
Merge pull request #57219 from rhcs-dashboard/wip-65756-reef

reef: mgr/dashboard: exclude cloned-deleted RBD snaps

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
13 months agoqa/suites/krbd: krbd_rxbounce.sh needs g++ installed 57030/head
Ilya Dryomov [Sat, 13 Apr 2024 07:59:03 +0000 (09:59 +0200)]
qa/suites/krbd: krbd_rxbounce.sh needs g++ installed

It happens implicitly on Ubuntu, but not on CentOS Stream 8.

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

13 months agoqa: krbd_msgr_segments.t: adapt to different vgremove outputs
Ilya Dryomov [Sat, 13 Apr 2024 07:44:21 +0000 (09:44 +0200)]
qa: krbd_msgr_segments.t: adapt to different vgremove outputs

Some versions of lvm put a dot at the end.

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

14 months agoMerge pull request #57543 from zdover23/wip-doc-2024-05-19-backport-57534-to-reef-2
Zac Dover [Sun, 19 May 2024 00:52:24 +0000 (10:52 +1000)]
Merge pull request #57543 from zdover23/wip-doc-2024-05-19-backport-57534-to-reef-2

reef: doc/cephfs: edit fs-volumes.rst (2 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
14 months agodoc/cephfs: edit fs-volumes.rst (2 of x) 57543/head
Zac Dover [Fri, 17 May 2024 10:46:28 +0000 (20:46 +1000)]
doc/cephfs: edit fs-volumes.rst (2 of x)

Edit doc/cephfs/fs-volumes to the section "Cloning Snapshots" (but not
including the section "Cloning Snapshots".

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

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

14 months agoMerge pull request #57464 from idryomov/wip-51845-reef
Ilya Dryomov [Wed, 15 May 2024 11:06:14 +0000 (13:06 +0200)]
Merge pull request #57464 from idryomov/wip-51845-reef

reef: qa/suites/krbd: drop pre-single-major and move "layering only" coverage

Reviewed-by: Ramana Raja <rraja@redhat.com>
14 months agoqa/suites/krbd: rename no-object-map to no-exclusive-lock 57464/head
Ilya Dryomov [Mon, 13 May 2024 11:45:26 +0000 (13:45 +0200)]
qa/suites/krbd: rename no-object-map to no-exclusive-lock

Exclusive lock has always been disabled by this facet, so it might as
well be reflected in its name.

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

14 months agoqa/suites/krbd: move "layering only" coverage to fsx
Ilya Dryomov [Mon, 13 May 2024 11:31:17 +0000 (13:31 +0200)]
qa/suites/krbd: move "layering only" coverage to fsx

It makes much more sense there since it's where we actually create
clones and flatten them a lot.

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

14 months agoqa/suites/krbd: drop pre-single-major test
Ilya Dryomov [Sun, 12 May 2024 09:15:36 +0000 (11:15 +0200)]
qa/suites/krbd: drop pre-single-major test

Single-major mapping scheme was introduced in 2014 and became the
default in 2017.  It's getting increasingly difficult to build and,
more importantly, to boot a 10 year old kernel with recent userspace
(systemd, etc).  If someone is still running such a kernel, it's
really unlikely that they would have the most recent rbd CLI tool
installed.

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

14 months agoMerge pull request #57427 from zdover23/wip-doc-2024-05-13-backport-57420-to-reef
Anthony D'Atri [Sun, 12 May 2024 21:37:10 +0000 (17:37 -0400)]
Merge pull request #57427 from zdover23/wip-doc-2024-05-13-backport-57420-to-reef

reef: doc/cephfs: edit fs-volumes.rst (1 of x) followup

14 months agodoc/cephfs: edit fs-volumes.rst (1 of x) followup 57427/head
Zac Dover [Sun, 12 May 2024 01:39:34 +0000 (11:39 +1000)]
doc/cephfs: edit fs-volumes.rst (1 of x) followup

Include the suggestions for improving doc/cephfs/fs-volumes.rst made by
Anthony D'Atri here
https://github.com/ceph/ceph/pull/57415#discussion_r1597362110

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

14 months agoMerge pull request #57418 from zdover23/wip-doc-2024-05-12-backport-57415-to-reef
Zac Dover [Sun, 12 May 2024 20:54:40 +0000 (06:54 +1000)]
Merge pull request #57418 from zdover23/wip-doc-2024-05-12-backport-57415-to-reef

reef: doc/cephfs: edit fs-volumes.rst (1 of x)

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
14 months agoMerge pull request #57423 from zdover23/wip-doc-2024-05-12-backport-57421-to-reef
Anthony D'Atri [Sun, 12 May 2024 05:27:04 +0000 (01:27 -0400)]
Merge pull request #57423 from zdover23/wip-doc-2024-05-12-backport-57421-to-reef

reef: doc/dev: s/to asses/to assess/

14 months agodoc/dev: s/to asses/to assess/ 57423/head
Zac Dover [Sun, 12 May 2024 02:27:23 +0000 (12:27 +1000)]
doc/dev: s/to asses/to assess/

s/to asses/to assess/ in doc/deve/developer_guide/dash-devel.

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

14 months agodoc/cephfs: edit fs-volumes.rst (1 of x) 57418/head
Zac Dover [Sat, 11 May 2024 04:57:23 +0000 (14:57 +1000)]
doc/cephfs: edit fs-volumes.rst (1 of x)

Edit doc/cephfs/fs-volumes to the section "FS Subvolumes" (but not
including the section "FS Subvolumes").

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

14 months agoMerge pull request #57365 from zdover23/wip-doc-2024-05-09-radosgw-bucketpolicy-reef
Zac Dover [Sat, 11 May 2024 23:04:58 +0000 (09:04 +1000)]
Merge pull request #57365 from zdover23/wip-doc-2024-05-09-radosgw-bucketpolicy-reef

reef: doc/radosgw: update Reef S3 action list

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
14 months agoMerge PR #57343 into reef
Patrick Donnelly [Sat, 11 May 2024 01:27:08 +0000 (21:27 -0400)]
Merge PR #57343 into reef

* refs/pull/57343/head:
reef: qa: do not use `fs authorize` for two fs
PendingReleaseNotes: add note on the client incompatibility health warning and feature bit
doc/cephfs: add client_mds_auth_caps client feature bit
doc/cephfs: add missing client feature bits
doc/cephfs: document MDS_CLIENTS_BROKEN_ROOTSQUASH health error
qa: add tests for MDS_CLIENTS_BROKEN_ROOTSQUASH
mds: raise health warning if client lacks feature for root_squash
mon/MDSMonitor: add note about missing metadata inclusion
mds: check relevant caps for fs include root_squash
mds: refactor out fs_name match in MDSAuthCaps
qa: test for root_squash with multiple caps
qa: pass kwargs to mount from remount
qa: simplify update_attrs and only update relevant keys
client: allow overriding client features

Tested-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
14 months agoMerge PR #57375 into reef
Patrick Donnelly [Sat, 11 May 2024 01:26:09 +0000 (21:26 -0400)]
Merge PR #57375 into reef

* refs/pull/57375/head:
cmake/arrow: don't treat warnings as errors

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
14 months agoMerge PR #57373 into reef
Patrick Donnelly [Sat, 11 May 2024 01:24:16 +0000 (21:24 -0400)]
Merge PR #57373 into reef

* refs/pull/57373/head:
mon/MDSMonitor: fix assert crash in `fs swap`

14 months agoMerge PR #57357 into reef
Patrick Donnelly [Sat, 11 May 2024 01:23:38 +0000 (21:23 -0400)]
Merge PR #57357 into reef

* refs/pull/57357/head:
ceph.spec.in: remove command-with-macro line

Reviewed-by: John Mulligan <jmulligan@redhat.com>
14 months agoreef: qa: do not use `fs authorize` for two fs 57343/head
Patrick Donnelly [Thu, 9 May 2024 01:38:56 +0000 (21:38 -0400)]
reef: qa: do not use `fs authorize` for two fs

This support was only recently added in squid.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
14 months agodoc/radosgw: update Reef S3 action list 57365/head
Zac Dover [Wed, 8 May 2024 22:25:26 +0000 (08:25 +1000)]
doc/radosgw: update Reef S3 action list

Update the list of S3 actions supported in the Reef release of Ceph.

Note: the list of S3 actions supported in Reef is not the list of S3
actions supported in Squid or in Quincy.

Co-authored-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
14 months agoMerge pull request #57336 from zdover23/wip-doc-2024-05-08-backport-57298-to-reef
Zac Dover [Fri, 10 May 2024 11:12:25 +0000 (21:12 +1000)]
Merge pull request #57336 from zdover23/wip-doc-2024-05-08-backport-57298-to-reef

reef: doc/mgr: edit "Overview" in dashboard.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
14 months agoMerge pull request #57296 from zdover23/wip-doc-2024-05-07-backport-57273-to-reef
Zac Dover [Fri, 10 May 2024 11:05:55 +0000 (21:05 +1000)]
Merge pull request #57296 from zdover23/wip-doc-2024-05-07-backport-57273-to-reef

reef: doc/mgr: edit "Resolve IP address to hostname before redirect"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
14 months agoMerge pull request #57371 from weirdwiz/wip-65880-reef
Avan [Fri, 10 May 2024 10:14:14 +0000 (15:44 +0530)]
Merge pull request #57371 from weirdwiz/wip-65880-reef

reef: exporter: handle exceptions gracefully

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
14 months agocmake/arrow: don't treat warnings as errors 57375/head
Casey Bodley [Wed, 24 Jan 2024 14:44:25 +0000 (09:44 -0500)]
cmake/arrow: don't treat warnings as errors

with arrow's default BUILD_WARNING_LEVEL, -Werror is added to cflags and
debug builds fail on a warning about _FORTIFY_SOURCE

Fixes: https://tracker.ceph.com/issues/63130
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 5c1a57a1afed1e4a632fb6df6de34ff9689460db)

14 months agomon/MDSMonitor: fix assert crash in `fs swap` 57373/head
Patrick Donnelly [Thu, 9 May 2024 13:07:28 +0000 (09:07 -0400)]
mon/MDSMonitor: fix assert crash in `fs swap`

Paxos is plugged differently between main and reef.

Fixes: f11cf2b6dc5974d0e63d83f50e4e18e828df8e8e
Fixes: https://tracker.ceph.com/issues/65883
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
14 months agoPendingReleaseNotes: add note on the client incompatibility health warning and featur...
Patrick Donnelly [Fri, 3 May 2024 00:45:43 +0000 (20:45 -0400)]
PendingReleaseNotes: add note on the client incompatibility health warning and feature bit

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit e70f005f1b2f4ba5466d254ec4a6432297d3fbf4)

14 months agodoc/cephfs: add client_mds_auth_caps client feature bit
Patrick Donnelly [Fri, 3 May 2024 00:46:17 +0000 (20:46 -0400)]
doc/cephfs: add client_mds_auth_caps client feature bit

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 536b47cbfc669b5a3f04d93964408a2258d05ad0)

14 months agodoc/cephfs: add missing client feature bits
Patrick Donnelly [Fri, 3 May 2024 00:38:19 +0000 (20:38 -0400)]
doc/cephfs: add missing client feature bits

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 79ba8970d7cbc714e160d5957bd849eede93e5a3)