]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
11 months agocrimson/.../alien_store: access coll_map under coll_map_lock 58766/head
Samuel Just [Wed, 10 Jul 2024 22:58:55 +0000 (22:58 +0000)]
crimson/.../alien_store: access coll_map under coll_map_lock

Fixes: https://tracker.ceph.com/issues/66294
Signed-off-by: Samuel Just <sjust@redhat.com>
11 months agocrimson/.../alien_store: clear coll_map on stop()
Samuel Just [Wed, 10 Jul 2024 22:53:40 +0000 (15:53 -0700)]
crimson/.../alien_store: clear coll_map on stop()

Signed-off-by: Samuel Just <sjust@redhat.com>
11 months agocrimson/.../alien_store: update coll_map from alien tp
Samuel Just [Wed, 10 Jul 2024 22:53:28 +0000 (15:53 -0700)]
crimson/.../alien_store: update coll_map from alien tp

Signed-off-by: Samuel Just <sjust@redhat.com>
11 months agocrimson/.../alien_store: factor out get_alien_coll_ref
Samuel Just [Wed, 10 Jul 2024 22:25:15 +0000 (15:25 -0700)]
crimson/.../alien_store: factor out get_alien_coll_ref

Signed-off-by: Samuel Just <sjust@redhat.com>
11 months agocrimson/.../alien_store: add comment explaining coll_map
Samuel Just [Wed, 10 Jul 2024 17:42:31 +0000 (10:42 -0700)]
crimson/.../alien_store: add comment explaining coll_map

Signed-off-by: Samuel Just <sjust@redhat.com>
12 months agoMerge pull request #57985 from thotz/add-storage-adminops-api
Casey Bodley [Tue, 2 Jul 2024 19:55:25 +0000 (20:55 +0100)]
Merge pull request #57985 from thotz/add-storage-adminops-api

rgw/adminops: add option to provide storageclass adminops user apis

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
12 months agoMerge pull request #57858 from adamemerson/wip-66340
Casey Bodley [Tue, 2 Jul 2024 19:46:47 +0000 (20:46 +0100)]
Merge pull request #57858 from adamemerson/wip-66340

rgw/multisite: Fix use-after-move in retry logic in logbacking

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
Reviewed-by: Suyash Dongre <suyashd999@gmail.com>
12 months agoMerge pull request #58388 from sseshasa/wip-fix-perf-basic-failure
Sridhar Seshasayee [Tue, 2 Jul 2024 15:07:54 +0000 (20:37 +0530)]
Merge pull request #58388 from sseshasa/wip-fix-perf-basic-failure

qa/tasks: Initialize 'monitoring_profiles' spec to an empty dict

Reviewed-by: Neha Ojha <nojha@redhat.com>
12 months agoMerge PR #58375 into main
Patrick Donnelly [Tue, 2 Jul 2024 14:42:50 +0000 (10:42 -0400)]
Merge PR #58375 into main

* refs/pull/58375/head:
qa/crontab: convert fs main run to monthly at higher priority

Reviewed-by: Venky Shankar <vshankar@redhat.com>
12 months agoMerge pull request #58081 from sajibreadd/wip-65861
Casey Bodley [Tue, 2 Jul 2024 12:41:14 +0000 (13:41 +0100)]
Merge pull request #58081 from sajibreadd/wip-65861

notifications: report an error when persistent queue deletion failed

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
12 months agoMerge pull request #57537 from kchheda3/wip_fix_notification_caching
Casey Bodley [Tue, 2 Jul 2024 12:40:58 +0000 (13:40 +0100)]
Merge pull request #57537 from kchheda3/wip_fix_notification_caching

rgw/notification: Fix the caching issues of notification brokers, where the cache was not invalidated if topic attributes were changed

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
12 months agoqa/tasks: Initialize 'monitoring_profiles' spec to an empty dict 58388/head
Sridhar Seshasayee [Tue, 2 Jul 2024 07:45:56 +0000 (13:15 +0530)]
qa/tasks: Initialize 'monitoring_profiles' spec to an empty dict

Initialize 'monitoring_profiles' to an empty python dictionary instead of
'None' to prevent the cbt task from failing due to the TypeError exception
when attempting to iterate a 'NoneType'.

The bug was introduced as part of https://github.com/ceph/ceph/pull/51438
and commit e174c6e2cf6c90bd130320eb1f251b62d4b4d6c2.

Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
Fixes: https://tracker.ceph.com/issues/66799
12 months agoMerge pull request #55564 from adk3798/cephadm-cert-store
Adam King [Mon, 1 Jul 2024 21:57:39 +0000 (17:57 -0400)]
Merge pull request #55564 from adk3798/cephadm-cert-store

mgr/cephadm: Add Cert/Key Store

