]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 months agomgr/dashboard: Add 'Browse Dashboards' button in Grafana dashboards 61589/head
Piyush Agarwal [Thu, 30 Jan 2025 09:12:37 +0000 (14:42 +0530)]
mgr/dashboard: Add 'Browse Dashboards' button in Grafana dashboards

Fixes: https://tracker.ceph.com/issues/69727
Signed-off-by: Piyush Agarwal <piyushagarwal14.pa@gmail.com>
5 months agoMerge pull request #61040 from rhcs-dashboard/smb-module-check
Pedro Gonzalez Gomez [Mon, 20 Jan 2025 07:19:02 +0000 (08:19 +0100)]
Merge pull request #61040 from rhcs-dashboard/smb-module-check

mgr/module: Smb module check

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
5 months agoMerge pull request #61445 from zdover23/wip-doc-2025-01-19-cephfs-disaster-recovery...
Anthony D'Atri [Sun, 19 Jan 2025 15:59:25 +0000 (10:59 -0500)]
Merge pull request #61445 from zdover23/wip-doc-2025-01-19-cephfs-disaster-recovery-experts

doc/cephfs: disaster-recovery-experts cleanup

5 months agodoc/cephfs: disaster-recovery-experts cleanup 61445/head
Zac Dover [Sun, 19 Jan 2025 12:49:52 +0000 (22:49 +1000)]
doc/cephfs: disaster-recovery-experts cleanup

Properly wrap a poorly-formatted paragraph that looks just awful in an
80-column viewport and change MDS to "MDS daemons" where the latter
makes the sentence a lot clearer.

Signed-off-by: Zac Dover <zac.dover@proton.me>
5 months agoMerge pull request #61427 from zdover23/wip-doc-2025-01-17-cephfs-disaster-recovery...
Zac Dover [Sun, 19 Jan 2025 07:31:28 +0000 (17:31 +1000)]
Merge pull request #61427 from zdover23/wip-doc-2025-01-17-cephfs-disaster-recovery-experts-2

