]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Adam King [Mon, 13 Nov 2023 13:40:32 +0000 (08:40 -0500)]
Merge pull request #54224 from rkachach/fix_issue_63266
reef: backport of rook orchestrator fixes and e2e automated testing
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Juan Miguel Olmo MartÃnez <jolmomar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Anthony D'Atri [Sun, 12 Nov 2023 16:58:24 +0000 (11:58 -0500)]
Merge pull request #54463 from zdover23/wip-doc-2023-11-13-backport-54457-to-reef
reef: doc/config: edit "ceph-conf.rst"
Anthony D'Atri [Sun, 12 Nov 2023 16:56:56 +0000 (11:56 -0500)]
Merge pull request #54461 from zdover23/wip-doc-2023-11-12-backport-54458-to-reef
reef: doc/rados: parallelize t-mon headings
Zac Dover [Sun, 12 Nov 2023 10:21:41 +0000 (20:21 +1000)]
doc/config: edit "ceph-conf.rst"
Edit the first section of doc/rados/configuration/ceph-conf.rst.
Initially I just wanted to change "series" to "set", but once I got my
hands dirty I ended up simplifying some sentences.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
c886e05404ce9c50454d40e692ababdc55f346c6 )
Zac Dover [Sun, 12 Nov 2023 10:52:09 +0000 (20:52 +1000)]
doc/rados: parallelize t-mon headings
Give parallel structure to the questions in the Q&A section of the "The
Cluster Has Quorum But At Least One Monitor Is Down" subsection of the
"Most Common Monitor Issues" section of
doc/rados/troubleshooting/troubleshooting-mon.rst.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
010e5a13b9e4e6a860c676f1b3090a495592d715 )
Anthony D'Atri [Sat, 11 Nov 2023 13:35:24 +0000 (08:35 -0500)]
Merge pull request #54455 from zdover23/wip-doc-2023-11-11-backport-54452-to-reef
reef: doc/rados: edit t-mon "common issues" (5 of x)
Zac Dover [Sat, 11 Nov 2023 03:45:42 +0000 (13:45 +1000)]
doc/rados: edit t-mon "common issues" (5 of x)
Edit the fifth part of the section "Most Common Monitor Issues" in
doc/rados/troubleshooting/troubleshooting-mon.rst.
Follows https://github.com/ceph/ceph/pull/54440.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
d98222db9b4436841102d23c979f05a9d958bb1f )
Anthony D'Atri [Thu, 9 Nov 2023 23:47:11 +0000 (18:47 -0500)]
Merge pull request #54443 from zdover23/wip-doc-2023-11-10-backport-54440-to-reef
reef: doc/rados: edit t-mon "common issues" (4 of x)
Zac Dover [Thu, 9 Nov 2023 19:50:21 +0000 (05:50 +1000)]
doc/rados: edit t-mon "common issues" (4 of x)
Edit the fourth part of the section "Most Common Monitor Issues" in
doc/rados/troubleshooting/troubleshooting-mon.rst.
Follows https://github.com/ceph/ceph/pull/54432.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
f6b686ac3118507baab719f1587c8c360499e929 )
Anthony D'Atri [Thu, 9 Nov 2023 21:02:03 +0000 (16:02 -0500)]
Merge pull request #54438 from zdover23/wip-doc-2023-11-10-backport-54432-to-reef
reef: doc/rados: edit t-mon "common issues" (3 of x)
Zac Dover [Thu, 9 Nov 2023 10:20:20 +0000 (20:20 +1000)]
doc/rados: edit t-mon "common issues" (3 of x)
Edit the second part of the section "Most Common Monitor Issues" in
doc/rados/troubleshooting/troubleshooting-mon.rst.
Follows https://github.com/ceph/ceph/pull/54417.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
91ed10bc734bd93605b60c87037393d2704a16bc )
Yuri Weinstein [Thu, 9 Nov 2023 18:46:09 +0000 (10:46 -0800)]
Merge pull request #54436 from ceph/wip-yuriw-quincy-x-reef
qa/tests: added - \(POOL_APP_NOT_ENABLED\) to the ignore list
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Prashant D <pdhange@redhat.com>
Yuri Weinstein [Thu, 9 Nov 2023 16:05:38 +0000 (08:05 -0800)]
qa/tests: added - \(POOL_APP_NOT_ENABLED\) to the ignore list
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Guillaume Abrioux [Thu, 9 Nov 2023 13:59:47 +0000 (14:59 +0100)]
Merge pull request #54429 from guits/wip-63491-reef
reef: ceph-volume: Revert "ceph-volume: fix raw list for lvm devices"
Matthew Booth [Tue, 7 Nov 2023 19:58:16 +0000 (19:58 +0000)]
ceph-volume: fix raw list for non-existent device
ceph-volume should not crash when given a device which doesn't exist.
Fixes: https://tracker.ceph.com/issues/63391
Signed-off-by: Matthew Booth <mbooth@redhat.com>
(cherry picked from commit
e009b1a319c834a504947423ae1dd55387809235 )
(cherry picked from commit
0e17f8b5aebb51ee69ce0689dabe2a9111055716 )
Guillaume Abrioux [Tue, 7 Nov 2023 13:39:50 +0000 (14:39 +0100)]
ceph-volume: Revert "ceph-volume: fix raw list for lvm devices"
This reverts commit
e5e429617c1c27dcd631171f65d30571e32f7266 .
This commit introduced a regression, see linked tracker for details.
Fixes: https://tracker.ceph.com/issues/63391
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit
916a22ef031953056771eceb1f49cab7eb746978 )
Anthony D'Atri [Thu, 9 Nov 2023 04:45:09 +0000 (23:45 -0500)]
Merge pull request #54427 from zdover23/wip-doc-2023-11-09-backport-54412-to-reef
reef: doc/rados: edit t-shooting-mon.rst
Zac Dover [Wed, 8 Nov 2023 07:56:29 +0000 (17:56 +1000)]
doc/rados: edit t-shooting-mon.rst
Improve the front matter of the section "Troubleshooting Monitors" in
doc/rados/troubleshooting/troubleshooting-mon.rst.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
e6e3fda2efb8f4a4345ba5f939baade844c5d582 )
Anthony D'Atri [Wed, 8 Nov 2023 16:15:45 +0000 (11:15 -0500)]
Merge pull request #54421 from zdover23/wip-doc-2023-11-09-backport-54417-to-reef
reef: doc/rados: edit t-mon "common issues" (2 of x)
Zac Dover [Wed, 8 Nov 2023 13:24:06 +0000 (23:24 +1000)]
doc/rados: edit t-mon "common issues" (2 of x)
Edit the second part of the section "Most Common Monitor Issues" in
doc/rados/troubleshooting/troubleshooting-mon.rst.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
7dcfa9132ce6ca97d2c414014fc5de0a0c7e106e )
zdover23 [Wed, 8 Nov 2023 15:07:49 +0000 (01:07 +1000)]
Merge pull request #54418 from zdover23/wip-doc-2023-11-08-backport-54413-to-reef
reef: doc/rados: edit t-mon "common issues" (1 of x)
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Wed, 8 Nov 2023 09:07:40 +0000 (19:07 +1000)]
doc/rados: edit t-mon "common issues" (1 of x)
Edit the first part of the section "Most Common Monitor Issues" in
doc/rados/troubleshooting/troublehsooting-mon.rst.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
434d8967a37d49bdce3effae4e9b4c69a8586a56 )
Redouane Kachach [Wed, 8 Nov 2023 13:02:31 +0000 (14:02 +0100)]
backport: https://github.com/ceph/ceph/pull/54364
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
Aashish Sharma [Wed, 8 Nov 2023 04:41:19 +0000 (10:11 +0530)]
Merge pull request #54395 from aaSharma14/wip-63470-reef
reef: mgr/dashboard: fix rgw multi-site import form helper
Reviewed-by: Nizamudeen A <nia@redhat.com>
Yuri Weinstein [Tue, 7 Nov 2023 17:17:47 +0000 (09:17 -0800)]
Merge pull request #54380 from vshankar/tr-62539
reef: qa: add POOL_APP_NOT_ENABLED to ignorelist for cephfs tests
Aashish Sharma [Tue, 7 Nov 2023 13:27:24 +0000 (18:57 +0530)]
mgr/dashboard: fix rgw multi-site import form helper
Before : To obtain the token, generate it from your primary Ceph cluster. This token includes encoded information about the secondary cluster's endpoint, access key, and secret key.
Fix: To obtain the token, generate it from your primary Ceph cluster. This token includes encoded information about the primary cluster's endpoint, access key, and secret key.
Fixes: https://tracker.ceph.com/issues/63469
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit
157f21022e5a065e1457e5ac534d0dd7c66aaab1 )
zdover23 [Tue, 7 Nov 2023 16:11:29 +0000 (02:11 +1000)]
Merge pull request #54388 from zdover23/wip-doc-2023-11-07-backport-54384-to-reef
reef: doc/cephadm: fix typo in set ssh key command
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Yuri Weinstein [Tue, 7 Nov 2023 15:34:38 +0000 (07:34 -0800)]
Merge pull request #54376 from ljflores/wip-pool-app-reef
reef: qa/smoke,orch,perf-basic: add POOL_APP_NOT_ENABLED to ignorelist
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Reviewed-by: Prashant D <pdhange@redhat.com>
Piotr Parczewski [Tue, 7 Nov 2023 11:48:01 +0000 (12:48 +0100)]
doc/cephadm: fix typo in set ssh key command
Signed-off-by: Piotr Parczewski <piotr@stackhpc.com>
(cherry picked from commit
e9654b77eda12a3862eefb93c65dc5f15715833d )
Casey Bodley [Tue, 7 Nov 2023 12:51:40 +0000 (12:51 +0000)]
Merge pull request #54371 from cbodley/wip-63452-reef
reef: rgw: fetch_remote_obj() uses uncompressed size for encrypted objects
Reviewed-by: Yuri Weinstein <yuriw@redhat.com>
Redouane Kachach [Tue, 7 Nov 2023 12:26:25 +0000 (13:26 +0100)]
backport: https://github.com/ceph/ceph/pull/54056
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
Venky Shankar [Fri, 8 Sep 2023 08:41:13 +0000 (14:11 +0530)]
Revert "Revert "Merge PR #53077 into main""
This reverts commit
af4558f0ac3b0dc23a8b3cbba63b9c8acc498ea4 .
Fixes: http://tracker.ceph.com/issues/62482
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit
7d5795dc37fc903121f2caa584bec55773fb61ee )
Patrick Donnelly [Thu, 17 Aug 2023 13:27:45 +0000 (09:27 -0400)]
qa: do not create rbd pool for CephFS QA
Fixes: https://tracker.ceph.com/issues/62482
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit
636d2a44c7a935426788ed61e9a77432dc49ca5e )
Patrick Donnelly [Mon, 28 Aug 2023 13:16:10 +0000 (09:16 -0400)]
Revert "Merge PR #53077 into main"
This reverts commit
b8bf0c62b96cb76ae547d5d2f13d2a68417e79e9 , reversing
changes made to
fe07f64396e504c373bd1b621dda0b7893753fe8 .
Silencing this health warning is unnecessary if we stop creating the rbd pool
in CephFS testing.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit
af4558f0ac3b0dc23a8b3cbba63b9c8acc498ea4 )
Venky Shankar [Tue, 22 Aug 2023 06:14:55 +0000 (11:44 +0530)]
qa: add `POOL_APP_NOT_ENABLED` to ignorelist for cephfs tests
Fixes: http://tracker.ceph.com/issues/62508
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit
97b76a480b9708f8557222de14058f644746a4a6 )
Prashant D [Wed, 18 Oct 2023 20:07:47 +0000 (16:07 -0400)]
qa/smoke,orch,perf-basic: add POOL_APP_NOT_ENABLED to ignorelist
Some of the smoke, orch and perf-basic tests are failing due
to POOL_APP_NOT_ENABLED health check failure. Add
POOL_APP_NOT_ENABLED to ignorelist for these tests.
Signed-off-by: Prashant D <pdhange@redhat.com>
(cherry picked from commit
4ecec7a777e90fce31317bc805fc70e1b40cba74 )
Anthony D'Atri [Mon, 6 Nov 2023 20:33:09 +0000 (15:33 -0500)]
Merge pull request #54368 from zdover23/wip-doc-2023-11-07-backport-54342-to-reef
reef: doc/radosgw: Improve dynamicresharding.rst
Anthony D'Atri [Mon, 6 Nov 2023 20:03:04 +0000 (15:03 -0500)]
Merge pull request #54366 from zdover23/wip-doc-2023-11-07-backport-54352-to-reef
reef:doc/rados: format Q&A list in tshooting-mon.rst
Casey Bodley [Tue, 24 Oct 2023 20:48:06 +0000 (16:48 -0400)]
rgw: fetch_remote_obj() uses uncompressed size for encrypted objects
use the original size from RGW_ATTR_COMPRESSION as the accounted size in
the bucket index for objects that were transferred in their
encrypted/compressed form
Fixes: https://tracker.ceph.com/issues/63306
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
526643826246fa8dbe35ea2f65bf9ad0ef9566ff )
Conflicts:
src/rgw/driver/rados/rgw_rados.cc no req_context
Casey Bodley [Tue, 24 Oct 2023 20:45:47 +0000 (16:45 -0400)]
rgw: rename 'expected' to 'accounted' size in fetch_remote_obj()
and use it instead of cb.get_data_len() after testing for equality
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
999d539f76bdb4baa0b8342fff74a9e3fd1cdc12 )
Conflicts:
src/rgw/driver/rados/rgw_rados.cc no req_context
Anthony D'Atri [Sat, 4 Nov 2023 15:06:25 +0000 (11:06 -0400)]
doc/radosgw: Improve dynamicresharding.rst
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit
a9bf0c13e3dc866bd1cb724a10e23ae215e15437 )
Zac Dover [Mon, 6 Nov 2023 04:31:20 +0000 (14:31 +1000)]
doc/rados: format Q&A list in tshooting-mon.rst
Bold the questions in a Q&A list in the "Most Common Monitor Issues"
section of doc/rados/troubleshooting/troubleshooting-mon.rst.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
0d953d27cb6503dfde7f4f7ecb9a386c533c30c9 )
Redouane Kachach [Mon, 6 Nov 2023 15:57:47 +0000 (16:57 +0100)]
backport: https://github.com/ceph/ceph/pull/53747
backport: https://github.com/ceph/ceph/pull/54151
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
Redouane Kachach [Mon, 6 Nov 2023 15:56:01 +0000 (16:56 +0100)]
backport of: https://github.com/ceph/ceph/pull/54307
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
Anthony D'Atri [Mon, 6 Nov 2023 14:03:49 +0000 (09:03 -0500)]
Merge pull request #54353 from zdover23/wip-doc-2023-11-06-backport-54286-to-reef
reef: doc/cephfs: edit mount-using-fuse.rst
Jaanus Torp [Wed, 1 Nov 2023 10:23:47 +0000 (12:23 +0200)]
doc/cephfs: edit mount-using-fuse.rst
Fixes missing dash that lead to unnecessary debugging.
Signed-off-by: Jaanus Torp <jaanus@saun.ee>
(cherry picked from commit
9fcb98411bfeb9147f61bef4424a78d98c63cadc )
Anthony D'Atri [Sun, 5 Nov 2023 16:43:37 +0000 (11:43 -0500)]
Merge pull request #54349 from zdover23/wip-doc-2023-11-06-backport-54344-to-reef
reef: doc/rados: edit t-mon.rst text
Zac Dover [Sun, 5 Nov 2023 12:28:39 +0000 (22:28 +1000)]
doc/rados: edit t-mon.rst text
Clarify the text in the "Clock Skew" section of
doc/rados/troubleshooting/troubleshooting-mon.rst.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
5496bd426f35c0ab91ae7d544ae92ed3b517c7eb )
Anthony D'Atri [Sun, 5 Nov 2023 13:45:40 +0000 (08:45 -0500)]
Merge pull request #54345 from zdover23/wip-doc-2023-11-05-backport-54343-to-reef
reef: doc/rados: format Q&A list in t-mon.rst
Zac Dover [Sun, 5 Nov 2023 06:24:16 +0000 (16:24 +1000)]
doc/rados: format Q&A list in t-mon.rst
Format a Q&A list in doc/rados/troubleshooting/troubleshooting.rst, in
the "Clock Skews" section.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
aadb87aeb5cd8b413937ddfe4562411d424c4bb1 )
Yuri Weinstein [Sat, 4 Nov 2023 13:12:51 +0000 (06:12 -0700)]
Merge pull request #54161 from cbodley/wip-61352-reef
reef: rgw/s3: ListObjectsV2 returns correct object owners
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Yuri Weinstein [Sat, 4 Nov 2023 13:11:49 +0000 (06:11 -0700)]
Merge pull request #54267 from ronen-fr/wip-63371-reef
reef: osd: fix use-after-move in build_incremental_map_msg()
Reviewed-by: Samuel Just <sjust@redhat.com>
Yuri Weinstein [Sat, 4 Nov 2023 12:07:39 +0000 (05:07 -0700)]
Merge pull request #54191 from cfsnyder/wip-63252-reef
reef: rgw: add versioning info to radosgw-admin bucket stats output
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Yuri Weinstein [Sat, 4 Nov 2023 11:39:07 +0000 (04:39 -0700)]
Merge pull request #54163 from galsalomon66/wip-63297-reef
reef: rgw/s3select: fix per QE defect.
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Yuri Weinstein [Sat, 4 Nov 2023 11:36:24 +0000 (04:36 -0700)]
Merge pull request #54124 from cbodley/wip-63279-reef
reef: rgw: don't dereference nullopt in DeleteMultiObj
Reviewed by: Shilpa Jagannath <smanjara@redhat.com>
Reviewed-by: Cory Snyder <csnyder@iland.com>
Yuri Weinstein [Sat, 4 Nov 2023 11:34:43 +0000 (04:34 -0700)]
Merge pull request #53516 from yuvalif/wip-61919-reef
reef: rgw/amqp: remove possible race conditions with the amqp connections
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Yuri Weinstein [Fri, 3 Nov 2023 21:34:04 +0000 (14:34 -0700)]
Merge pull request #54254 from pkalever/wip-63350-reef
reef: rbd-nbd: fix stuck with disable request
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
Yuri Weinstein [Fri, 3 Nov 2023 21:31:06 +0000 (14:31 -0700)]
Merge pull request #54276 from ljflores/wip-63375-reef
reef: osd: fix logic in check_pg_upmaps
Reviewed-by: Josh Salomon <josh.salomon@gmail.com>
Anthony D'Atri [Fri, 3 Nov 2023 16:20:16 +0000 (12:20 -0400)]
Merge pull request #54329 from zdover23/wip-doc-2023-11-04-backport-54274-to-reef
reef: doc: Update dynamicresharding.rst
Anthony D'Atri [Fri, 3 Nov 2023 16:18:29 +0000 (12:18 -0400)]
Merge pull request #54320 from zdover23/wip-doc-2023-11-03-backport-54303-to-reef
reef: doc/cephadm: edit troubleshooting.rst (2 of x)
Anthony D'Atri [Fri, 3 Nov 2023 16:17:34 +0000 (12:17 -0400)]
Merge pull request #54323 from zdover23/wip-doc-2023-11-03-backport-54322-to-reef
reef: doc/cephadm/services: remove excess rendered indentation in osd.rst
Aliaksei Makarau [Tue, 31 Oct 2023 15:20:05 +0000 (16:20 +0100)]
doc: Update dynamicresharding.rst
"3, After resharding completed:" should be
"3. After resharding completed:"
Signed-off-by: Aliaksei Makarau <aliaksei.makarau@ibm.com>
(cherry picked from commit
e96cef78bb97491e6488999d6bc4a068cd1c5a8d )
Ville Ojamo [Fri, 3 Nov 2023 05:44:00 +0000 (12:44 +0700)]
doc/cephadm/services: remove excess rendered indentation in osd.rst
Start bash command blocks at the left margin, removing
excessive padding/indentation that would render the
block too much towards the right.
At the same time ident the source consistently:
- Two spaces for command blocks and output blocks.
- Four spaces for notes, code blocks.
There seems to be no uniform style for this, sometimes
commands are indented with three spaces but it would
seem two spaces is common. In the end it all renders
the same I guess.
Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
(cherry picked from commit
329df4959d08e9bc90d6e1d83f99bd344a13dc1e )
Zac Dover [Thu, 2 Nov 2023 06:07:39 +0000 (16:07 +1000)]
doc/cephadm: edit troubleshooting.rst (2 of x)
Edit doc/cephadm/troubleshooting.rst. This commit and the PR of which it
is a part was raised in response to https://github.com/ceph/ceph/pull/53976.
Co-authored-by: John Mulligan <jmulligan@redhat.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
b096c21c7c4df2bf177f3ba84093cc75ecd71d49 )
Yuri Weinstein [Thu, 2 Nov 2023 18:18:56 +0000 (11:18 -0700)]
Merge pull request #54291 from ajarr/wip-63387-reef
reef: qa/suites/rbd: add test to check rbd_support module recovery
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
Yuri Weinstein [Thu, 2 Nov 2023 18:17:42 +0000 (11:17 -0700)]
Merge pull request #54289 from ajarr/wip-63384-reef
reef: mgr/rbd_support: fix recursive locking on CreateSnapshotRequests lock
Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Anthony D'Atri [Wed, 1 Nov 2023 13:12:47 +0000 (09:12 -0400)]
Merge pull request #54283 from zdover23/wip-doc-2023-11-01-backport-54281-to-reef
reef: doc/cephadm: edit troubleshooting.rst (1 of x)
Ramana Raja [Mon, 18 Sep 2023 02:52:56 +0000 (22:52 -0400)]
qa/suites/rbd: add test to check rbd_support module recovery
... on repeated blocklisting of its client.
There were issues with rbd_support module not being able to recover
from its RADOS client being repeatedly blocklisted. This occured for
example in clusters with OSDs slow to process RBD requests while the
module's mirror_snapshot_scheduler was taking mirror snapshots by
requesting exclusive locks on the RBD images and workloads were running
on the snapshotted images via kernel clients.
Fixes: https://tracker.ceph.com/issues/62891
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit
2f2cd3bcff82afc3a4d251143eb462e700e7fc60 )
Ramana Raja [Mon, 30 Oct 2023 15:05:27 +0000 (11:05 -0400)]
mgr/rbd_support: remove CreateSnapshotRequests __del__()
There is no need for CreateSnapshotRequests.__del__() that calls
CreateSnapshotRequests.wait_for_pending().
MirrorSnapshotScheduleHandler.shutdown() already calls
CreateSnapshotRequests.wait_for_pending().
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit
fed1e87685a698876cf167b3681327e5b0066ee6 )
Ramana Raja [Thu, 26 Oct 2023 17:18:52 +0000 (13:18 -0400)]
mgr/rbd_support: fix recursive locking on CreateSnapshotRequests lock
The MirrorSnapshotScheduleHandler's run thread issues asynchronous
create snapshot requests using a CreateSnapshotRequests instance. When
the thread invokes a CreateSnapshotRequests instance's get_ioctx(),
the instance's class variable lock is acquired. With the class
variable lock held, the garbage collection of a CreateSnapshotRequests
instance may race in the thread. The thread would then call
CreateSnapshotRequests __del__() that tries to acquire the class
variable lock that the thread already holds. Fix this
recursive deadlock by converting the CreateSnapshotRequests lock from
a class variable to an instance variable. There is no need to share
the lock across CreateSnapshotRequests instances.
Also convert MirrorSnapshotScheduleHandler, PerfHandler and
TrashPurgeScheduleHandler class variables to instance variables
that don't need to be shared across the instances.
Fixes: https://tracker.ceph.com/issues/62994
Signed-off-by: Ramana Raja <rraja@redhat.com>
Co-Authored-By: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
4452bc22d1c6c8499cf55d6e39090adf7ae1dcbf )
Zac Dover [Wed, 1 Nov 2023 01:53:59 +0000 (11:53 +1000)]
doc/cephadm: edit troubleshooting.rst (1 of x)
Edit doc/cephadm/troubleshooting.rst. This commit and the PR of which it
is a part was raised in response to
https://github.com/ceph/ceph/pull/53976. The limits of reStructuredText
are particularly visible here in every instance of a BASH for-loop and
in every instance of a command stretched over multiple lines.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
69472c26af5419faa9ed93c071ed5933d03fa67f )
Anthony D'Atri [Tue, 31 Oct 2023 17:31:34 +0000 (13:31 -0400)]
Merge pull request #54265 from zdover23/wip-doc-2023-10-31-backport-54239-to-reef
reef: doc/glossary: improve "BlueStore" entry
Laura Flores [Thu, 28 Sep 2023 17:52:11 +0000 (17:52 +0000)]
osd: fix logic in check_pg_upmaps
The logic was changed in check_pg_upmaps
in a Reef refactor, which results in recommendations
made by the upmap balancer even when it says there are
no optimizations.
Fixes: https://tracker.ceph.com/issues/63029
Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit
ae11bbe6b2805740d3621cc47c68a5f0da493df0 )
Anthony D'Atri [Tue, 31 Oct 2023 14:55:12 +0000 (10:55 -0400)]
Merge pull request #54270 from zdover23/wip-doc-2023-10-31-backport-54238-to-reef
reef: doc/rados: improve "scrubbing" explanation
Zac Dover [Mon, 30 Oct 2023 02:19:07 +0000 (12:19 +1000)]
doc/rados: improve "scrubbing" explanation
Improve the English describing the operation of scrubbing PGs in
doc/rados/configuration/osd-config-ref.rst.
Co-authored-by: Ronen Friedman <rfriedma@redhat.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
19b139932d8aef9b47e1fa9c400c3f73b5cb3d7b )
Zac Dover [Mon, 30 Oct 2023 02:37:39 +0000 (12:37 +1000)]
doc/glossary: improve "BlueStore" entry
Initially s/backend/back end/ but then I added a little more information
about BlueStore's use of RocksDB to map object names to block locations
on disk.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
8713cca328c9373636efdb92449d743b5bd56584 )
Ronen Friedman [Wed, 25 Oct 2023 07:24:18 +0000 (02:24 -0500)]
osd: fix use-after-move in build_incremental_map_msg()
Fixes: https://tracker.ceph.com/issues/63310
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit
9e2b8b0e8235b36e55310aab49b8f760e8d57cad )
Aashish Sharma [Tue, 31 Oct 2023 09:08:34 +0000 (14:38 +0530)]
Merge pull request #54261 from aaSharma14/wip-63369-reef
reef: mgr/dashboard: fix rgw multisite error when no rgw entity is present
Reviewed-by: Nizamudeen A <nia@redhat.com>
Aashish Sharma [Tue, 31 Oct 2023 09:08:14 +0000 (14:38 +0530)]
Merge pull request #54260 from aaSharma14/wip-63368-reef
reef: mgr/dashboard: Block Ui fails in angular with target es2022
Reviewed-by: Nizamudeen A <nia@redhat.com>
Aashish Sharma [Mon, 30 Oct 2023 12:39:09 +0000 (18:09 +0530)]
mgr/dashboard: fix rgw multisite error when no rgw entity is present
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit
7f57798b7f82b07eb69d87312114d41e44d3c7f3 )
Aashish Sharma [Mon, 30 Oct 2023 07:39:25 +0000 (13:09 +0530)]
mgr/dashboard: Block Ui fails in angular with target es2022
The BlockUi element is failing in angular with target es2022..change it to es2020
Fixes: https://tracker.ceph.com/issues/63347
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit
551281bdc2a049c58ff1d035014312d8eaa99920 )
Aashish Sharma [Tue, 31 Oct 2023 04:48:08 +0000 (10:18 +0530)]
Merge pull request #54253 from aaSharma14/wip-63358-reef
reef: mgr/dashboard: update rgw multisite import form helper info
Reviewed-by: Nizamudeen A <nia@redhat.com>
zdover23 [Tue, 31 Oct 2023 03:00:36 +0000 (13:00 +1000)]
Merge pull request #54227 from zdover23/wip-doc-2023-10-28-backport-54219-to-reef
reef: doc/rados: remove cache-tiering-related keys
Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
Prasanna Kumar Kalever [Fri, 20 Oct 2023 10:11:05 +0000 (15:41 +0530)]
test/librbd/fsx: wait for resize to propagate in krbd_resize()
With this changes resize request will not be blocked until the resize is
completed. Because of this the fsx test fails as it assumes that the
request to resize immediately implies changes on the device size.
Hence we have to add a wait in resize handler of fsx for the device to
actually get resized.
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
(cherry picked from commit
6f3d0f570f1a262b06d4c661582091d8ddb11bfa )
Prasanna Kumar Kalever [Tue, 12 Sep 2023 12:15:05 +0000 (17:45 +0530)]
rbd-nbd: fix stuck with disable request
Problem:
-------
Trying to disable any feature on an rbd image mapped with nbd leads to stuck
in rbd-nbd.
The rbd-nbd registers a watcher callback to detect image resize in
NBDWatchCtx::handle_notify(). The handle_notify calls image info method, which
calls refresh_if_required and it got stuck there.
It is getting stuck in ImageState::refresh_if_required() because
DisableFeaturesRequest issues update notifications while still holding onto
the exclusive lock with everything that has to do with it blocked.
Solution:
--------
Set only notify flag as part of NBDWatchCtx::handle_notify() and handle
the resize detection part as part of a different thread.
Fixes: https://tracker.ceph.com/issues/58740
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
(cherry picked from commit
dbb4daff404c5d2da32c33f4e852e84a257c0b8d )
Aashish Sharma [Mon, 30 Oct 2023 07:47:37 +0000 (13:17 +0530)]
mgr/dashboard: update rgw multisite import form helper info
Change 'To obtain the token, generate it from your secondary Ceph cluster' to 'To obtain the token, generate it from your primary Ceph cluster' in rgw multisite import form helper
Fixes: https://tracker.ceph.com/issues/63348
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit
6d066e3d7eefc3f4aceccde6b53fc5265668b3de )
Yuri Weinstein [Mon, 30 Oct 2023 15:30:32 +0000 (08:30 -0700)]
Merge pull request #54146 from vshankar/wip-63282-reef
reef: client: always refresh mds feature bits on session open
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Yuri Weinstein [Mon, 30 Oct 2023 15:29:52 +0000 (08:29 -0700)]
Merge pull request #54094 from mchangir/wip-63242-reef
reef: mgr/snap_schedule: make fs argument mandatory if more than one filesystem exists
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Anthony D'Atri [Mon, 30 Oct 2023 01:17:01 +0000 (21:17 -0400)]
Merge pull request #54235 from zdover23/wip-doc-2023-10-30-backport-54232-to-reef
reef: doc/ceph-volume: improve front matter
Zac Dover [Sun, 29 Oct 2023 12:15:13 +0000 (22:15 +1000)]
doc/ceph-volume: improve front matter
Simplify and improve the readability of the front matter of
doc/ceph-volume/lvm/activate.rst.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
23190dd91861d1dcb8d03b78fb378e042394dfad )
Anthony D'Atri [Mon, 30 Oct 2023 00:29:23 +0000 (20:29 -0400)]
Merge pull request #54233 from zdover23/wip-doc-2023-10-30-backport-54231-to-reef
reef: doc/ceph-volume: explain idempotence
Zac Dover [Sun, 29 Oct 2023 12:01:11 +0000 (22:01 +1000)]
doc/ceph-volume: explain idempotence
Improve the grammar of a note explaining that the execution of the call
that activates ceph-volume is idempotent.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
e58bc3e4df97d950d96d006b6336e10dbe9327a2 )
Anthony D'Atri [Sat, 28 Oct 2023 14:45:32 +0000 (10:45 -0400)]
Merge pull request #54228 from zdover23/wip-doc-2023-10-28-backport-54218-to-reef
reef: doc/rados: edit troubleshooting-pg.rst
Zac Dover [Fri, 27 Oct 2023 05:22:34 +0000 (15:22 +1000)]
doc/rados: edit troubleshooting-pg.rst
s/placement group/pool/ in a sentence that, prior to this change, was
confusing. Suitable for backports prior to Reef.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
97512a3e3c28d9aae7e61c30bbe66987298960a9 )
Zac Dover [Fri, 27 Oct 2023 06:58:28 +0000 (16:58 +1000)]
doc/rados: remove cache-tiering-related keys
Remove information related to cache-tiering-related keys from
doc/rados/operations/pools.rst. Cache-tiering is deprecated in Reef.
This PR is suitable for backporting to the Reef release branch, but not
to release branches prior to Reef.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
d8e5b87a313f6b7b98b93b61327f94af4d8f2bed )
Yuri Weinstein [Fri, 27 Oct 2023 14:55:50 +0000 (07:55 -0700)]
Merge pull request #54055 from idryomov/wip-63028-reef
reef: pybind/rbd: don't produce info on errors in aio_mirror_image_get_info()
Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Redouane Kachach [Fri, 27 Oct 2023 12:51:28 +0000 (14:51 +0200)]
reef: mgr/rook: fixing rook-ceph-exporter daemon type handling
backport tracker: https://tracker.ceph.com/issues/63266
backport of https://github.com/ceph/ceph/pull/53910
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
Nizamudeen A [Fri, 27 Oct 2023 12:50:50 +0000 (18:20 +0530)]
Merge pull request #54223 from rhcs-dashboard/wip-63300-reef
reef: mgr/dashboard: fixed edit user quota form error
Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
zdover23 [Fri, 27 Oct 2023 10:23:29 +0000 (20:23 +1000)]
Merge pull request #54220 from zdover23/wip-doc-2023-10-27-backport-53976-to-reef
reef: cephadm: add a --dry-run option to cephadm shell
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Anthony D'Atri [Fri, 27 Oct 2023 08:44:38 +0000 (04:44 -0400)]
Merge pull request #54217 from zdover23/wip-doc-2023-10-27-backport-54200-to-reef
reef: doc/rados: remove HitSet-related key information