Reviewed-by: Redouane Kachach <rkachach@ibm.com>
12 months agoMerge pull request #58092 from zdover23/wip-doc-2024-06-18-start-os-recs
Ilya Dryomov [Mon, 1 Jul 2024 21:04:11 +0000 (23:04 +0200)]
Merge pull request #58092 from zdover23/wip-doc-2024-06-18-start-os-recs

doc/start: remove mention of Centos 8 support

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Dan Mick <dan.mick@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
12 months agoMerge pull request #58230 from rkachach/fix_secure_monitoring_check
Adam King [Mon, 1 Jul 2024 20:03:19 +0000 (16:03 -0400)]
Merge pull request #58230 from rkachach/fix_secure_monitoring_check

mgr/cephadm: redeploy when some dependency daemon is add/removed

Reviewed-by: Adam King <adking@redhat.com>
12 months agoMerge pull request #58154 from tengjie5/tmp3
Adam King [Mon, 1 Jul 2024 20:01:58 +0000 (16:01 -0400)]
Merge pull request #58154 from tengjie5/tmp3

mgr: excute cmd 'ceph orch apply osd' returned without error info

Reviewed-by: Adam King <adking@redhat.com>
12 months agoMerge pull request #57975 from dvanders/dvanders_ipv4
Adam King [Mon, 1 Jul 2024 20:00:05 +0000 (16:00 -0400)]
Merge pull request #57975 from dvanders/dvanders_ipv4

cephadm: disable ms_bind_ipv4 if we will enable ms_bind_ipv6

Reviewed-by: Adam King <adking@redhat.com>
12 months agoMerge pull request #57848 from thegreenbear/cephadm-haproxy-bugged-config
Adam King [Mon, 1 Jul 2024 19:55:16 +0000 (15:55 -0400)]
Merge pull request #57848 from thegreenbear/cephadm-haproxy-bugged-config

cephadm/services/ingress: fixed keepalived config bug

Reviewed-by: Adam King <adking@rehat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
12 months agoMerge pull request #57338 from phlogistonjohn/jjm-mgr-module-cleanups
Adam King [Mon, 1 Jul 2024 19:53:43 +0000 (15:53 -0400)]
Merge pull request #57338 from phlogistonjohn/jjm-mgr-module-cleanups

pybind/mgr: mgr_module.py pep8/flake8 cleanups & tox updates

Reviewed-by: Adam King <adking@redhat.com>
12 months agoMerge pull request #57394 from phlogistonjohn/jjm-smb-module-testing
Adam King [Mon, 1 Jul 2024 19:52:29 +0000 (15:52 -0400)]
Merge pull request #57394 from phlogistonjohn/jjm-smb-module-testing

smb: improve smb module test coverage

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
12 months agodoc/start: remove mention of Centos 8 support 58092/head
Zac Dover [Mon, 17 Jun 2024 15:09:44 +0000 (01:09 +1000)]
doc/start: remove mention of Centos 8 support

Remove information so that it is clear that Centos 8 will no longer be
supported by Ceph.

Signed-off-by: Zac Dover <zac.dover@proton.me>
12 months agoqa/crontab: convert fs main run to monthly at higher priority 58375/head
Patrick Donnelly [Mon, 1 Jul 2024 16:24:57 +0000 (12:24 -0400)]
qa/crontab: convert fs main run to monthly at higher priority

The lab can't keep up with current nightly load; reduce fs runs on main branch
to once a month but raise priority so we have a reliable baseline.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
12 months agoMerge pull request #57238 from rhcs-dashboard/lifecycle-policies
Nizamudeen A [Mon, 1 Jul 2024 14:29:45 +0000 (19:59 +0530)]
Merge pull request #57238 from rhcs-dashboard/lifecycle-policies

mgr/dashboard: add RGW lifecycle management

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: ivoalmeida <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
12 months agoMerge pull request #58366 from zdover23/wip-doc-2024-07-01-cephfs-mount-prereqs
Zac Dover [Mon, 1 Jul 2024 11:13:20 +0000 (21:13 +1000)]
Merge pull request #58366 from zdover23/wip-doc-2024-07-01-cephfs-mount-prereqs

doc/cephfs: update cephfs-shell link

Reviewed-by: Venky Shankar <vshankar@redhat.com>
12 months agoMerge pull request #58260 from rhcs-dashboard/rgw-sync-policy
Nizamudeen A [Mon, 1 Jul 2024 10:11:43 +0000 (15:41 +0530)]
Merge pull request #58260 from rhcs-dashboard/rgw-sync-policy

mgr/dashborad: RGW sync policy