doc/cephfs: edit disaster-recovery-experts (2 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agodoc/cephfs: edit disaster-recovery-experts (2 of x) 61427/head
Zac Dover [Fri, 17 Jan 2025 12:33:49 +0000 (22:33 +1000)]
doc/cephfs: edit disaster-recovery-experts (2 of x)

Edit the third and fourth sections of
doc/cephfs/disaster-recovery-experts.rst in preparation for adding
deeper explanations of the contexts in which one should use the various
commands listed on that page.

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

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

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
6 months agoMerge pull request #61426 from zdover23/wip-doc-2025-01-17-cephfs-disaster-recovery...
Zac Dover [Sat, 18 Jan 2025 03:43:18 +0000 (13:43 +1000)]
Merge pull request #61426 from zdover23/wip-doc-2025-01-17-cephfs-disaster-recovery-experts

doc/cephfs: remove link to undeveloped tool

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoMerge pull request #61440 from zdover23/wip-doc-2025-01-18-backport-61429-to-squid
Zac Dover [Fri, 17 Jan 2025 23:56:48 +0000 (09:56 +1000)]
Merge pull request #61440 from zdover23/wip-doc-2025-01-18-backport-61429-to-squid

doc/releases: edit warning for balancer issues

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agodoc/releases: edit warning for balancer issues 61440/head
Zac Dover [Fri, 17 Jan 2025 22:22:55 +0000 (08:22 +1000)]
doc/releases: edit warning for balancer issues

Rephrase the balancer-related warning issued to people upgrading to
Ceph 19.2.0.

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

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
6 months agoMerge pull request #61429 from laimis9133/squid-doc-patch
Anthony D'Atri [Fri, 17 Jan 2025 18:29:18 +0000 (13:29 -0500)]
Merge pull request #61429 from laimis9133/squid-doc-patch

doc/releases /squid: add warning for balancer issues

6 months agoMerge pull request #61407 from clwluvw/replication-status
J. Eric Ivancich [Fri, 17 Jan 2025 18:15:21 +0000 (13:15 -0500)]
Merge pull request #61407 from clwluvw/replication-status

rgw: update attrs with replication status to reflect in response

Reviewed-by: Alex Wojno <awojno@bloomberg.net>
6 months agoMerge pull request #61406 from clwluvw/checkpoint-dstbucket
J. Eric Ivancich [Fri, 17 Jan 2025 18:14:42 +0000 (13:14 -0500)]
Merge pull request #61406 from clwluvw/checkpoint-dstbucket

rgw: set dest bucket id in bucket sync checkpoint

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
6 months agoMerge pull request #61271 from clwluvw/datasync-usermode-err
J. Eric Ivancich [Fri, 17 Jan 2025 18:14:10 +0000 (13:14 -0500)]
Merge pull request #61271 from clwluvw/datasync-usermode-err

rgw: set retcode on verify_bucket_permission in RGWObjFetchCR

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 months agoMerge pull request #61157 from aiivashchenko/fix_68195
J. Eric Ivancich [Fri, 17 Jan 2025 18:13:54 +0000 (13:13 -0500)]
Merge pull request #61157 from aiivashchenko/fix_68195

rgw: add missing last_modified field to swift api

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 months agodoc/releases/squid: add warning for balancer issues 61429/head
Laimis Juzeliūnas [Fri, 17 Jan 2025 15:28:28 +0000 (17:28 +0200)]
doc/releases/squid: add warning for balancer issues

This change is to update 19.2.0 Squid release documentation with a warning for users regarding potential placement group balancer issues.

Signed-off-by: Laimis Juzeliunas <laimis.juzeliunas@oxylabs.io>
6 months agoMerge pull request #61387 from yuvalif/wip-yuval-69473
J. Eric Ivancich [Fri, 17 Jan 2025 16:20:28 +0000 (11:20 -0500)]
Merge pull request #61387 from yuvalif/wip-yuval-69473

test/rgw/lua: install luarocks

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
6 months agoMerge pull request #59143 from Sean10/fix_rados_pybind_zero_param
Yuri Weinstein [Fri, 17 Jan 2025 16:08:51 +0000 (08:08 -0800)]
Merge pull request #59143 from Sean10/fix_rados_pybind_zero_param

pybind/rados: fix the incorrect order of offset,length in WriteOp.zero

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 months agoMerge pull request #61384 from sj14/sj/delete-policy-204
J. Eric Ivancich [Fri, 17 Jan 2025 14:31:31 +0000 (09:31 -0500)]
Merge pull request #61384 from sj14/sj/delete-policy-204

rgw: S3 Delete Bucket Policy should return 204 on success

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 months agoMerge pull request #61370 from yehudasa/wip-69536
J. Eric Ivancich [Fri, 17 Jan 2025 14:30:07 +0000 (09:30 -0500)]
Merge pull request #61370 from yehudasa/wip-69536

rgw: RGWRados::get_olh() needs to use the correct attr

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 months agoMerge pull request #61285 from cbodley/wip-69462
J. Eric Ivancich [Fri, 17 Jan 2025 14:26:00 +0000 (09:26 -0500)]
Merge pull request #61285 from cbodley/wip-69462

rgw: /admin/user api dumps account-related user info

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
6 months agoMerge pull request #61244 from awojno-bloomberg/fix-bucket-sync-status
J. Eric Ivancich [Fri, 17 Jan 2025 14:25:19 +0000 (09:25 -0500)]
Merge pull request #61244 from awojno-bloomberg/fix-bucket-sync-status

rgw: fix radosgw-admin use after free in bucket sync status

Reviewed-By: Adam Emerson <aemerson@ibm.com>
Reviewed-By: Oguzhan Ozmen <oozmen@bloomberg.net>
6 months agodoc/cephfs: remove link to undeveloped tool 61426/head
Zac Dover [Fri, 17 Jan 2025 12:23:17 +0000 (22:23 +1000)]
doc/cephfs: remove link to undeveloped tool

Remove a link to a tracker for a planned-but-never-developed tool that
would have facilitated the importation or exportation of a RADOS pool to
a file. This is a part of a project to improve the CephFS Disaster
Recovery documentation, which was requested by Eugen Block. See the
tracker issue below for more on this project.

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

See https://github.com/ceph/ceph/pull/61411#discussion_r1918525109

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

Signed-off-by: Zac Dover <zac.dover@proton.me>
6 months agoMerge pull request #61411 from zdover23/wip-doc-2025-01-16-cephfs-disaster-recovery...
Zac Dover [Fri, 17 Jan 2025 12:18:07 +0000 (22:18 +1000)]
Merge pull request #61411 from zdover23/wip-doc-2025-01-16-cephfs-disaster-recovery-experts

doc/cephfs: edit disaster-recovery-experts

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoMerge pull request #59155 from badone/wip-tracker-67489-fixed-4-for-verify
SrinivasaBharathKanta [Fri, 17 Jan 2025 10:20:27 +0000 (15:50 +0530)]
Merge pull request #59155 from badone/wip-tracker-67489-fixed-4-for-verify

qa/suites: Make fixed-4 an option for verify tests

6 months agoMerge pull request #60556 from aclamk/wip-aclamk-bluefs-truncate-allocations-main
Adam Kupczyk [Fri, 17 Jan 2025 08:31:32 +0000 (09:31 +0100)]
Merge pull request #60556 from aclamk/wip-aclamk-bluefs-truncate-allocations-main

os/bluestore: Make truncate() drop unused allocations - addendum

6 months agoMerge pull request #60363 from aclamk/wip-aclamk-fix-bluefs-bdev-expand
Adam Kupczyk [Fri, 17 Jan 2025 08:31:15 +0000 (09:31 +0100)]
Merge pull request #60363 from aclamk/wip-aclamk-fix-bluefs-bdev-expand

os/bluestore: Create additional bdev labels when expanding block device.

6 months agoMerge pull request #61369 from laimis9133/patch-2
Anthony D'Atri [Fri, 17 Jan 2025 01:46:57 +0000 (20:46 -0500)]
Merge pull request #61369 from laimis9133/patch-2

doc/radosgw/config-ref: fix lifecycle workload tuning description

6 months agoMerge pull request #61412 from gbregman/main
Gil Bregman [Fri, 17 Jan 2025 00:11:55 +0000 (02:11 +0200)]
Merge pull request #61412 from gbregman/main

mgr/cephadm/nvmeof: Add SPDK iobuf options field to NVMeOF configuration

6 months agoMerge pull request #60265 from MaxKellermann/timeout_round_up
Yuri Weinstein [Thu, 16 Jan 2025 23:06:36 +0000 (15:06 -0800)]
Merge pull request #60265 from MaxKellermann/timeout_round_up

msg/async: round timeouts up (fix busy loops)

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
6 months agoMerge pull request #48539 from chrisphoffman/wip-57864
Ilya Dryomov [Thu, 16 Jan 2025 18:13:44 +0000 (19:13 +0100)]
Merge pull request #48539 from chrisphoffman/wip-57864

qa/tasks: Include stderr on tasks badness check

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
6 months agomgr/cephadm/nvmeof: Add SPDK iobuf options field to NVMeOF configuration 61412/head
Gil Bregman [Thu, 16 Jan 2025 12:21:33 +0000 (14:21 +0200)]
mgr/cephadm/nvmeof: Add SPDK iobuf options field to NVMeOF configuration
Fixes https://tracker.ceph.com/issues/69554

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
6 months agotest/rgw/lua: install luarocks 61387/head
Yuval Lifshitz [Tue, 14 Jan 2025 17:30:32 +0000 (17:30 +0000)]
test/rgw/lua: install luarocks

since it is only a suggestion for debian.
this is a regression from: https://github.com/ceph/ceph/pull/60666

Fixes: https://tracker.ceph.com/issues/69473
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
6 months agoMerge pull request #61393 from abhishek-kane/mapping_email
Adam King [Thu, 16 Jan 2025 13:01:22 +0000 (08:01 -0500)]
Merge pull request #61393 from abhishek-kane/mapping_email

Add Abhishek Kane into peoplemap, githubmap, organizationmap, mailmap

Reviewed-by: Adam King <adking@redhat.com>
6 months agodoc/cephfs: edit disaster-recovery-experts 61411/head
Zac Dover [Thu, 16 Jan 2025 11:51:46 +0000 (21:51 +1000)]
doc/cephfs: edit disaster-recovery-experts

Edit the first two sections of doc/cephfs/disaster-recovery-experts.rst
in preparation for adding deeper explanations of the contexts in which
one should use the various commands listed on that page.

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

Signed-off-by: Zac Dover <zac.dover@proton.me>
6 months agoMerge pull request #61349 from VallariAg/wip-vallari-nvmeof-ceph-version
Vallari Agrawal [Thu, 16 Jan 2025 09:57:46 +0000 (15:27 +0530)]
Merge pull request #61349 from VallariAg/wip-vallari-nvmeof-ceph-version

mon: do not show nvmeof in 'ceph versions' output

6 months agoMerge pull request #60889 from anoopcs9/fix-invalid-access-mds
Milind Changire [Thu, 16 Jan 2025 09:08:39 +0000 (14:38 +0530)]
Merge pull request #60889 from anoopcs9/fix-invalid-access-mds

mds: Fix invalid access of mdr->dn[0].back()

6 months agoAdd Abhishek Kane into peoplemap, githubmap, organizationmap, mailmap 61393/head
abhishek-kane [Wed, 15 Jan 2025 11:20:25 +0000 (16:50 +0530)]
Add Abhishek Kane into peoplemap, githubmap, organizationmap, mailmap

Signed-off-by: abhishek-kane <abhishek.kane@ibm.com>
6 months agomon: do not show nvmeof in 'ceph versions' output 61349/head
Vallari Agrawal [Mon, 13 Jan 2025 11:05:27 +0000 (16:35 +0530)]
mon: do not show nvmeof in 'ceph versions' output

NVMeoF gateway version is independent of ceph version
so 'ceph version' shows wrong nvmeof version in output
(i.e. instead of gateway version, it shows Ceph version).
Hence, remove nvmeof in 'ceph versions' output.

To check for gateway version, use 'gw info' command.

Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
6 months agoMerge pull request #61218 from dmick/wip-containerfile-ceph-version
Dan Mick [Wed, 15 Jan 2025 20:28:39 +0000 (12:28 -0800)]
Merge pull request #61218 from dmick/wip-containerfile-ceph-version

container/Containerfile: replace CEPH_VERSION label for backward compat

6 months agorgw: update attrs with replication status to reflect in response 61407/head
Seena Fallah [Sun, 3 Nov 2024 22:18:57 +0000 (23:18 +0100)]
rgw: update attrs with replication status to reflect in response

In handle_replication_status_header() when the COMPLETED status is
being set to object's attr, it needs to be reflected to the current
live attrs for the corresponding request so it can be reflected in
the first try than the second.

Fixes: https://tracker.ceph.com/issues/69549
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
6 months agorgw: set dest bucket id in bucket sync checkpoint 61406/head
Seena Fallah [Mon, 28 Oct 2024 01:06:53 +0000 (02:06 +0100)]
rgw: set dest bucket id in bucket sync checkpoint

bucket_source_sync_checkpoint() requires bucket id to lookup for
full-sync object and the dest pipe doesn't have it. by replcaning
the bucket key in the pipe with the bucket info we will ensure the
bucket id is set.

Fixes: https://tracker.ceph.com/issues/69548
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
6 months agoMerge pull request #60847 from cbodley/wip-rgw-boto-headbucket-stats
Casey Bodley [Wed, 15 Jan 2025 19:25:40 +0000 (14:25 -0500)]
Merge pull request #60847 from cbodley/wip-rgw-boto-headbucket-stats

examples/rgw: register boto extension for HeadBucket stats

Reviewed-by: Seena Fallah <seenafallah@gmail.com>
6 months agoMerge pull request #61211 from yuvalif/wip-yuval-logging-tenant
Yuval Lifshitz [Wed, 15 Jan 2025 16:23:44 +0000 (18:23 +0200)]
Merge pull request #61211 from yuvalif/wip-yuval-logging-tenant

rgw/logging: add more validations to conf, cross tenant support and cleanup

Reviewed-By: Adam Emerson <aemerson@ibm.com>, Ali Masarwe <ali.masarwa@ibm.com>
6 months agoMerge pull request #61373 from anthonyeleven/fix-file-descriptions
Zac Dover [Wed, 15 Jan 2025 15:25:50 +0000 (01:25 +1000)]
Merge pull request #61373 from anthonyeleven/fix-file-descriptions

AsyncMessenger.cc : improve error messages

Reviewed-by: Zac Dover <zac.dover@proton.me>
6 months agoMerge pull request #61289 from ronen-fr/wip-rf-catcher-fix
Ronen Friedman [Wed, 15 Jan 2025 09:54:06 +0000 (11:54 +0200)]
Merge pull request #61289 from ronen-fr/wip-rf-catcher-fix

common: fix md_config_cacher_t
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 months agorgw: S3 Delete Bucket Policy should return 204 on success 61384/head
Simon Jürgensmeyer [Wed, 15 Jan 2025 08:08:38 +0000 (09:08 +0100)]
rgw: S3 Delete Bucket Policy should return 204 on success

Currently, RGW returns a 200 on a successful DELETE on a bucket policy but
the S3 API expects a 204:

    https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketPolicy.html

The sample response in the example above is a 204.

This patch checks the op_ret in `RGWDeleteBucketPolicy::send_response()`
and on a success we turn it to a 204 (or STATUS_NO_CONTENT).

Fixes: https://tracker.ceph.com/issues/69539
Signed-off-by: Simon Jürgensmeyer <simon.juergensmeyer@hetzner-cloud.de>
6 months agoMerge pull request #61072 from pecastro/doc_and_test_fixes
Anthony D'Atri [Wed, 15 Jan 2025 03:03:36 +0000 (22:03 -0500)]
Merge pull request #61072 from pecastro/doc_and_test_fixes

Doc and test fixes

6 months agoAsyncMessenger.cc : improve error messages 61373/head
Anthony D'Atri [Wed, 15 Jan 2025 00:17:14 +0000 (19:17 -0500)]
AsyncMessenger.cc : improve error messages

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
6 months agoqa/tasks: Include stderr on tasks badness check. 48539/head
Christopher Hoffman [Tue, 18 Oct 2022 20:14:19 +0000 (20:14 +0000)]
qa/tasks: Include stderr on tasks badness check.

Make sure that first_in_ceph_log() doesn't return None (which is
treated as success/"no badness" by the caller) if the cluster log file
is missing.

