]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
13 months agomds: QuiesceDbRequest: update the internal encoding of ops 57912/head
Leonid Usov [Thu, 6 Jun 2024 11:48:56 +0000 (14:48 +0300)]
mds: QuiesceDbRequest: update the internal encoding of ops

Excluding the last root from a set will automatically mark it as QS_CANCELED.
Hence, it makes more sense if `exclude` and `cancel` share the same op code,
rather than `exclude` and `release`.

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
Fixes: https://tracker.ceph.com/issues/66383
13 months agoMerge pull request #56275 from smanjara/wip-set-attr-mtime
Shilpa Jagannath [Wed, 5 Jun 2024 21:12:39 +0000 (14:12 -0700)]
Merge pull request #56275 from smanjara/wip-set-attr-mtime

rgw/multisite: allow PutACL replication.

13 months agoMerge pull request #57900 from zdover23/wip-doc-2024-06-06-start-intro-to-index
Zac Dover [Wed, 5 Jun 2024 20:04:42 +0000 (06:04 +1000)]
Merge pull request #57900 from zdover23/wip-doc-2024-06-06-start-intro-to-index

doc/start: s/intro.rst/index.rst/

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agoqa/multisite: add object set acl test 56275/head
Shilpa Jagannath [Wed, 27 Mar 2024 06:14:44 +0000 (02:14 -0400)]
qa/multisite: add object set acl test

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
13 months agodoc/start: s/intro.rst/index.rst/ 57900/head
Zac Dover [Wed, 5 Jun 2024 16:43:15 +0000 (02:43 +1000)]
doc/start: s/intro.rst/index.rst/

Change the filename "doc/start/intro.rst" to "doc/start/index.rst" so
that Sphinx finds the root filename for the "/start" directory in the
default location.

Signed-off-by: Zac Dover <zac.dover@proton.me>
13 months agorgw/multisite: allow modified object acls to be replicated
Shilpa Jagannath [Tue, 19 Mar 2024 14:59:35 +0000 (10:59 -0400)]
rgw/multisite: allow modified object acls to be replicated

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
13 months agoMerge pull request #57015 from liangmingyuanneo/wip-bluefs-max-alloc-size
Yuri Weinstein [Wed, 5 Jun 2024 14:50:04 +0000 (07:50 -0700)]
Merge pull request #57015 from liangmingyuanneo/wip-bluefs-max-alloc-size

bluefs: bluefs alloc unit should only be shrink

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
13 months agoMerge pull request #56428 from tchaikov/wip-crush-no-vla
Yuri Weinstein [Wed, 5 Jun 2024 14:47:28 +0000 (07:47 -0700)]
Merge pull request #56428 from tchaikov/wip-crush-no-vla

crush: use std::vector instead of variable length arrays

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
13 months agoMerge pull request #56389 from ronen-fr/wip-rf-qtimeout
Yuri Weinstein [Wed, 5 Jun 2024 14:46:08 +0000 (07:46 -0700)]
Merge pull request #56389 from ronen-fr/wip-rf-qtimeout

osd/scrub: remove detection & handling of reservation timeouts from the code

Reviewed-by: Samuel Just <sjust@redhat.com>
13 months agoMerge pull request #57886 from zdover23/wip-doc-2024-06-05-dev-perf-counters
Ilya Dryomov [Wed, 5 Jun 2024 06:26:50 +0000 (08:26 +0200)]
Merge pull request #57886 from zdover23/wip-doc-2024-06-05-dev-perf-counters

doc/dev: origin of Labeled Perf Counters

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
13 months agoMerge pull request #57812 from tchaikov/wip-drop-setuptools
Kefu Chai [Wed, 5 Jun 2024 05:38:22 +0000 (13:38 +0800)]
Merge pull request #57812 from tchaikov/wip-drop-setuptools

ceph.spec.in: remove setuptools dependency

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
13 months agodoc/dev: origin of Labeled Perf Counters 57886/head
Zac Dover [Wed, 5 Jun 2024 01:18:46 +0000 (11:18 +1000)]
doc/dev: origin of Labeled Perf Counters

Note that Labeled Perf Counters were introduced in Reef.

Fixes: https://github.com/ceph/ceph/pull/57753#discussion_r1626483732
Signed-off-by: Zac Dover <zac.dover@proton.me>
13 months agoMerge pull request #57868 from mcv21/ma_npage_typo
Zac Dover [Wed, 5 Jun 2024 00:53:53 +0000 (10:53 +1000)]
Merge pull request #57868 from mcv21/ma_npage_typo

doc: correct typo (ma npage -> man page)

Reviewed-by: Zac Dover <zac.dover@proton.me>
13 months agoMerge PR #57673 into main
Patrick Donnelly [Wed, 5 Jun 2024 00:49:03 +0000 (20:49 -0400)]
Merge PR #57673 into main