Reviewed-by: Nizamudeen A <nia@redhat.com>
12 months agoMerge pull request #56150 from xxhdx1985126/wip-seastore-teuthology
Matan Breizman [Mon, 1 Jul 2024 09:02:57 +0000 (12:02 +0300)]
Merge pull request #56150 from xxhdx1985126/wip-seastore-teuthology

qa/suites/crimson-rados: add seastore

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
12 months agomgr/dashboard: add RGW lifecycle management 57238/head
Pedro Gonzalez Gomez [Thu, 2 May 2024 14:37:38 +0000 (16:37 +0200)]
mgr/dashboard: add RGW lifecycle management

Fixes: https://tracker.ceph.com/issues/50327
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
12 months agomgr/dashborad: RGW sync policy 58260/head
Naman Munet [Tue, 25 Jun 2024 11:54:51 +0000 (17:24 +0530)]
mgr/dashborad: RGW sync policy

Fixes: https://tracker.ceph.com/issues/66576
Signed-off-by: Naman Munet <nmunet@redhat.com>
12 months agodoc/cephfs: update cephfs-shell link 58366/head
Zac Dover [Mon, 1 Jul 2024 05:57:40 +0000 (15:57 +1000)]
doc/cephfs: update cephfs-shell link

Repair the link to cephfs-shell.rst in doc/cephfs/cephfs-shell.rst that
was broken in https://github.com/ceph/ceph/pull/41165/ when
doc/cephfs/cephfs-shell.rst was moved to doc/man/8/cephfs-shell.rst.

This commit is made in response to a request by Lander Duncan that was
made on the [ceph-users] mailing list, and can be seen here: https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/F7V4CWLIYCAJ4JXI2JLNY6QPCFPR4SLA/

Signed-off-by: Zac Dover <zac.dover@proton.me>
12 months agoMerge pull request #58363 from zdover23/wip-doc-2024-07-01-start-hardware-recs
Anthony D'Atri [Mon, 1 Jul 2024 04:16:07 +0000 (00:16 -0400)]
Merge pull request #58363 from zdover23/wip-doc-2024-07-01-start-hardware-recs

doc/start: s/overprovsioning/overprovisioning/

12 months agodoc/start: s/overprovsioning/overprovisioning/ 58363/head
Zac Dover [Mon, 1 Jul 2024 03:27:40 +0000 (13:27 +1000)]
doc/start: s/overprovsioning/overprovisioning/

Restore a missing "i" in "overprovisioning" in
doc/start/hardware-recommendations.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
12 months agoMerge pull request #58102 from yuvalif/wip-yuval-64690
Casey Bodley [Sun, 30 Jun 2024 14:58:01 +0000 (15:58 +0100)]
Merge pull request #58102 from yuvalif/wip-yuval-64690

rgw/amqp: fix valgrind errors on uninitialized memory

Reviewed-by: Casey Bodley <cbodley@redhat.com>
12 months agoqa/suites/crimson-rados: disable seastore with default thrash 56150/head
Matan Breizman [Sun, 30 Jun 2024 09:15:03 +0000 (12:15 +0300)]
qa/suites/crimson-rados: disable seastore with default thrash

Currently we have 2 types of thrash tests: default and simple.
Seastore passes only the simple one.

The 2 types are seperated to diffrent dirs. `thrash` dir
will be tested with bluestore only.
`thrash_simple` will be tested with both backend.

Once Seastore passes default ones, we can merge back the two dirs

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
12 months agoMerge pull request #58124 from myoungwon/wip-fix-66368
Kefu Chai [Sun, 30 Jun 2024 09:05:55 +0000 (17:05 +0800)]
Merge pull request #58124 from myoungwon/wip-fix-66368

debian: add ceph-dedup-daemon to the ceph-test package

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
12 months agoMerge pull request #58358 from zdover23/wip-doc-2024-06-29-cephfs-fs-vols
Anthony D'Atri [Sat, 29 Jun 2024 14:22:01 +0000 (10:22 -0400)]
Merge pull request #58358 from zdover23/wip-doc-2024-06-29-cephfs-fs-vols

doc/cephfs: take Anthony's suggestion

12 months agodoc/cephfs: take Anthony's suggestion 58358/head
Zac Dover [Sat, 29 Jun 2024 12:11:55 +0000 (22:11 +1000)]
doc/cephfs: take Anthony's suggestion

Incorporate Anthony's suggestion in
https://github.com/ceph/ceph/pull/57567#discussion_r1607016050 into
doc/cephfs/fs-volumes.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
12 months agoMerge pull request #58133 from TRYTOBE8TME/wip-rgw-null-ver-final
Shilpa Jagannath [Fri, 28 Jun 2024 23:06:23 +0000 (16:06 -0700)]
Merge pull request #58133 from TRYTOBE8TME/wip-rgw-null-ver-final

