]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
22 months agoqa: Add test for per-module finisher thread 51045/head
Kotresh HR [Fri, 4 Nov 2022 10:36:20 +0000 (16:06 +0530)]
qa: Add test for per-module finisher thread

Fixes: https://tracker.ceph.com/issues/51177
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit 2c2ef6d56b583a7a27fd7e99359cdabb2fd37fb5)

Conflicts:
  Removed 'telemetry diff' command used for testing
as it's not present in pacific.

2 years agoqa: allow check_counter to look at nested keys
Patrick Donnelly [Thu, 23 Jun 2022 15:37:14 +0000 (11:37 -0400)]
qa: allow check_counter to look at nested keys

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

2 years agoqa: allow specifying min for check-counter
Patrick Donnelly [Sat, 11 Jun 2022 00:35:32 +0000 (20:35 -0400)]
qa: allow specifying min for check-counter

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

2 years agomgr: Add one finisher thread per module
Kotresh HR [Mon, 17 Oct 2022 11:49:17 +0000 (17:19 +0530)]
mgr: Add one finisher thread per module

Adds a finisher thread for each module. Each module command is
executed via corresponding finisher thread. There is generic
finisher thread via which all other commands like notify, config
is run.

Fixes: https://tracker.ceph.com/issues/51177
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit 46de6431603a56fa9ca2a7c7c9c795f126d16452)

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

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

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

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

2 years agodoc/rados/operations: edit monitoring.rst 51037/head
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 #50872 from idryomov/wip-59208-pacific
Yuri Weinstein [Tue, 11 Apr 2023 20:05:42 +0000 (13:05 -0700)]
Merge pull request #50872 from idryomov/wip-59208-pacific

pacific: librbd: fix wrong attribute for rbd_quiesce_complete API

Reviewed-by: Mykola Golub <mgolub@suse.com>
2 years agoMerge pull request #50836 from pkalever/wip-59061-pacific
Yuri Weinstein [Tue, 11 Apr 2023 20:04:32 +0000 (13:04 -0700)]
Merge pull request #50836 from pkalever/wip-59061-pacific

pacific: librbd: report better errors when failing to enable mirroring on an image

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #50940 from cbodley/wip-qa-rgw-multifs-ubuntu-pacific
Yuri Weinstein [Tue, 11 Apr 2023 19:38:09 +0000 (12:38 -0700)]
Merge pull request #50940 from cbodley/wip-qa-rgw-multifs-ubuntu-pacific

pacific: qa/rgw: use symlinks to specify distro

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2 years agoMerge pull request #50886 from cfsnyder/wip-58511-pacific
Yuri Weinstein [Tue, 11 Apr 2023 19:36:49 +0000 (12:36 -0700)]
Merge pull request #50886 from cfsnyder/wip-58511-pacific

 pacific: rgw: optimizations for handling ECANCELED errors from within get_obj_state

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #49097 from cfsnyder/wip-57238-pacific
Yuri Weinstein [Tue, 11 Apr 2023 19:36:15 +0000 (12:36 -0700)]
Merge pull request #49097 from cfsnyder/wip-57238-pacific

pacific: rgw/coroutine: check for null stack on wakeup

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #49091 from cfsnyder/wip-54155-pacific
Yuri Weinstein [Tue, 11 Apr 2023 19:35:49 +0000 (12:35 -0700)]
Merge pull request #49091 from cfsnyder/wip-54155-pacific

pacific: rgw: "reshard cancel" errors with "invalid argument"

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #49089 from cfsnyder/wip-55505-pacific
Yuri Weinstein [Tue, 11 Apr 2023 19:35:21 +0000 (12:35 -0700)]
Merge pull request #49089 from cfsnyder/wip-55505-pacific

pacific: rgw: RGWPutLC does not require Content-MD5

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #49086 from cfsnyder/wip-57409-pacific
Yuri Weinstein [Tue, 11 Apr 2023 19:34:46 +0000 (12:34 -0700)]
Merge pull request #49086 from cfsnyder/wip-57409-pacific

pacific: rgw: bucket list operation slow down in special scenario

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #50624 from cbodley/wip-58275
Yuri Weinstein [Tue, 11 Apr 2023 19:29:38 +0000 (12:29 -0700)]
Merge pull request #50624 from cbodley/wip-58275

