]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
16 months agoMerge pull request #56248 from nbalacha/wip-nbalacha-rbd-doc-man 56242/head
Zac Dover [Mon, 18 Mar 2024 13:38:02 +0000 (23:38 +1000)]
Merge pull request #56248 from nbalacha/wip-nbalacha-rbd-doc-man

doc/rbd: minor changes to the rbd man page

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
16 months agodoc/rbd: minor changes to the rbd man page 56248/head
N Balachandran [Mon, 18 Mar 2024 12:22:47 +0000 (17:52 +0530)]
doc/rbd: minor changes to the rbd man page

Fixes typos and grammar for some commands. Adds
additional details for some commandds.

Signed-off-by: N Balachandran <nibalach@redhat.com>
16 months agoMerge pull request #56223 from guits/tracker_64951
Guillaume Abrioux [Mon, 18 Mar 2024 08:25:07 +0000 (09:25 +0100)]
Merge pull request #56223 from guits/tracker_64951

node-proxy: support more Location value formats

16 months agoMerge pull request #56247 from nbalacha/wip-nbalacha-rbd-doc-2
Anthony D'Atri [Mon, 18 Mar 2024 08:14:31 +0000 (04:14 -0400)]
Merge pull request #56247 from nbalacha/wip-nbalacha-rbd-doc-2

docs/rbd: fix typos in the rbd basic cmds documentation

16 months agoMerge pull request #56198 from ivoalmeida/fix-nfs-attach-cmd
Nizamudeen A [Mon, 18 Mar 2024 06:47:44 +0000 (12:17 +0530)]
Merge pull request #56198 from ivoalmeida/fix-nfs-attach-cmd

mgr/dashboard: fixed nfs attach command

Reviewed-by: Nizamudeen A <nia@redhat.com>
16 months agodocs/rbd: typo in "retrieving image information" 56247/head
N Balachandran [Mon, 18 Mar 2024 04:34:44 +0000 (10:04 +0530)]
docs/rbd: typo in "retrieving image information"

Replace "for the image" with "of the image".

Signed-off-by: N Balachandran <nibalach@redhat.com>
16 months agodocs/rbd: replace introspect with inspect
N Balachandran [Mon, 18 Mar 2024 04:11:10 +0000 (09:41 +0530)]
docs/rbd: replace introspect with inspect

Replace "introspect" with "inspect" in the rbd basic commands
description.

Signed-off-by: N Balachandran <nibalach@redhat.com>
16 months agodocs/rbd: fix typo in arg name
N Balachandran [Mon, 18 Mar 2024 04:02:39 +0000 (09:32 +0530)]
docs/rbd: fix typo in arg name

Replace "{image-}" with "{image-id}" in the "rbd trash rm"
command description.

Signed-off-by: N Balachandran <nibalach@redhat.com>
16 months agoMerge pull request #56217 from xxhdx1985126/wip-seastore-remap-bug-fixes
Yingxin [Mon, 18 Mar 2024 02:29:17 +0000 (10:29 +0800)]
Merge pull request #56217 from xxhdx1985126/wip-seastore-remap-bug-fixes

test/crimson/sesastore/test_block: add constructor to construct

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
16 months agoMerge pull request #56182 from zdover23/wip-doc-2024-03-14-glossary-librados
Anthony D'Atri [Sat, 16 Mar 2024 00:27:16 +0000 (20:27 -0400)]
Merge pull request #56182 from zdover23/wip-doc-2024-03-14-glossary-librados

doc/glossary: add "librados" entry

16 months agoMerge PR #56218 into main
Patrick Donnelly [Fri, 15 Mar 2024 20:42:27 +0000 (16:42 -0400)]
Merge PR #56218 into main

* refs/pull/56218/head:
qa/crontab: use historically normal priorities for nightlies
doc/dev: update teuthology priority guidance

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
16 months agoMerge pull request #56177 from lbausch/docs-typo-replace-osd
Adam King [Fri, 15 Mar 2024 19:01:10 +0000 (15:01 -0400)]
Merge pull request #56177 from lbausch/docs-typo-replace-osd

doc: cephadm/services/osd: fix typo

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Zac Dover <zac.dover@proton.me>
16 months agoMerge pull request #55796 from kchheda3/wip-fix-filterrule-json
Casey Bodley [Fri, 15 Mar 2024 16:46:38 +0000 (16:46 +0000)]
Merge pull request #55796 from kchheda3/wip-fix-filterrule-json

rgw/notification: Fix the notification FilterRule to emit unique key name in json & Log successful delivery of notification event.

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
16 months agoMerge pull request #56179 from cbodley/wip-doc-rgw-notification_v2
Casey Bodley [Fri, 15 Mar 2024 15:43:10 +0000 (15:43 +0000)]
Merge pull request #56179 from cbodley/wip-doc-rgw-notification_v2

doc/rgw: document the notification_v2 zone feature