Fixes: https://tracker.ceph.com/issues/57864
Co-authored-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
6 months agorgw: RGWRados::get_olh() needs to use the correct attr 61370/head
Yehuda Sadeh [Tue, 14 Jan 2025 18:57:06 +0000 (13:57 -0500)]
rgw: RGWRados::get_olh() needs to use the correct attr

Fixes: https://tracker.ceph.com/issues/69536
Signed-off-by: Yehuda Sadeh <ysadehwe@ibm.com>
6 months agodoc/radosgw/config-ref: fix lifecycle workload tuning description 61369/head
Laimis Juzeliūnas [Tue, 14 Jan 2025 17:38:08 +0000 (19:38 +0200)]
doc/radosgw/config-ref: fix lifecycle workload tuning description

This commit updates RGW Config Reference - Lifecycle Settings section. In particular it changes the section where two different tunings for two different workloads are suggested. It aims for a more understandable description as asked by the contributors.

Signed-off-by: Laimis Juzeliunas <laimis.juzeliunas@oxylabs.io>
6 months agoMerge pull request #59739 from sabaini/fix/ceph-volume-ep
Adam King [Tue, 14 Jan 2025 17:28:22 +0000 (12:28 -0500)]
Merge pull request #59739 from sabaini/fix/ceph-volume-ep