pacific: rgw: rgw_parse_url_bucket() rejects empty bucket names after 'tenant:'

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2 years agoMerge pull request #49327 from cfsnyder/wip-58211-pacific
Yuri Weinstein [Tue, 11 Apr 2023 19:28:35 +0000 (12:28 -0700)]
Merge pull request #49327 from cfsnyder/wip-58211-pacific

pacific: rgw: concurrency for multi object deletes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoceph-volume/tests: fix an issue with rpm 50996/head
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 agoMerge pull request #50917 from rhcs-dashboard/custom-image-kcli-pacific
Nizamudeen A [Tue, 11 Apr 2023 10:11:37 +0000 (15:41 +0530)]
Merge pull request #50917 from rhcs-dashboard/custom-image-kcli-pacific

pacific: mgr/dashboard: custom image for kcli bootstrap script

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
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 #50914 from rhcs-dashboard/wip-59347-pacific
Nizamudeen A [Tue, 11 Apr 2023 05:27:45 +0000 (10:57 +0530)]
Merge pull request #50914 from rhcs-dashboard/wip-59347-pacific

pacific: mgr/dashboard: ignore the rules 400 error in dashboard kcli e2e

Reviewed-by: Pegonzal <NOT@FOUND>
2 years agoMerge pull request #50121 from rhcs-dashboard/wip-57830-pacific
Nizamudeen A [Tue, 11 Apr 2023 05:25:49 +0000 (10:55 +0530)]
Merge pull request #50121 from rhcs-dashboard/wip-57830-pacific

pacific: mgr/dashboard: fix weird data in osd details

Reviewed-by: Pegonzal <NOT@FOUND>
2 years agoMerge pull request #50968 from zdover23/wip-doc-2023-04-10-backport-50828-to-pacific
colemitchell [Tue, 11 Apr 2023 01:03:07 +0000 (21:03 -0400)]
Merge pull request #50968 from zdover23/wip-doc-2023-04-10-backport-50828-to-pacific

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

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agoMerge pull request #50878 from guits/wip-59311-pacific
Guillaume Abrioux [Mon, 10 Apr 2023 18:05:40 +0000 (20:05 +0200)]
Merge pull request #50878 from guits/wip-59311-pacific

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

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

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

2 years agodoc/rados/ops: edit health-checks.rst (6 of x) 50971/head
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) 50968/head
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 #50961 from zdover23/wip-doc-2023-04-09-backport-50958-to-pacific
Anthony D'Atri [Sun, 9 Apr 2023 19:07:19 +0000 (15:07 -0400)]
Merge pull request #50961 from zdover23/wip-doc-2023-04-09-backport-50958-to-pacific

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

2 years agodoc/rados/ops: add hyphen to mon-osd-pg.rst 50961/head
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 #50957 from zdover23/wip-doc-2023-04-09-backport-50827-to-pacific
zdover23 [Sun, 9 Apr 2023 05:05:16 +0000 (15:05 +1000)]
Merge pull request #50957 from zdover23/wip-doc-2023-04-09-backport-50827-to-pacific

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

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

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

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

pacific: 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) 50957/head
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) 50954/head
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 50951/head
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 #50947 from zdover23/wip-doc-2023-04-08-backport-50863-to-pacific
zdover23 [Sat, 8 Apr 2023 04:54:09 +0000 (14:54 +1000)]
Merge pull request #50947 from zdover23/wip-doc-2023-04-08-backport-50863-to-pacific

pacific: 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 #50944 from zdover23/wip-doc-2023-04-08-backport-50795-to-pacific
zdover23 [Sat, 8 Apr 2023 04:13:52 +0000 (14:13 +1000)]
Merge pull request #50944 from zdover23/wip-doc-2023-04-08-backport-50795-to-pacific

pacific: 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) 50947/head
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 50944/head
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 #50850 from zdover23/wip-doc-2023-04-04-backport-50834-to-pacific
zdover23 [Sat, 8 Apr 2023 02:48:41 +0000 (12:48 +1000)]
Merge pull request #50850 from zdover23/wip-doc-2023-04-04-backport-50834-to-pacific

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

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agoMerge pull request #50832 from zdover23/wip-doc-2023-04-02-backport-50818-to-pacific
zdover23 [Sat, 8 Apr 2023 02:48:10 +0000 (12:48 +1000)]
Merge pull request #50832 from zdover23/wip-doc-2023-04-02-backport-50818-to-pacific