Reviewed-by: Krunal Chheda <kchheda3@bloomberg.net>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
16 months agonode-proxy: support more Location value formats 56223/head
Guillaume Abrioux [Fri, 15 Mar 2024 14:20:29 +0000 (14:20 +0000)]
node-proxy: support more Location value formats

After some tests, it turns out that depending on the hardware,
the header 'Location' which is returned by the server after logged can be different.
I could notice the following:

either:

Location: scheme://address:port/redfish/v1/SessionService/Session

or

Location: /redfish/v1/SessionService/Session

a previous tracker [1] was opened because I thought only the first one existed, which is wrong.

[1] https://tracker.ceph.com/issues/64894

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
16 months agoMerge pull request #56132 from ronen-fr/wip-rf-unreserve
Ronen Friedman [Fri, 15 Mar 2024 13:57:43 +0000 (15:57 +0200)]
Merge pull request #56132 from ronen-fr/wip-rf-unreserve

osd/scrub: handle 'release' events sent during 'scrub abort'

Reviewed-by: Samuel Just <sjust@redhat.com>
16 months agoPendingReleaseNotes: announce the notification_v2 feature and its migration 56179/head
Casey Bodley [Wed, 13 Mar 2024 22:47:35 +0000 (18:47 -0400)]
PendingReleaseNotes: announce the notification_v2 feature and its migration

Signed-off-by: Casey Bodley <cbodley@redhat.com>
16 months agodoc/radosgw: document the notification_v2 zone feature
Casey Bodley [Wed, 13 Mar 2024 22:35:40 +0000 (18:35 -0400)]
doc/radosgw: document the notification_v2 zone feature

Signed-off-by: Casey Bodley <cbodley@redhat.com>
16 months agoMerge pull request #55503 from smanjara/wip-x-amz-replicated-at
Casey Bodley [Fri, 15 Mar 2024 13:49:03 +0000 (13:49 +0000)]
Merge pull request #55503 from smanjara/wip-x-amz-replicated-at

rgw/multisite: add x-rgw-replicated-at header to replicated objects

Reviewed-by: Casey Bodley <cbodley@redhat.com>
16 months agoMerge pull request #54152 from linuxbox2/wip-new-noncurrent
Casey Bodley [Fri, 15 Mar 2024 13:24:53 +0000 (13:24 +0000)]
Merge pull request #54152 from linuxbox2/wip-new-noncurrent

rgwlc: implement NewerNoncurrentVersions and ObjectSizeGreater(Less)Than

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
16 months agotest/crimson/sesastore/test_block: add constructor to construct 56217/head
Xuehan Xu [Fri, 15 Mar 2024 11:48:33 +0000 (19:48 +0800)]
test/crimson/sesastore/test_block: add constructor to construct
non-fully-loaded TestBlocks

Before this commit, all TestBlocks are fully-loaded whether they do have
data or not.

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
16 months agoMerge pull request #56172 from guits/tracker_64898
Guillaume Abrioux [Fri, 15 Mar 2024 08:19:18 +0000 (09:19 +0100)]
Merge pull request #56172 from guits/tracker_64898

ceph-volume: add missing import

16 months agoMerge PR #55833 into main
Venky Shankar [Fri, 15 Mar 2024 06:06:33 +0000 (11:36 +0530)]
Merge PR #55833 into main

* refs/pull/55833/head:
qa: Add multifs root_squash testcase

Reviewed-by: Venky Shankar <vshankar@redhat.com>
16 months agoMerge pull request #56188 from zdover23/wip-doc-2024-03-14-rbd-encryption
Zac Dover [Fri, 15 Mar 2024 04:15:42 +0000 (14:15 +1000)]
Merge pull request #56188 from zdover23/wip-doc-2024-03-14-rbd-encryption

doc/rbd: add clone mapping command

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
16 months agorgw/notification: Fix the filter_rules to be array vs dict in json output. 55796/head
kchheda3 [Tue, 27 Feb 2024 20:59:15 +0000 (15:59 -0500)]
rgw/notification: Fix the filter_rules to be array vs dict in json output.

FilterRules when processed as dict in json, emits samy key name for prefix, suffix causing failure while parsing the json notification output.
So change the type FilterRules from JsonDict to Array while dumping in json.

Signed-off-by: kchheda3 <kchheda3@bloomberg.net>
16 months agodoc/rbd: add clone mapping command 56188/head
Zac Dover [Thu, 14 Mar 2024 08:37:23 +0000 (18:37 +1000)]
doc/rbd: add clone mapping command

Add a command that explains how to map a formatted clone when the parent
image and the formatted clone have different encryption types.

Signed-off-by: Zac Dover <zac.dover@proton.me>
16 months agoqa/crontab: use historically normal priorities for nightlies 56218/head
Patrick Donnelly [Thu, 14 Mar 2024 18:59:36 +0000 (14:59 -0400)]
qa/crontab: use historically normal priorities for nightlies

Stop using --force-priority except when necessary.

