]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
14 months agocrimson/os/seastore/object_data_handler: adjust code indention of read() 57432/head
Yingxin Cheng [Mon, 13 May 2024 07:05:49 +0000 (15:05 +0800)]
crimson/os/seastore/object_data_handler: adjust code indention of read()

To make it easier to read, make sure there are 2 spaces per nesting.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
14 months agocrimson/os/seastore/object_data_handler: cleanup read() and logs
Yingxin Cheng [Mon, 13 May 2024 06:52:43 +0000 (14:52 +0800)]
crimson/os/seastore/object_data_handler: cleanup read() and logs

Specifically, refactor based on read range, pin range and extent range.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
14 months agocrimson/os/seastore/object_data_handler: adjust l_current asserts for read()
Yingxin Cheng [Mon, 13 May 2024 05:37:34 +0000 (13:37 +0800)]
crimson/os/seastore/object_data_handler: adjust l_current asserts for read()

l_current is only allowed to be larger than pin_key for the first pin.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
14 months agocrimson/os/seastore/object_data_handler: cleanup and renames
Yingxin Cheng [Mon, 13 May 2024 02:36:42 +0000 (10:36 +0800)]
crimson/os/seastore/object_data_handler: cleanup and renames

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
14 months agoMerge pull request #57434 from cyx1231st/wip-fix-seastore-capture
Yingxin [Tue, 14 May 2024 01:33:09 +0000 (09:33 +0800)]
Merge pull request #57434 from cyx1231st/wip-fix-seastore-capture

crimson/os/seastore/record_scanner: replace [=] capturing

Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
14 months agoMerge pull request #55488 from cyx1231st/wip-crimson-load-obc
Samuel Just [Tue, 14 May 2024 00:45:26 +0000 (17:45 -0700)]
Merge pull request #55488 from cyx1231st/wip-crimson-load-obc

crimson/osd/osd_operations/client_request: make loading-obc concurrent

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
14 months agoMerge pull request #57356 from soumyakoduri/wip-skoduri-lc-notify
Casey Bodley [Mon, 13 May 2024 17:45:33 +0000 (18:45 +0100)]
Merge pull request #57356 from soumyakoduri/wip-skoduri-lc-notify

rgw/cloud-transition: fix the crash with publish_commit

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
14 months agoMerge pull request #56574 from badone/wip-tracker-59196-lazy-omap-regex-segfault
Laura Flores [Mon, 13 May 2024 17:05:53 +0000 (12:05 -0500)]
Merge pull request #56574 from badone/wip-tracker-59196-lazy-omap-regex-segfault

test/lazy-omap-stats: Convert to boost::regex

14 months agoMerge pull request #56979 from yuvalif/wip-yuval-65337
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
14 months agoMerge PR #56148 into main
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>
14 months agoMerge PR #56699 into main
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>
14 months agoMerge PR #56525 into main
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>
14 months agoMerge PR #56135 into main
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>
14 months agocrimson/os/seastore/record_scanner: replace [=] capturing 57434/head
Yingxin Cheng [Mon, 13 May 2024 07:14:40 +0000 (15:14 +0800)]
crimson/os/seastore/record_scanner: replace [=] capturing

Capturing with = is error prone and causes compile warning.

And it is wrong:
* cursor should be captured by reference
* mutable keyword is unnecessary

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
14 months agoMerge pull request #55923 from NitzanMordhai/wip-nitzan-add-deprecate-cls-gather
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

14 months agoMerge pull request #56983 from NitzanMordhai/wip-nitzan-thrash-erasure-code-crush...
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

14 months agotest/rgw/notifications: make sure that http handler is running 56979/head
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>
14 months agotest/rgw/notification: prevent flooding the http server
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>
14 months agotest/rgw/notification: avoid BlockingIOError when logging errors
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>
14 months agotest/rgw/notifications: fix lifecycle tests
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>
14 months agorgw/notifications: start/stop endpoint managers in notification manager
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>
14 months agorados/test: Remove cls_remote_reade since gather deprecated 55923/head
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>
14 months agorgw/notifications: cleanup includes and unused parameters
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>
14 months agorgw/notifications: enable notifications debug logs in vstart
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>
14 months agoMerge pull request #57421 from zdover23/wip-doc-2024-05-12-dev-developer-guide-dash...
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/

14 months agoMerge pull request #57420 from zdover23/wip-doc-2024-05-11-cephfs-fs-volumes-1-of...
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

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

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

Signed-off-by: Zac Dover <zac.dover@proton.me>
14 months agodoc/cephfs: edit fs-volumes.rst (1 of x) followup 57420/head
Zac Dover [Sun, 12 May 2024 01:39:34 +0000 (11:39 +1000)]
doc/cephfs: edit fs-volumes.rst (1 of x) followup

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

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
14 months agoMerge pull request #57415 from zdover23/wip-doc-2024-05-11-cephfs-fs-volumes-1-of-x
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>
14 months agodoc/cephfs: edit fs-volumes.rst (1 of x) 57415/head
Zac Dover [Sat, 11 May 2024 04:57:23 +0000 (14:57 +1000)]
doc/cephfs: edit fs-volumes.rst (1 of x)

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

