]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
20 months agotest/rgw: clean up unused include dirs 54450/head
Casey Bodley [Fri, 10 Nov 2023 14:20:11 +0000 (09:20 -0500)]
test/rgw: clean up unused include dirs

store/rados was renamed to driver/rados, so these include directories
aren't required

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agoMerge pull request #50419 from myoungwon/wip-rbm-partial-overwrite
Yingxin [Fri, 10 Nov 2023 01:52:04 +0000 (09:52 +0800)]
Merge pull request #50419 from myoungwon/wip-rbm-partial-overwrite

crimson/os/seastore: introduce delta-based overwrite

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
20 months agoMerge pull request #54379 from cbodley/wip-rgw-sal-bucket-owner
Casey Bodley [Thu, 9 Nov 2023 22:35:45 +0000 (22:35 +0000)]
Merge pull request #54379 from cbodley/wip-rgw-sal-bucket-owner

rgw/sal: Bucket owner as rgw_user

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
20 months agoMerge pull request #54440 from zdover23/wip-doc-2023-11-10-rados-troubleshooting...
zdover23 [Thu, 9 Nov 2023 22:10:54 +0000 (08:10 +1000)]
Merge pull request #54440 from zdover23/wip-doc-2023-11-10-rados-troubleshooting-mon-common-issues-4-of-x