* refs/pull/57673/head:
qa: use tell interface for command that may fail
mds: dump AsyncHandler ss to stderr if present
mds: unconditionally dump message in formatter
mds: use appropriate abbrev. for variable name
mds: dump formatter even for errors
common/admin_socket: create type for finisher callback

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
13 months agoqa: use tell interface for command that may fail 57673/head
Patrick Donnelly [Thu, 23 May 2024 17:47:15 +0000 (13:47 -0400)]
qa: use tell interface for command that may fail

The asok interface will mangle stdout if the command actually fails.

The reason `flush path` is done via the asok interface is because the tell/asok
interfaces were unified after these tests were written and `flush path` was
only available via the asok interface.

Fixes: https://tracker.ceph.com/issues/66184
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
13 months agomds: dump AsyncHandler ss to stderr if present
Patrick Donnelly [Thu, 23 May 2024 19:59:22 +0000 (15:59 -0400)]
mds: dump AsyncHandler ss to stderr if present

As it's being used for error output.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
13 months agomds: unconditionally dump message in formatter
Patrick Donnelly [Thu, 23 May 2024 19:58:48 +0000 (15:58 -0400)]
mds: unconditionally dump message in formatter

It's unpleasant to test for existence in json. Just dump an empty string if not present.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
13 months agomds: use appropriate abbrev. for variable name
Patrick Donnelly [Thu, 23 May 2024 19:57:30 +0000 (15:57 -0400)]
mds: use appropriate abbrev. for variable name

Existing convention is that "css" is short for CachedStackStringStream while
"ss" is stringstream.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
13 months agomds: dump formatter even for errors
Patrick Donnelly [Thu, 23 May 2024 17:35:48 +0000 (13:35 -0400)]
mds: dump formatter even for errors

The admin_socker framework only dumps the formatter by default if the command
succeeds.

Fixes: a4dc88140071f9cdfe5654402067434728fee469
Fixes: https://tracker.ceph.com/issues/66184
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
13 months agocommon/admin_socket: create type for finisher callback
Patrick Donnelly [Fri, 24 May 2024 20:52:35 +0000 (16:52 -0400)]
common/admin_socket: create type for finisher callback

And change second argument to std::string_view to have more flexible
conversions.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
13 months agoMerge PR #57553 into main
Patrick Donnelly [Tue, 4 Jun 2024 18:28:09 +0000 (14:28 -0400)]
Merge PR #57553 into main

* refs/pull/57553/head:
mds: try to choose a new batch head in request_clientup()
Revert "mds: find a new head for the batch ops when the head is dead"

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
13 months agoMerge pull request #57811 from tchaikov/wip-debian-mgr-rgw
Kefu Chai [Tue, 4 Jun 2024 15:29:23 +0000 (23:29 +0800)]
Merge pull request #57811 from tchaikov/wip-debian-mgr-rgw

debian: package mgr/rgw in ceph-mgr-modules-core

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
13 months agoMerge pull request #57867 from zdover23/wip-doc-2024-06-04-start-get-involved
Zac Dover [Tue, 4 Jun 2024 14:41:37 +0000 (00:41 +1000)]
Merge pull request #57867 from zdover23/wip-doc-2024-06-04-start-get-involved

doc/start: s/http/https/ in links

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agoMerge pull request #57594 from connorfawcett/gcov
Kefu Chai [Tue, 4 Jun 2024 14:40:54 +0000 (22:40 +0800)]
Merge pull request #57594 from connorfawcett/gcov

cmake: Add gcov linker options when coverage option is set

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
13 months agodoc: correct typo 57868/head
Matthew Vernon [Tue, 4 Jun 2024 13:46:57 +0000 (14:46 +0100)]
doc: correct typo

Signed-off-by: Matthew Vernon <mvernon@wikimedia.org>
13 months agodoc/start: s/http/https/ in links 57867/head
Zac Dover [Tue, 4 Jun 2024 13:37:27 +0000 (23:37 +1000)]
doc/start: s/http/https/ in links

Replace "http" with "https" in doc/start/get-involved.rst.

This commit is, in a way, a repeat of
https://github.com/ceph/ceph/pull/57213/
(1c5383b91bd7dbfa9670c6485fcc5ff28b79f40d), which targeted the Reef
branch instead of the main branch. When this commit has been merged and
backported, I will close https://github.com/ceph/ceph/pull/57213/.

I am listing Casey Cain here as the co-author, but he is in fact the
true author of this change.

Co-authored-by: Casey Cain <ccain@linuxfoundation.org>
Signed-off-by: Zac Dover <zac.dover@proton.me>
13 months agoMerge pull request #57626 from AliMasarweh/wip-alimasa-bn-admin-cli
Yuval Lifshitz [Tue, 4 Jun 2024 13:00:40 +0000 (16:00 +0300)]
Merge pull request #57626 from AliMasarweh/wip-alimasa-bn-admin-cli

RGW\bucket notification tests: code dedup for admin commands