[ceph-volume] fix importlib.metadata compat

Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
6 months agoMerge pull request #60073 from mkogan1/wip-fix-rate-lim
Casey Bodley [Tue, 14 Jan 2025 16:42:02 +0000 (11:42 -0500)]
Merge pull request #60073 from mkogan1/wip-fix-rate-lim

rgw: fix user rate limit is not enforced w/ global rate limit set

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 months agoMerge pull request #61322 from JonBailey1993/JonBailey1993/ceph_test_rados_io_sequenc...
Jon Bailey [Tue, 14 Jan 2025 13:14:52 +0000 (13:14 +0000)]
Merge pull request #61322 from JonBailey1993/JonBailey1993/ceph_test_rados_io_sequence_ostringstream_fix

common/io_exerciser: Ensure empty stringstream in ceph_test_rados_io_sequence RadosIO between ReST calls

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
6 months agoqa/scrub: more delay when waiting for noscrub to take effect 61289/head
Ronen Friedman [Tue, 14 Jan 2025 11:39:14 +0000 (05:39 -0600)]
qa/scrub: more delay when waiting for noscrub to take effect

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
6 months agoMerge pull request #61352 from zdover23/wip-doc-2025-01-14-releases-quincy-eol
Zac Dover [Tue, 14 Jan 2025 09:24:50 +0000 (19:24 +1000)]
Merge pull request #61352 from zdover23/wip-doc-2025-01-14-releases-quincy-eol