pacific: doc/cephfs: Improve fs-volumes.rst

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agoqa/rgw: move rgw/multisite valgrind config into valgrind.yaml.disabled 50940/head
Casey Bodley [Mon, 12 Apr 2021 16:04:22 +0000 (12:04 -0400)]
qa/rgw: move rgw/multisite valgrind config into valgrind.yaml.disabled

the valgrind coverage wasn't enabled, and it will take a lot more work
before we can reenable

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 8f27c845bec7b4c68e5252734dc96e1dc3391976)

2 years agoqa/rgw: rgw/multisite uses supported-random-distro$
Casey Bodley [Mon, 12 Apr 2021 16:06:29 +0000 (12:06 -0400)]
qa/rgw: rgw/multisite uses supported-random-distro$

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 1942095a320d222c6cac972a4f0dc768e999c313)

2 years agoqa/rgw: rgw/tempest uses ubuntu_latest.yaml
Casey Bodley [Mon, 12 Apr 2021 16:30:01 +0000 (12:30 -0400)]
qa/rgw: rgw/tempest uses ubuntu_latest.yaml

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit bbefbd3146b9b5a7bef187db41409c6b5f76a827)

2 years agoqa/rgw: rgw/thrash uses ubuntu_latest.yaml
Casey Bodley [Mon, 12 Apr 2021 16:27:27 +0000 (12:27 -0400)]
qa/rgw: rgw/thrash uses ubuntu_latest.yaml

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 09c93945a7490c38bcabc422e7f600a596c1126a)

2 years agoqa/rgw: rgw/multifs uses ubuntu_latest.yaml
Casey Bodley [Mon, 12 Apr 2021 16:28:14 +0000 (12:28 -0400)]
qa/rgw: rgw/multifs uses ubuntu_latest.yaml

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 0a4437ba6fe545b9e768edb725ab1285681e4c8c)

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

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

2 years agodoc/rados/ops: line-edit operating.rst 50935/head
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 agodoc/cephfs: Improve fs-volumes.rst 50832/head
Anthony D'Atri [Fri, 31 Mar 2023 13:37:52 +0000 (09:37 -0400)]
doc/cephfs: Improve fs-volumes.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit c8e1f3ac3db513004fbfbb0049757ddc2bca291a)

2 years agodoc/rados: edit ops/monitoring.rst (2 of 3) 50850/head
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 PR #50923 into pacific
Patrick Donnelly [Thu, 6 Apr 2023 17:51:50 +0000 (13:51 -0400)]
Merge PR #50923 into pacific

* refs/pull/50923/head:
qa: load file system info if not created

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge PR #50860 into pacific
Patrick Donnelly [Thu, 6 Apr 2023 17:50:07 +0000 (13:50 -0400)]
Merge PR #50860 into pacific

* refs/pull/50860/head:
qa: simplify and use correct recovery procedure
doc: update alternate meta pool recovery
tools/cephfs/DataScan: add debugging for directory injection

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge PR #50784 into pacific
Patrick Donnelly [Thu, 6 Apr 2023 17:49:08 +0000 (13:49 -0400)]
Merge PR #50784 into pacific

* refs/pull/50784/head:
tools/cephfs: include lost+found in scan_links

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge PR #50781 into pacific
Patrick Donnelly [Thu, 6 Apr 2023 17:48:10 +0000 (13:48 -0400)]
Merge PR #50781 into pacific

* refs/pull/50781/head:
mds: add config to decide whether to mark dentry bad
qa: add missing scan_links step for data scan recovery
qa/tasks/cephfs: test damage to dentry's first is caught
qa/tasks/cephfs: use rank_asok and allow specifying rank
qa/tasks: allow specifying timeout command prefix to ceph
mds: provide test configs for creating first corruption
mds: catch damage to dentry's first field
mds: add debugging for pre_cow_old_inode
mds: cleanup code
mds: check for some dentry damage in scrub
mds: remove unused method
mds: note damaged dentry with first gt last
mds: cluster log scrub failure for dirfrag
mds: mark dirfrag good if repaired
mds: only dump past_parent_snap if non-empty

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge PR #50775 into pacific
Patrick Donnelly [Thu, 6 Apr 2023 17:47:19 +0000 (13:47 -0400)]
Merge PR #50775 into pacific