Signed-off-by: Zac Dover <zac.dover@proton.me>
14 months agoMerge pull request #57214 from adk3798/cephadm-ignore-stray-on-upgrade
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>
14 months agoMerge pull request #57205 from SidGilad/bug/65739_support_cgroup_split_removal_for_adopt
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>
14 months agoMerge pull request #56735 from samarahu/wip-rgw-d4n-long-descriptions
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>
14 months agoMerge pull request #56585 from ivancich/wip-upgrade-arrow+flight-15.0.2
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>
14 months agoMerge pull request #57259 from pdvian/wip-fix-unfoundev-progress
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>
14 months agoMerge pull request #57182 from adk3798/nvmeof-config-fix
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>
14 months agoMerge pull request #57181 from adk3798/cleanup-iscsi-nvmeof-keyring
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>
14 months agoMerge pull request #57096 from phlogistonjohn/jjm-smb-output-fmt
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>
14 months agoMerge pull request #57089 from adk3798/test-cephadm-timeout-ignore-refresh-failed
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>
14 months agoMerge pull request #57080 from phlogistonjohn/jjm-teuth-pull-img
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>
14 months agoMerge pull request #57042 from adk3798/host-drain-test-ignore-stray-host
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>
14 months agoMerge pull request #56970 from adk3798/cephadm-ignore-orch-paused
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>
14 months agoMerge pull request #56963 from adk3798/nfs-cluster-ls-json-pretty
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>
14 months agoMerge pull request #56957 from adk3798/no-stray-recent-removal
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>
14 months agoMerge pull request #56823 from adk3798/autotune-testing
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>
14 months agoMerge pull request #56802 from clwluvw/rgw-mdsearch
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>
14 months agoMerge pull request #57372 from ceph/wip-lusov-quiesce-docs
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>
14 months agoMerge pull request #57277 from tchaikov/test_election-free-tracker
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>
14 months agoMerge pull request #56493 from igomon-bloomberg/wip_kafka_sasl_username_password_attrs
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>
14 months agoMerge pull request #57075 from cbodley/wip-rgw-ldap-derr
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>
14 months agoMerge pull request #57083 from ivancich/wip-optimize-bucket-check-mulitparts
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>
14 months agoMerge pull request #57098 from kchheda3/wip-dont-log-passwd
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>
14 months agorgw: update s3select submodule addressing arrow 15.0.0 compilation issues 56585/head
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>
14 months agodoc/cephfs: expand the role of quiesce in consistent backups 57372/head
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
14 months agoMerge pull request #57331 from ronen-fr/wip-rf-tier0
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>
14 months agoMerge pull request #57155 from mkogan1/wip-rgw-ssl-ec
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>
14 months agoMerge pull request #57360 from cbodley/wip-neorados-rm-completion.h
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>
14 months agoobjclass: deprecate cls_cxx_gather
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>
14 months agoMerge pull request #55773 from weirdwiz/main
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>
14 months agorgw/cloud-transition: Use set_atomic() while updating HEAD 57356/head
Soumya Koduri [Thu, 9 May 2024 07:15:52 +0000 (12:45 +0530)]
rgw/cloud-transition: Use set_atomic() while updating HEAD

LC Cloud transition should use set_atomic() to prevent any overwrite
while updating the HEAD object.

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
14 months agorgw/cloud-transition: fix the crash with accessing invalid attrs
Soumya Koduri [Thu, 9 May 2024 07:02:14 +0000 (12:32 +0530)]
rgw/cloud-transition: fix the crash with accessing invalid attrs

The obj_state may not be valid anymore post LC operations (esp.,
cloud-transition). Hence read and store etag prior to them to be used
later by notification (publish_commit).

Fixes: https://tracker.ceph.com/issues/65862
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
14 months agoMerge pull request #56865 from zmc/cmake-sccache-max-jobs
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>
14 months agocrimson/common/operation: distruct barrier after the wait future is resolved 55488/head
Yingxin Cheng [Tue, 7 May 2024 08:33:04 +0000 (16:33 +0800)]
crimson/common/operation: distruct barrier after the wait future is resolved