doc/releases: add actual_eol for quincy

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agocommon: config_cacher: use set::contains() instead of count()
Ronen Friedman [Tue, 14 Jan 2025 09:23:16 +0000 (03:23 -0600)]
common: config_cacher: use set::contains() instead of count()

moved out of the main commit to
facilitate backporting it to pre-C++20.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
6 months agoqa/scrub: change 'bin/ceph' to 'ceph'
Ronen Friedman [Tue, 14 Jan 2025 09:12:19 +0000 (03:12 -0600)]
qa/scrub: change 'bin/ceph' to 'ceph'

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
6 months agocommon: fix md_config_cacher_t
Ronen Friedman [Thu, 9 Jan 2025 17:06:37 +0000 (11:06 -0600)]
common: fix md_config_cacher_t

In its get_tracked_conf_keys() member function, the
cacher (in the existing code) initializes a static
function-block variable ('keys'), and uses it for
registering the observer.

But the cacher is instantiated on the type of
the configuration value. Thus, multiple cacher
objects for which the configuration values are
of the same type - share the static 'keys'. Only
one of the observers is registered.

Note that the code could have been simplified
somewhat, if the signature of the
get_tracked_conf_keys() function
was changed to return 'const char* const *'.

Fixes: https://tracker.ceph.com/issues/69236
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
6 months agoMerge pull request #61314 from aclamk/wip-aclamk-bluefs-truncate-fix
Adam Kupczyk [Tue, 14 Jan 2025 08:25:26 +0000 (09:25 +0100)]
Merge pull request #61314 from aclamk/wip-aclamk-bluefs-truncate-fix

os/bluestore: Fix BlueFS::truncate()

6 months agoMerge pull request #61261 from xxhdx1985126/wip-seastore-lba-backref-mapping
Yingxin Cheng [Tue, 14 Jan 2025 01:28:46 +0000 (09:28 +0800)]
Merge pull request #61261 from xxhdx1985126/wip-seastore-lba-backref-mapping

crimson/os/seastore: refactor LBAMapping

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 months agoMerge pull request #60215 from MaxKellermann/osd_optimizations
SrinivasaBharathKanta [Tue, 14 Jan 2025 00:54:34 +0000 (06:24 +0530)]
Merge pull request #60215 from MaxKellermann/osd_optimizations

OSD: Small optimizations

6 months agoMerge pull request #61312 from adamemerson/wip-boost-1.86-fixes
Ilya Dryomov [Mon, 13 Jan 2025 21:58:40 +0000 (22:58 +0100)]
Merge pull request #61312 from adamemerson/wip-boost-1.86-fixes