* refs/pull/50775/head:
qa: ignore expected scrub error

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge PR #50760 into pacific
Patrick Donnelly [Thu, 6 Apr 2023 17:46:18 +0000 (13:46 -0400)]
Merge PR #50760 into pacific

* refs/pull/50760/head:
qa: lengthen health warning wait

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge PR #50757 into pacific
Patrick Donnelly [Thu, 6 Apr 2023 17:41:27 +0000 (13:41 -0400)]
Merge PR #50757 into pacific

* refs/pull/50757/head:
qa: ignore MDS_TRIM warnings when osd thrashing

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #50913 from zdover23/wip-doc-2023-04-06-backport-50825-to-pacific
Anthony D'Atri [Thu, 6 Apr 2023 16:06:01 +0000 (12:06 -0400)]
Merge pull request #50913 from zdover23/wip-doc-2023-04-06-backport-50825-to-pacific

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

2 years agoqa: load file system info if not created 50923/head
Patrick Donnelly [Wed, 5 Apr 2023 19:25:38 +0000 (15:25 -0400)]
qa: load file system info if not created

Mounts may create a Filesystem object which does not create the file
system. This causes self.id to be Null when we try to wait for daemons
to be up. Load it just in time!

Fixes: https://tracker.ceph.com/issues/59332
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 69565dbbf124e29f30dae989eae41eada161a4b4)

2 years agomgr/dashboard: custom image for kcli bootstrap script 50917/head
Nizamudeen A [Thu, 9 Mar 2023 11:51:44 +0000 (17:21 +0530)]
mgr/dashboard: custom image for kcli bootstrap script

the stable branches like quincy pulls from the quay.io/ceph/ceph:v17 to
bootstrap the ceph cluster in test environments. This will cause issues
because the branches are changing constantly but the image is not. So
using the quay.ceph.io repo to bring the cluster in test environment.

Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit be8f1e7f4a81dbf04692446edcc429d93d59e09d)

 Conflicts:
src/pybind/mgr/dashboard/ci/cephadm/bootstrap-cluster.sh
  - Reject the incoming changes and change the image tag to quincy

(cherry picked from commit 826ce66c5a868e7940a0f24aa385c9f9b38acafc)

2 years agomgr/dashboard: ignore the rules 400 error in dashboard kcli e2e 50914/head
Nizamudeen A [Tue, 14 Feb 2023 15:34:26 +0000 (21:04 +0530)]
mgr/dashboard: ignore the rules 400 error in dashboard kcli e2e

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

2 years agoMerge pull request #50123 from rhcs-dashboard/wip-57433-pacific
Nizamudeen A [Thu, 6 Apr 2023 06:20:15 +0000 (11:50 +0530)]
Merge pull request #50123 from rhcs-dashboard/wip-57433-pacific

pacific: mgr/dashboard: fix "can't read .ssh/known_hosts: No such file or directory

Reviewed-by: Pegonzal <NOT@FOUND>
2 years agodoc/rados/ops: edit health-checks.rst (2 of x) 50913/head
Zac Dover [Sat, 1 Apr 2023 20:05:41 +0000 (06:05 +1000)]
doc/rados/ops: edit health-checks.rst (2 of x)

Edit docs/rados/operations/health-checks.rst (2 of x). PR#50674, the PR
that immediately precedes this PR in the series of PRs that line-edit
health-checks.rst, wrongly identified this series as having five
sections. This has been rectified by using the "2 of x" formulation.

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

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

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

2 years agoMerge pull request #50036 from batrick/i52247
Yuri Weinstein [Wed, 5 Apr 2023 21:27:11 +0000 (14:27 -0700)]
Merge pull request #50036 from batrick/i52247

pacific: libcephsqlite: CheckReservedLock the result will always be zero

Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #50092 from petrutlucian94/wip-58703-pacific
Yuri Weinstein [Wed, 5 Apr 2023 21:24:23 +0000 (14:24 -0700)]
Merge pull request #50092 from petrutlucian94/wip-58703-pacific

pacific: os/memstore: Fix memory leak

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #50072 from ifed01/wip-ifed-more-pin-fix-pac
Yuri Weinstein [Wed, 5 Apr 2023 21:23:11 +0000 (14:23 -0700)]
Merge pull request #50072 from ifed01/wip-ifed-more-pin-fix-pac