Squid still gets elevated priority due to the increased attention with the
imminent release.

I've differentiated the priorities some in that release branches should get
higher priority than the main branch and that older release branches should be
prioritized over newer ones. Finally, upgrade tests should be prioritized over
other nightlies.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
16 months agodoc/dev: update teuthology priority guidance
Patrick Donnelly [Thu, 14 Mar 2024 18:59:23 +0000 (14:59 -0400)]
doc/dev: update teuthology priority guidance

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
16 months agomgr/dashboard: fixed nfs attach command 56198/head
Ivo Almeida [Thu, 14 Mar 2024 16:14:25 +0000 (16:14 +0000)]
mgr/dashboard: fixed nfs attach command

Fixes: https://tracker.ceph.com/issues/64933
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
16 months agoMerge pull request #55720 from rzarzynski/wip-refactor-ec-get_chunk_size
Yuri Weinstein [Thu, 14 Mar 2024 15:52:26 +0000 (08:52 -0700)]
Merge pull request #55720 from rzarzynski/wip-refactor-ec-get_chunk_size

ec: rename object_size -> stripe_width in get_chunk_size()

Reviewed-by: Samuel Just <sjust@redhat.com>
16 months agoMerge pull request #55469 from Matt1360/main
Yuri Weinstein [Thu, 14 Mar 2024 15:52:01 +0000 (08:52 -0700)]
Merge pull request #55469 from Matt1360/main

blk: threaded discard support

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
16 months agoMerge pull request #53858 from ushitora-anqou/add-metadata-for-mon
Yuri Weinstein [Thu, 14 Mar 2024 15:51:11 +0000 (08:51 -0700)]
Merge pull request #53858 from ushitora-anqou/add-metadata-for-mon

mon: add created_at and ceph_version_when_created meta

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
16 months agoMerge pull request #56165 from guits/fix-node-proxy-logout
Guillaume Abrioux [Thu, 14 Mar 2024 15:25:19 +0000 (16:25 +0100)]
Merge pull request #56165 from guits/fix-node-proxy-logout

node-proxy: fix RedFishClient.logout() method

16 months agorgwlc: implement Filter size limit checks 54152/head
Matt Benjamin [Tue, 24 Oct 2023 21:59:34 +0000 (17:59 -0400)]
rgwlc: implement Filter size limit checks

i.e., this implements ObjectSizeGreaterThan and ObjectSizeLessThan
for supported expiration and transition actions.

Fixes: https://tracker.ceph.com/issues/63304
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
16 months agorgwlc: implement NewerNoncurrentVersions
Matt Benjamin [Mon, 23 Oct 2023 18:57:33 +0000 (14:57 -0400)]
rgwlc: implement NewerNoncurrentVersions

Per AWS doc, this value controls "how many noncurrent versions
Amazon S3 will retain." [1]  We understand this to mean, retain
NewerNoncurrentVersions of any object, regardless of expiration.

Removed unused RGWLifecycleConfiguration::has_same_action() (cleanup)

[1] https://docs.aws.amazon.com/AmazonS3/latest/API/API_NoncurrentVersionExpiration.html.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
16 months agoMerge pull request #55770 from rosinL/wip-fix-64587
Rixin Luo [Thu, 14 Mar 2024 14:08:49 +0000 (22:08 +0800)]
Merge pull request #55770 from rosinL/wip-fix-64587

CMakeLists: disable Seastar_IO_URING to fix seastar unittest timeout

16 months agoMerge pull request #55870 from rhcs-dashboard/cephfs-auth
Nizamudeen A [Thu, 14 Mar 2024 13:42:21 +0000 (19:12 +0530)]
Merge pull request #55870 from rhcs-dashboard/cephfs-auth

mgr/dashboard: ceph authenticate user from fs

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: ivoalmeida <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
16 months agoMerge PR #55922 into main
Venky Shankar [Thu, 14 Mar 2024 12:38:49 +0000 (18:08 +0530)]
Merge PR #55922 into main