src/rgw: Deleting an object with null version fix

12 months agoMerge pull request #55945 from lxbsz/wip-64679-new
Venky Shankar [Fri, 28 Jun 2024 17:12:17 +0000 (22:42 +0530)]
Merge pull request #55945 from lxbsz/wip-64679-new

mds/client: return -ENODATA when xattr doesn't exist for removexattr

Reviewed-by: Venky Shankar <vshankar@redhat.com>
12 months agorgw/multisite: use bilog_flags in cls_rgw_bucket_unlink_instance as well. 58133/head
Shilpa Jagannath [Thu, 27 Jun 2024 20:58:53 +0000 (16:58 -0400)]
rgw/multisite: use bilog_flags in cls_rgw_bucket_unlink_instance as well.

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
12 months agoMerge pull request #58300 from idryomov/wip-66300-test-fixup
Ilya Dryomov [Fri, 28 Jun 2024 11:40:32 +0000 (13:40 +0200)]
Merge pull request #58300 from idryomov/wip-66300-test-fixup

test/librbd: avoid caching effects TestGroup.add_snapshot{,PP}

Reviewed-by: Ramana Raja <rraja@redhat.com>
12 months agoMerge pull request #58290 from guits/fix_nvme_loop
Guillaume Abrioux [Fri, 28 Jun 2024 10:25:32 +0000 (12:25 +0200)]
Merge pull request #58290 from guits/fix_nvme_loop

tests: make sure nvmetcli and nvme-cli are up to date

12 months agoMerge pull request #58201 from idryomov/wip-66570
Ilya Dryomov [Fri, 28 Jun 2024 09:56:34 +0000 (11:56 +0200)]
Merge pull request #58201 from idryomov/wip-66570

librbd: make diff-iterate in fast-diff mode aware of encryption

Reviewed-by: Ramana Raja <rraja@redhat.com>
12 months agoMerge pull request #58265 from idryomov/wip-rbd-pybind-utc-timestamps
Ilya Dryomov [Fri, 28 Jun 2024 09:54:41 +0000 (11:54 +0200)]
Merge pull request #58265 from idryomov/wip-rbd-pybind-utc-timestamps

pybind/rbd: change to return "aware" datetime objects

Reviewed-by: Ramana Raja <rraja@redhat.com>
12 months agoMerge pull request #58286 from rhcs-dashboard/clone-validation
Nizamudeen A [Fri, 28 Jun 2024 06:57:03 +0000 (12:27 +0530)]
Merge pull request #58286 from rhcs-dashboard/clone-validation

mgr/dashboard: fix clone async validators with different groups

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
12 months agotest/libcephfs: add ceph_test_libcephfs_vxattr 55945/head
Xiubo Li [Tue, 5 Mar 2024 04:38:05 +0000 (12:38 +0800)]
test/libcephfs: add ceph_test_libcephfs_vxattr

Fixes: https://tracker.ceph.com/issues/64679
Signed-off-by: Xiubo Li <xiubli@redhat.com>
12 months agotest/libcephfs: add removexattr test support
Xiubo Li [Tue, 5 Mar 2024 00:59:32 +0000 (08:59 +0800)]
test/libcephfs: add removexattr test support

There have two ways to remove xattrs, removexattr() and setxattr()
with the XATTR_REPLACE flags set.

Fixes: https://tracker.ceph.com/issues/64679
Signed-off-by: Xiubo Li <xiubli@redhat.com>
12 months agotest/libcephfs: move FsCrypt xattr test to dedicated test file
Xiubo Li [Tue, 5 Mar 2024 00:32:34 +0000 (08:32 +0800)]
test/libcephfs: move FsCrypt xattr test to dedicated test file

Switch to use XATTR_CREATE.

Fixes: https://tracker.ceph.com/issues/64679
Signed-off-by: Xiubo Li <xiubli@redhat.com>
12 months agomds/client: return -ENODATA when xattr doesn't exist for removexattr
Xiubo Li [Mon, 4 Mar 2024 03:38:28 +0000 (11:38 +0800)]
mds/client: return -ENODATA when xattr doesn't exist for removexattr

The POSIX says we should return -ENODATA when the corresponding
attribute doesn't exist when removing it. While there is one
exception for the acl ones in the local filesystems, for exmaple
for xfs, which will treat it as success.

While in the MDS side there have two ways to remove the xattr:
sending a CEPH_MDS_OP_SETXATTR request by setting the 'flags' with
CEPH_XATTR_REMOVE and just issued a CEPH_MDS_OP_RMXATTR request
directly.

For the first one it will always return 0 when the corresponding
xattr doesn't exist, while for the later one it will return
-ENODATA instead, this should be fixed in MDS to make them to be
consistent.