pacific: os/bluestore: fix onode ref counting

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2 years agoMerge pull request #49937 from NitzanMordhai/wip-58613-pacific
Yuri Weinstein [Wed, 5 Apr 2023 21:21:35 +0000 (14:21 -0700)]
Merge pull request #49937 from NitzanMordhai/wip-58613-pacific

pacific: Wip nitzan pglog ec getattr error

Reviewed-by: Neha Ojha <nojha@redhat.com>
2 years agoMerge pull request #49830 from tserong/wip-58533-pacific
Yuri Weinstein [Wed, 5 Apr 2023 21:20:33 +0000 (14:20 -0700)]
Merge pull request #49830 from tserong/wip-58533-pacific

pacific: ceph.spec.in: Replace %usrmerged macro with regular version check

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agomgr/dashboard: auto-coloring-badges-component 50121/head
Pedro Gonzalez Gomez [Tue, 5 Jul 2022 09:40:01 +0000 (11:40 +0200)]
mgr/dashboard: auto-coloring-badges-component

Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit 29f510a522b2694903d095ac0ec45ee23c474121)

2 years agorgw: optimizations for handling ECANCELED errors within get_obj_state 50886/head
Cory Snyder [Mon, 25 Jul 2022 20:04:09 +0000 (16:04 -0400)]
rgw: optimizations for handling ECANCELED errors within get_obj_state

These optimizations for handling ECANCELED errors should prevent
some needless RADOS queries upstream.

Signed-off-by: Cory Snyder <csnyder@iland.com>
(cherry picked from commit 01982c894386dd4430f99e453d92f9241cb18e9e)

2 years agoceph-volume: fix issue with fast device allocs when there are multiple PVs per VG 50878/head
Cory Snyder [Mon, 27 Feb 2023 09:48:08 +0000 (04:48 -0500)]
ceph-volume: fix issue with fast device allocs when there are multiple PVs per VG

Fixes a regression with fast device allocations when there are multiple PVs
per VG. This is the case for clusters that were deployed prior to v15.2.8.

Fixes: https://tracker.ceph.com/issues/58857
Signed-off-by: Cory Snyder <csnyder@1111systems.com>
(cherry picked from commit efcf71be18eb25be10a574d54b70229753538664)

2 years agoceph-volume: add test case to reproduce bug in get_physical_fast_allocs
Cory Snyder [Mon, 27 Feb 2023 09:45:47 +0000 (04:45 -0500)]
ceph-volume: add test case to reproduce bug in get_physical_fast_allocs

Adds a test case to reproduce a bug with get_physical_fast_allocs for
clusters that have multiple fast device PVs in a single VG (deployed
prior to v15.2.8). Also fixes other test cases for this function
to more accurately represent reality.

Signed-off-by: Cory Snyder <csnyder@1111systems.com>
(cherry picked from commit 02592cb0a5970f861d25a521579c30639d10b007)

2 years agoMerge pull request #50870 from rhcs-dashboard/wip-59321-pacific
Nizamudeen A [Wed, 5 Apr 2023 14:42:09 +0000 (20:12 +0530)]
Merge pull request #50870 from rhcs-dashboard/wip-59321-pacific

pacific: mgr/dashboard: fix displaying mirror image progress

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #47725 from rhcs-dashboard/wip-57217-pacific
Nizamudeen A [Wed, 5 Apr 2023 14:38:35 +0000 (20:08 +0530)]
Merge pull request #47725 from rhcs-dashboard/wip-57217-pacific

pacific: mgr/dashboard: Hide maintenance option on expand cluster

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #50866 from zdover23/wip-doc-2023-04-05-backport-50855-to-pacific
Anthony D'Atri [Wed, 5 Apr 2023 13:25:52 +0000 (09:25 -0400)]
Merge pull request #50866 from zdover23/wip-doc-2023-04-05-backport-50855-to-pacific

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

2 years agolibrbd: fix wrong attribute for rbd_quiesce_complete api 50872/head
Dongsheng Yang [Wed, 15 Mar 2023 06:54:39 +0000 (06:54 +0000)]
librbd: fix wrong attribute for rbd_quiesce_complete api