13 months agoMerge pull request #57739 from rhcs-dashboard/fix-rgw-monitoring-doc
Avan [Tue, 4 Jun 2024 10:17:17 +0000 (15:47 +0530)]
Merge pull request #57739 from rhcs-dashboard/fix-rgw-monitoring-doc

doc/monitoring: update rgw metrics names

Reviewed-by: Zac Dover <zac.dover@gmail.com>
13 months agoMerge pull request #54768 from rhcs-dashboard/exporter-unit-tests
Avan [Tue, 4 Jun 2024 09:41:04 +0000 (15:11 +0530)]
Merge pull request #54768 from rhcs-dashboard/exporter-unit-tests

exporter: enhance unit-tests coverage for exporter

Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
13 months agoRGW\bucket notification tests: code dedup for admin commands 57626/head
Ali Masarwa [Wed, 22 May 2024 10:55:00 +0000 (13:55 +0300)]
RGW\bucket notification tests: code dedup for admin commands

Signed-off-by: Ali Masarwa <amasarwa@redhat.com>
13 months agoMerge pull request #57134 from rhcs-dashboard/smb-service
Pedro Gonzalez Gomez [Tue, 4 Jun 2024 07:11:49 +0000 (09:11 +0200)]
Merge pull request #57134 from rhcs-dashboard/smb-service

mgr/dashboard: add smb service management support

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: ivoalmeida <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
13 months agoMerge pull request #56718 from ceph/shallow-submodules
Kefu Chai [Mon, 3 Jun 2024 23:42:47 +0000 (07:42 +0800)]
Merge pull request #56718 from ceph/shallow-submodules

do_cmake.sh: Use shallow submodule clones

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
13 months agoMerge pull request #57830 from guits/fix-ceph-volume-entrypoint
Guillaume Abrioux [Mon, 3 Jun 2024 23:08:20 +0000 (01:08 +0200)]
Merge pull request #57830 from guits/fix-ceph-volume-entrypoint

ceph-volume: fix regression

13 months agoMerge pull request #57538 from ivancich/wip-shrinky-dink
J. Eric Ivancich [Mon, 3 Jun 2024 16:09:52 +0000 (12:09 -0400)]
Merge pull request #57538 from ivancich/wip-shrinky-dink

rgw: add shard reduction ability to dynamic resharding

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
13 months agoMerge pull request #57839 from zdover23/wip-doc-2024-06-03-beginners-guide-edit
Zac Dover [Mon, 3 Jun 2024 15:38:08 +0000 (01:38 +1000)]
Merge pull request #57839 from zdover23/wip-doc-2024-06-03-beginners-guide-edit

doc/start: Edit Beginner's Guide

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agodoc/start: Edit Beginner's Guide 57839/head
Zac Dover [Mon, 3 Jun 2024 13:43:47 +0000 (23:43 +1000)]
doc/start: Edit Beginner's Guide

Make some improvements to the basic text of the Beginner's Guide.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
13 months agoMerge pull request #57550 from AliMasarweh/wip-alimasa-bn-end-point
Ali Masarwa [Mon, 3 Jun 2024 13:54:08 +0000 (16:54 +0300)]
Merge pull request #57550 from AliMasarweh/wip-alimasa-bn-end-point

RGW\bucket notification tests: end-point agnostic + refactoring

Reviewed-by: yuvalif<ylifshit@redhat.com>
13 months agoceph-volume: fix regression 57830/head
Guillaume Abrioux [Mon, 3 Jun 2024 12:00:10 +0000 (14:00 +0200)]
ceph-volume: fix regression

This fixes a regression introduced by: 24f8e5c61b19deab7397b0237f8376c6c03a5dcb

`iter_entry_points` from `pkg_resources` takes one argument whereas
`entry_points` from `importlib.metadata` does not.

The call to `entry_points(group=group)` makes ceph-volume fail.

Fixes: https://tracker.ceph.com/issues/66328
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
13 months agoMerge pull request #57824 from zdover23/wip-doc-2024-06-03-rados-troubleshooting-mon
Anthony D'Atri [Mon, 3 Jun 2024 08:17:42 +0000 (04:17 -0400)]
Merge pull request #57824 from zdover23/wip-doc-2024-06-03-rados-troubleshooting-mon

doc/rados: add stop monitor command

13 months agoMerge pull request #57477 from vshankar/wip-66029
Venky Shankar [Mon, 3 Jun 2024 07:11:16 +0000 (12:41 +0530)]
Merge pull request #57477 from vshankar/wip-66029

qa: enable debug logs for fs:cephadm:multivolume subsuite

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
13 months agodoc/rados: add stop monitor command 57824/head
Zac Dover [Mon, 3 Jun 2024 00:23:43 +0000 (10:23 +1000)]
doc/rados: add stop monitor command

Add the command for stopping a monitor to the procedure that explains
how to inject a monmap into a monitor.

Zac of the future: cf. 05 Aug 2023.