Added a CEPH_XATTR_REMOVE2 new flags and will return -ENODATA errno
directly when the crresponding xattr doesn't exist. Just keeps the
old CEPH_XATTR_REMOVE flags to make it to be compatible with old
clients.

Fixes: https://tracker.ceph.com/issues/64679
Signed-off-by: Xiubo Li <xiubli@redhat.com>
12 months agosrc/test/rgw: Adding a test for check
Kalpesh Pandya [Mon, 15 Apr 2024 03:23:54 +0000 (08:53 +0530)]
src/test/rgw: Adding a test for check

Addition of a test to rgw_multi to check the
working of deleting an object with null version.

Signed-off-by: Kalpesh Pandya <kapandya@redhat.com>
12 months agorgw/multisite: add a flag to bilog_flags and use it to set/unset null version
Shilpa Jagannath [Thu, 18 Jan 2024 18:47:49 +0000 (13:47 -0500)]
rgw/multisite: add a flag to bilog_flags and use it to set/unset null version

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
12 months agoMerge PR #57619 into main
Venky Shankar [Thu, 27 Jun 2024 16:34:37 +0000 (22:04 +0530)]
Merge PR #57619 into main

* refs/pull/57619/head:
qa/cephfs: use wait_for_daemon() instead of sleep()-ing
qa/cephfs: mark file system joinable for fs rename tests before unmounting clients

Reviewed-by: Rishabh Dave <ridave@redhat.com>
12 months agoMerge pull request #57271 from tj90241/a-better-crc32c
Yuri Weinstein [Thu, 27 Jun 2024 15:53:16 +0000 (08:53 -0700)]
Merge pull request #57271 from tj90241/a-better-crc32c

common: Leverage a better CRC32C implementation

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
12 months agoMerge pull request #57107 from ifed01/wip-ifed-async-compact
Yuri Weinstein [Thu, 27 Jun 2024 15:51:34 +0000 (08:51 -0700)]
Merge pull request #57107 from ifed01/wip-ifed-async-compact

os/bluestore: enable async manual compactions

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
12 months agoMerge pull request #56334 from NitzanMordhai/wip-nitzan-wathcnotify3-timout-increase
Yuri Weinstein [Thu, 27 Jun 2024 15:50:54 +0000 (08:50 -0700)]
Merge pull request #56334 from NitzanMordhai/wip-nitzan-wathcnotify3-timout-increase

test/librados: WatchNotify3 increase timeout

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
12 months agoMerge pull request #57581 from adamemerson/wip-boost-1.85
Casey Bodley [Thu, 27 Jun 2024 15:35:32 +0000 (16:35 +0100)]
Merge pull request #57581 from adamemerson/wip-boost-1.85

build: Bump boost version to 1.85

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
12 months agoqa/suites/crimson-rados: add seastore
Xuehan Xu [Wed, 13 Mar 2024 06:37:36 +0000 (14:37 +0800)]
qa/suites/crimson-rados: add seastore

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
12 months agoMerge PR #53755 into main
Venky Shankar [Thu, 27 Jun 2024 14:28:50 +0000 (19:58 +0530)]
Merge PR #53755 into main

* refs/pull/53755/head:
PendingReleaseNotes: add note about CephFS set_vxattrs
doc/cephfs: Update docs to match remove functionality and respective vxattrs
qa: Add test coverage for vxattr behavior
qa: Add removexattr to support setfattr removal.
mds: Implement remove for ceph vxattrs

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
12 months agoMerge PR #56476 into main
Venky Shankar [Thu, 27 Jun 2024 14:26:29 +0000 (19:56 +0530)]
Merge PR #56476 into main

* refs/pull/56476/head:
qa: add README to every fs:upgrade sub-suite
qa: upgrade sub-suite mds_upgrade_sequence from n-1 and n-2 releases

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
12 months agoMerge pull request #57632 from cbodley/wip-http-mgr-locking
Casey Bodley [Thu, 27 Jun 2024 14:07:06 +0000 (15:07 +0100)]
Merge pull request #57632 from cbodley/wip-http-mgr-locking

rgw/http: check 'done' under mutex

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
12 months agotests: make sure nvmetcli and nvme-cli are up to date 58290/head
Guillaume Abrioux [Wed, 26 Jun 2024 10:35:43 +0000 (10:35 +0000)]
tests: make sure nvmetcli and nvme-cli are up to date

Otherwise jobs end up with the following failure:

```
2024-06-25T14:22:18.659 INFO:teuthology.orchestra.run.smithi098.stderr:Failed to write to /dev/nvme-fabrics: Invalid argument
```

Also, the output of nvme list has changed so we have to update
qa/tasks/nvme_loop.py accordingly.