When we use rbd_quiesce_complete api, we got an error:
/usr/bin/ld: undefined reference to `rbd_quiesce_complete'

Then we found the problem is the symbol of rbd_quiesce_complete
in librbd.so is LOCAL. After some investigation, we found
the attribute of rbd_quiesce_complete api is CEPH_RADOS_API
rather than expected CEPH_RBD_API.

Fixes: https://tracker.ceph.com/issues/59208
Signed-off-by: Dongsheng Yang <dongsheng.yang.linux@gmail.com>
(cherry picked from commit 51a2b707a3074e000b310fc20901d5038b15ea0c)

2 years agomgr/dashboard: fix displaying mirror image progress 50870/head
Pere Diaz Bou [Mon, 3 Apr 2023 15:22:35 +0000 (17:22 +0200)]
mgr/dashboard: fix displaying mirror image progress

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

2 years agodoc/rados/ops: edit monitoring-osd-pg.rst (1 of x) 50866/head
Zac Dover [Tue, 4 Apr 2023 03:29:15 +0000 (13:29 +1000)]
doc/rados/ops: edit monitoring-osd-pg.rst (1 of x)

Line-edit doc/rados/operations/monitoring-osd-pg.rst (1 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 bd213c244e8a387c98358ac41f4802e102e89c63)

2 years agoMerge pull request #50289 from idryomov/wip-58833-pacific
Yuri Weinstein [Tue, 4 Apr 2023 15:04:16 +0000 (08:04 -0700)]
Merge pull request #50289 from idryomov/wip-58833-pacific

pacific: librbd: call apply_changes() after setting librados_thread_count

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
2 years agoqa: simplify and use correct recovery procedure 50860/head
Patrick Donnelly [Tue, 20 Sep 2022 14:57:01 +0000 (10:57 -0400)]
qa: simplify and use correct recovery procedure

Notably, this recovery procedure was missing scan_links.

Also, the test was oddly trying to recover the real file system in
addition to the recovery file system. I've removed that unnecessary
recovery.

Fixes: https://tracker.ceph.com/issues/57598
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 8512bbc01525b77583a87dfc2149fb1dec072978)

Conflicts:
qa/tasks/cephfs/filesystem.py: trivial

2 years agodoc: update alternate meta pool recovery
Patrick Donnelly [Tue, 20 Sep 2022 14:32:26 +0000 (10:32 -0400)]
doc: update alternate meta pool recovery

Streamline, clarify, and use modern commands (notably: --recover).

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

2 years agotools/cephfs/DataScan: add debugging for directory injection
Patrick Donnelly [Mon, 19 Sep 2022 17:31:40 +0000 (13:31 -0400)]
tools/cephfs/DataScan: add debugging for directory injection

Continuation of 16fc2c392b0a4de13dbe4dfcc7dad01d8e58ce40.

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

2 years agoMerge pull request #50854 from zdover23/wip-doc-2023-04-04-backport-50851-to-pacific
Anthony D'Atri [Mon, 3 Apr 2023 22:20:58 +0000 (18:20 -0400)]
Merge pull request #50854 from zdover23/wip-doc-2023-04-04-backport-50851-to-pacific

pacific: doc/rados/ops: add ceph-medic documentation

2 years agodoc/rados/ops: add ceph-medic documentation 50854/head
Zac Dover [Mon, 3 Apr 2023 20:57:27 +0000 (06:57 +1000)]
doc/rados/ops: add ceph-medic documentation

Add a link to the ceph-medic documentation to
doc/rados/operations/monitoring.rst.

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

2 years agorbd: improve log msgs when failing to enable mirroring on image 50836/head
Prasanna Kumar Kalever [Thu, 2 Mar 2023 10:29:19 +0000 (15:59 +0530)]
rbd: improve log msgs when failing to enable mirroring on image

Attempting to enable mirroring on an an image within a namespace bails
out without any useful msg.

$ rbd mirror image enable mi_pool/ns_0/big snapshot
2021-11-17T08:33:21.321+0000 7f4b36f9c2c0 -1 librbd::api::Mirror:
  image_enable: cannot enable mirroring in the current pool mirroring mode

Fixes: https://tracker.ceph.com/issues/58895
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
(cherry picked from commit 828a0dea2d40ba0c1aa0a9d4b211f0fabc854350)

2 years agoMerge pull request #50824 from zdover23/wip-doc-2023-04-01-backport-50670-to-pacific
colemitchell [Fri, 31 Mar 2023 21:29:50 +0000 (17:29 -0400)]
Merge pull request #50824 from zdover23/wip-doc-2023-04-01-backport-50670-to-pacific

pacific: doc/rados: edit ops/monitoring.rst (1 of 3)

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agodoc/rados: edit ops/monitoring.rst (1 of 3) 50824/head
Zac Dover [Sat, 25 Mar 2023 18:51:50 +0000 (04:51 +1000)]
doc/rados: edit ops/monitoring.rst (1 of 3)

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

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

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

2 years agoMerge pull request #50801 from zdover23/wip-doc-2023-03-31-backport-45354-to-pacific
Anthony D'Atri [Fri, 31 Mar 2023 13:58:23 +0000 (09:58 -0400)]
Merge pull request #50801 from zdover23/wip-doc-2023-03-31-backport-45354-to-pacific

pacific: doc/msgr2: update dual stack status

2 years agoMerge pull request #50804 from zdover23/wip-doc-2023-03-31-backport-50554-to-pacific
Anthony D'Atri [Fri, 31 Mar 2023 13:54:08 +0000 (09:54 -0400)]
Merge pull request #50804 from zdover23/wip-doc-2023-03-31-backport-50554-to-pacific

pacific: doc/rados: line-edit pg-repair.rst

2 years agoMerge pull request #50798 from zdover23/wip-doc-2023-03-31-backport-50674-to-pacific
zdover23 [Fri, 31 Mar 2023 07:15:00 +0000 (17:15 +1000)]
Merge pull request #50798 from zdover23/wip-doc-2023-03-31-backport-50674-to-pacific

pacific: doc/rados/ops: edit health-checks.rst (1 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados: line-edit pg-repair.rst 50804/head
Zac Dover [Thu, 16 Mar 2023 02:27:44 +0000 (12:27 +1000)]
doc/rados: line-edit pg-repair.rst

Line edit pg-repair.rst.

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

2 years agodoc/msgr2: update dual stack status 50801/head
Dan van der Ster [Fri, 11 Mar 2022 14:15:20 +0000 (15:15 +0100)]
doc/msgr2: update dual stack status

Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
(cherry picked from commit c7eaeb4dff1fca967046bcd9b53548eabd18012e)

2 years agodoc/rados/ops: edit health-checks.rst (1 of x) 50798/head
Zac Dover [Sat, 25 Mar 2023 20:02:19 +0000 (06:02 +1000)]
doc/rados/ops: edit health-checks.rst (1 of x)

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

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

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

2 years agoMerge pull request #50771 from zdover23/wip-doc-2023-03-30-backport-50742-to-pacific
Anthony D'Atri [Thu, 30 Mar 2023 23:58:50 +0000 (19:58 -0400)]
Merge pull request #50771 from zdover23/wip-doc-2023-03-30-backport-50742-to-pacific

pacific: doc/start: update "notify us" section

2 years agodoc/start: update "notify us" section 50771/head
Zac Dover [Wed, 29 Mar 2023 13:47:38 +0000 (23:47 +1000)]
doc/start: update "notify us" section

Rewrite the "Notify Us" section in doc/start/documenting-ceph.rst so
that it is written in English sentences.

(cherry picked from commit 613ece24777c4b222054fe9a6d82ba51949c45ea)
Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoqa: lengthen health warning wait 50760/head
Patrick Donnelly [Thu, 21 Oct 2021 01:43:54 +0000 (21:43 -0400)]
qa: lengthen health warning wait

It's just a little too short!

Fixes: https://tracker.ceph.com/issues/52995
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit c8810e46e8f28ed204ef2d39f552f96f4a6cfe39)

Conflicts:
qa/tasks/cephfs/test_failover.py

2 years agomds: add config to decide whether to mark dentry bad 50781/head
Patrick Donnelly [Wed, 29 Mar 2023 13:05:25 +0000 (09:05 -0400)]
mds: add config to decide whether to mark dentry bad

So admin can restore access to files if necessary.

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

2 years agoqa: add missing scan_links step for data scan recovery
Patrick Donnelly [Fri, 24 Mar 2023 21:54:35 +0000 (17:54 -0400)]
qa: add missing scan_links step for data scan recovery

Without, the first field remains corrupt (HEAD).

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

Conflicts:
qa/tasks/cephfs/test_data_scan.py

2 years agoqa/tasks/cephfs: test damage to dentry's first is caught
Patrick Donnelly [Wed, 18 Jan 2023 02:22:10 +0000 (21:22 -0500)]
qa/tasks/cephfs: test damage to dentry's first is caught

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