* refs/pull/55922/head:
mds: disable `defer_client_eviction_on_laggy_osds' by default

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
16 months agoMerge PR #55813 into main
Venky Shankar [Thu, 14 Mar 2024 12:30:51 +0000 (18:00 +0530)]
Merge PR #55813 into main

* refs/pull/55813/head:
qa: Add test for first damage of lost+found
tools/cephfs: Fix first-damage to include missing dirs

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
16 months agoMerge PR #55412 into main
Venky Shankar [Thu, 14 Mar 2024 11:23:14 +0000 (16:53 +0530)]
Merge PR #55412 into main

* refs/pull/55412/head:
mds: ensure snapclient is synced before corruption check

Reviewed-by: Venky Shankar <vshankar@redhat.com>
16 months agoMerge PR #55837 into main
Venky Shankar [Thu, 14 Mar 2024 11:22:09 +0000 (16:52 +0530)]
Merge PR #55837 into main

* refs/pull/55837/head:
qa: enhance labeled perf counters test for cephfs-mirror

Reviewed-by: Venky Shankar <vshankar@redhat.com>
16 months agoMerge PR #55994 into main
Venky Shankar [Thu, 14 Mar 2024 11:19:19 +0000 (16:49 +0530)]
Merge PR #55994 into main

* refs/pull/55994/head:
cephfs_mirror, qa: fix typo in current_syncing_snap status

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
16 months agoMerge pull request #56064 from idryomov/wip-63770
Ilya Dryomov [Thu, 14 Mar 2024 10:26:15 +0000 (11:26 +0100)]
Merge pull request #56064 from idryomov/wip-63770

librbd: account for discards that truncate in ObjectListSnapsRequest

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
16 months agoMerge pull request #55306 from rzarzynski/wip-bug-64050
Radoslaw Zarzynski [Thu, 14 Mar 2024 09:54:46 +0000 (10:54 +0100)]
Merge pull request #55306 from rzarzynski/wip-bug-64050

common/dout: fix FTBFS on GCC 14

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Sridhar Seshasayee <sseshasa@redhat.com>
Reviewed-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
16 months agoMerge pull request #56160 from nbalacha/wip-nbalacha-rbd-doc
Zac Dover [Thu, 14 Mar 2024 07:34:53 +0000 (17:34 +1000)]
Merge pull request #56160 from nbalacha/wip-nbalacha-rbd-doc

doc/rbd: Add map information for clone images to rbd-encryption.rst

Reviewed-by: Zac Dover <zac.dover@proton.me>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
16 months agoMerge pull request #56026 from rhcs-dashboard/disable-applitools-check
Nizamudeen A [Thu, 14 Mar 2024 07:18:39 +0000 (12:48 +0530)]
Merge pull request #56026 from rhcs-dashboard/disable-applitools-check

mgr/dashboard: disable applitools e2e

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
16 months agodoc/glossary: add "librados" entry 56182/head
Zac Dover [Thu, 14 Mar 2024 06:29:09 +0000 (16:29 +1000)]
doc/glossary: add "librados" entry

Add a "librados" entry to the glossary.

Signed-off-by: Zac Dover <zac.dover@proton.me>
16 months agoMerge pull request #56133 from ivancich/wip-restore-bucket-index-tempdir
J. Eric Ivancich [Thu, 14 Mar 2024 05:56:09 +0000 (01:56 -0400)]
Merge pull request #56133 from ivancich/wip-restore-bucket-index-tempdir

rgw: rgw-restore-bucket-index -- sort uses specified temp dir

Reviewed-by: Michael Kidd <linuxkidd@gmail.com>
16 months agoMerge PR #55930 into main
Venky Shankar [Thu, 14 Mar 2024 01:43:44 +0000 (07:13 +0530)]
Merge PR #55930 into main

* refs/pull/55930/head:
mgr/vol: don't import IndexException since it's unused

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
16 months agoMerge PR #56141 into main
Venky Shankar [Thu, 14 Mar 2024 01:33:46 +0000 (07:03 +0530)]
Merge PR #56141 into main

* refs/pull/56141/head:
mds: Locker.cc: removing an unused variable

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
16 months agoMerge pull request #55947 from xxhdx1985126/wip-seastore-coll-move-rename
Yingxin [Thu, 14 Mar 2024 01:31:02 +0000 (09:31 +0800)]
Merge pull request #55947 from xxhdx1985126/wip-seastore-coll-move-rename

crimson/os/seastore: handle OP_COLL_MOVE_RENAME

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
16 months agodoc/radosgw: generalize description of Zone Features
Casey Bodley [Wed, 13 Mar 2024 22:20:55 +0000 (18:20 -0400)]
doc/radosgw: generalize description of Zone Features

so they make sense outside of multisite configurations

Signed-off-by: Casey Bodley <cbodley@redhat.com>
16 months agodoc/radosgw: move the Zone Features section to its own page
Casey Bodley [Wed, 13 Mar 2024 22:12:42 +0000 (18:12 -0400)]
doc/radosgw: move the Zone Features section to its own page

Signed-off-by: Casey Bodley <cbodley@redhat.com>
16 months agodoc: cephadm/services/osd: fix typo 56177/head
Lorenz Bausch [Wed, 13 Mar 2024 16:26:51 +0000 (17:26 +0100)]
doc: cephadm/services/osd: fix typo

Signed-off-by: Lorenz Bausch <info@lorenzbausch.de>
16 months agodoc/rbd: add map information for clone images to rbd-encryption.rst 56160/head
N Balachandran [Wed, 13 Mar 2024 11:57:49 +0000 (17:27 +0530)]
doc/rbd: add map information for clone images to rbd-encryption.rst

Add information on the arguments required when mapping the
formatted clone of an encrypted parent image.

Co-authored-by: Zac Dover <zac.dover@proton.me>
Signed-off-by: N Balachandran <nibalach@redhat.com>
16 months agoceph-volume: add missing import 56172/head
Guillaume Abrioux [Wed, 13 Mar 2024 14:04:28 +0000 (15:04 +0100)]
ceph-volume: add missing import

This adds the missing import `List` (from typing).

Probably missed by 36c83bf54243.

Fixes: https://tracker.ceph.com/issues/64898
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
16 months agonode-proxy: fix RedFishClient.logout() method 56165/head
Guillaume Abrioux [Wed, 13 Mar 2024 13:32:59 +0000 (13:32 +0000)]
node-proxy: fix RedFishClient.logout() method

the endpoint passed down to util.query() is wrong:
is passes the full url (scheme://addr:port/path) where it should only
pass the path. The cause is that RedFishClient.login() basically stores
the value of the Location header in `self.location`.

The consequence of this is that it makes the client unable to properly logout.

Fixes: https://tracker.ceph.com/issues/64894
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
16 months agoMerge PR #54485 into main
Patrick Donnelly [Wed, 13 Mar 2024 13:04:40 +0000 (09:04 -0400)]
Merge PR #54485 into main

* refs/pull/54485/head:
mds/quiesce-db: keep the db thread alive until shutdown
mds/quiesce-db: incorporate review comments
mds/quiesce: declare QuiesceDbPeerListing and QuiesceDbPeerAck
mds/quiesce: resolve the quiesce cluster at the mds monitor
include/types: add an I/O helper for std::unordered_map
messages: avoid using mutable members in MMDSQuiesce*
mds/quiesce-db: incorporate review comments
doc/cephfs/fs-volumes: doc fixes and updates
pybind/mgr: correct type hints for `get_quiesce_leader_info`
mds/quiesce: only use ACTIVE daemons for the quiesce cluster
mds,messages: quiesce db inter-rank messaging
mds/quiesce: MDSRankQuiesce - integration of the quiesce db manager
doc/cephfs/fs-volumes: Add info about the quiesce command
doc: fixes for local dev builds
mgr/volumes: support for `fs subvolume quiesce`
mgr/volumes: use `volume_exception_to_retval` as a decorator
pybind/mgr: add a `one-shot` parameter to send_command
mds/quiesce: QuiesceAgent implementation and unit tests
mds/quiesce: QuiesceDb.h and QuiesceDbManager with tests
common/Timer.cc: improve debug messages from the timer_thread
mds: MDSRank.cc: return status from `send_message_mds`
encoding: add emplace variants for map dencoders
common/Cond: make C_SaferCond private members protected to facilitate inheritance
qa/tasks/cephfs: give the tests more time to run heavy fs workloads

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
16 months agoMerge pull request #55952 from yuvalif/wip-yuval-64710
Yuval Lifshitz [Wed, 13 Mar 2024 10:28:35 +0000 (12:28 +0200)]
Merge pull request #55952 from yuvalif/wip-yuval-64710

rgw/kafka: set message timeout to 5 seconds

reviewed-by: kchheda3

16 months agoMerge pull request #56124 from ivoalmeida/fix-snap-schedule-time-format
Ivo Almeida [Wed, 13 Mar 2024 09:19:43 +0000 (09:19 +0000)]
Merge pull request #56124 from ivoalmeida/fix-snap-schedule-time-format

mgr/dashboard: fix snap schedule time format

Reviewed-by: Nizamudeen A <nia@redhat.com>
16 months agoqa: Add test for first damage of lost+found 55813/head
Kotresh HR [Thu, 7 Mar 2024 11:17:51 +0000 (16:47 +0530)]
qa: Add test for first damage of lost+found

Fixes: https://tracker.ceph.com/issues/64615
Signed-off-by: Kotresh HR <khiremat@redhat.com>
16 months agoMerge pull request #56028 from cyx1231st/wip-seastore-cleanup-lba
Yingxin [Wed, 13 Mar 2024 02:27:51 +0000 (10:27 +0800)]
Merge pull request #56028 from cyx1231st/wip-seastore-cleanup-lba

crimson/os/seastore: cleanups around lba parent-child pointer

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
16 months agoMerge pull request #55644 from linuxbox2/wip-rgw-dtexpire
Casey Bodley [Tue, 12 Mar 2024 19:12:21 +0000 (19:12 +0000)]
Merge pull request #55644 from linuxbox2/wip-rgw-dtexpire

rgw_lc:  replace strftime w/fmt and chrono:calendar

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
16 months agoMerge pull request #55764 from sseshasa/wip-fix-ec-inconsisten-hinfo-wrn
Yuri Weinstein [Tue, 12 Mar 2024 18:24:35 +0000 (11:24 -0700)]
Merge pull request #55764 from sseshasa/wip-fix-ec-inconsisten-hinfo-wrn

qa: Add benign cluster warning from ec-inconsistent-hinfo test to ignorelist

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
16 months agoMerge pull request #55455 from sseshasa/wip-fix-cluster-log-level-str
Yuri Weinstein [Tue, 12 Mar 2024 18:24:02 +0000 (11:24 -0700)]
Merge pull request #55455 from sseshasa/wip-fix-cluster-log-level-str

common/LogEntry: Add log level to str helper for fmt::formatter<LogEntry>

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
16 months agoMerge pull request #49730 from pdvian/wip-clog-fix
Yuri Weinstein [Tue, 12 Mar 2024 18:21:17 +0000 (11:21 -0700)]
Merge pull request #49730 from pdvian/wip-clog-fix

common/LogEntry: Reintroduce human readable log level for clog messages

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Sridhar Seshasayee <sseshasa@redhat.com>
Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
16 months agorgw: rgw-restore-bucket-index -- sort uses specified temp dir 56133/head
J. Eric Ivancich [Mon, 11 Mar 2024 21:19:40 +0000 (17:19 -0400)]
rgw: rgw-restore-bucket-index -- sort uses specified temp dir

The sort command sometimes makes use of temporary files. When the user
specifies a directory to be used for temp files, have the sort command
use that same directory.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
16 months agomds: Locker.cc: removing an unused variable 56141/head
Ronen Friedman [Tue, 12 Mar 2024 16:17:25 +0000 (18:17 +0200)]
mds: Locker.cc: removing an unused variable

clearing a compiler warning.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
16 months agomgr/dashboard: ceph authenticate user from fs 55870/head
Pedro Gonzalez Gomez [Fri, 1 Mar 2024 12:43:12 +0000 (13:43 +0100)]
mgr/dashboard: ceph authenticate user from fs

Fixes: https://tracker.ceph.com/issues/64660
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
16 months agoosd/scrub: handle 'release' events sent during 'scrub abort' 56132/head
Ronen Friedman [Mon, 11 Mar 2024 17:54:01 +0000 (12:54 -0500)]
osd/scrub: handle 'release' events sent during 'scrub abort'

Scenario:
- the replica is reserved;
- the Primary initiates a chunk operation;
- the replica is in ReplicaActive/ReplicaActiveOp/ReplicaBuildingMap
- 'no-scrub' is set, and the Primary sends a 'release' event to the
  replica.

Desired behavior:
- the replica aborts the chunk operation and transitions to
  ReplicaReserved;
- the 'release' event is delivered in the new state.

Fixes: https://tracker.ceph.com/issues/64827
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
16 months agoMerge PR #56082 into main
Patrick Donnelly [Tue, 12 Mar 2024 13:07:35 +0000 (09:07 -0400)]
Merge PR #56082 into main

* refs/pull/56082/head:
qa/crontab: simplify and minimize argument specification
qa/nightlies: move schedule_subset script alongside cron_wrapper
qa/crontab: correct script paths and environment
qa/nightlies: simplify cron_wrapper and log to syslog

Reviewed-by: Venky Shankar <vshankar@redhat.com>
16 months agorgw_lc: replace strftime w/fmt and chrono:calendar 55644/head
Matt Benjamin [Mon, 19 Feb 2024 14:01:48 +0000 (09:01 -0500)]
rgw_lc:  replace strftime w/fmt and chrono:calendar

It's reliably claimed that std::strftime is not
mt-safe, and this would be a likely root cause of
intermittent scrambled expiration header output cases
that have been reported.

Fixes: https://tracker.ceph.com/issues/63973
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
16 months agoCMakeLists: disable Seastar_IO_URING to fix seastar unittest timeout 55770/head
luo rixin [Tue, 27 Feb 2024 07:07:17 +0000 (15:07 +0800)]
CMakeLists: disable Seastar_IO_URING to fix seastar unittest timeout

As pr https://github.com/ceph/ceph/pull/55787 bump liburing from 0.7 to 2.5.
with liburing-dev (2.1) installed on ubuntu jammy, Seastar_IO_URING will be set ON,
seastar will be builded with liburing-dev. Ceph bluestore use build_uring in file Builduring.cmake
to build liburing version 2.5 and set URING_INCLUDE_DIR to
/home/jenkins-build/build/workspace/ceph-pull-requests/build/src/liburing/src/include/liburing/,
seastar use URING_INCLUDE_DIR(version is 2.5) to build, but seastar link liburing.so to system
liburing-dev package(version 2.1). The liburing head file seastar building and liburing binary
seastar linked is mismatched.
I have downgraded the liburing version in file 'cmake/modules/Builduring.cmake' to liburing-2.1,
the seastar unittests work fine, no timeout.

Fixes: https://tracker.ceph.com/issues/64789
Signed-off-by: luo rixin <luorixin@huawei.com>
16 months agoMerge pull request #56005 from cbodley/wip-qa-rgw-realm
Casey Bodley [Mon, 11 Mar 2024 21:22:05 +0000 (21:22 +0000)]
Merge pull request #56005 from cbodley/wip-qa-rgw-realm

qa/rgw: teach rgw.py to create an optional realm

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
16 months agoqa/crontab: simplify and minimize argument specification 56082/head
Patrick Donnelly [Mon, 11 Mar 2024 14:46:05 +0000 (10:46 -0400)]
qa/crontab: simplify and minimize argument specification

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
16 months agoqa/nightlies: move schedule_subset script alongside cron_wrapper
Patrick Donnelly [Mon, 11 Mar 2024 14:08:15 +0000 (10:08 -0400)]
qa/nightlies: move schedule_subset script alongside cron_wrapper

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
16 months agoqa/crontab: correct script paths and environment
Patrick Donnelly [Sun, 10 Mar 2024 15:22:09 +0000 (11:22 -0400)]
qa/crontab: correct script paths and environment

At some point the links to the shell scripts in ceph.git were broken in the
$HOME for [1]. Unless a run was done manually with `teuthology-suite` in the
crontab, the job was basically skipped. This is probably one of the reasons
nightlies fell out of use.

I've updated the home directory according to the document (comments) in this
change. The teuthology user now has persistent clones of ceph.git and
teuthology.git. The clones are updated daily by this same crontab.

Instead of using a link in teuthology's $HOME/bin to the scripts used in this
crontab, we just have a cron variable referencing where the script should be in
the ceph.git/teuthology.git clone. Adding to this, the .bash_environment file
sources the virtualenv activate script instead of adding the teuthology binary
directory to its $PATH.

I've updated the hour for these jobs to actually be done "nightly". The first
set of jobs will be scheduled around 4pm EST. Additionally, it was necessary to
include --force-priority as some jobs are below the priority thresholds.

[1] teuthology@teuthology.front.sepia.ceph.com.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
16 months agoqa/nightlies: simplify cron_wrapper and log to syslog
Patrick Donnelly [Mon, 11 Mar 2024 01:21:38 +0000 (21:21 -0400)]
qa/nightlies: simplify cron_wrapper and log to syslog

Instead of logging to a separate file which must be rotated manually, use the
syslog (journald on teuthology.front).

Keep a temporary unlinked file around in case we want to dump that to the
cronjob stdout for a mail status.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
16 months agoMerge pull request #56077 from idryomov/wip-rbd-mirror-bash
Ilya Dryomov [Mon, 11 Mar 2024 17:19:36 +0000 (18:19 +0100)]
Merge pull request #56077 from idryomov/wip-rbd-mirror-bash

qa/workunits/rbd: switch rbd-mirror workunits to bash

16 months agoMerge pull request #56113 from anthonyeleven/moar-improvements
Anthony D'Atri [Mon, 11 Mar 2024 16:17:48 +0000 (12:17 -0400)]
Merge pull request #56113 from anthonyeleven/moar-improvements

doc/cephadm: Improve multiple files

16 months agoMerge pull request #56003 from prazumovsky/wip-63684-reef
Casey Bodley [Mon, 11 Mar 2024 15:32:45 +0000 (15:32 +0000)]
Merge pull request #56003 from prazumovsky/wip-63684-reef

RGW - Swift retarget needs bucket set on object

Reviewed-by: Casey Bodley <cbodley@redhat.com>
16 months agomgr/dashboard: fix snap schedule time format 56124/head
Ivo Almeida [Mon, 11 Mar 2024 15:09:57 +0000 (15:09 +0000)]
mgr/dashboard: fix snap schedule time format

Fixes: https://tracker.ceph.com/issues/64831
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
16 months agoMerge pull request #55972 from ceph/wip-yuriw-release-18.2.2-main
Yuri Weinstein [Mon, 11 Mar 2024 15:05:56 +0000 (08:05 -0700)]
Merge pull request #55972 from ceph/wip-yuriw-release-18.2.2-main

doc: reef 18.2.2 release notes

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
16 months agoMerge pull request #55708 from Matan-B/wip-matanb-crimson-multicore-cluster-msgr
Matan Breizman [Mon, 11 Mar 2024 14:25:15 +0000 (16:25 +0200)]
Merge pull request #55708 from Matan-B/wip-matanb-crimson-multicore-cluster-msgr

crimson/osd/main: Enable multicore cluster messenger

Reviewed-by: chunmei-liu <chunmei.liu@intel.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
16 months agoMerge pull request #55866 from afreen23/fix-rgw-locking
Pedro Gonzalez Gomez [Mon, 11 Mar 2024 13:29:33 +0000 (14:29 +0100)]
Merge pull request #55866 from afreen23/fix-rgw-locking

mgr/dashboard: Locking improvements in bucket create form

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
16 months agodoc/cephadm: Improve multiple files 56113/head
Anthony D'Atri [Mon, 11 Mar 2024 07:04:47 +0000 (03:04 -0400)]
doc/cephadm: Improve multiple files

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
16 months agoMerge pull request #55920 from rhcs-dashboard/pytest-fix
Ernesto Puerta [Mon, 11 Mar 2024 10:20:26 +0000 (11:20 +0100)]
Merge pull request #55920 from rhcs-dashboard/pytest-fix

mgr/dashboard: debugging make check failure

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: ronen-fr <NOT@FOUND>
Reviewed-by: Kefu Chai <kchai@redhat.com>
16 months agoMerge pull request #56063 from ivoalmeida/fix-snap-schedule-list-toggle-columns
Ivo Almeida [Mon, 11 Mar 2024 09:21:44 +0000 (09:21 +0000)]
Merge pull request #56063 from ivoalmeida/fix-snap-schedule-list-toggle-columns

mgr/dashboard: fix snap schedule list toggle cols

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
16 months agotest/crimson/seastore: add the test case for renaming objects 55947/head
Xuehan Xu [Thu, 7 Mar 2024 09:06:13 +0000 (17:06 +0800)]
test/crimson/seastore: add the test case for renaming objects

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
16 months agocrimson/os/seastore: handle OP_COLL_MOVE_RENAME
Xuehan Xu [Tue, 5 Mar 2024 07:58:05 +0000 (15:58 +0800)]
crimson/os/seastore: handle OP_COLL_MOVE_RENAME

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
16 months agoqa: enhance labeled perf counters test for cephfs-mirror 55837/head
Jos Collin [Thu, 29 Feb 2024 10:50:03 +0000 (16:20 +0530)]
qa: enhance labeled perf counters test for cephfs-mirror

Implements checks for labeled perf counters in the appropriate tests.
This patch verifies snaps_synced, snaps_renamed, snaps_deleted and sync_failures metrics are
updated correctly based on the tests.

Fixes: https://tracker.ceph.com/issues/64486
Signed-off-by: Jos Collin <jcollin@redhat.com>
16 months agoMerge pull request #56091 from anthonyeleven/aad-tweak-cephadm
Anthony D'Atri [Mon, 11 Mar 2024 04:05:07 +0000 (00:05 -0400)]
Merge pull request #56091 from anthonyeleven/aad-tweak-cephadm

doc/cephadm: improve host-management.rst

16 months agodoc/cephadm: improve host-management.rst 56091/head
Anthony D'Atri [Sun, 10 Mar 2024 19:49:35 +0000 (15:49 -0400)]
doc/cephadm: improve host-management.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
16 months agoqa/workunits/rbd: switch rbd-mirror workunits to bash 56077/head
Ilya Dryomov [Sat, 9 Mar 2024 21:53:44 +0000 (22:53 +0100)]
qa/workunits/rbd: switch rbd-mirror workunits to bash

By making use of here strings in commit ea3a567f7f03 ("qa/workunits:
make wait_for_status_in_pool_dir() reentrant") we grew a dependency on
bash.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
16 months agoMerge pull request #56076 from zdover23/wip-doc-2024-03-10-glossary-crimson
Anthony D'Atri [Sun, 10 Mar 2024 16:01:43 +0000 (12:01 -0400)]
Merge pull request #56076 from zdover23/wip-doc-2024-03-10-glossary-crimson

doc/glossary: improve "Crimson" entry

16 months agocrimson/osd/osd: handle_scrub_message on any core 55708/head
Matan Breizman [Thu, 7 Mar 2024 09:49:34 +0000 (09:49 +0000)]
crimson/osd/osd: handle_scrub_message on any core

After enabling multicore cluster messenger, there is no
guarantee which core will handle the request.
See: OSDSingletonState::send_to_osd()

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
16 months agodoc/glossary: improve "Crimson" entry 56076/head
Zac Dover [Sun, 10 Mar 2024 10:43:52 +0000 (20:43 +1000)]
doc/glossary: improve "Crimson" entry

Improve the glossary entry for "Crimson" in accordance with Anthony
D'Atri's suggestions here:
https://github.com/ceph/ceph/pull/56068#discussion_r1518580402

Signed-off-by: Zac Dover <zac.dover@proton.me>
16 months agoMerge pull request #56068 from zdover23/wip-doc-2024-03-09-glossary-crimson
zdover23 [Sat, 9 Mar 2024 12:47:08 +0000 (22:47 +1000)]
Merge pull request #56068 from zdover23/wip-doc-2024-03-09-glossary-crimson

doc/glossary: add "Crimson" entry

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
16 months agodoc/glossary: add "Crimson" entry 56068/head
Zac Dover [Fri, 8 Mar 2024 17:17:59 +0000 (03:17 +1000)]
doc/glossary: add "Crimson" entry

Add a "Crimson" entry to the glossary.

Signed-off-by: Zac Dover <zac.dover@proton.me>
16 months agoMerge PR #56071 into main
Patrick Donnelly [Fri, 8 Mar 2024 23:13:27 +0000 (18:13 -0500)]
Merge PR #56071 into main

* refs/pull/56071/head:
qa: fix syntax bug with invalid 60 minute specification

Reviewed-by: Zack Cerza <zack@redhat.com>