doc/rados: edit t-mon "common issues" (4 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
20 months agoMerge pull request #54415 from jincreator/cls-fmt-ftbfs
Casey Bodley [Thu, 9 Nov 2023 22:00:37 +0000 (22:00 +0000)]
Merge pull request #54415 from jincreator/cls-fmt-ftbfs

cls: fix unable to link with system-installed fmt

Reviewed-by: Casey Bodley <cbodley@redhat.com>
20 months agodoc/rados: edit t-mon "common issues" (4 of x) 54440/head
Zac Dover [Thu, 9 Nov 2023 19:50:21 +0000 (05:50 +1000)]
doc/rados: edit t-mon "common issues" (4 of x)

Edit the fourth part of the section "Most Common Monitor Issues" in
doc/rados/troubleshooting/troubleshooting-mon.rst.

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

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
20 months agoMerge pull request #54387 from phlogistonjohn/jjm-cephadm-isolate-mounts-code
Adam King [Thu, 9 Nov 2023 19:05:58 +0000 (14:05 -0500)]
Merge pull request #54387 from phlogistonjohn/jjm-cephadm-isolate-mounts-code

cephadm: isolate mounts code in methods

Reviewed-by: Adam King <adking@redhat.com>
20 months agorgw/sal: Bucket owner as rgw_user 54379/head
Casey Bodley [Tue, 7 Nov 2023 01:26:28 +0000 (20:26 -0500)]
rgw/sal: Bucket owner as rgw_user

stop maintaining a User pointer for the bucket owner, and use the
stored rgw_user owner directly

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agoMerge pull request #54432 from zdover23/wip-doc-2023-11-09-rados-troubleshooting...
Anthony D'Atri [Thu, 9 Nov 2023 14:04:42 +0000 (09:04 -0500)]
Merge pull request #54432 from zdover23/wip-doc-2023-11-09-rados-troubleshooting-mon-common-issues-3-of-x

doc/rados: edit t-mon "common issues" (3 of x)

20 months agocrimson/os/seastore/object_data_handler: prevent from being overwritten if cloned 50419/head
Myoungwon Oh [Fri, 3 Nov 2023 06:47:24 +0000 (15:47 +0900)]
crimson/os/seastore/object_data_handler: prevent from being overwritten if cloned

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
20 months agotest/crimsons/seastore/object_data_handler: add overwrite test cases
Myoungwon Oh [Fri, 22 Sep 2023 09:03:18 +0000 (18:03 +0900)]
test/crimsons/seastore/object_data_handler: add overwrite test cases

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
20 months agocrimson/os/seastore: store data as a delta using mutable extent when overwriting
Myoungwon Oh [Wed, 20 Sep 2023 01:05:56 +0000 (10:05 +0900)]
crimson/os/seastore: store data as a delta using mutable extent when overwriting

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
20 months agodoc/rados: edit t-mon "common issues" (3 of x) 54432/head
Zac Dover [Thu, 9 Nov 2023 10:20:20 +0000 (20:20 +1000)]
doc/rados: edit t-mon "common issues" (3 of x)

Edit the second part of the section "Most Common Monitor Issues" in
doc/rados/troubleshooting/troubleshooting-mon.rst.

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

Signed-off-by: Zac Dover <zac.dover@proton.me>
20 months agoMerge pull request #54392 from guits/cv-revert-52429
Guillaume Abrioux [Thu, 9 Nov 2023 07:54:06 +0000 (08:54 +0100)]
Merge pull request #54392 from guits/cv-revert-52429

ceph-volume: Revert "ceph-volume: fix raw list for lvm devices"

20 months agoMerge pull request #54412 from zdover23/wip-doc-2023-11-08-rados-troubleshooting...
zdover23 [Thu, 9 Nov 2023 04:25:06 +0000 (14:25 +1000)]
Merge pull request #54412 from zdover23/wip-doc-2023-11-08-rados-troubleshooting-mon-top-matter

doc/rados: edit t-shooting-mon.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
20 months agorgw/sal: remove Bucket::get_acl_owner()
Casey Bodley [Sat, 4 Nov 2023 20:40:21 +0000 (16:40 -0400)]
rgw/sal: remove Bucket::get_acl_owner()

was only used under the line by rados and dbstores

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agoMerge pull request #50599 from cbodley/wip-rgw-sal-forward
Casey Bodley [Wed, 8 Nov 2023 18:54:28 +0000 (18:54 +0000)]
Merge pull request #50599 from cbodley/wip-rgw-sal-forward

rgw: move forward_request_to_master() out of sal

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
20 months agoceph-volume: fix raw list for non-existent device 54392/head
Matthew Booth [Tue, 7 Nov 2023 19:58:16 +0000 (19:58 +0000)]
ceph-volume: fix raw list for non-existent device

ceph-volume should not crash when given a device which doesn't exist.

Fixes: https://tracker.ceph.com/issues/63391
Signed-off-by: Matthew Booth <mbooth@redhat.com>
(cherry picked from commit e009b1a319c834a504947423ae1dd55387809235)

20 months agocls: fix unable to link with system-installed fmt 54415/head
Jinkyu Yi [Wed, 8 Nov 2023 13:08:22 +0000 (22:08 +0900)]
cls: fix unable to link with system-installed fmt

Signed-off-by: Jinkyu Yi <jincreator@jincreator.net>
20 months agoMerge pull request #50212 from rishabh-d-dave/fs-swap-subcmd
Rishabh Dave [Wed, 8 Nov 2023 15:48:27 +0000 (21:18 +0530)]
Merge pull request #50212 from rishabh-d-dave/fs-swap-subcmd

cephfs: add command "ceph fs swap"

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
20 months agoceph-volume: Revert "ceph-volume: fix raw list for lvm devices"
Guillaume Abrioux [Tue, 7 Nov 2023 13:39:50 +0000 (14:39 +0100)]
ceph-volume: Revert "ceph-volume: fix raw list for lvm devices"

This reverts commit e5e429617c1c27dcd631171f65d30571e32f7266.
This commit introduced a regression, see linked tracker for details.

Fixes: https://tracker.ceph.com/issues/63391
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
20 months agoMerge pull request #54417 from zdover23/wip-doc-2023-11-08-rados-troubleshooting...
zdover23 [Wed, 8 Nov 2023 15:08:28 +0000 (01:08 +1000)]
Merge pull request #54417 from zdover23/wip-doc-2023-11-08-rados-troubleshooting-mon-common-issues-2-of-x

doc/rados: edit t-mon "common issues" (2 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
20 months agoMerge pull request #54397 from phlogistonjohn/jjm-buildpy-latin1-fix
Adam King [Wed, 8 Nov 2023 15:01:47 +0000 (10:01 -0500)]
Merge pull request #54397 from phlogistonjohn/jjm-buildpy-latin1-fix

cephadm: work around pip failure on some envs

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
20 months agodoc/rados: edit t-shooting-mon.rst 54412/head
Zac Dover [Wed, 8 Nov 2023 07:56:29 +0000 (17:56 +1000)]
doc/rados: edit t-shooting-mon.rst

Improve the front matter of the section "Troubleshooting Monitors" in
doc/rados/troubleshooting/troubleshooting-mon.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
20 months agoMerge pull request #54413 from zdover23/wip-doc-2023-11-08-rados-troubleshooting...
Anthony D'Atri [Wed, 8 Nov 2023 13:49:37 +0000 (08:49 -0500)]
Merge pull request #54413 from zdover23/wip-doc-2023-11-08-rados-troubleshooting-mon-common-issues-1-of-x

doc/rados: edit t-mon "common issues" (1 of x)

20 months agodoc/rados: edit t-mon "common issues" (2 of x) 54417/head
Zac Dover [Wed, 8 Nov 2023 13:24:06 +0000 (23:24 +1000)]
doc/rados: edit t-mon "common issues" (2 of x)

Edit the second part of the section "Most Common Monitor Issues" in
doc/rados/troubleshooting/troubleshooting-mon.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
20 months agodoc/rados: edit t-mon "common issues" (1 of x) 54413/head
Zac Dover [Wed, 8 Nov 2023 09:07:40 +0000 (19:07 +1000)]
doc/rados: edit t-mon "common issues" (1 of x)

Edit the first part of the section "Most Common Monitor Issues" in
doc/rados/troubleshooting/troublehsooting-mon.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
20 months agoMerge pull request #54402 from athanatos/sjust/wip-fix-tmdriver
Samuel Just [Wed, 8 Nov 2023 02:22:36 +0000 (18:22 -0800)]
Merge pull request #54402 from athanatos/sjust/wip-fix-tmdriver

crimson/tools/store_nbd/tm_driver: use TransactionManager::remove

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
20 months agocrimson/tools/store_nbd/tm_driver: use TransactionManager::remove 54402/head
Samuel Just [Tue, 7 Nov 2023 19:32:12 +0000 (11:32 -0800)]
crimson/tools/store_nbd/tm_driver: use TransactionManager::remove

231c7ac removed TransactionManager::dec_ref, adjust store_nbd/tm_driver
to use TransactionManager::remove instead.

Signed-off-by: Samuel Just <sjust@redhat.com>
20 months agoMerge pull request #54158 from michaelalang/master
Adam King [Tue, 7 Nov 2023 21:28:27 +0000 (16:28 -0500)]
Merge pull request #54158 from michaelalang/master

[cephadm](BUG): honor --skip-firewalld in section Open ports explicitly required for the daemon

Reviewed-by: Adam King <adking@redhat.com>
20 months agocephadm: work around pip failure on some envs 54397/head
John Mulligan [Tue, 7 Nov 2023 17:32:45 +0000 (12:32 -0500)]
cephadm: work around pip failure on some envs

Work around an encoding/locale issue when the dashboard tests are run
(ubuntu 20.04).
The build.py changes brought in a9d1c62ca86 were validated for package
builds, teuthology, and other CI jobs but a different error was masking
this failure in the dashboard ci job.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agoMerge pull request #54178 from leonid-s-usov/balance-after-stop
Rishabh Dave [Tue, 7 Nov 2023 18:02:10 +0000 (23:32 +0530)]
Merge pull request #54178 from leonid-s-usov/balance-after-stop

mds/MDBalancer: ignore queued callbacks if MDS is not active

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
20 months agoMerge pull request #54149 from mihalicyn/ceph_mds_request_head_legacy_fallback_fix
Rishabh Dave [Tue, 7 Nov 2023 17:59:43 +0000 (23:29 +0530)]
Merge pull request #54149 from mihalicyn/ceph_mds_request_head_legacy_fallback_fix

MClientRequest: properly handle ceph_mds_request_head_legacy for ext_num_retry, ext_num_fwd, owner_uid, owner_gid

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
20 months agoMerge pull request #53912 from joscollin/wip-B63099-fix-prev-snapshot-none
Rishabh Dave [Tue, 7 Nov 2023 17:58:23 +0000 (23:28 +0530)]
Merge pull request #53912 from joscollin/wip-B63099-fix-prev-snapshot-none

client: avoid getvxattr op for ceph.mirror* attrs

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
20 months agoMerge pull request #53887 from lxbsz/wip-fix-check-access
Rishabh Dave [Tue, 7 Nov 2023 17:55:44 +0000 (23:25 +0530)]
Merge pull request #53887 from lxbsz/wip-fix-check-access

client: two fix for checking mds auth access in client side

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
20 months agoMerge pull request #53899 from rishabh-d-dave/before-fs-rename-fail-fs
Rishabh Dave [Tue, 7 Nov 2023 17:52:42 +0000 (23:22 +0530)]
Merge pull request #53899 from rishabh-d-dave/before-fs-rename-fail-fs

 cephfs,mon: fs rename must require FS to be offline and refuse_client_session to be set

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
20 months agorgw/sal: rename Bucket::remove_bucket() to remove() 50599/head
Casey Bodley [Wed, 4 Oct 2023 16:49:10 +0000 (12:49 -0400)]
rgw/sal: rename Bucket::remove_bucket() to remove()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agorgw/sal: remove forward-to-master functions from Driver
Casey Bodley [Sat, 18 Mar 2023 21:51:25 +0000 (17:51 -0400)]
rgw/sal: remove forward-to-master functions from Driver

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agorgw: add free function forward_iam_request_to_master()
Casey Bodley [Sat, 18 Mar 2023 21:42:56 +0000 (17:42 -0400)]
rgw: add free function forward_iam_request_to_master()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agorgw: add free function rgw_forward_request_to_master()
Casey Bodley [Sat, 18 Mar 2023 20:55:58 +0000 (16:55 -0400)]
rgw: add free function rgw_forward_request_to_master()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agorgw: forward_request takes const req_info
Casey Bodley [Sat, 18 Mar 2023 18:25:32 +0000 (14:25 -0400)]
rgw: forward_request takes const req_info

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agorgw/sal: remove ZoneGroup::get_endpoint()
Casey Bodley [Tue, 3 Oct 2023 18:13:24 +0000 (14:13 -0400)]
rgw/sal: remove ZoneGroup::get_endpoint()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agorgw/sal: move User::create_bucket() to Bucket::create()
Casey Bodley [Sat, 18 Mar 2023 15:48:38 +0000 (11:48 -0400)]
rgw/sal: move User::create_bucket() to Bucket::create()

the CreateBucket operation always has to deal with existing buckets, so
we have to load the Bucket handle first anyway

also moves the related placement and forward_request_to_master() logic
out of sal entirely

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agoMerge pull request #54364 from rkachach/fix_issue_github_template
Adam King [Tue, 7 Nov 2023 16:54:17 +0000 (11:54 -0500)]
Merge pull request #54364 from rkachach/fix_issue_github_template

github: adding command for rook e2e jenkins job

Reviewed-by: Adam King <adking@redhat.com>
20 months agoMerge pull request #54391 from rhcs-dashboard/fix-63469-main
Aashish Sharma [Tue, 7 Nov 2023 16:06:20 +0000 (21:36 +0530)]
Merge pull request #54391 from rhcs-dashboard/fix-63469-main

mgr/dashboard: fix rgw multi-site import form helper

Reviewed-by: Nizamudeen A <nia@redhat.com>
20 months agoMerge pull request #54101 from rhcs-dashboard/dashboard-v3-unit-test
Pedro Gonzalez Gomez [Tue, 7 Nov 2023 14:19:05 +0000 (15:19 +0100)]
Merge pull request #54101 from rhcs-dashboard/dashboard-v3-unit-test

mgr/dashboard: dashboard area chart unit test

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
20 months agomgr/dashboard: fix rgw multi-site import form helper 54391/head
Aashish Sharma [Tue, 7 Nov 2023 13:27:24 +0000 (18:57 +0530)]
mgr/dashboard: fix rgw multi-site import form helper

Before : To obtain the token, generate it from your primary Ceph cluster. This token includes encoded information about the secondary cluster's endpoint, access key, and secret key.
Fix: To obtain the token, generate it from your primary Ceph cluster. This token includes encoded information about the primary cluster's endpoint, access key, and secret key.

Fixes: https://tracker.ceph.com/issues/63469
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
20 months agoMerge pull request #54372 from linuxbox2/wip-fix-deletemakers
Matt Benjamin [Tue, 7 Nov 2023 13:12:37 +0000 (08:12 -0500)]
Merge pull request #54372 from linuxbox2/wip-fix-deletemakers

rgwlc: fix delete marker regression in currentversion lc expiration

20 months agoMerge pull request #54384 from cityofships/main
zdover23 [Tue, 7 Nov 2023 13:11:02 +0000 (23:11 +1000)]
Merge pull request #54384 from cityofships/main

doc/cephadm: fix typo in set ssh key command

Reviewed-by: Zac Dover <zac.dover@proton.me>
20 months agocephadm: move code setting up mounts for monitoring daemon types 54387/head
John Mulligan [Thu, 19 Oct 2023 21:30:27 +0000 (17:30 -0400)]
cephadm: move code setting up mounts for monitoring daemon types

Move the code used to set up mounts for monitoring daemon types to
a method on the Monitoring class.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: move code setting mounts for ceph daemon types
John Mulligan [Thu, 19 Oct 2023 21:24:57 +0000 (17:24 -0400)]
cephadm: move code setting mounts for ceph daemon types

Move the code in an if-block for ceph daemon types within get_container_mounts
to a new method of the Ceph type. The logic is moved to a staticmethod
so that it can be reused within the CephExporter type. This can be fixed
up in the future, but currently the staticmethod handles both Ceph and
CephExporter. Both types gain a get_container_mounts for common usage.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: remove unused get_container_mounts CephExporter method
John Mulligan [Thu, 19 Oct 2023 21:24:44 +0000 (17:24 -0400)]
cephadm: remove unused get_container_mounts CephExporter method

The get_container_mounts method on CephExporter is never called.
Remove it.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: move where _get_container_mounts_for_type is called
John Mulligan [Sat, 4 Nov 2023 20:36:23 +0000 (16:36 -0400)]
cephadm: move where _get_container_mounts_for_type is called

The _get_container_mounts_for_type method is only useful for ceph based
daemon types. There's no need to call this method in a universal
context.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agodoc/cephadm: fix typo in set ssh key command 54384/head
Piotr Parczewski [Tue, 7 Nov 2023 11:48:01 +0000 (12:48 +0100)]
doc/cephadm: fix typo in set ssh key command

Signed-off-by: Piotr Parczewski <piotr@stackhpc.com>
20 months agoMerge pull request #54196 from ivancich/wip-log-bi-list-errors
J. Eric Ivancich [Tue, 7 Nov 2023 03:30:20 +0000 (22:30 -0500)]
Merge pull request #54196 from ivancich/wip-log-bi-list-errors

rgw: log errors during "bi list"

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
20 months agoMerge pull request #54257 from ivancich/wip-fix-restore-bucket-index
J. Eric Ivancich [Tue, 7 Nov 2023 03:27:58 +0000 (22:27 -0500)]
Merge pull request #54257 from ivancich/wip-fix-restore-bucket-index

rgw: handle instances w/ leading hyphens correctly

Reviewed-by: Michael Kidd <linuxkidd@gmail.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
20 months agoMerge pull request #53537 from cyx1231st/wip-crimson-osd-fix-complete-exit
Yingxin [Tue, 7 Nov 2023 01:20:24 +0000 (09:20 +0800)]
Merge pull request #53537 from cyx1231st/wip-crimson-osd-fix-complete-exit

crimson/osd: decouple cross-core pg submission out of the OrderedExclusivePhase

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
20 months agoMerge pull request #54197 from ivancich/wip-bucket-stats-add-gen
J. Eric Ivancich [Mon, 6 Nov 2023 21:21:53 +0000 (16:21 -0500)]
Merge pull request #54197 from ivancich/wip-bucket-stats-add-gen

rgw: add layout generation info to "bucket stats"

Reviewed-by: Casey Bodley <cbodley@redhat.com>
20 months agoMerge pull request #54365 from cbodley/wip-63455
Casey Bodley [Mon, 6 Nov 2023 21:01:17 +0000 (21:01 +0000)]
Merge pull request #54365 from cbodley/wip-63455

common: admin socket catches exception by reference

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
20 months agorgwlc: fix delete marker regression in currentversion lc expiration 54372/head
Matt Benjamin [Mon, 6 Nov 2023 20:11:58 +0000 (15:11 -0500)]
rgwlc: fix delete marker regression in currentversion lc expiration

Fixes a regression introduced in https://github.com/ceph/ceph/pull/50680,
which attempted to re-use an already created sal object handle as
an optimiztion.  This change suppressed creation of delete markers in
current version expiration when buckets are versioned.

Fixes: https://tracker.ceph.com/issues/63458
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
20 months agoMerge PR #53568 into main
Patrick Donnelly [Mon, 6 Nov 2023 19:57:17 +0000 (14:57 -0500)]
Merge PR #53568 into main

* refs/pull/53568/head:
common: resolve config proxy deadlock using refcounted pointers
common: add missing locks in config_proxy methods
common/ceph_mutex: note whether mutex debug methods are usable
qa: add reproducer for obs removal deadlock
qa: narrow search to debug_asok

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
20 months agoMerge pull request #54134 from phlogistonjohn/jjm-cephadm-podman-props-2
Adam King [Mon, 6 Nov 2023 19:56:30 +0000 (14:56 -0500)]
Merge pull request #54134 from phlogistonjohn/jjm-cephadm-podman-props-2

cephadm: move more container engine specific logic

Reviewed-by: Adam King <adking@redhat.com>
20 months agoMerge pull request #54264 from thotz/remove_realm_name_period_config
Casey Bodley [Mon, 6 Nov 2023 19:30:25 +0000 (19:30 +0000)]
Merge pull request #54264 from thotz/remove_realm_name_period_config

rgw/rgw_period : remove realm name from period config

Reviewed-by: Casey Bodley <cbodley@redhat.com>
20 months agoMerge pull request #54342 from anthonyeleven/anthonyeleven/improvements
zdover23 [Mon, 6 Nov 2023 18:28:47 +0000 (04:28 +1000)]
Merge pull request #54342 from anthonyeleven/anthonyeleven/improvements

doc/radosgw: Improve dynamicresharding.rst

Reviewed-by: Zac Dover <zac.dover@proton.me>
20 months agoMerge pull request #54147 from AliMasarweh/wip-alimasa-perf-counters
Ali Masarwa [Mon, 6 Nov 2023 16:37:24 +0000 (18:37 +0200)]
Merge pull request #54147 from AliMasarweh/wip-alimasa-perf-counters

RGW: perf counters for persistent topic stats

reviewed-by: yuvalif, alimaredia, cbodley

20 months agocommon: admin socket catches exception by reference 54365/head
Casey Bodley [Mon, 6 Nov 2023 16:19:44 +0000 (11:19 -0500)]
common: admin socket catches exception by reference

probably not a real bug, but resolves a compiler warning:

src/common/admin_socket.cc: In member function ‘int RaiseHook::parse_signal(std::string&&, ceph::Formatter*, std::ostream&)’:
src/common/admin_socket.cc:869:21: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=]
  869 |       } catch (std::invalid_argument) {
      |                     ^~~~~~~~~~~~~~~~

Fixes: https://tracker.ceph.com/issues/63455
Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agorgw: add free function rgw::get_zonegroup_endpoint()
Casey Bodley [Tue, 3 Oct 2023 18:12:35 +0000 (14:12 -0400)]
rgw: add free function rgw::get_zonegroup_endpoint()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agorgw: use load_bucket()'s rgw_bucket overload
Casey Bodley [Tue, 3 Oct 2023 19:51:13 +0000 (15:51 -0400)]
rgw: use load_bucket()'s rgw_bucket overload

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agorgw: add rgw_bucket() ctor for tenant+name
Casey Bodley [Tue, 3 Oct 2023 19:25:04 +0000 (15:25 -0400)]
rgw: add rgw_bucket() ctor for tenant+name

this avoids the need to construct a temporary rgw_bucket_key just to
construct a rgw_bucket without an instance id

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agorgw/sal: remove load_bucket() overload with tenant/name
Casey Bodley [Tue, 3 Oct 2023 19:23:49 +0000 (15:23 -0400)]
rgw/sal: remove load_bucket() overload with tenant/name

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agorgw/sal: rename loading get_bucket()s to load_bucket()
Casey Bodley [Sat, 18 Mar 2023 15:47:29 +0000 (11:47 -0400)]
rgw/sal: rename loading get_bucket()s to load_bucket()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agorgw/services: make set_attrs const correct
Casey Bodley [Sat, 18 Mar 2023 14:41:12 +0000 (10:41 -0400)]
rgw/services: make set_attrs const correct

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agorgw: remove legacy bucket placement and 'radosgw-admin pool' commands
Casey Bodley [Wed, 27 Jul 2022 13:27:40 +0000 (09:27 -0400)]
rgw: remove legacy bucket placement and 'radosgw-admin pool' commands

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agorgw/rados: pass obj_lock_enabled into RGWRados::create_bucket
Casey Bodley [Tue, 26 Jul 2022 21:25:32 +0000 (17:25 -0400)]
rgw/rados: pass obj_lock_enabled into RGWRados::create_bucket

there's a retry loop here that may end up overwriting RGWBucketInfo, so
pass obj_lock_enabled and use it to update info.flags on each iteration

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agorgw: read existing placement and swift_ver_location outside of sal
Casey Bodley [Tue, 26 Jul 2022 20:05:51 +0000 (16:05 -0400)]
rgw: read existing placement and swift_ver_location outside of sal

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agorgw: RGWCreateBucket cleanup
Casey Bodley [Tue, 26 Jul 2022 19:09:42 +0000 (15:09 -0400)]
rgw: RGWCreateBucket cleanup

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agorgw: move rgw_op_get_bucket_policy_from_attr() out of sal
Casey Bodley [Tue, 26 Jul 2022 18:52:25 +0000 (14:52 -0400)]
rgw: move rgw_op_get_bucket_policy_from_attr() out of sal

this was duplicated in rgw_op.cc and rgw_sal_rados.cc

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agorgw/sal: User::remove_bucket() no longer supports forward_to_master
Casey Bodley [Tue, 26 Jul 2022 16:49:55 +0000 (12:49 -0400)]
rgw/sal: User::remove_bucket() no longer supports forward_to_master

callers of remove_bucket() are now responsible for calling
forward_request_to_master() themselves

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agorgw: RGWBulkDelete calls forward_to_master before remove_bucket()
Casey Bodley [Tue, 26 Jul 2022 16:29:08 +0000 (12:29 -0400)]
rgw: RGWBulkDelete calls forward_to_master before remove_bucket()

fix the path of the forwarded request the same way that RGWBulkUpload
does, and call forward_request_to_master() before remove_bucket()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agorgw: don't use other zone's shard count for forwarded CreateBucket requests
Casey Bodley [Tue, 26 Jul 2022 15:48:05 +0000 (11:48 -0400)]
rgw: don't use other zone's shard count for forwarded CreateBucket requests

multisite no longer requires shard counts to match between zones. each
zone can configure its own default index shard count, so ignore the shard
counts that come from the metadata master zone

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agorgw: remove unused RGWObjectSimplePutCR
Casey Bodley [Sat, 18 Mar 2023 16:01:49 +0000 (12:01 -0400)]
rgw: remove unused RGWObjectSimplePutCR

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agorgw: remove unused RGWBucketCreateLocalCR
Casey Bodley [Fri, 17 Mar 2023 15:11:05 +0000 (11:11 -0400)]
rgw: remove unused RGWBucketCreateLocalCR

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agocephadm: move logic to build pull command to container engines 54134/head
John Mulligan [Sat, 21 Oct 2023 16:05:43 +0000 (12:05 -0400)]
cephadm: move logic to build pull command to container engines

Move the logic needed to build a pull command to a function in the
container_engines.py file. This continues the effort to improve the
locality of items with regards to specific options for container
engines. I had thought to move the whole pull function but the logging
and retry code made me change my mind. We can always move it later if it
makes sense.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: move option for setting unlimited pids into engine classes
John Mulligan [Sat, 21 Oct 2023 15:41:15 +0000 (11:41 -0400)]
cephadm: move option for setting unlimited pids into engine classes

Move the option for setting unlimited pids for the container engine
into the container engine classes. This continues the attempts to
improve the locality of items specific to certain classes to be
by making them part of the classes.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agocephadm: move some podman specific mount logic to podman class
John Mulligan [Sat, 21 Oct 2023 15:28:30 +0000 (11:28 -0400)]
cephadm: move some podman specific mount logic to podman class

Signed-off-by: John Mulligan <jmulligan@redhat.com>
20 months agoMerge pull request #54285 from thmour/main
Adam King [Mon, 6 Nov 2023 15:59:47 +0000 (10:59 -0500)]
Merge pull request #54285 from thmour/main

mgr/cephadm: discovery service (port 8765) fails on ipv6 only clusters

Reviewed-by: Adam King <adking@redhat.com>
20 months agoMerge pull request #54126 from phlogistonjohn/jjm-cephadm-remove-get_daemon_args
Adam King [Mon, 6 Nov 2023 15:57:50 +0000 (10:57 -0500)]
Merge pull request #54126 from phlogistonjohn/jjm-cephadm-remove-get_daemon_args

cephadm: remove get_daemon_args function

Reviewed-by: Adam King <adking@redhat.com>
20 months agoMerge pull request #53928 from adk3798/rm-cleanup-on-failure
Adam King [Mon, 6 Nov 2023 15:57:06 +0000 (10:57 -0500)]
Merge pull request #53928 from adk3798/rm-cleanup-on-failure

cephadm: remove --cleanup-on-failure flag

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
20 months agoMerge pull request #53737 from adk3798/rm-host-crushmap
Adam King [Mon, 6 Nov 2023 15:55:27 +0000 (10:55 -0500)]
Merge pull request #53737 from adk3798/rm-host-crushmap

mgr/cephadm: support for removing host entry from crush map during host removal

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
20 months agoMerge pull request #52492 from phlogistonjohn/jjm-cephadm-jinja
Adam King [Mon, 6 Nov 2023 15:53:02 +0000 (10:53 -0500)]
Merge pull request #52492 from phlogistonjohn/jjm-cephadm-jinja

Add templating, via jinja2, to cephadm

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
20 months agoMerge pull request #53842 from BBoozmen/oozmen_sts_max_duration
Casey Bodley [Mon, 6 Nov 2023 15:48:59 +0000 (15:48 +0000)]
Merge pull request #53842 from BBoozmen/oozmen_sts_max_duration

RGW/STS: honor configured limits when updating max session duration

Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
20 months agoMerge pull request #53997 from Inode1/rgw-subuser-user-policy-check
Casey Bodley [Mon, 6 Nov 2023 15:48:35 +0000 (15:48 +0000)]
Merge pull request #53997 from Inode1/rgw-subuser-user-policy-check

rgw: add subuser to user policy condition check

Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
20 months agoMerge pull request #54050 from shreyanshjain7174/fix_62646
Casey Bodley [Mon, 6 Nov 2023 15:48:14 +0000 (15:48 +0000)]
Merge pull request #54050 from shreyanshjain7174/fix_62646

RadosGW: RGW Swift info not providing max_deletes_per_request in bulk_delete

Reviewed-by: Casey Bodley <cbodley@redhat.com>
20 months agoMerge pull request #54174 from cbodley/wip-63306
Casey Bodley [Mon, 6 Nov 2023 15:47:49 +0000 (15:47 +0000)]
Merge pull request #54174 from cbodley/wip-63306

rgw: fetch_remote_obj() uses uncompressed size for encrypted objects

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
20 months agoMerge pull request #54213 from cbodley/wip-63333
Casey Bodley [Mon, 6 Nov 2023 15:47:23 +0000 (15:47 +0000)]
Merge pull request #54213 from cbodley/wip-63333

rgw-check-policy: remove check for nonempty tenant

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
20 months agoMerge pull request #50680 from linuxbox2/wip-notify-lctrans
Casey Bodley [Mon, 6 Nov 2023 15:37:16 +0000 (15:37 +0000)]
Merge pull request #50680 from linuxbox2/wip-notify-lctrans

rgwlc: dispatch S3 notifications on transition and mpu abort

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
20 months agoMerge pull request #54307 from rkachach/fix_issue_63326
Nizamudeen A [Mon, 6 Nov 2023 15:19:58 +0000 (20:49 +0530)]
Merge pull request #54307 from rkachach/fix_issue_63326

mgr/dashboard: fix secure_monitoring_stack check

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
20 months agogithub: adding command for rook e2e jenkins job 54364/head
Redouane Kachach [Mon, 6 Nov 2023 14:43:43 +0000 (15:43 +0100)]
github: adding command for rook e2e jenkins job

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
20 months agoMerge pull request #54352 from zdover23/wip-doc-2023-11-06-rados-troubleshooting...
Anthony D'Atri [Mon, 6 Nov 2023 14:05:00 +0000 (09:05 -0500)]
Merge pull request #54352 from zdover23/wip-doc-2023-11-06-rados-troubleshooting-mon-common-issues-formatting

doc/rados: format Q&A list in tshooting-mon.rst

20 months agoMerge pull request #54222 from nbalacha/deep_copy_logs
Ilya Dryomov [Mon, 6 Nov 2023 13:51:27 +0000 (14:51 +0100)]
Merge pull request #54222 from nbalacha/deep_copy_logs

librbd: additional logs for deep-copy debugging

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>