Signed-off-by: Zac Dover <zac.dover@proton.me>
13 months agoMerge pull request #57820 from zdover23/wip-doc-2024-06-02-start-beginners-guide
Zac Dover [Sun, 2 Jun 2024 13:49:25 +0000 (23:49 +1000)]
Merge pull request #57820 from zdover23/wip-doc-2024-06-02-start-beginners-guide

doc/start: Add Beginner's Guide

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
13 months agodoc/start: Add Beginner's Guide 57820/head
Zac Dover [Sun, 2 Jun 2024 11:06:25 +0000 (21:06 +1000)]
doc/start: Add Beginner's Guide

Add a Beginner's Guide to docs.ceph.com.

Signed-off-by: Zac Dover <zac.dover@proton.me>
13 months agoceph.spec.in: remove setuptools dependency 57812/head
Kefu Chai [Sat, 1 Jun 2024 00:53:28 +0000 (08:53 +0800)]
ceph.spec.in: remove setuptools dependency

in 844b66de, we stopped using pkg_resources for import packaging.
and the exact reason why we introduced pkg_resources was for using
the packaging python module, see cf608920.

so, let's partially revert cf608920.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
13 months agoMerge pull request #57804 from zdover23/wip-doc-2024-05-31-cephfs-mantle-vstart-warning
Zac Dover [Sat, 1 Jun 2024 12:05:05 +0000 (22:05 +1000)]
Merge pull request #57804 from zdover23/wip-doc-2024-05-31-cephfs-mantle-vstart-warning

doc/cephfs: edit vstart warning text

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agodebian: package mgr/rgw in ceph-mgr-modules-core 57811/head
Kefu Chai [Sat, 1 Jun 2024 00:39:03 +0000 (08:39 +0800)]
debian: package mgr/rgw in ceph-mgr-modules-core

in 110db72e, we added the rgw mgr module to ceph-mgr-modules-core
rpm package. but we didn't add this module to the corresponding
debian package.

rgw mgr module provides a simple interface to deploy RGW multisite
setup. so it would be nice to have it in ceph's debian packages as
well.

despite that rgw is not part of the core features, since this module
is already in ceph-mgr-modules-core rpm package, and it is relatively
small and does not pulling extra dependencies, let's added to the
debian packge with the same name. we can revisit this decision and
extract it out in a following up change if it is necessary in future.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
13 months agorgw: track initiator of reshard queue entries 57538/head
J. Eric Ivancich [Wed, 29 May 2024 18:19:25 +0000 (14:19 -0400)]
rgw: track initiator of reshard queue entries

The logic for managing the reshard queue (log) can vary depending on
whether the entry was added by an admin or by dynamic resharding. For
example, if it's a reshard reduction, dynamic resharding won't
overwrite the queue entry so as not to disrupt the reduction wait
period. On the other hand, and admin should be able to overwrite the
entry at will.

So we now track the initiator of each entry on the queue. This adds
another field to that at rest data structure, and it updates the logic
to make use of it.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
13 months agorgw: provide testing support to dynamic resharding with reduction
J. Eric Ivancich [Tue, 21 May 2024 18:06:47 +0000 (14:06 -0400)]
rgw: provide testing support to dynamic resharding with reduction

Adds a config option rgw_reshard_debug_interval that will allow us to
make the resharding algorithms run on a faster schedule by allowing
one day to be simulated by a set number of seconds.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
13 months agorgw: add shard reduction ability to dynamic resharding
J. Eric Ivancich [Tue, 14 May 2024 19:09:03 +0000 (15:09 -0400)]
rgw: add shard reduction ability to dynamic resharding

Previously, dynamic resharding could only *increase* the number of
bucket index shards for a given bucket. This adds the ability to also
*reduce* the number of shards.

So in addition the existing 100,000 entries (current default value)
per shard trigger for an increase, there's a new trigger of 10,000
entries per shard for a decrease.

However, for buckets with object-counts that go up and down regularly,
we don't want to keep resharding up and down to chase the number of
objects. So for shard reduction to take place there's also a time
delay (default 5 days). Once the entry on the reshard queue (log) is
added for reduction, processing will not result in a reshard reduction
within this delay period as the queue is processed. Only when the
reshard entry is processed after this delay can it perform the shard
reduction.

However, if at any point between the time the shard reduction entry is
added to the queue and after the delay, if the entry is processed and
there are *not* few enough entries to trigger a shard reduction, the
entry on the reshard queue entry will be discarded.

So using the defaults, this effectively means the bucket must have few
enough objects for a shard reduction for 5 consecutive days before the
reshard will take place.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
13 months agodoc/cephfs: edit vstart warning text 57804/head
Zac Dover [Fri, 31 May 2024 12:19:59 +0000 (22:19 +1000)]
doc/cephfs: edit vstart warning text

Improve the English in the vstart warning in doc/cephfs/mantle.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
13 months agoMerge pull request #57774 from linuxbox2/wip-rgwlc-66287
J. Eric Ivancich [Fri, 31 May 2024 19:34:41 +0000 (15:34 -0400)]
Merge pull request #57774 from linuxbox2/wip-rgwlc-66287