{mgr, rbd, tests/os}: Fixes for Boost 1.86

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
6 months agoMerge pull request #61284 from shraddhaag/wip-shraddhaag-fix-rados-monthrash
Laura Flores [Mon, 13 Jan 2025 19:21:49 +0000 (13:21 -0600)]
Merge pull request #61284 from shraddhaag/wip-shraddhaag-fix-rados-monthrash

rados/monthrash: add PG_DEGRADED to ignorelist

6 months agodoc/releases: add actual_eol for quincy 61352/head
Zac Dover [Mon, 13 Jan 2025 19:00:00 +0000 (05:00 +1000)]
doc/releases: add actual_eol for quincy

Add the actual EOL date for the Quincy release (it's 2025-01-13).

Signed-off-by: Zac Dover <zac.dover@proton.me>
6 months agoMerge pull request #61311 from zdover23/wip-doc-2025-01-10-releases-remove-quincy...
Yuri Weinstein [Mon, 13 Jan 2025 18:54:04 +0000 (10:54 -0800)]
Merge pull request #61311 from zdover23/wip-doc-2025-01-10-releases-remove-quincy-from-active

doc/releases: remove Quincy from "Active"

Reviewed by: Laura Flores <lflores@redhat.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoMerge pull request #61208 from Yonatan-Zaken/restore_selinux_context_when_writing_rem...
Adam King [Mon, 13 Jan 2025 18:17:09 +0000 (13:17 -0500)]
Merge pull request #61208 from Yonatan-Zaken/restore_selinux_context_when_writing_remote_files_on_host

mgr/cephadm: Restore client file(s) default SELinux context type

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
6 months agoMerge pull request #61099 from rkachach/fix_issue_69252
Adam King [Mon, 13 Jan 2025 18:13:15 +0000 (13:13 -0500)]
Merge pull request #61099 from rkachach/fix_issue_69252

mgr/cephadm: fixing logic in cert-store save_cert method

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
6 months agoMerge pull request #61035 from ShwetaBhosale1/fix_issue_69192_getting_error_if_yaml_f...
Adam King [Mon, 13 Jan 2025 18:10:55 +0000 (13:10 -0500)]
Merge pull request #61035 from ShwetaBhosale1/fix_issue_69192_getting_error_if_yaml_file_has_trailing_tab

mgr/cephadm: mgr orchestrator module raise exception if there is trailing tab in yaml file

Reviewed-by: Adam King <adking@redhat.com>
6 months agoMerge pull request #60888 from ShwetaBhosale1/fix_issue_69070_only_bind_ports_on_netw...
Adam King [Mon, 13 Jan 2025 18:07:50 +0000 (13:07 -0500)]
Merge pull request #60888 from ShwetaBhosale1/fix_issue_69070_only_bind_ports_on_network_parameter_spec_for_alertmanager

mgr/cephadm: Add only_bind_ports_on_network spec parameter for Alertmanager

Reviewed-by: Adam King <adking@redhat.com>
6 months agoMerge pull request #60828 from rkachach/fix_prometheus_targets_discovery_mtls
Adam King [Mon, 13 Jan 2025 16:51:42 +0000 (11:51 -0500)]
Merge pull request #60828 from rkachach/fix_prometheus_targets_discovery_mtls

mgr/cephadm: fixing config files for prometheus and alertmanager

Reviewed-by: Adam King <adking@redhat.com>
6 months agoMerge pull request #60690 from ShwetaBhosale1/fix_issue_68695_ceph_orch_commands_does...
Adam King [Mon, 13 Jan 2025 16:48:31 +0000 (11:48 -0500)]
Merge pull request #60690 from ShwetaBhosale1/fix_issue_68695_ceph_orch_commands_does_not_work_for_deployment_name_osd

mgr/cephadm:  ceph orch <start/stop/restart> commands should work for service name osd  and command to updated service name for osd

Reviewed-by: Adam King <adking@redhat.com>
6 months agoMerge pull request #58604 from adk3798/cephadm-rgw-no-multisite-traffic
Adam King [Mon, 13 Jan 2025 16:38:01 +0000 (11:38 -0500)]
Merge pull request #58604 from adk3798/cephadm-rgw-no-multisite-traffic

mgr/cephadm: allow disabling rgw_run_sync_thread through spec

Reviewed-by: Redouane Kachach <rkachach@ibm.com>
6 months agocommon/io_exerciser: Reorder lines in RadosIo send_command functions 61322/head
Jon Bailey [Mon, 13 Jan 2025 15:19:08 +0000 (15:19 +0000)]
common/io_exerciser: Reorder lines in RadosIo send_command functions

Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
6 months agolibrbd/migration/HttpClient: Use asio::ssl::stream 61312/head
Adam Emerson [Thu, 9 Jan 2025 23:54:11 +0000 (18:54 -0500)]
librbd/migration/HttpClient: Use asio::ssl::stream

`beast::ssl_stream` is deprecated as of 1.86, and its loss of the move
constructor keeps it from compiling on that version.

Hopefully this passes tests on 1.85, too, or it will have to wait
until the boost bump.

Signed-off-by: Adam Emerson <aemerson@redhat.com>
6 months agoMerge pull request #61272 from laimis9133/main
Anthony D'Atri [Mon, 13 Jan 2025 14:10:01 +0000 (09:10 -0500)]
Merge pull request #61272 from laimis9133/main

doc/radosgw/config-ref: fix lc worker thread tuning

6 months agoMerge pull request #58924 from imtzw/tzw_ikey_lat
Yuri Weinstein [Mon, 13 Jan 2025 14:02:07 +0000 (06:02 -0800)]
Merge pull request #58924 from imtzw/tzw_ikey_lat

os/bluestore: record omapiter init latency

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
6 months agoMerge pull request #57617 from Matan-B/wip-matanb-fix-python-warnings
Yuri Weinstein [Mon, 13 Jan 2025 13:51:51 +0000 (05:51 -0800)]
Merge pull request #57617 from Matan-B/wip-matanb-fix-python-warnings

test/pybind/test_rados.py: fix warnings

Reviewed-by: Samuel Just <sjust@redhat.com>
6 months agoMerge pull request #60278 from rzarzynski/wip-os-fastomapiter
Yuri Weinstein [Mon, 13 Jan 2025 13:32:04 +0000 (05:32 -0800)]
Merge pull request #60278 from rzarzynski/wip-os-fastomapiter

os, osd: bring the lightweight OMAP iteration

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matan Breizman <Matan.Brz@gmail.com>
Reviewed-by: Mark Kogan <mkogan@redhat.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
6 months agocommon/io_exerciser: Clear the stringstream in RadosIO class
Jon Bailey [Fri, 10 Jan 2025 16:55:35 +0000 (16:55 +0000)]
common/io_exerciser: Clear the stringstream in RadosIO class

Ensures the stringstream is empty before sending a command in the RadosIO class

Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
6 months agoMerge pull request #61000 from MaxKellermann/no_boost
SrinivasaBharathKanta [Mon, 13 Jan 2025 09:28:17 +0000 (14:58 +0530)]
Merge pull request #61000 from MaxKellermann/no_boost

Use `std` instead of Boost

6 months agoMerge pull request #61278 from VallariAg/wip-vallari-nvmeof-alerts-update
Vallari Agrawal [Mon, 13 Jan 2025 08:29:09 +0000 (13:59 +0530)]
Merge pull request #61278 from VallariAg/wip-vallari-nvmeof-alerts-update

monitoring: Update nvmeof alert limits in config

6 months agoos/bluestore: Fix BlueFS::truncate() 61314/head
Adam Kupczyk [Fri, 10 Jan 2025 08:26:54 +0000 (08:26 +0000)]
os/bluestore: Fix BlueFS::truncate()

In `struct bluefs_fnode_t` there is a vector `extents` and
the vector `extents_index` that is a log2 seek cache.

Until modifications to truncate() we never removed extents from files.
Modified truncate() did not update extents_index.

For example 10 extents long files when truncated to 0 will have:
0 extents, 10 extents_index.
After writing some data to file:
1 extents, 11 extents_index.

Now, `bluefs_fnode_t::seek` will binary search extents_index,
lets say it located seek at item #3.
It will then jump up from #0 extent (that exists) to #3 extent which
does not exist at.
The worst part is that code is now broken, as #3 != extent.end().

There are 3 parts of the fix:
1) assert in `bluefs_fnode_t::seek` to protect against
   jumping outside extents
