]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
16 months agomgr/cephadm: refresh public_network for config checks before checking 56178/head
Adam King [Wed, 13 Mar 2024 19:30:25 +0000 (15:30 -0400)]
mgr/cephadm: refresh public_network for config checks before checking

The place it was being run before meant it would only grab the
public_network setting once at startup of the module. This meant
if a user changed the setting, which they are likely to do if they
get the warning, cephadm would ignore the change and continue
reporting that the hosts don't match up with the old setting
for the public_network. This moves the call to refresh the
setting to right before we actually run the checks. It does
mean we'll do the `ceph config dump --format json` call
each serve loop iteration, but I've found that only tends
to take a few milliseconds, which is nothing compared to
the time to refresh other things we check during the serve
loop.

I additionally modified the use of this option to use
the attribute on the mgr, rather than calling
`get_module_option`. This was just to get it more in
line with how we tend to handle other config options

Fixes: https://tracker.ceph.com/issues/64902
Signed-off-by: Adam King <adking@redhat.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 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 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 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 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 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/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>
16 months agoqa: fix syntax bug with invalid 60 minute specification 56071/head
Patrick Donnelly [Fri, 8 Mar 2024 19:39:17 +0000 (14:39 -0500)]
qa: fix syntax bug with invalid 60 minute specification

Use 8 minute cycles instead.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
16 months agoMerge pull request #55657 from ceph/wip-rgw-meta-topic wip-rgw-meta-topic
Casey Bodley [Fri, 8 Mar 2024 18:10:34 +0000 (18:10 +0000)]
Merge pull request #55657 from ceph/wip-rgw-meta-topic

rgw: replicate v2 topic/notification metadata

Reviewed-by: Krunal Chheda <kchheda3@bloomberg.net>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
16 months agotest/librbd: add DiffIterateTruncate and DiffIterateWriteAndTruncate 56064/head
Ilya Dryomov [Tue, 5 Mar 2024 20:05:22 +0000 (21:05 +0100)]
test/librbd: add DiffIterateTruncate and DiffIterateWriteAndTruncate

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
16 months agolibrbd: don't clip expanded diff on truncate in ObjectListSnapsRequest
Ilya Dryomov [Wed, 28 Feb 2024 13:20:16 +0000 (14:20 +0100)]
librbd: don't clip expanded diff on truncate in ObjectListSnapsRequest

If the diff was expanded due to LIST_SNAPS_FLAG_WHOLE_OBJECT, clipping
it when handling a truncate is wrong -- when subtracting that interval,
we either split the expanded extent into two or chop off a piece of it.
However the point of LIST_SNAPS_FLAG_WHOLE_OBJECT is to report a single
extent covering the entire object.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
16 months agolibrados/snap_set_diff: ignore truncates above size at start
Ilya Dryomov [Sun, 18 Feb 2024 10:46:15 +0000 (11:46 +0100)]
librados/snap_set_diff: ignore truncates above size at start

Because currently calc_snap_set_diff() only ever appends to the running
diff, an excessive (either too large or completely bogus) zero extent
is reported in cases where an object is first expanded (with a snapshot
taken at that point) and then truncated but still above the size of the
object as of the starting snapshot.

Fixes: https://tracker.ceph.com/issues/63770
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
16 months agoMerge pull request #56006 from afreen23/http-error-pools-page
Pedro Gonzalez Gomez [Fri, 8 Mar 2024 13:14:12 +0000 (14:14 +0100)]
Merge pull request #56006 from afreen23/http-error-pools-page

mgr/dashboard: handle infinite values for pools

16 months agomgr/dashboard: fix snap schedule list toggle cols 56063/head
Ivo Almeida [Fri, 8 Mar 2024 11:40:41 +0000 (11:40 +0000)]
mgr/dashboard: fix snap schedule list toggle cols

Added isInvisible property to CdColumnTable interface to hide column
from 'toggle columns' drop down checkboxes.

Fixes: https://tracker.ceph.com/issues/64813
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
16 months agoMerge pull request #55984 from xxhdx1985126/wip-rbd-cls-sparsify-test
Ilya Dryomov [Fri, 8 Mar 2024 11:26:13 +0000 (12:26 +0100)]
Merge pull request #55984 from xxhdx1985126/wip-rbd-cls-sparsify-test

test/cls_rbd/test_cls_rbd: change to check for 4KB-aligned sparse read

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
16 months agomgr/dashboard: handle infinite values for pools 56006/head
Afreen [Wed, 6 Mar 2024 20:22:16 +0000 (01:52 +0530)]
mgr/dashboard: handle infinite values for pools

Fixes https://tracker.ceph.com/issues/64724

Issue:
======
Json parsing is failing because of Infinity values present in pools
meteadata. "read_balance": {"score_acting": Infinity, "score_stable":
Infinity,}
Due to this entire pool list is not rendered.

Fix:
====
Added a handler for checking "inf" values and replacing them with a
string "Infinity" so that json parsing does not fail on frontend.

Signed-off-by: Afreen <afreen23.git@gmail.com>
16 months agoMerge pull request #56045 from zdover23/wip-doc-2024-03-07-pgcalc
zdover23 [Fri, 8 Mar 2024 08:42:19 +0000 (18:42 +1000)]
Merge pull request #56045 from zdover23/wip-doc-2024-03-07-pgcalc