Fixes: https://tracker.ceph.com/issues/66707
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
12 months agoMerge pull request #58287 from pereman2/libradospp-example-doc
Zac Dover [Thu, 27 Jun 2024 12:21:08 +0000 (22:21 +1000)]
Merge pull request #58287 from pereman2/libradospp-example-doc

doc/rados: update how to install c++ header files

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
12 months agoMerge pull request #58299 from nbalacha/wip-nbalacha-doc-typos
Zac Dover [Thu, 27 Jun 2024 12:16:42 +0000 (22:16 +1000)]
Merge pull request #58299 from nbalacha/wip-nbalacha-doc-typos

doc/dev: Fix typos in encoding.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 months agoMerge pull request #58036 from Suyashd999/core-false-positives
Ronen Friedman [Thu, 27 Jun 2024 12:01:24 +0000 (15:01 +0300)]
Merge pull request #58036 from Suyashd999/core-false-positives

osd: suppressing two false clang-tidy detections

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
12 months agoMerge pull request #58279 from rhcs-dashboard/cephfs-nav-fix
afreen23 [Thu, 27 Jun 2024 09:14:57 +0000 (14:44 +0530)]
Merge pull request #58279 from rhcs-dashboard/cephfs-nav-fix

mgr/dashboard: fix nav urls for cephfs and nfs

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
12 months agotest/librbd: avoid caching effects TestGroup.add_snapshot{,PP} 58300/head
Ilya Dryomov [Wed, 26 Jun 2024 16:24:30 +0000 (18:24 +0200)]
test/librbd: avoid caching effects TestGroup.add_snapshot{,PP}