Specifically, OrderedExclusivePhaseT::mutex must be unlocked only after
it is locked. Otherwise it can unlock other client requests
unexpectedly, causing incorrect order upon exit.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
14 months agocrimson/common/operation: cleanup, merge exit() into ~PipelineExitBarrierI()
Yingxin Cheng [Tue, 7 May 2024 05:45:40 +0000 (13:45 +0800)]
crimson/common/operation: cleanup, merge exit() into ~PipelineExitBarrierI()

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
14 months agocrimson/osd/osd_operations: introduce concurrent lock_obc phase
Yingxin Cheng [Thu, 25 Jan 2024 02:42:17 +0000 (10:42 +0800)]
crimson/osd/osd_operations: introduce concurrent lock_obc phase

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
14 months agocrimson/osd/osd_operations/client_request: make loading-obc concurrent during recover...
Yingxin Cheng [Tue, 23 Jan 2024 06:45:17 +0000 (14:45 +0800)]
crimson/osd/osd_operations/client_request: make loading-obc concurrent during recover missing

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
14 months agocrimson/.../client_request: introduce instance_handle_t::enter_stage_sync()
Yingxin Cheng [Thu, 25 Jan 2024 08:47:38 +0000 (16:47 +0800)]
crimson/.../client_request: introduce instance_handle_t::enter_stage_sync()

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
14 months agocrimson/osd/osd_operation: introduce PhasedOperationT::enter_stage_sync()
Yingxin Cheng [Mon, 22 Apr 2024 07:29:28 +0000 (15:29 +0800)]
crimson/osd/osd_operation: introduce PhasedOperationT::enter_stage_sync()

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
14 months agocrimson/common/operation: cleanup around PipelineHandle::enter()
Yingxin Cheng [Thu, 25 Jan 2024 05:54:00 +0000 (13:54 +0800)]
crimson/common/operation: cleanup around PipelineHandle::enter()

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
14 months agocrimson/osd/osd_operations/client_request: cleanup, drop CommonClientRequest::recover...
Yingxin Cheng [Mon, 22 Apr 2024 06:31:18 +0000 (14:31 +0800)]
crimson/osd/osd_operations/client_request: cleanup, drop CommonClientRequest::recover_missings

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
14 months agocrimson/osd/osd_operations/client_request: cleanup, simplify recover_missings
Yingxin Cheng [Mon, 22 Apr 2024 06:05:26 +0000 (14:05 +0800)]
crimson/osd/osd_operations/client_request: cleanup, simplify recover_missings

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
14 months agocrimson/osd/osd_operations/client_request: skip recover missings if snaps are empty
Yingxin Cheng [Mon, 22 Apr 2024 03:42:41 +0000 (11:42 +0800)]
crimson/osd/osd_operations/client_request: skip recover missings if snaps are empty

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
14 months agoneorados: remove unused symlink to completion.h 57360/head
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>
14 months agoMerge pull request #55437 from tchaikov/ehh-upstart
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>
14 months agoMerge pull request #56238 from SMIL-Infra/journald-fix
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>
14 months agoMerge pull request #55560 from tchaikov/systemd-sans-clsuter-name
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>
14 months agoexporter: handle exceptions gracefully 55773/head
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>
14 months agoMerge pull request #55007 from shminjs/fix-wrong-osd-op-flag-name
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

14 months agoMerge PR #56810 into main
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>
14 months agoMerge pull request #57330 from ronen-fr/wip-rf-iam-rgw0
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>
14 months agoMerge pull request #57258 from cbodley/wip-qa-rgw-d4n-tests
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>
14 months agoMerge PR #57192 into main
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>
14 months agoMerge pull request #57298 from zdover23/wip-doc-2024-05-07-mgr-dashboard-overview
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>
14 months agoMerge PR #57166 into main
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>
14 months agoMerge PR #57165 into main
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>
14 months agoMerge pull request #57226 from ronen-fr/wip-rf-unused-cache
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>
14 months agotests/librados: do not use '0' as a string 57331/head
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>
14 months agotests/rgw: fix ints returned where a string is expected 57330/head
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>
14 months agoPendingReleaseNotes: add note on the client incompatibility health warning and featur... 57192/head
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>
14 months agodoc/cephfs: add client_mds_auth_caps client feature bit
Patrick Donnelly [Fri, 3 May 2024 00:46:17 +0000 (20:46 -0400)]
doc/cephfs: add client_mds_auth_caps client feature bit

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
14 months agodoc/cephfs: add missing client feature bits
Patrick Donnelly [Fri, 3 May 2024 00:38:19 +0000 (20:38 -0400)]
doc/cephfs: add missing client feature bits

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
14 months agodoc/cephfs: document MDS_CLIENTS_BROKEN_ROOTSQUASH health error
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>
14 months agoqa: add tests for MDS_CLIENTS_BROKEN_ROOTSQUASH
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>
14 months agomds: raise health warning if client lacks feature for root_squash
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>
14 months agomon/MDSMonitor: add note about missing metadata inclusion
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>
14 months agomds: check relevant caps for fs include root_squash
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>
14 months agomds: refactor out fs_name match in MDSAuthCaps
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>
14 months agoqa: test for root_squash with multiple caps
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>
14 months agoqa: pass kwargs to mount from remount
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>
14 months agoqa: simplify update_attrs and only update relevant keys
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>