rgwlc: print new filters and newer-noncurrent elements in radosgw-adm…

Reviewed-by: Casey Bodley <cbodley@redhat.com>
13 months agoMerge pull request #57377 from dang/wip-dang-obj-state
Daniel Gryniewicz [Fri, 31 May 2024 13:42:02 +0000 (09:42 -0400)]
Merge pull request #57377 from dang/wip-dang-obj-state

RGW: Remove RGWObjState and get_obj_state()/put_obj_state() from the SAL API

13 months agoMerge pull request #57697 from petrutlucian94/sv_wait
Ilya Dryomov [Fri, 31 May 2024 11:38:19 +0000 (13:38 +0200)]
Merge pull request #57697 from petrutlucian94/sv_wait

rbd-wnbd: wait for the disk cleanup to complete

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
13 months agorbd-wnbd: wait for the disk cleanup to complete 57697/head
Lucian Petrut [Fri, 24 May 2024 10:03:11 +0000 (10:03 +0000)]
rbd-wnbd: wait for the disk cleanup to complete

The WNBD disk removal workflow is asynchronous, which is why we'll
need to wait for the cleanup to complete when stopping the service.

The "disconnect_all_mappings" function is moved to
RbdMappingDispatcher::stop, allowing us to access the mapping list
more easily and reject new mappings after a stop has been requested.

While at it, we'll log service stop requests.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
13 months agoMerge pull request #57650 from tchaikov/wip-use-importlib
Kefu Chai [Fri, 31 May 2024 08:36:48 +0000 (16:36 +0800)]
Merge pull request #57650 from tchaikov/wip-use-importlib

ceph-volume: use importlib from stdlib on Python 3.8 and up

Reviewed-by: John Mulligan <jmulligan@redhat.com>
13 months agoMerge pull request #57785 from rhcs-dashboard/ssl-file-fix
Nizamudeen A [Fri, 31 May 2024 04:31:44 +0000 (10:01 +0530)]
Merge pull request #57785 from rhcs-dashboard/ssl-file-fix

mgr/dashboard: read cert from in-memory file

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
13 months agomgr/dashboard: read cert from in-memory file 57785/head
Nizamudeen A [Thu, 30 May 2024 08:06:52 +0000 (13:36 +0530)]
mgr/dashboard: read cert from in-memory file

Fixes: https://tracker.ceph.com/issues/66303
Signed-off-by: Nizamudeen A <nia@redhat.com>
13 months agocls/rgw: adding an entry to reshard queue has O_CREAT option
J. Eric Ivancich [Fri, 17 May 2024 23:23:48 +0000 (19:23 -0400)]
cls/rgw: adding an entry to reshard queue has O_CREAT option

Adds the ability to prevent overwriting a reshard queue (log) entry
for a given bucket with a newer entry. This adds a flag to the op, so
it will either CREATE or make no changes. If an entry already exists
when this flag is set, -EEXIST will be returned.

This is a preparatory step to adding shard reduction to dynamic
resharding.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
13 months agoRGW\bucket notification tests: end-point agnostic + refactoring 57550/head
Ali Masarwa [Sun, 19 May 2024 14:23:31 +0000 (17:23 +0300)]
RGW\bucket notification tests: end-point agnostic + refactoring

Signed-off-by: Ali Masarwa <amasarwa@redhat.com>
13 months agoMerge pull request #57790 from zdover23/wip-doc-2024-05-30-cephfs-mantle-front-matter
Zac Dover [Thu, 30 May 2024 13:40:32 +0000 (23:40 +1000)]
Merge pull request #57790 from zdover23/wip-doc-2024-05-30-cephfs-mantle-front-matter

doc/cephfs: edit front matter in mantle.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agodoc/cephfs: edit front matter in mantle.rst 57790/head
Zac Dover [Thu, 30 May 2024 13:28:56 +0000 (23:28 +1000)]
doc/cephfs: edit front matter in mantle.rst

Improve the structure and grammar of the front matter in the
doc/cephfs/mantle.rst file.

Signed-off-by: Zac Dover <zac.dover@proton.me>
13 months agoMerge pull request #57711 from cyx1231st/wip-seastore-fix-incorrent-reclaimable-segments
Yingxin [Thu, 30 May 2024 01:55:22 +0000 (09:55 +0800)]
Merge pull request #57711 from cyx1231st/wip-seastore-fix-incorrent-reclaimable-segments

crimson/os/seastore/async_cleaner: fix incorrect get_num_rolls()

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
13 months agoMerge pull request #57612 from Svelar/asan_rgw_kms
Rongqi Sun [Thu, 30 May 2024 01:31:06 +0000 (09:31 +0800)]
Merge pull request #57612 from Svelar/asan_rgw_kms

rgw_kms: fix Realloc and free cct

