]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Casey Bodley [Thu, 15 Feb 2024 04:20:43 +0000 (23:20 -0500)]
spawn: remove spawn submodule
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 15 Feb 2024 03:53:47 +0000 (22:53 -0500)]
rgw: switch back to boost::asio for spawn() and yield_context
a fork of boost::asio::spawn() was introduced in 2020 with spawn::spawn() from #31580. this fork enabled rgw to customize how the coroutine stacks are allocated in order to avoid stack overflows in frontend request coroutines. this customization was based on a StackAllocator concept from the boost::context library
in boost 1.80, that same StackAllocator overload was added to boost::asio::spawn(), along with other improvements like per-op cancellation. now that boost has everything we need, switch back and drop the spawn submodule
this required switching a lot of async functions from async_completion<> to async_initiate<>. similar changes were necessary to enable the c++20 coroutine token boost::asio::use_awaitable
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 15 Feb 2024 03:51:25 +0000 (22:51 -0500)]
rgw/aio: YieldingAioThrottle::async_wait() uses async_initiate
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 15 Feb 2024 03:50:40 +0000 (22:50 -0500)]
rgw/dmclock: async_request() uses async_initiate
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 15 Feb 2024 03:49:14 +0000 (22:49 -0500)]
rgw/d3n: async_read() uses async_initiate
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 15 Feb 2024 03:42:56 +0000 (22:42 -0500)]
rgw/http: async_wait() uses async_initiate
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 15 Feb 2024 03:42:10 +0000 (22:42 -0500)]
rgw/pubsub: Waiter uses async_initiate
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 15 Feb 2024 03:36:46 +0000 (22:36 -0500)]
librados/asio: functions use async_initiate
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 15 Feb 2024 02:18:13 +0000 (21:18 -0500)]
common/async: SharedMutex uses async_initiate
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 15 Feb 2024 02:03:13 +0000 (21:03 -0500)]
crypto/qat: use async_initiate and any_completion_handler
the qat async initiator functions were based on async_completion<> and
its completion_handler member, but the updated boost::asio::yield_context
doesn't provide a completion_handler. switch to the updated
async_initate() method which does work with boost::asio::yield_context
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 23 Apr 2024 16:04:22 +0000 (12:04 -0400)]
rgw/d4n: SSDDriver uses async_initiate
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 19 Apr 2024 19:31:31 +0000 (15:31 -0400)]
common/async: context_pool satisfies ExecutionContext
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Yuval Lifshitz [Mon, 13 May 2024 14:25:27 +0000 (17:25 +0300)]
Merge pull request #56979 from yuvalif/wip-yuval-65337
rgw/notification: start/stop endpoint managers in notification manager
Reviewed-By: cbodley@ibm.com , kchheda3@bloomberg.net
Venky Shankar [Mon, 13 May 2024 11:39:41 +0000 (17:09 +0530)]
Merge PR #56148 into main
* refs/pull/56148/head:
cephfs_mirror: check m_instance_watcher and m_mirror_watcher before using them
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Mon, 13 May 2024 11:32:41 +0000 (17:02 +0530)]
Merge PR #56699 into main
* refs/pull/56699/head:
qa: ignore `Invalid tag char` warning
qa: ignore `object missing on disk` warning
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Venky Shankar [Mon, 13 May 2024 09:30:57 +0000 (15:00 +0530)]
Merge PR #56525 into main
* refs/pull/56525/head:
mgr/stats: initialize mx_last_updated in FSPerfStats
Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Mon, 13 May 2024 09:26:11 +0000 (14:56 +0530)]
Merge PR #56135 into main
* refs/pull/56135/head:
cephfs_mirror: increment sync_failures when sync_perms() and sync_snaps() fails
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
NitzanMordhai [Mon, 13 May 2024 06:00:51 +0000 (09:00 +0300)]
Merge pull request #55923 from NitzanMordhai/wip-nitzan-add-deprecate-cls-gather
objclass: deprecate cls_cxx_gather
NitzanMordhai [Mon, 13 May 2024 05:12:14 +0000 (08:12 +0300)]
Merge pull request #56983 from NitzanMordhai/wip-nitzan-thrash-erasure-code-crush-4-nodes-8-6
suites/ec-rados-plugin=jerasure-k=8-m=6-crush: roles set
Yuval Lifshitz [Thu, 9 May 2024 15:33:41 +0000 (15:33 +0000)]
test/rgw/notifications: make sure that http handler is running
fail test if not. to indicate this is a test issue
and not a product bug
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
Yuval Lifshitz [Thu, 9 May 2024 13:11:15 +0000 (13:11 +0000)]
test/rgw/notification: prevent flooding the http server
in tests that require retries
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
Yuval Lifshitz [Wed, 8 May 2024 16:15:26 +0000 (16:15 +0000)]
test/rgw/notification: avoid BlockingIOError when logging errors
for example. job:
7697397
in test: yuvalif-2024-05-08_09:55:02-rgw:notifications-wip-yuval-65337-distro-default-smithi
also reduce the side of the error log by sending less objects to the
test_ps_s3_persistent_topic_stats test
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
Yuval Lifshitz [Wed, 24 Apr 2024 10:03:35 +0000 (10:03 +0000)]
test/rgw/notifications: fix lifecycle tests
* tests were passing only because they were not performings their asserts
* tests are now separated with their own attribute
* their topics are now marked "persistent" to workaround the issue in:
https://tracker.ceph.com/issues/65645
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
Yuval Lifshitz [Thu, 18 Apr 2024 09:39:42 +0000 (09:39 +0000)]
rgw/notifications: start/stop endpoint managers in notification manager
Fixes: https://tracker.ceph.com/issues/65337
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
nmordech@redhat.com [Tue, 5 Mar 2024 11:06:24 +0000 (11:06 +0000)]
rados/test: Remove cls_remote_reade since gather deprecated
https://tracker.ceph.com/issues/64258
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
Yuval Lifshitz [Mon, 15 Apr 2024 17:31:30 +0000 (17:31 +0000)]
rgw/notifications: cleanup includes and unused parameters
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
Yuval Lifshitz [Mon, 15 Apr 2024 13:50:17 +0000 (13:50 +0000)]
rgw/notifications: enable notifications debug logs in vstart
as well as in:
- multisite tests (used for notification v2 migration tests)
- the qa suites running notifications
enable lifecycle logs in notification tests: for the lc notification test cases
this is needed after:
429967917b4f9b5f71214fa3c7718e780728249b
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
Anthony D'Atri [Sun, 12 May 2024 03:29:55 +0000 (23:29 -0400)]
Merge pull request #57421 from zdover23/wip-doc-2024-05-12-dev-developer-guide-dash-devel
doc/dev: s/to asses/to assess/
Anthony D'Atri [Sun, 12 May 2024 03:28:59 +0000 (23:28 -0400)]
Merge pull request #57420 from zdover23/wip-doc-2024-05-11-cephfs-fs-volumes-1-of-x-followup
doc/cephfs: edit fs-volumes.rst (1 of x) followup
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>
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>
Zac Dover [Sat, 11 May 2024 23:48:26 +0000 (09:48 +1000)]
Merge pull request #57415 from zdover23/wip-doc-2024-05-11-cephfs-fs-volumes-1-of-x
doc/cephfs: edit fs-volumes.rst (1 of x)
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
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>
Adam King [Fri, 10 May 2024 20:11:36 +0000 (16:11 -0400)]
Merge pull request #57214 from adk3798/cephadm-ignore-stray-on-upgrade
qa/cephadm: ignore CEPHADM_STRAY_DAEMON in upgrade tests
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Fri, 10 May 2024 20:09:59 +0000 (16:09 -0400)]
Merge pull request #57205 from SidGilad/bug/65739_support_cgroup_split_removal_for_adopt
mgr/cephadm: make setting --cgroups=split configurable for adopted daemons
Reviewed-by: Adam King <adking@redhat.com>
Samarah Uriarte [Fri, 10 May 2024 17:35:35 +0000 (13:35 -0400)]
Merge pull request #56735 from samarahu/wip-rgw-d4n-long-descriptions
d4n: Add more in-depth config descriptions and improve naming
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Samarah Uriarte <samarah.uriarte@ibm.com>
J. Eric Ivancich [Fri, 10 May 2024 16:22:43 +0000 (12:22 -0400)]
Merge pull request #56585 from ivancich/wip-upgrade-arrow+flight-15.0.2
rgw: upgrade Apache Arrow submodule to 15.0.0
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Adam King [Fri, 10 May 2024 16:05:27 +0000 (12:05 -0400)]
Merge pull request #57259 from pdvian/wip-fix-unfoundev-progress
mgr/cephadm: Fix unfound progress events
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Fri, 10 May 2024 16:04:16 +0000 (12:04 -0400)]
Merge pull request #57182 from adk3798/nvmeof-config-fix
mgr/cephadm: update default NVMEoF container image version
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Fri, 10 May 2024 16:02:46 +0000 (12:02 -0400)]
Merge pull request #57181 from adk3798/cleanup-iscsi-nvmeof-keyring
mgr/cephadm: cleanup iscsi and nvmeof keyrings upon daemon removal
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Fri, 10 May 2024 16:00:54 +0000 (12:00 -0400)]
Merge pull request #57096 from phlogistonjohn/jjm-smb-output-fmt
mgr/smb: disable JSON/YAML key sorting in favor of ordered dicts
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Fri, 10 May 2024 15:57:23 +0000 (11:57 -0400)]
Merge pull request #57089 from adk3798/test-cephadm-timeout-ignore-refresh-failed
qa/cephadm: ignore CEPHADM_REFRESH_FAILED on timeout test
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Fri, 10 May 2024 15:56:00 +0000 (11:56 -0400)]
Merge pull request #57080 from phlogistonjohn/jjm-teuth-pull-img
qa/tasks/cephadm: fix pulling containers from private registries
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Fri, 10 May 2024 15:51:16 +0000 (11:51 -0400)]
Merge pull request #57042 from adk3798/host-drain-test-ignore-stray-host
qa/cephadm: ignore stray warnings on host drain test
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Fri, 10 May 2024 15:48:22 +0000 (11:48 -0400)]
Merge pull request #56970 from adk3798/cephadm-ignore-orch-paused
qa/cephadm: ignore CEPHADM_PAUSED on test_orch_cli test
Reviewed-by: Michael Fritch <mfritch@suse.com>
Adam King [Fri, 10 May 2024 15:46:08 +0000 (11:46 -0400)]
Merge pull request #56963 from adk3798/nfs-cluster-ls-json-pretty
mgr/pybind/object_format: fix json-pretty being marked invalid
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Adam King [Fri, 10 May 2024 15:42:20 +0000 (11:42 -0400)]
Merge pull request #56957 from adk3798/no-stray-recent-removal
mgr/cephadm: don't mark daemons created/removed in the last minute as stray
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Fri, 10 May 2024 15:36:59 +0000 (11:36 -0400)]
Merge pull request #56823 from adk3798/autotune-testing
mgr/cephadm: additional debug logging for autotuner
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Casey Bodley [Fri, 10 May 2024 12:50:05 +0000 (13:50 +0100)]
Merge pull request #56802 from clwluvw/rgw-mdsearch
rgw: allow disabling mdsearch APIs
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Zac Dover [Fri, 10 May 2024 10:56:10 +0000 (20:56 +1000)]
Merge pull request #57372 from ceph/wip-lusov-quiesce-docs
doc/cephfs: expand the role of quiesce in consistent backups
Reviewed-by: Zac Dover <zac.dover@proton.me>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Kefu Chai [Fri, 10 May 2024 04:05:53 +0000 (12:05 +0800)]
Merge pull request #57277 from tchaikov/test_election-free-tracker
test/mon/test_election: free ConnectionTracker if blocked
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
J. Eric Ivancich [Thu, 9 May 2024 18:35:34 +0000 (14:35 -0400)]
Merge pull request #56493 from igomon-bloomberg/wip_kafka_sasl_username_password_attrs
rgw/s3-notifications: use user-name/password topic attributes for SASL authentication
Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
J. Eric Ivancich [Thu, 9 May 2024 18:32:40 +0000 (14:32 -0400)]
Merge pull request #57075 from cbodley/wip-rgw-ldap-derr
rgw: don't print error when ldap isn't configured
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
J. Eric Ivancich [Thu, 9 May 2024 18:31:18 +0000 (14:31 -0400)]
Merge pull request #57083 from ivancich/wip-optimize-bucket-check-mulitparts
rgw: make incomplete multipart upload part of bucket check efficient
Reviewed-by: Casey Bodley <cbodley@redhat.com>
J. Eric Ivancich [Thu, 9 May 2024 18:30:12 +0000 (14:30 -0400)]
Merge pull request #57098 from kchheda3/wip-dont-log-passwd
rgw/notification: Do not log endpoint as it could contain broker user-id & password.
Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
J. Eric Ivancich [Fri, 3 May 2024 16:15:21 +0000 (12:15 -0400)]
rgw: update s3select submodule addressing arrow 15.0.0 compilation issues
Update arrow submodule.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
Leonid Usov [Thu, 9 May 2024 12:29:33 +0000 (15:29 +0300)]
doc/cephfs: expand the role of quiesce in consistent backups
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
Fixes: https://tracker.ceph.com/issues/65881
Ronen Friedman [Thu, 9 May 2024 14:53:37 +0000 (17:53 +0300)]
Merge pull request #57331 from ronen-fr/wip-rf-tier0
tests/librados: do not use '0' as a string
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Casey Bodley [Thu, 9 May 2024 14:52:01 +0000 (15:52 +0100)]
Merge pull request #57155 from mkogan1/wip-rgw-ssl-ec
rgw/beast: fix crash observed in SSL stream.async_shutdown()
Reviewed-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 9 May 2024 12:54:11 +0000 (13:54 +0100)]
Merge pull request #57360 from cbodley/wip-neorados-rm-completion.h
neorados: remove unused symlink to completion.h
Reviewed-by: Adam Emerson <aemerson@redhat.com>
nmordech@redhat.com [Mon, 4 Mar 2024 13:34:39 +0000 (13:34 +0000)]
objclass: deprecate cls_cxx_gather
cls_cxx_gather is not maintained and having issues with retry.
since there is no current use of it, we will deprecate it.
Fixes: https://tracker.ceph.com/issues/64258
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
Avan [Thu, 9 May 2024 07:49:59 +0000 (13:19 +0530)]
Merge pull request #55773 from weirdwiz/main
exporter: handle exceptions gracefully
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 9 May 2024 04:32:01 +0000 (12:32 +0800)]
Merge pull request #56865 from zmc/cmake-sccache-max-jobs
cmake: Intelligently set job limits for sccache
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Casey Bodley [Wed, 8 May 2024 19:54:45 +0000 (15:54 -0400)]
neorados: remove unused symlink to completion.h
this header is unused after
ea67f3dee2a3f8fcdcbb0bc0e80e38ec70378f05
replaced uses of ceph::async::Completion with
boost::asio::any_completion_handler
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Kefu Chai [Wed, 8 May 2024 14:10:05 +0000 (22:10 +0800)]
Merge pull request #55437 from tchaikov/ehh-upstart
debian: do not use upstart to start/stop services
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Kefu Chai [Wed, 8 May 2024 13:41:51 +0000 (21:41 +0800)]
Merge pull request #56238 from SMIL-Infra/journald-fix
common/Journald: fix alias and mis-align
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Kefu Chai [Wed, 8 May 2024 13:40:36 +0000 (21:40 +0800)]
Merge pull request #55560 from tchaikov/systemd-sans-clsuter-name
systemd: do not pass --cluster option
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Divyansh Kamboj [Tue, 30 Apr 2024 07:44:10 +0000 (13:14 +0530)]
exporter: handle exceptions gracefully
ceph exporter crahes, and fails to handle exceptions in
dump_asok_metrics(). add try and catch blocks to handle the exceptions gracefully.
Signed-off-by: Divyansh Kamboj <dkamboj@redhat.com>
Rongqi Sun [Wed, 8 May 2024 07:27:23 +0000 (00:27 -0700)]
Merge pull request #55007 from shminjs/fix-wrong-osd-op-flag-name
osd/osd_types: fix spelling of osd_op_flag_name
Patrick Donnelly [Wed, 8 May 2024 02:51:04 +0000 (22:51 -0400)]
Merge PR #56810 into main
* refs/pull/56810/head:
common/StackStringStream: update pointer to newly allocated memory in overflow()
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Wed, 8 May 2024 00:29:42 +0000 (01:29 +0100)]
Merge pull request #57330 from ronen-fr/wip-rf-iam-rgw0
tests/rgw: fix ints returned where a string is expected
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 7 May 2024 21:10:16 +0000 (22:10 +0100)]
Merge pull request #57258 from cbodley/wip-qa-rgw-d4n-tests
qa/rgw/d4n: run ceph_test_d4n_ tests
Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
Patrick Donnelly [Tue, 7 May 2024 19:49:03 +0000 (15:49 -0400)]
Merge PR #57192 into main
* refs/pull/57192/head:
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
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Zac Dover [Tue, 7 May 2024 18:05:09 +0000 (04:05 +1000)]
Merge pull request #57298 from zdover23/wip-doc-2024-05-07-mgr-dashboard-overview
doc/mgr: edit "Overview" in dashboard.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Patrick Donnelly [Tue, 7 May 2024 14:34:19 +0000 (10:34 -0400)]
Merge PR #57166 into main
* refs/pull/57166/head:
qa: make quiesce ops dump world readable
qa: use specific ops/cache dump file names
Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
Patrick Donnelly [Tue, 7 May 2024 14:33:44 +0000 (10:33 -0400)]
Merge PR #57165 into main
* refs/pull/57165/head:
qa: ignore variation of PG_DEGRADED health warning
Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Ronen Friedman [Tue, 7 May 2024 14:30:22 +0000 (17:30 +0300)]
Merge pull request #57226 from ronen-fr/wip-rf-unused-cache
common: mark assert-only variables as unused
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Ronen Friedman [Tue, 7 May 2024 13:20:18 +0000 (16:20 +0300)]
tests/librados: do not use '0' as a string
not even as a default string parameter to a
function.
C++23 does not allow int-to-string conversions,
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
Ronen Friedman [Tue, 7 May 2024 13:07:21 +0000 (16:07 +0300)]
tests/rgw: fix ints returned where a string is expected
Modifying test_rgw_iam_policy.cc to avoid C++23
compilation errors. C++23 does not allow int-to-string
conversions, and '0' cannot be returned where a string
is expected.
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
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>
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>
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>
Patrick Donnelly [Thu, 2 May 2024 23:33:50 +0000 (19:33 -0400)]
doc/cephfs: document MDS_CLIENTS_BROKEN_ROOTSQUASH health error
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 3 May 2024 00:52:29 +0000 (20:52 -0400)]
qa: add tests for MDS_CLIENTS_BROKEN_ROOTSQUASH
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 3 May 2024 00:50:37 +0000 (20:50 -0400)]
mds: raise health warning if client lacks feature for root_squash
Rather than evict all clients lacking this feature bit, raise a health error
that pushes the administrator to address it. This avoids the surprise of having
all affected clients suddenly evicted in the cluster.
Fixes: https://tracker.ceph.com/issues/65733
Fixes: 954ed30
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 3 May 2024 00:49:22 +0000 (20:49 -0400)]
mon/MDSMonitor: add note about missing metadata inclusion
There is a "client_count" metadata on the health warning that apparently was
intended to be used for aggregating warnings but never was. Add a TODO item for
that.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 1 May 2024 01:41:14 +0000 (21:41 -0400)]
mds: check relevant caps for fs include root_squash
When denying client reconnects because the MDS caps include root_squash and the
client features do not include CEPHFS_FEATURE_MDS_AUTH_CAPS_CHECK, ensure those
caps are only for the file system the MDS is joined to.
Fixes: https://tracker.ceph.com/issues/65733
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 2 May 2024 12:55:36 +0000 (08:55 -0400)]
mds: refactor out fs_name match in MDSAuthCaps
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 2 May 2024 01:08:57 +0000 (21:08 -0400)]
qa: test for root_squash with multiple caps
Where the client has root_squash for one cap but not for another. The fs
without root_squash should not necessarily reject the client.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 2 May 2024 02:06:54 +0000 (22:06 -0400)]
qa: pass kwargs to mount from remount
So we can pass mntargs.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 2 May 2024 02:04:57 +0000 (22:04 -0400)]
qa: simplify update_attrs and only update relevant keys
So we can just pass the caller's kwargs to update_attrs.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Zac Dover [Mon, 6 May 2024 15:16:51 +0000 (01:16 +1000)]
doc/mgr: edit "Overview" in dashboard.rst
Edit and update the "Overview" section in doc/mgr/dashboard.rst.
Signed-off-by: Zac Dover <zac.dover@proton.me>
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
Ali Masarwa [Tue, 7 May 2024 08:52:57 +0000 (11:52 +0300)]
Merge pull request #56943 from AliMasarweh/wip-alimasa-bn-test
RGW: test for exact match if the test is not persistent
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Venky Shankar [Tue, 7 May 2024 07:18:00 +0000 (12:48 +0530)]
Merge PR #54433 into main
* refs/pull/54433/head:
CephContext: acquire _fork_watchers_lock in notify_post_fork()
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Patrick Donnelly [Tue, 30 Apr 2024 14:22:48 +0000 (10:22 -0400)]
qa: make quiesce ops dump world readable
Fixes: https://tracker.ceph.com/issues/65701
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 30 Apr 2024 14:22:23 +0000 (10:22 -0400)]
qa: use specific ops/cache dump file names
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Zack Cerza [Thu, 4 Apr 2024 19:01:05 +0000 (13:01 -0600)]
cmake: Intelligently set job limits for sccache
If we are correctly configured for distributed mode, use the cluster's CPU count
instead of ours. If we are configured for sccache but without distributed mode,
inform the user but continue with normal job limits.
Signed-off-by: Zack Cerza <zack@redhat.com>
Yuri Weinstein [Mon, 6 May 2024 19:20:53 +0000 (12:20 -0700)]
Merge pull request #56515 from wanglinke521/wlk-dev
os/bluestore: fix the problem that _estimate_log_size_N calculates the log size incorrectly
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Avan [Mon, 6 May 2024 18:33:58 +0000 (00:03 +0530)]
Merge pull request #56421 from rhcs-dashboard/fix-regex-rgw-sync-metrics
exporter: fix regex for rgw sync metrics
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Patrick Donnelly [Thu, 2 May 2024 00:51:59 +0000 (20:51 -0400)]
client: allow overriding client features
For testing purposes.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>