2) code in BlueFS::truncate to sync up `extents_index` with `extents`
3) dampening down assert in _replay to give a way out of cases
   where incorrect "offset 12345" (12345 is file size) instead of
   "offset 20000" (allocations occupied) was written to log.

Fixes: https://tracker.ceph.com/issues/69481
Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
6 months agoMerge pull request #60762 from ljflores/wip-tracker-67181
SrinivasaBharathKanta [Mon, 13 Jan 2025 07:07:23 +0000 (12:37 +0530)]
Merge pull request #60762 from ljflores/wip-tracker-67181

qa/suites/rados/verify/validater: ignore OSD_DOWN

6 months agoMerge pull request #60261 from MaxKellermann/PyModule_no_lock
SrinivasaBharathKanta [Mon, 13 Jan 2025 06:52:43 +0000 (12:22 +0530)]
Merge pull request #60261 from MaxKellermann/PyModule_no_lock

mgr/PyModule: do not lock in get_name(), get_error_string()

6 months agorgw/logging: clean pending objects 61211/head
Yuval Lifshitz [Tue, 24 Dec 2024 18:22:58 +0000 (18:22 +0000)]
rgw/logging: clean pending objects

* when source bucket is deleted
* when logging is disabled
* when logging conf changes
* when target bucket is deleted