13 months agorgwlc: print new filters and newer-noncurrent elements in radosgw-admin lc get 57774/head
Matt Benjamin [Wed, 29 May 2024 16:00:27 +0000 (12:00 -0400)]
rgwlc: print new filters and newer-noncurrent elements in radosgw-admin lc get

Fixes: https://tracker.ceph.com/issues/66287
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
13 months agocmake: Add gcov --coverage flags when coverage option is set 57594/head
Connor Fawcett [Tue, 21 May 2024 10:37:25 +0000 (11:37 +0100)]
cmake: Add gcov --coverage flags when coverage option is set

Signed-off-by: Connor Fawcett <connorfa@uk.ibm.com>
Fixes: https://tracker.ceph.com/issues/66158
13 months agoMerge pull request #51591 from rhcs-dashboard/add-helpers-pool-compression
Avan [Wed, 29 May 2024 10:46:59 +0000 (16:16 +0530)]
Merge pull request #51591 from rhcs-dashboard/add-helpers-pool-compression

mgr/dashboard: add helpers for compression in pool form

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
13 months agoMerge pull request #57748 from yuvalif/wip-yuval-test-http
Yuval Lifshitz [Wed, 29 May 2024 09:50:15 +0000 (12:50 +0300)]
Merge pull request #57748 from yuvalif/wip-yuval-test-http

test/rgw/notification: verify network access to http server

Reviewed-By: Ali Masarwe <ali.masarwa@ibm.com>
13 months agoMerge PR #57354 into main
Venky Shankar [Wed, 29 May 2024 09:38:09 +0000 (15:08 +0530)]
Merge PR #57354 into main

* refs/pull/57354/head:
mds: relax divergent backtrace scrub failures for replicated ancestor inodes

Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
13 months agoMerge PR #55758 into main
Venky Shankar [Wed, 29 May 2024 09:34:58 +0000 (15:04 +0530)]
Merge PR #55758 into main

* refs/pull/55758/head:
doc: update 'journal reset' command with --yes-i-really-really-mean-it
qa: fix cephfs-journal-tool command options and make fs inactive
cephfs-journal-tool: Add warning messages during 'journal reset' and prevent execution on active fs

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
13 months agoMerge PR #57291 into main
Venky Shankar [Wed, 29 May 2024 09:32:51 +0000 (15:02 +0530)]
Merge PR #57291 into main

* refs/pull/57291/head:
pybind/mgr/mirroring: Fix KeyError: 'directory_count' in daemon status

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
13 months agoMerge pull request #57694 from zhscn/fix-avl-alloc
Yingxin [Wed, 29 May 2024 07:49:16 +0000 (15:49 +0800)]
Merge pull request #57694 from zhscn/fix-avl-alloc

crimson/os/seastore/rbm/avlallocator: return enough regions when request size is greater than max_alloc_size

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
13 months agoMerge pull request #57753 from zdover23/wip-doc-2024-05-29-doc-dev-perf-counters
Zac Dover [Wed, 29 May 2024 06:10:33 +0000 (16:10 +1000)]
Merge pull request #57753 from zdover23/wip-doc-2024-05-29-doc-dev-perf-counters

doc/dev: add note about intro of perf counters

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agoMerge pull request #57729 from idryomov/wip-66232
Ilya Dryomov [Tue, 28 May 2024 19:04:51 +0000 (21:04 +0200)]
Merge pull request #57729 from idryomov/wip-66232

qa/suites/rbd: override extra_system_packages directly on install task

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
13 months agoMerge PR #57688 into main
Patrick Donnelly [Tue, 28 May 2024 18:00:17 +0000 (14:00 -0400)]
Merge PR #57688 into main

* refs/pull/57688/head:
tools/first-damage: Don't skip stray directory object

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
13 months agoMerge PR #57579 into main
Patrick Donnelly [Tue, 28 May 2024 16:46:08 +0000 (12:46 -0400)]
Merge PR #57579 into main

* refs/pull/57579/head:
mds/quiesce: disable quiesce root debug parameters by default
mds/quiesce-agt: never send a synchronous ack
mds/quiesce-agt: add test for a rapid async ack
mds/quiesce: always abort fragmenting asynchronously to prevent reentrancy
mds/quiesce: overdrive an export if it hasn't frozen the tree yet
mds/quiesce: quiesce_inode should not hold on to remote auth pins
qa/cephfs: check that a completed quiesce doesn't hold remote auth pins
mds: add `--lifetime` parameter to the `lock path` asok command
mds/quiesce: accept a regular file as the quiesce root
mds: command_quiesce_path: rename `--wait` to `--await` for consistency
mds: command_quiesce_path: do not block the asok thread and return an adequate rc

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
13 months agodoc/dev: add note about intro of perf counters 57753/head
Zac Dover [Tue, 28 May 2024 16:27:53 +0000 (02:27 +1000)]
doc/dev: add note about intro of perf counters