After rollback started being tested in commit b3977c53c930
("test/librbd: make rollback in TestGroup.add_snapshot{,PP}
meaningful"), these tests can fail on comparing post-rollback
data to expected data if run with exclusive lock disabled.
This doesn't occur with exclusive lock enabled because the RBD
cache gets invalidated implicitly before releasing the lock.

While at it, pass LIBRADOS_OP_FLAG_FADVISE_FUA to avoid relying
on any cache settings that happen to be in effect.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
12 months agotest/librbd: give groups unique names in TestGroup tests
Ilya Dryomov [Wed, 26 Jun 2024 16:15:23 +0000 (18:15 +0200)]
test/librbd: give groups unique names in TestGroup tests

Otherwise, a failing add_snapshot test causes add_snapshotPP test to
fail too, for example.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
12 months agotest/librbd: drop unused variable in TestGroup.group_create
Ilya Dryomov [Wed, 26 Jun 2024 16:12:33 +0000 (18:12 +0200)]
test/librbd: drop unused variable in TestGroup.group_create

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
12 months agodoc/dev: Fix typos in encoding.rst 58299/head
N Balachandran [Thu, 27 Jun 2024 07:22:09 +0000 (12:52 +0530)]
doc/dev: Fix typos in encoding.rst

Signed-off-by: N Balachandran <nibalach@redhat.com>
12 months agoMerge pull request #57709 from xxhdx1985126/wip-seastore-fix-parent_invalid-mappings
Yingxin [Thu, 27 Jun 2024 01:20:52 +0000 (09:20 +0800)]
Merge pull request #57709 from xxhdx1985126/wip-seastore-fix-parent_invalid-mappings

crimson/os/seastore: avoid getting wrong logical extents through "parent-invalid" lba mappings

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
12 months agoMerge pull request #58209 from connorfawcett/gcov-fix
Kefu Chai [Wed, 26 Jun 2024 22:50:35 +0000 (06:50 +0800)]
Merge pull request #58209 from connorfawcett/gcov-fix

nasm-wrapper: Ignore --coverage flag passed to nasm

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
12 months agomgr/cephadm: add migration for certs/keys to cert store 55564/head
Adam King [Fri, 14 Jun 2024 15:51:54 +0000 (11:51 -0400)]
mgr/cephadm: add migration for certs/keys to cert store

Signed-off-by: Adam King <adking@redhat.com>
12 months agomgr/cephadm: move ingress cert to cert store
Adam King [Thu, 8 Feb 2024 13:23:37 +0000 (08:23 -0500)]
mgr/cephadm: move ingress cert to cert store

In an effort to try and organize our cert handling
and provide cert management features in the future

Signed-off-by: Adam King <adking@redhat.com>
12 months agomgr/cephadm: store iscsi cert and key in cert store
Adam King [Wed, 7 Feb 2024 20:51:56 +0000 (15:51 -0500)]
mgr/cephadm: store iscsi cert and key in cert store

In an effort to organize our handling of certs and
offer cert management functionality in the future

Signed-off-by: Adam King <adking@redhat.com>
12 months agomgr/cephadm: move rgw frontend ssl cert to cert store
Adam King [Wed, 7 Feb 2024 16:45:56 +0000 (11:45 -0500)]
mgr/cephadm: move rgw frontend ssl cert to cert store

In an effort to organize our certs and in the future
add cert management features.

Signed-off-by: Adam King <adking@redhat.com>
12 months agomgr/cephadm: move node-exporter cert/key to cert store
Adam King [Tue, 6 Feb 2024 01:07:15 +0000 (20:07 -0500)]
mgr/cephadm: move node-exporter cert/key to cert store

We weren't storing this before, but we want to
add some cert management stuff later, so it's
good to start doing so

Signed-off-by: Adam King <adking@redhat.com>
12 months agomgr/cephadm: move prometheus daemon cert to cert store
Adam King [Tue, 6 Feb 2024 00:56:46 +0000 (19:56 -0500)]
mgr/cephadm: move prometheus daemon cert to cert store

We weren't storing this before, but since we want to
add more options for cert management, it's good to start
doing so

Signed-off-by: Adam King <adking@redhat.com>
12 months agomgr/cephadm: move alertmanager crt/key to cert store
Adam King [Tue, 6 Feb 2024 00:18:00 +0000 (19:18 -0500)]
mgr/cephadm: move alertmanager crt/key to cert store

We weren't actually even storing these before, but
given we want to be able to offer some more cert
management options in the future, it's good to start
doing so

Signed-off-by: Adam King <adking@redhat.com>
12 months agomgr/cephadm: add cert-store ls commands
Adam King [Wed, 31 Jan 2024 15:15:00 +0000 (10:15 -0500)]
mgr/cephadm: add cert-store ls commands

To see what certs cephadm has stored in
its internal cert store

Signed-off-by: Adam King <adking@redhat.com>
12 months agomgr/cephadm: move grafana cert/key to cert/key store
Adam King [Tue, 30 Jan 2024 13:56:17 +0000 (08:56 -0500)]
mgr/cephadm: move grafana cert/key to cert/key store

In an effort to try and better track what certs/keys
we manage with cephadm

Signed-off-by: Adam King <adking@redhat.com>
12 months agomgr/cephadm: move agent endpoint root cert/key to cert store
Adam King [Tue, 23 Jan 2024 22:35:44 +0000 (17:35 -0500)]
mgr/cephadm: move agent endpoint root cert/key to cert store

Trying to move all certs/keys cephadm manages to
a central location

Signed-off-by: Adam King <adking@redhat.com>
12 months agomgr/cephadm: move service discovery cert/key to cert store
Adam King [Tue, 23 Jan 2024 14:57:30 +0000 (09:57 -0500)]
mgr/cephadm: move service discovery cert/key to cert store

Trying to move all of the certs/keys cephadm manages
into one place.

Signed-off-by: Adam King <adking@redhat.com>
12 months agomgr/cephadm: add a Cert/Key tracking/storage class
Adam King [Mon, 22 Jan 2024 17:37:19 +0000 (12:37 -0500)]
mgr/cephadm: add a Cert/Key tracking/storage class

The idea is to move storage/handling of certs from any misc.
spot in the mgr/cephadm codebase into a single class. This will
make it much easier to do things with the certs we have in
the future.

Signed-off-by: Adam King <adking@redhat.com>
12 months agoMerge pull request #52568 from smanjara/wip-rgw-mdlog-polling
Shilpa Jagannath [Wed, 26 Jun 2024 15:42:32 +0000 (08:42 -0700)]
Merge pull request #52568 from smanjara/wip-rgw-mdlog-polling

rgw/multisite: metadata polling event based on unmodified mdlog_marker

12 months agoMerge pull request #58229 from cbodley/wip-dout-fmt
Casey Bodley [Wed, 26 Jun 2024 15:01:12 +0000 (16:01 +0100)]
Merge pull request #58229 from cbodley/wip-dout-fmt

dout: add macros for libfmt-style logging

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
12 months agoMerge pull request #58126 from NitzanMordhai/wip-nitzan-suites-rados-cephadm-stray...
NitzanMordhai [Wed, 26 Jun 2024 14:44:13 +0000 (17:44 +0300)]
Merge pull request #58126 from NitzanMordhai/wip-nitzan-suites-rados-cephadm-stray-daemon

suites: adding ignore list for stray daemon

12 months agodoc/rados: update how to install c++ header files 58287/head
Pere Diaz Bou [Wed, 26 Jun 2024 13:57:47 +0000 (15:57 +0200)]
doc/rados: update how to install c++ header files

In this example librados2-devel only install C header files on fedora 40,
therefore I added libradospp-devel to the command to include C++ header files.

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
12 months agoMerge pull request #57125 from xxhdx1985126/wip-65679
Matan Breizman [Wed, 26 Jun 2024 13:38:08 +0000 (16:38 +0300)]
Merge pull request #57125 from xxhdx1985126/wip-65679

crimson/osd/pg: reset the snap mapper's backend when pg interval changes

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radosław Zarzyński <rzarzyns@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
12 months agomgr/dashboard: cephfs snapshot and clones e2e tests 58286/head
Nizamudeen A [Tue, 26 Mar 2024 18:56:43 +0000 (00:26 +0530)]
mgr/dashboard: cephfs snapshot and clones e2e tests

Fixes: https://tracker.ceph.com/issues/65180
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 3d1a7c56ccb8eb6d988e034e99e199cd226b1704)