also add "bucket logging info" admin command
returning logging conf for source bucket, and list
of source buckets for log bucket

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
6 months agorgw/logging: retry attribuite set in case of race
Yuval Lifshitz [Thu, 19 Dec 2024 15:58:45 +0000 (15:58 +0000)]
rgw/logging: retry attribuite set in case of race

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
6 months agorgw/logging: log bucket must not have encryption
Yuval Lifshitz [Thu, 19 Dec 2024 13:49:07 +0000 (13:49 +0000)]
rgw/logging: log bucket must not have encryption

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
6 months agorgw/logging: source and log bucket must be different
Yuval Lifshitz [Thu, 19 Dec 2024 11:54:54 +0000 (11:54 +0000)]
rgw/logging: source and log bucket must be different

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
6 months agorgw/logging: support source and destination buckets on different tenants
Yuval Lifshitz [Wed, 18 Dec 2024 15:42:05 +0000 (15:42 +0000)]
rgw/logging: support source and destination buckets on different tenants

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
6 months agomgr: Work around bug in Boost MPI/Python
Adam Emerson [Tue, 7 Jan 2025 02:01:49 +0000 (21:01 -0500)]
mgr: Work around bug in Boost MPI/Python

Thanks to the maintainers of the Arch User Repository Ceph PKGBUILD
for this fix.

Signed-off-by: Adam Emerson <aemerson@redhat.com>
6 months agoMerge pull request #60958 from xxhdx1985126/wip-69120
Matan Breizman [Sun, 12 Jan 2025 07:54:39 +0000 (09:54 +0200)]
Merge pull request #60958 from xxhdx1985126/wip-69120

crimson/osd/backfill_state: recheck whether needs to scan the primary at the end of Enqueuing::Enqueuing

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
6 months agoMerge pull request #60803 from xxhdx1985126/wip-69027
Matan Breizman [Sun, 12 Jan 2025 07:50:03 +0000 (09:50 +0200)]
Merge pull request #60803 from xxhdx1985126/wip-69027

crimson/osd/replicate_backend: add standalone delete to the push queue if the object is deleted while it's being backfilled

Reviewed-by: Samuel Just <sjust@redhat.com>
6 months agoMerge pull request #60795 from taodd/fix-rbd-sparsify-on-ec-image-slow
Ilya Dryomov [Sat, 11 Jan 2025 17:17:28 +0000 (18:17 +0100)]
Merge pull request #60795 from taodd/fix-rbd-sparsify-on-ec-image-slow

osd: optimize extent comparison in PrimaryLogPG

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
6 months agoMerge pull request #61313 from VallariAg/wip-vallari-teuthology-docs
Vallari Agrawal [Sat, 11 Jan 2025 02:34:03 +0000 (08:04 +0530)]
Merge pull request #61313 from VallariAg/wip-vallari-teuthology-docs

doc: improve tests-integration-testing-teuthology-workflow.rst

6 months agoMerge pull request #61291 from cbodley/wip-69470
Zac Dover [Sat, 11 Jan 2025 00:02:24 +0000 (10:02 +1000)]
Merge pull request #61291 from cbodley/wip-69470

doc/rgw: document UserName requirements for account migration

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Zac Dover <zac.dover@proton.me>
6 months agoMerge pull request #55259 from linuxbox2/wip-object-attributes
Matt Benjamin [Fri, 10 Jan 2025 22:37:14 +0000 (17:37 -0500)]
Merge pull request #55259 from linuxbox2/wip-object-attributes

rgw: implement GetObjectAttributes

6 months agoMerge pull request #60969 from idryomov/wip-69135
Ilya Dryomov [Fri, 10 Jan 2025 21:56:36 +0000 (22:56 +0100)]
Merge pull request #60969 from idryomov/wip-69135

qa/suites/upgrade/reef-x: sync log-ignorelist with quincy-x

Reviewed-by: Laura Flores <lflores@ibm.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 months agoMerge pull request #60081 from anthonyeleven/anthonyeleven/tweak
Anthony D'Atri [Fri, 10 Jan 2025 21:24:15 +0000 (16:24 -0500)]
Merge pull request #60081 from anthonyeleven/anthonyeleven/tweak

src/exporter: improve usage message

6 months agorgw_attrs: fixes for 3 more iam/perms mappings 55259/head
Matt Benjamin [Thu, 9 Jan 2025 20:11:10 +0000 (15:11 -0500)]
rgw_attrs: fixes for 3 more iam/perms mappings

Help from Pritha and Casey appreciated

Plus, fix 3 explicit mapping tests in test_rgw_iam_policy.cc.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>