Add a note to the "perf counter" section of doc/dev/perf_counters.rst
that explains that this feature was introduced in the Reef release of
Ceph. This note will prevent us from accidentally backporting
perf-counter-related PRs to Quincy.

Signed-off-by: Zac Dover <zac.dover@proton.me>
13 months agoRGW: Rename rgw::sal::Object::get_obj_size() to get_size() 57377/head
Daniel Gryniewicz [Thu, 9 May 2024 16:21:54 +0000 (12:21 -0400)]
RGW: Rename rgw::sal::Object::get_obj_size() to get_size()

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
13 months agoRGW: Remove get_obj_state()/set_obj_state from SAL
Daniel Gryniewicz [Thu, 9 May 2024 14:47:28 +0000 (10:47 -0400)]
RGW: Remove get_obj_state()/set_obj_state from SAL

RGWObjState is the state for the StoreObject class.  It has historically
been accessible via get_obj_state()/set_obj_state(), but the double
pointer nature of this access has caused multiple bugs, and the
RGWObjState itself is an implementation detail that doesn't need to be
exposed.

Instead, add a load_obj_state() that loads the state from the store, and
use proper getters/setters for the data.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
13 months agoMerge pull request #57462 from rhcs-dashboard/rgw-policy-group
Nizamudeen A [Tue, 28 May 2024 16:06:10 +0000 (21:36 +0530)]
Merge pull request #57462 from rhcs-dashboard/rgw-policy-group

mgr/dashboard: rgw policy group management api

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
13 months agomgr/dashboard: add smb service management support 57134/head
Pedro Gonzalez Gomez [Mon, 29 Apr 2024 08:48:01 +0000 (10:48 +0200)]
mgr/dashboard: add smb service management support

Fixes: https://tracker.ceph.com/issues/65681
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
13 months agoMerge pull request #57655 from AliMasarweh/wip-alimasa-bn-correct-reload
Ali Masarwa [Tue, 28 May 2024 15:42:29 +0000 (18:42 +0300)]
Merge pull request #57655 from AliMasarweh/wip-alimasa-bn-correct-reload

RGW|Bucket notification: reload realm correctly

Reviewed-by: yuvalif<ylifshit@redhat.com>
13 months agoMerge pull request #57732 from rishabh-d-dave/doc-dev-teuth
Zac Dover [Tue, 28 May 2024 14:53:25 +0000 (00:53 +1000)]
Merge pull request #57732 from rishabh-d-dave/doc-dev-teuth

doc/developer_guide: update doc about installing teuthology

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agotest/rgw/notification: verify network access to http server 57748/head
Yuval Lifshitz [Tue, 28 May 2024 13:47:30 +0000 (13:47 +0000)]
test/rgw/notification: verify network access to http server

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
13 months agodoc/developer_guide: update doc about installing teuthology 57732/head
Rishabh Dave [Mon, 27 May 2024 19:37:35 +0000 (01:07 +0530)]
doc/developer_guide: update doc about installing teuthology

There are 2 more ways to install teuthology. Approach with boostrap
script is easier and more convenient while other approach is more
elaborate but manual, document both of them. Don't delete the currently
documented approach because it lets users install teuthology
conveniently in a custom virtual environment. So, keep all three.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
13 months agodoc/monitoring: update rgw metrics names 57739/head
Avan Thakkar [Tue, 28 May 2024 07:37:37 +0000 (13:07 +0530)]
doc/monitoring: update rgw metrics names

Fixes: https://tracker.ceph.com/issues/66242
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
13 months agoMerge pull request #57070 from rhcs-dashboard/fix-read-only-landing-page
Pedro Gonzalez Gomez [Tue, 28 May 2024 10:53:11 +0000 (12:53 +0200)]
Merge pull request #57070 from rhcs-dashboard/fix-read-only-landing-page

mgr/dashboard: fix readonly landingpage

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: ivoalmeida <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
13 months agoMerge pull request #57720 from zdover23/wip-doc-2024-05-27-cephfs-fs-volumes
Zac Dover [Tue, 28 May 2024 10:14:22 +0000 (20:14 +1000)]
Merge pull request #57720 from zdover23/wip-doc-2024-05-27-cephfs-fs-volumes

doc/cephfs: s/subvolumegroups/subvolume groups

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agoMerge pull request #57638 from yuvalif/wip-yuval-66033
Yuval Lifshitz [Tue, 28 May 2024 07:33:23 +0000 (10:33 +0300)]
Merge pull request #57638 from yuvalif/wip-yuval-66033

test/rgw/notifications: allow http server to buffer more requests

Reviewed-By: Casey Bodley <cbodley@ibm.com>
13 months agomgr/dashboard: manage flow and pipes apis 57462/head
Nizamudeen A [Tue, 14 May 2024 09:53:36 +0000 (15:23 +0530)]
mgr/dashboard: manage flow and pipes apis