12 months agomgr/dashboard: fix clone async validators with different groups
Nizamudeen A [Wed, 26 Jun 2024 13:22:40 +0000 (18:52 +0530)]
mgr/dashboard: fix clone async validators with different groups

Providing a way to dynamically update the async validator based on the
selector field so that when the selected value changes, the depended
field like the clone name gets validated again against the new value

Fixes: https://tracker.ceph.com/issues/66703
Signed-off-by: Nizamudeen A <nia@redhat.com>
12 months agomgr/dashboard: fix nav urls for cephfs and nfs 58279/head
Nizamudeen A [Wed, 26 Jun 2024 10:34:31 +0000 (16:04 +0530)]
mgr/dashboard: fix nav urls for cephfs and nfs

Fixes: https://tracker.ceph.com/issues/66697
Signed-off-by: Nizamudeen A <nia@redhat.com>
12 months agoMerge pull request #58270 from Svelar/adminsocket
Rongqi Sun [Wed, 26 Jun 2024 05:59:47 +0000 (13:59 +0800)]
Merge pull request #58270 from Svelar/adminsocket

test/admin_socket: increase slack

12 months agoMerge pull request #58226 from zdover23/wip-doc-2024-06-24-rados-troubleshooting...
Zac Dover [Wed, 26 Jun 2024 05:53:07 +0000 (15:53 +1000)]
Merge pull request #58226 from zdover23/wip-doc-2024-06-24-rados-troubleshooting-osd-debugging-slow-requests

doc/rados: edit troubleshooting-osd.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 months agotest/admin_socket: increase slack 58270/head
Rongqi Sun [Wed, 26 Jun 2024 03:01:33 +0000 (03:01 +0000)]
test/admin_socket: increase slack

fixes: https://tracker.ceph.com/issues/66638

Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
12 months agotest/crimson/seastore/test_transaction_manager: add a UT case for 57709/head
Xuehan Xu [Thu, 13 Jun 2024 06:22:50 +0000 (14:22 +0800)]
test/crimson/seastore/test_transaction_manager: add a UT case for
detecting invalid lba mappings

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
12 months agocrimson/os/seastore/transaction_manager: fix lba mappings before getting
Xuehan Xu [Tue, 11 Jun 2024 07:37:57 +0000 (15:37 +0800)]
crimson/os/seastore/transaction_manager: fix lba mappings before getting
logical extents through them

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
12 months agocrimson/os/seastore/btree: add interfaces to check whether the mappings'
Xuehan Xu [Tue, 11 Jun 2024 05:00:49 +0000 (13:00 +0800)]
crimson/os/seastore/btree: add interfaces to check whether the mappings'
parents have been modified

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
12 months agocrimson/os/seastore/transaction: minor bug fix
Xuehan Xu [Mon, 17 Jun 2024 14:54:09 +0000 (22:54 +0800)]
crimson/os/seastore/transaction: minor bug fix

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
12 months agocrimson/os/seastore/transaction_manager: assert that the parents of the
Xuehan Xu [Sat, 25 May 2024 05:15:20 +0000 (13:15 +0800)]
crimson/os/seastore/transaction_manager: assert that the parents of the
mappings following which logical extents are to be retrieved are valid

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
12 months agocrimson/os/seastore/cache: add an efficient method to check if extents are
Xuehan Xu [Fri, 14 Jun 2024 10:35:05 +0000 (18:35 +0800)]
crimson/os/seastore/cache: add an efficient method to check if extents are
viewable to transactions

Instead of searching the transaction's retired_set to determine whether
an extent has been retired, we add the transaction that's retiring an
extent to that extent's retired_transactions field and search that field
to do the check. Since the probability of multiple transactions retiring
the same extent is very low, this approach should be more cpu efficient.

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
12 months agocrimson/os/seastore/transaction: make Transaction::is_retired() an
Xuehan Xu [Tue, 25 Jun 2024 08:46:57 +0000 (16:46 +0800)]
crimson/os/seastore/transaction: make Transaction::is_retired() an
accurate extent check

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>