doc/rados: restore PGcalc tool

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
16 months agoMerge pull request #55981 from xxhdx1985126/wip-64728
Yingxin [Fri, 8 Mar 2024 07:57:54 +0000 (15:57 +0800)]
Merge pull request #55981 from xxhdx1985126/wip-64728

crimson/os/seastore/collection_manager: allow empty-delta-buffer collection nodes

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
16 months agoMerge pull request #55888 from myoungwon/wip-seastore-cleanup-is-stable-fix
Yingxin [Fri, 8 Mar 2024 07:56:49 +0000 (15:56 +0800)]
Merge pull request #55888 from myoungwon/wip-seastore-cleanup-is-stable-fix

crimson/os/seastore: cleanup and use LBAMapping::is_stable()

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
16 months agocrimson/os/seastore/transaction_manager: minor refinement to remap_pin() asserts 56028/head
Yingxin Cheng [Fri, 8 Mar 2024 07:48:06 +0000 (15:48 +0800)]
crimson/os/seastore/transaction_manager: minor refinement to remap_pin() asserts

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
16 months agotest/crimson: drop cout from seastore tests
Yingxin Cheng [Fri, 8 Mar 2024 07:39:40 +0000 (15:39 +0800)]
test/crimson: drop cout from seastore tests

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
16 months agocrimson/os/seastore/../fixed_kv_node: add comment to copy-from-source
Yingxin Cheng [Thu, 7 Mar 2024 08:41:25 +0000 (16:41 +0800)]
crimson/os/seastore/../fixed_kv_node: add comment to copy-from-source

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
16 months agocrimson/os/seastore: reuse link_phy_tree_root_node()
Yingxin Cheng [Thu, 7 Mar 2024 08:20:07 +0000 (16:20 +0800)]
crimson/os/seastore: reuse link_phy_tree_root_node()

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
16 months agocrimson/os/cache: get_extent_viewable_by_trans, the extent should be valid
Yingxin Cheng [Thu, 7 Mar 2024 07:46:34 +0000 (15:46 +0800)]
crimson/os/cache: get_extent_viewable_by_trans, the extent should be valid

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
16 months agomgr/dashboard: Locking improvements in bucket create form 55866/head
Afreen [Fri, 1 Mar 2024 07:26:25 +0000 (12:56 +0530)]
mgr/dashboard: Locking improvements in bucket create form

Fixes https://tracker.ceph.com/issues/64658
- Addition of help texts
- Addition of info/warnings related to modes and versioning
- change of Locking section layout
- renaming locking to 'Object Locking'
- changes default retention period to 10
- edit bucket only shows lock when its enabled

Signed-off-by: Afreen <afreen23.git@gmail.com>
16 months agodoc/rados: restore PGcalc tool 56045/head
Zac Dover [Thu, 7 Mar 2024 17:29:50 +0000 (03:29 +1000)]
doc/rados: restore PGcalc tool

Restore the PGcalc tool to the documentation suite.

Co-authored-by: Josh Durgin <jdurgin@redhat.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
16 months agoqa/rgw: notification suite creates a realm 56005/head
Casey Bodley [Thu, 7 Mar 2024 23:07:38 +0000 (18:07 -0500)]
qa/rgw: notification suite creates a realm

Signed-off-by: Casey Bodley <cbodley@redhat.com>
16 months agoMerge pull request #55652 from clwluvw/rgw-blockaccesspublic
Casey Bodley [Thu, 7 Mar 2024 16:02:39 +0000 (16:02 +0000)]
Merge pull request #55652 from clwluvw/rgw-blockaccesspublic

rgw: compatibility issues on BucketPublicAccessBlock

Reviewed-by: Casey Bodley <cbodley@redhat.com>
16 months agoMerge pull request #56010 from zdover23/wip-doc-2024-03-07-start-get-involved
Anthony D'Atri [Thu, 7 Mar 2024 15:31:55 +0000 (10:31 -0500)]
Merge pull request #56010 from zdover23/wip-doc-2024-03-07-start-get-involved

doc/start: add Slack invite link

16 months agoMerge pull request #55390 from qiuxinyidian/rgw-admin
Casey Bodley [Thu, 7 Mar 2024 15:12:07 +0000 (15:12 +0000)]
Merge pull request #55390 from qiuxinyidian/rgw-admin

rgw: add help info for radosgw-admin list object in bucket

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
16 months agoMerge pull request #56027 from Matan-B/wip-matanb-crimson-docs-walkthrough
Matan Breizman [Thu, 7 Mar 2024 13:29:29 +0000 (15:29 +0200)]
Merge pull request #56027 from Matan-B/wip-matanb-crimson-docs-walkthrough

doc/dev/crimson: add Code Walkthroughs

Reviewed-by: Rongqi Sun <sunrongqi@huawei.com>
Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
16 months agoMerge pull request #55226 from rhcs-dashboard/fix-64080-main
Pedro Gonzalez Gomez [Thu, 7 Mar 2024 13:06:38 +0000 (14:06 +0100)]
Merge pull request #55226 from rhcs-dashboard/fix-64080-main

mgr/dashboard: Allow the user to add the access/secret key on zone edit and not on zone creation

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>