Fixes: https://tracker.ceph.com/issues/66238
Signed-off-by: Nizamudeen A <nia@redhat.com>
13 months agomgr/dashboard: rgw policy group management api
Nizamudeen A [Tue, 14 May 2024 09:01:43 +0000 (14:31 +0530)]
mgr/dashboard: rgw policy group management api

Fixes: https://tracker.ceph.com/issues/66238
Signed-off-by: Nizamudeen A <nia@redhat.com>
13 months agoMerge pull request #57700 from tchaikov/wip-mgr-prometheus-packaging
Kefu Chai [Tue, 28 May 2024 01:08:04 +0000 (09:08 +0800)]
Merge pull request #57700 from tchaikov/wip-mgr-prometheus-packaging

mgr/prometheus: s/pkg_resources.packaging/packaging/

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
13 months agoqa/suites/rbd: override extra_system_packages directly on install task 57729/head
Ilya Dryomov [Mon, 27 May 2024 13:56:26 +0000 (15:56 +0200)]
qa/suites/rbd: override extra_system_packages directly on install task

[1] and [2] added support for applying extra_system_packages overrides
directly on install task, but at the same time broke our long standing
workaround where we sneaked extra_system_packages directive in through
an override on ceph task.  This is likely getting addressed in [3], but
it's better to not rely on this odd feature in the first place.

[1] https://github.com/ceph/teuthology/pull/1941
[2] https://github.com/ceph/teuthology/pull/1943
[3] https://github.com/ceph/teuthology/pull/1942

Fixes: https://tracker.ceph.com/issues/66232
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
13 months agoMerge pull request #57671 from idryomov/wip-labeler-qa
Ilya Dryomov [Mon, 27 May 2024 14:12:20 +0000 (16:12 +0200)]
Merge pull request #57671 from idryomov/wip-labeler-qa

.github: expand tests label to all files under qa

Reviewed-by: Ramana Raja <rraja@redhat.com>
13 months agoMerge pull request #57628 from joscollin/wip-B66173-doc-per-client-metrics
Zac Dover [Mon, 27 May 2024 12:59:06 +0000 (22:59 +1000)]
Merge pull request #57628 from joscollin/wip-B66173-doc-per-client-metrics

doc: document metrics exported by CephFS

Reviewed-by: Zac Dover <zac.dover@proton.me>
13 months agodoc/cephfs: s/subvolumegroups/subvolume groups 57720/head
Zac Dover [Mon, 27 May 2024 11:09:40 +0000 (21:09 +1000)]
doc/cephfs: s/subvolumegroups/subvolume groups

Use the term "subvolume groups" instead of "subvolumegroups" where the
term appears in plain English. The string "subvolumegroups" is correct
in commands, and remains unchanged.

Also add formatting to command output, to make clearer that the output
is indeed output.

Fixes: https://github.com/ceph/ceph/pull/57574#discussion_r1606988766
Signed-off-by: Zac Dover <zac.dover@proton.me>
13 months agomgr/dashboard: add helpers for compression in pool form 51591/head
avanthakkar [Fri, 19 May 2023 11:37:28 +0000 (17:07 +0530)]
mgr/dashboard: add helpers for compression in pool form

Fixes: https://tracker.ceph.com/issues/61297
Signed-off-by: avanthakkar <avanjohn@gmail.com>
Adding helpers for compression mode, algorithm, min/max blob size and
compression ratio which is set to 0.875 as default.

13 months agodoc: document metrics exported by CephFS 57628/head
Jos Collin [Wed, 22 May 2024 12:40:24 +0000 (18:10 +0530)]
doc: document metrics exported by CephFS

Fixes: https://tracker.ceph.com/issues/66173
Signed-off-by: Jos Collin <jcollin@redhat.com>
13 months agocrimson/os/seastore/async_cleaner: fix incorrect get_num_rolls() 57711/head
Yingxin Cheng [Mon, 27 May 2024 02:16:41 +0000 (10:16 +0800)]
crimson/os/seastore/async_cleaner: fix incorrect get_num_rolls()

The number of journal segments should not be based on the committed
journal_head. Otherwise, if a new journal segment is just opened and the
committed journal_head hasn't been updated, the result will be wrong.

This causes ceph_assert(get_segments_reclaimable() == 0) in
SegmentCleaner::get_next_reclaim_segment().

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
13 months agoMerge pull request #57584 from rhcs-dashboard/dashboard-pendingreleasenotes 57721/head
Nizamudeen A [Mon, 27 May 2024 04:51:12 +0000 (00:51 -0400)]
Merge pull request #57584 from rhcs-dashboard/dashboard-pendingreleasenotes

doc: Update pendingreleasenotes for dashboard

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
13 months agomds/quiesce: disable quiesce root debug parameters by default 57579/head
Leonid Usov [Sun, 26 May 2024 11:33:55 +0000 (14:33 +0300)]
mds/quiesce: disable quiesce root debug parameters by default

Fixes: https://tracker.ceph.com/issues/66225
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>