]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
17 months agorbd-nbd: log errors during netlink_resize() using derr 55316/head
Ramana Raja [Tue, 23 Jan 2024 21:07:04 +0000 (16:07 -0500)]
rbd-nbd: log errors during netlink_resize() using derr

When using rbd CLI to map the images to NBD devices via netlink,
any errors that arose during image resizing in netlink_resize()
were not logged. Switching the error logging from using cerr to
derr helps log the errors from netlink_resize().

Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit 1712b95c784c5ce381fbf4b09e8219ea40bd99a8)

17 months agorbd_nbd: fix resize of images mapped using netlink
Ramana Raja [Mon, 22 Jan 2024 22:06:58 +0000 (17:06 -0500)]
rbd_nbd: fix resize of images mapped using netlink

Include device identifier or cookie in the message sent to the kernel
to resize images mapped to NBD devices using netlink. Otherwise,
netlink_resize() fails and the size of the device isn't updated.

Fixes: https://tracker.ceph.com/issues/64139
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit 1eebb7ba7903c6db0ab37a0457b263a1b2b00ff5)

17 months agoMerge pull request #54629 from guits/wip-63599-reef
Guillaume Abrioux [Wed, 24 Jan 2024 15:28:41 +0000 (16:28 +0100)]
Merge pull request #54629 from guits/wip-63599-reef

reef: ceph-volume: fixes fallback to stat in is_device and is_partition

17 months agoMerge pull request #54705 from k0ste/wip-63312-reef
Guillaume Abrioux [Wed, 24 Jan 2024 15:28:31 +0000 (16:28 +0100)]
Merge pull request #54705 from k0ste/wip-63312-reef

reef: ceph-volume: fix a bug in _check_generic_reject_reasons

17 months agoMerge pull request #55282 from zdover23/wip-doc-2024-01-24-backport-55278-to-reef
zdover23 [Wed, 24 Jan 2024 05:29:57 +0000 (15:29 +1000)]
Merge pull request #55282 from zdover23/wip-doc-2024-01-24-backport-55278-to-reef

reef: doc: specify correct fs type for mkfs

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
17 months agodoc: specify correct fs type for mkfs 55282/head
Himura Kazuto [Tue, 23 Jan 2024 12:59:10 +0000 (12:59 +0000)]
doc: specify correct fs type for mkfs

The default value is ext2, which is not supported (anymore?).

Signed-off-by: Vladislav Glagolev <vladislav.glagolev@devexpress.com>
(cherry picked from commit 886af37744847246b3e70f54b8577ed4f9815c20)

17 months agoMerge pull request #55271 from zdover23/wip-doc-2024-01-23-backport-55269-to-reef
Anthony D'Atri [Tue, 23 Jan 2024 14:16:10 +0000 (09:16 -0500)]
Merge pull request #55271 from zdover23/wip-doc-2024-01-23-backport-55269-to-reef

reef: doc/radosgw: edit "read/write global rate limit" admin.rst

17 months agodoc/radosgw: edit "read/write global rate limit" admin.rst 55271/head
Zac Dover [Tue, 23 Jan 2024 02:13:10 +0000 (12:13 +1000)]
doc/radosgw: edit "read/write global rate limit" admin.rst

Edit "Reading/Writing Global Rate Limit Configuration" in
doc/radosgw/admin.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit c67a5e5d4bad17e7ae799dd62a66d1e23ec18942)

17 months agoMerge pull request #55263 from zdover23/wip-doc-2024-01-22-backport-54993-to-reef
Anthony D'Atri [Sun, 21 Jan 2024 21:57:11 +0000 (16:57 -0500)]
Merge pull request #55263 from zdover23/wip-doc-2024-01-22-backport-54993-to-reef

reef: doc/rados/operations: document `ceph balancer status detail`

17 months agodoc/rados/operations: document `ceph balancer status detail` 55263/head
Laura Flores [Fri, 22 Dec 2023 22:55:29 +0000 (22:55 +0000)]
doc/rados/operations: document `ceph balancer status detail`

Document change in https://github.com/ceph/ceph/pull/54801

Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit 159751b68085fbe0fe10a881ff8bedecda11142f)

18 months agoMerge pull request #55260 from zdover23/wip-doc-2024-01-21-backport-55190-to-reef
Anthony D'Atri [Sun, 21 Jan 2024 15:33:40 +0000 (10:33 -0500)]
Merge pull request #55260 from zdover23/wip-doc-2024-01-21-backport-55190-to-reef

reef: doc/radosgw: edit "Enable/Disable Bucket Rate Limit"

18 months agodoc/radosgw: edit "Enable/Disable Bucket Rate Limit" 55260/head
Zac Dover [Tue, 16 Jan 2024 10:37:17 +0000 (20:37 +1000)]
doc/radosgw: edit "Enable/Disable Bucket Rate Limit"

Edit "Enable/Disable Bucket Rate Limit" in doc/radosgw/admin.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit a1fca50dfdcb30e58ebcc4ef60ef921b977efc81)

18 months agoMerge pull request #55253 from zdover23/wip-doc-2024-01-20-backport-55177-to-reef
Anthony D'Atri [Sat, 20 Jan 2024 14:54:27 +0000 (09:54 -0500)]
Merge pull request #55253 from zdover23/wip-doc-2024-01-20-backport-55177-to-reef

reef: doc/radosgw: edit admin.rst "Get Bucket Rate Limit"

18 months agodoc/radosgw: edit admin.rst "Get Bucket Rate Limit" 55253/head
Zac Dover [Sun, 14 Jan 2024 23:29:23 +0000 (09:29 +1000)]
doc/radosgw: edit admin.rst "Get Bucket Rate Limit"

Edit "Get Bucket Rate Limit" in doc/radosgw/admin.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 7c4fdd3762831cb86993b1b4a814ea68a9ea2401)

18 months agoMerge pull request #55242 from zdover23/wip-doc-2024-01-19-backport-55170-to-reef
Anthony D'Atri [Fri, 19 Jan 2024 14:44:16 +0000 (09:44 -0500)]
Merge pull request #55242 from zdover23/wip-doc-2024-01-19-backport-55170-to-reef

reef: doc/radosgw: edit admin.rst "set bucket rate limit"

18 months agoMerge pull request #55244 from zdover23/wip-doc-2024-01-19-backport-55168-to-reef
Anthony D'Atri [Fri, 19 Jan 2024 14:29:17 +0000 (09:29 -0500)]
Merge pull request #55244 from zdover23/wip-doc-2024-01-19-backport-55168-to-reef

reef: doc/rados/operations: add EC overhead table to erasure-code.rst

18 months agoMerge pull request #55246 from zdover23/wip-doc-2024-01-19-backport-54915-to-reef
Anthony D'Atri [Fri, 19 Jan 2024 14:26:45 +0000 (09:26 -0500)]
Merge pull request #55246 from zdover23/wip-doc-2024-01-19-backport-54915-to-reef

reef: doc/cephfs/client-auth.rst: correct ``fs authorize cephfs1 /dir1 clie…

18 months agoMerge pull request #54764 from rhcs-dashboard/wip-63652-reef
Nizamudeen A [Fri, 19 Jan 2024 09:29:07 +0000 (14:59 +0530)]
Merge pull request #54764 from rhcs-dashboard/wip-63652-reef

reef: mgr/dashboard: get rgw port from ssl_endpoint

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
18 months agoMerge pull request #55186 from rhcs-dashboard/wip-63725-reef
Nizamudeen A [Fri, 19 Jan 2024 09:25:21 +0000 (14:55 +0530)]
Merge pull request #55186 from rhcs-dashboard/wip-63725-reef

reef: mgr/dashboard: subvolume snapshot management

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
18 months agodoc/cephfs/client-auth.rst: correct ``fs authorize cephfs1 /dir1 client.x rw`` 55246/head
叶海丰 [Fri, 15 Dec 2023 09:05:38 +0000 (17:05 +0800)]
doc/cephfs/client-auth.rst: correct ``fs authorize cephfs1 /dir1 client.x rw``

(cherry picked from commit 223848a08f58fc20ee4afc008fabbec2d448be68)

18 months agodoc/rados/operations: add EC overhead table to erasure-code.rst 55244/head
Anthony D'Atri [Sat, 13 Jan 2024 17:48:58 +0000 (12:48 -0500)]
doc/rados/operations: add EC overhead table to erasure-code.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 9e1999c13d5cab65e88200aa2bfc5ce385d98679)

18 months agodoc/radosgw: edit admin.rst "set bucket rate limit" 55242/head
Zac Dover [Sun, 14 Jan 2024 10:23:25 +0000 (20:23 +1000)]
doc/radosgw: edit admin.rst "set bucket rate limit"

Edit "Set Bucket Rate Limit" in doc/radosgw/admin.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit e9b3ef4cb11760392ff7f766d652289636fcf5eb)

18 months agoMerge pull request #55231 from zdover23/wip-doc-2024-01-18-backport-55161-to-reef
Anthony D'Atri [Thu, 18 Jan 2024 14:17:02 +0000 (09:17 -0500)]
Merge pull request #55231 from zdover23/wip-doc-2024-01-18-backport-55161-to-reef

reef: doc/rados/operations: Fix off-by-one errors in control.rst

18 months agodoc/rados/operations: Fix off-by-one errors in control.rst 55231/head
tobydarling [Fri, 12 Jan 2024 14:10:13 +0000 (14:10 +0000)]
doc/rados/operations: Fix off-by-one errors in control.rst

Description of examples was off by one

Signed-off-by: tobydarling <anothercoffee@gmail.com>
(cherry picked from commit c636e3ed2d459a063ae6ab0e2dc876db5c58c7e6)

18 months agoMerge pull request #55212 from afreen23/wip-64036-reef
Nizamudeen A [Thu, 18 Jan 2024 08:28:00 +0000 (13:58 +0530)]
Merge pull request #55212 from afreen23/wip-64036-reef

reef: mgr/dashboard: Fixes multisite topology page breadcrumb

Reviewed-by: Nizamudeen A <nia@redhat.com>
18 months agoMerge pull request #55222 from aaSharma14/wip-64062-reef
Aashish Sharma [Thu, 18 Jan 2024 07:04:45 +0000 (12:34 +0530)]
Merge pull request #55222 from aaSharma14/wip-64062-reef

reef: mgr/dashboard: add frontend unit tests for rgw multisite sync status card

Reviewed-by: Nizamudeen A <nia@redhat.com>
18 months agoMerge pull request #55221 from aaSharma14/wip-62575-reef
Aashish Sharma [Thu, 18 Jan 2024 07:03:25 +0000 (12:33 +0530)]
Merge pull request #55221 from aaSharma14/wip-62575-reef

reef: mgr/dashboard: Create realm sets to default

Reviewed-by: Nizamudeen A <nia@redhat.com>
18 months agomgr/dashboard: add frontend unit tests for rgw multisite sync status 55222/head
Aashish Sharma [Wed, 18 Oct 2023 08:23:51 +0000 (13:53 +0530)]
mgr/dashboard: add frontend unit tests for rgw multisite sync status
card

Fixes: https://tracker.ceph.com/issues/64039
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit d169a206d11283428f7eb74a928525bc93f58915)

18 months agomgr/dashboard: Create realm sets to default 55221/head
Aashish Sharma [Wed, 23 Aug 2023 09:59:44 +0000 (15:29 +0530)]
mgr/dashboard: Create realm sets to default

In Multisite page, When we create a realm the realm sets to default even if some other realm is already default and default checkbox in unchecked as well while creating.

Fixes: https://tracker.ceph.com/issues/62453
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 00d3ead5ee52cd9865b3f8b2df8416f6446d81f4)

18 months agoMerge pull request #55153 from rzarzynski/wip-64005-reef
Yuri Weinstein [Wed, 17 Jan 2024 20:06:07 +0000 (12:06 -0800)]
Merge pull request #55153 from rzarzynski/wip-64005-reef

reef:  common/weighted_shuffle: don't feed std::discrete_distribution with all-zero weights

Reviewed-by: Neha Ojha <nojha@redhat.com>
18 months agoMerge pull request #55112 from k0ste/wip-63974-reef
Yuri Weinstein [Wed, 17 Jan 2024 19:46:22 +0000 (11:46 -0800)]
Merge pull request #55112 from k0ste/wip-63974-reef

reef: Tools/rados: Improve Error Messaging for Object Name Resolution

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
18 months agoMerge pull request #55078 from amathuria/wip-63947-reef
Yuri Weinstein [Wed, 17 Jan 2024 19:45:39 +0000 (11:45 -0800)]
Merge pull request #55078 from amathuria/wip-63947-reef

reef: mgr/pg_autoscaler: add check for norecover flag

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
18 months agoMerge pull request #55046 from ljflores/wip-reef-backport-pr-54907
Yuri Weinstein [Wed, 17 Jan 2024 19:45:08 +0000 (11:45 -0800)]
Merge pull request #55046 from ljflores/wip-reef-backport-pr-54907

reef: osd: fix Incremental decode for new/old_pg_upmap_primary

Reviewed-by: Laura Flores <lflores@redhat.com>
18 months agoMerge pull request #55077 from amathuria/wip-63946-reef
Yuri Weinstein [Wed, 17 Jan 2024 19:44:09 +0000 (11:44 -0800)]
Merge pull request #55077 from amathuria/wip-63946-reef

reef: DaemonServer.cc: fix config show command for RGW daemons

Reviewed-by: Casey Bodley <cbodley@redhat.com>
18 months agoMerge pull request #54783 from ifed01/wip-ifed-better-osd-robust-reef
Yuri Weinstein [Wed, 17 Jan 2024 19:42:07 +0000 (11:42 -0800)]
Merge pull request #54783 from ifed01/wip-ifed-better-osd-robust-reef

reef: osd: improve OSD robustness.

Reviewed-by: Neha Ojha <nojha@redhat.com>
18 months agoMerge pull request #54693 from Matan-B/wip-63651-reef
Yuri Weinstein [Wed, 17 Jan 2024 19:40:38 +0000 (11:40 -0800)]
Merge pull request #54693 from Matan-B/wip-63651-reef

reef: tools/ceph_objectstore_tool: action_on_all_objects_in_pg to skip pgmeta

Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
18 months agoMerge pull request #53888 from sseshasa/wip-63128-reef
Yuri Weinstein [Wed, 17 Jan 2024 19:39:42 +0000 (11:39 -0800)]
Merge pull request #53888 from sseshasa/wip-63128-reef

reef: mon/ConfigMonitor: Show localized name in "config dump --format json" output

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
18 months agomgr/dashboard: Fixes multisite topology page breadcrumb 55212/head
Afreen Misbah [Thu, 11 Jan 2024 07:49:39 +0000 (13:19 +0530)]
mgr/dashboard: Fixes multisite topology page breadcrumb

The multi-site topology page just says object in breadcrumb.
The fix adds the missing "multi-site" breadcrumb.

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

Signed-off-by: Afreen Misbah <afreen23.git@gmail.com>
(cherry picked from commit f75a9da2871113a156092ff28f29b9d12f465975)

18 months agoMerge pull request #55104 from rkachach/fix_issue_63957_63958
Redouane Kachach [Wed, 17 Jan 2024 09:05:56 +0000 (10:05 +0100)]
Merge pull request #55104 from rkachach/fix_issue_63957_63958

reef: backport of fixes for 63678 and 63694

18 months agoMerge pull request #55194 from zdover23/wip-doc-2024-01-16-backport-55169-to-reef
zdover23 [Wed, 17 Jan 2024 05:56:26 +0000 (15:56 +1000)]
Merge pull request #55194 from zdover23/wip-doc-2024-01-16-backport-55169-to-reef

reef: docs/radosgw: edit admin.rst "enable/disable user rate limit"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
18 months agoMerge pull request #55191 from rhcs-dashboard/reef-docs-build-fix
Nizamudeen A [Tue, 16 Jan 2024 16:14:10 +0000 (21:44 +0530)]
Merge pull request #55191 from rhcs-dashboard/reef-docs-build-fix

reef: admin/doc-requirements: bump Sphinx to 5.0.2

Reviewed-by: Matan-B <NOT@FOUND>
18 months agoMerge pull request #55124 from rhcs-dashboard/wip-59470-reef
Nizamudeen A [Tue, 16 Jan 2024 14:38:06 +0000 (20:08 +0530)]
Merge pull request #55124 from rhcs-dashboard/wip-59470-reef

reef: mgr/dashboard: fix e2e failure related to landing page

18 months agodocs/radosgw: edit admin.rst "enable/disable user rate limit" 55194/head
Zac Dover [Sat, 13 Jan 2024 18:06:12 +0000 (04:06 +1000)]
docs/radosgw: edit admin.rst "enable/disable user rate limit"

Edit "Enable/Disable User Rate Limit" in doc/radosgw/admin.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 1cd996b6fe2e3c923001a69772c7b7635d058f2b)

18 months agoadmin/doc-requirements: bump Sphinx to 5.0.2 55191/head
Nizamudeen A [Tue, 16 Jan 2024 05:21:56 +0000 (10:51 +0530)]
admin/doc-requirements: bump Sphinx to 5.0.2

```
Running Sphinx v4.5.0

Sphinx version error:
The sphinxcontrib.applehelp extension used by this project needs at least Sphinx v5.0; it therefore cannot be built with this version.
```

Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit a916feeee757e4e196967944feeb1e9b1f92c398)

18 months agomgr/dashboard: delete cephfs snapshot 55186/head
Nizamudeen A [Wed, 10 Jan 2024 06:42:23 +0000 (12:12 +0530)]
mgr/dashboard: delete cephfs snapshot

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

18 months agomgr/dashboard: subvolume snapshot creation form
Nizamudeen A [Wed, 27 Dec 2023 09:14:53 +0000 (14:44 +0530)]
mgr/dashboard: subvolume snapshot creation form

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

18 months agomgr/dashboard: small fixes to directories view
Nizamudeen A [Thu, 7 Dec 2023 17:28:52 +0000 (22:58 +0530)]
mgr/dashboard: small fixes to directories view

Increased the precedence for Directories
Expand the node by default and select them as well

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

18 months agomgr/dashboard: fs snapshots e2e
Nizamudeen A [Fri, 27 Oct 2023 08:15:44 +0000 (13:45 +0530)]
mgr/dashboard: fs snapshots e2e

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

18 months agomgr/dashboard: cephfs subvolume list snapshots
Nizamudeen A [Wed, 18 Oct 2023 17:46:09 +0000 (23:16 +0530)]
mgr/dashboard: cephfs subvolume list snapshots

Added a tab for displaying the subvolume snapshots
- this tab will show an info alert when there are no subvolumes present
- if the subvolume is present, then it'll be auto-selected by default

Implemented a filter to search the groups and subvolumes by its name.
Also added a scrollbar when there are too many items in the nav list

Modified the REST APIs to fetch only the names of the resources and
fetch the info when an API call is requesting for it.

Added unit tests

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

18 months agoMerge pull request #55163 from zdover23/wip-doc-2024-01-13-backport-54530-to-reef
Anthony D'Atri [Sat, 13 Jan 2024 02:26:50 +0000 (21:26 -0500)]
Merge pull request #55163 from zdover23/wip-doc-2024-01-13-backport-54530-to-reef

reef: ceph-menv:fix typo in README

18 months agoceph-menv:fix typo in README 55163/head
yu.wang [Thu, 16 Nov 2023 17:38:58 +0000 (01:38 +0800)]
ceph-menv:fix typo in README

Signed-off-by: yu.wang <wangyu@wyu.space>
(cherry picked from commit 4efd9317b83eca48c1a92724e7ebe304650fbc04)

18 months agoMerge pull request #55157 from zdover23/wip-doc-2024-01-12-backport-55146-to-reef
Anthony D'Atri [Fri, 12 Jan 2024 11:58:34 +0000 (06:58 -0500)]
Merge pull request #55157 from zdover23/wip-doc-2024-01-12-backport-55146-to-reef

reef: doc/radosgw: edit admin.rst "get user rate limit"

18 months agodoc/radosgw: edit admin.rst "get user rate limit" 55157/head
Zac Dover [Thu, 11 Jan 2024 13:40:25 +0000 (23:40 +1000)]
doc/radosgw: edit admin.rst "get user rate limit"

Edit "Get User Rate Limit" in doc/radosgw/admin.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 1c561e2beac67c85c40f2adf387c42aba8175ecb)

18 months agoMerge pull request #55150 from zdover23/wip-doc-2024-01-12-backport-55142-to-reef
Anthony D'Atri [Thu, 11 Jan 2024 20:25:47 +0000 (15:25 -0500)]
Merge pull request #55150 from zdover23/wip-doc-2024-01-12-backport-55142-to-reef

reef: doc/radosgw - edit admin.rst "set user rate limit"

18 months agotest/test_weighted_shuffle: verify weights containing zeros 55153/head
Radosław Zarzyński [Wed, 30 Aug 2023 13:23:34 +0000 (15:23 +0200)]
test/test_weighted_shuffle: verify weights containing zeros

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
(cherry picked from commit d02b17ff84c61123ed27d79dc177c2cfbbe6a72f)

18 months agocommon/weighted_shuffle: don't feed std::discrete_distribution with all-zero weights
Radosław Zarzyński [Wed, 30 Aug 2023 13:19:07 +0000 (15:19 +0200)]
common/weighted_shuffle: don't feed std::discrete_distribution with all-zero weights

This flaw results is the assertions like the following one:

```
/usr/include/c++/11/bits/random.tcc:2667: void std::discrete_distribution<_IntType>::param_type::_M_initialize() [with _IntType = int]: Assertion '__sum > 0' failed.
Aborted (core dumped)
```

The reason behind is that `std::discrete_distribution` sums
the weights and uses the result as a divisor.

Fixes: https://tracker.ceph.com/issues/62645
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
(cherry picked from commit 1b7a7a8df88ffac007dbafdecc131807de66c046)

18 months agodoc/radosgw - edit admin.rst "set user rate limit" 55150/head
Zac Dover [Thu, 11 Jan 2024 08:32:09 +0000 (18:32 +1000)]
doc/radosgw - edit admin.rst "set user rate limit"

Edit "Set User Rate Limit" in doc/radosgw/admin.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 8660b4edc71113d5d2d51438c9fd6f388b35a214)

18 months agoMerge pull request #54296 from yuvalif/wip-59498-reef
Yuri Weinstein [Thu, 11 Jan 2024 15:18:23 +0000 (07:18 -0800)]
Merge pull request #54296 from yuvalif/wip-59498-reef

reef: rgw/lua: fix CopyFrom crash

Reviewed-by: Casey Bodley <cbodley@redhat.com>
18 months agoTools/rados: Improve Error Messaging for Object Name Resolution 55112/head
NitzanMordhai [Thu, 16 Nov 2023 07:09:29 +0000 (07:09 +0000)]
Tools/rados: Improve Error Messaging for Object Name Resolution

The current implementation of 'rados clearomap' exhibits a behavior where
an error message is generated without the associated object name or,
in the case of a non-existent object name, may result in a segmentation fault.

The proposed fix addresses this issue by enhancing the error message.
After applying the fix, error messages will consistently display the correct
object name, providing users with more accurate and actionable information.

Fixes: https://tracker.ceph.com/issues/63541
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
(cherry picked from commit 313bfca056ef7f83c0e8c70a3bc4ff9d070b63d9)

18 months agoMerge pull request #54127 from BBoozmen/wip-63255-reef
Yuri Weinstein [Thu, 11 Jan 2024 00:15:25 +0000 (16:15 -0800)]
Merge pull request #54127 from BBoozmen/wip-63255-reef

reef: RGW/STS: when generating keys, take the trailing null character into account

Reviewed-by: Casey Bodley <cbodley@redhat.com>
18 months agoMerge pull request #54862 from idryomov/wip-63654-reef
Yuri Weinstein [Wed, 10 Jan 2024 21:52:45 +0000 (13:52 -0800)]
Merge pull request #54862 from idryomov/wip-63654-reef

reef: librbd: fix regressions in ObjectListSnapsRequest

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
18 months agoMerge pull request #54852 from mkogan1/wip-63753-reef
Yuri Weinstein [Wed, 10 Jan 2024 21:51:50 +0000 (13:51 -0800)]
Merge pull request #54852 from mkogan1/wip-63753-reef

reef: rgw: d3n: fix valgrind reported leak related to libaio worker threads

Reviewed-by: Casey Bodley <cbodley@redhat.com>
18 months agoMerge pull request #54844 from cbodley/wip-63775-reef
Yuri Weinstein [Wed, 10 Jan 2024 21:51:13 +0000 (13:51 -0800)]
Merge pull request #54844 from cbodley/wip-63775-reef

reef: add checking for rgw frontend init

Reviewed-by: Casey Bodley <cbodley@redhat.com>
18 months agoMerge pull request #54843 from cbodley/wip-63773-reef
Yuri Weinstein [Wed, 10 Jan 2024 21:50:31 +0000 (13:50 -0800)]
Merge pull request #54843 from cbodley/wip-63773-reef

reef: rgw/iam: admin/system users ignore iam policy parsing errors

Reviewed-by: Casey Bodley <cbodley@redhat.com>
18 months agoMerge pull request #54794 from k0ste/wip-62412-reef
Yuri Weinstein [Wed, 10 Jan 2024 21:49:40 +0000 (13:49 -0800)]
Merge pull request #54794 from k0ste/wip-62412-reef

reef: rgw/auth: Fix the return code returned by AuthStrategy,

Reviewed-by: Casey Bodley <cbodley@redhat.com>
18 months agoMerge pull request #54791 from k0ste/wip-63626-reef
Yuri Weinstein [Wed, 10 Jan 2024 21:49:08 +0000 (13:49 -0800)]
Merge pull request #54791 from k0ste/wip-63626-reef

reef: rgw: SignatureDoesNotMatch for certain RGW Admin Ops endpoints w/v4 auth

Reviewed-by: Casey Bodley <cbodley@redhat.com>
18 months agoMerge pull request #54736 from yuvalif/wip-63701-reef
Yuri Weinstein [Wed, 10 Jan 2024 21:48:33 +0000 (13:48 -0800)]
Merge pull request #54736 from yuvalif/wip-63701-reef

reef: rgw/kafka/amqp: fix race conditionn in async completion handlers

Reviewed-by: Casey Bodley <cbodley@redhat.com>
18 months agoMerge pull request #54674 from cbodley/wip-63628-reef
Yuri Weinstein [Wed, 10 Jan 2024 21:47:53 +0000 (13:47 -0800)]
Merge pull request #54674 from cbodley/wip-63628-reef

reef: rgw: object lock avoids 32-bit truncation of RetainUntilDate

Reviewed-by: Casey Bodley <cbodley@redhat.com>
18 months agoMerge pull request #54328 from petrutlucian94/wip-63430-reef
Yuri Weinstein [Wed, 10 Jan 2024 21:47:00 +0000 (13:47 -0800)]
Merge pull request #54328 from petrutlucian94/wip-63430-reef

reef: rgw: fix cloud-sync multi-tenancy scenario

Reviewed-by: Casey Bodley <cbodley@redhat.com>
18 months agoMerge pull request #54129 from ivancich/wip-63247-reef
Yuri Weinstein [Wed, 10 Jan 2024 21:46:05 +0000 (13:46 -0800)]
Merge pull request #54129 from ivancich/wip-63247-reef

reef: rgw: only buckets with reshardable layouts need to be considered for resharding

Reviewed-by: Casey Bodley <cbodley@redhat.com>
18 months agoencoding: use concepts for chrono encoding 54674/head
Casey Bodley [Wed, 15 Nov 2023 20:28:46 +0000 (15:28 -0500)]
encoding: use concepts for chrono encoding

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit b33e08657ecb7949505c6eae920c83e1e84096bb)

18 months agorgw: object lock uses 64-bit encoding for RetainUntilDate
Casey Bodley [Wed, 15 Nov 2023 21:24:47 +0000 (16:24 -0500)]
rgw: object lock uses 64-bit encoding for RetainUntilDate

the default encoding of ceph::real_time truncates seconds to uint32_t,
so stores the wrong timestamp for object lock enforcement

Fixes: https://tracker.ceph.com/issues/63537
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 1fd4309fbbebf0d3e67aa2800d5fb3c7de19dcc7)

18 months agoMerge pull request #55128 from zdover23/wip-doc-2024-01-10-backport-55106-to-reef
Anthony D'Atri [Wed, 10 Jan 2024 15:27:07 +0000 (10:27 -0500)]
Merge pull request #55128 from zdover23/wip-doc-2024-01-10-backport-55106-to-reef

reef: doc/rgw: edit admin.rst - rate limit management

18 months agodoc/rgw: edit admin.rst - rate limit management 55128/head
Zac Dover [Tue, 9 Jan 2024 13:42:34 +0000 (23:42 +1000)]
doc/rgw: edit admin.rst - rate limit management

Edit the "Rate Limit Management" section in doc/radosgw/admin.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 47fabe757cff630aaf23a85d268b7406057244e2)

18 months agomgr/dashboard: fix e2e failure related to landing page 55124/head
Pedro Gonzalez Gomez [Tue, 19 Dec 2023 15:48:32 +0000 (16:48 +0100)]
mgr/dashboard: fix e2e failure related to landing page

Fixes: https://tracker.ceph.com/issues/59142
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit 6ec48eeb261bc8aceb1bfa3ee3732acfb0974478)

18 months agoMerge pull request #55091 from cbodley/wip-63964-reef
Casey Bodley [Tue, 9 Jan 2024 18:07:49 +0000 (18:07 +0000)]
Merge pull request #55091 from cbodley/wip-63964-reef

reef: make-dist: don't use --continue option for wget

Reviewed-by: Laura Flores <lflores@redhat.com>
18 months agoMerge pull request #55084 from petrutlucian94/wip-63955-reef
Casey Bodley [Tue, 9 Jan 2024 14:11:27 +0000 (14:11 +0000)]
Merge pull request #55084 from petrutlucian94/wip-63955-reef

reef: win32_deps_build.sh: change Boost URL

Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
18 months agoreef: backport of fixes for 63678 and 63694 55104/head
Redouane Kachach [Tue, 9 Jan 2024 11:37:43 +0000 (12:37 +0100)]
reef: backport of fixes for 63678 and 63694
Fixes: https://tracker.ceph.com/issues/63957
Fixes: https://tracker.ceph.com/issues/63958
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
18 months agomake-dist: don't use --continue option for wget 55091/head
Casey Bodley [Mon, 8 Jan 2024 16:24:18 +0000 (08:24 -0800)]
make-dist: don't use --continue option for wget

the boost jfrog mirror is broken and returns an HTML error page instead
of the archive. the file size of this page is 11534 bytes

when download_from() retries the download from download.ceph.com, the -c
option tells it to resume the download of the existing file. the
resulting boost_1_82_0.tar.bz2 ends up with the correct total file size
of 121325129 bytes, but the first 11534 bytes still correspond to the
HTML from jfrog. that causes the sha256sum mismatch

remove the -c option so that wget fetches the archive in its entirety

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 2ba7d6e59e8750867059c29a33c22bcb3e358b65)

18 months agoMerge pull request #54818 from baergj/wip-63746-reef
Yuri Weinstein [Mon, 8 Jan 2024 16:24:46 +0000 (08:24 -0800)]
Merge pull request #54818 from baergj/wip-63746-reef

reef: librbd: Append one journal event per image request

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
18 months agoMerge pull request #54807 from trociny/wip-63733-reef
Yuri Weinstein [Mon, 8 Jan 2024 16:24:13 +0000 (08:24 -0800)]
Merge pull request #54807 from trociny/wip-63733-reef

reef:  pybind/rbd: fix compilation with cython3

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
18 months agoMerge pull request #54769 from ajarr/wip-63715-reef
Yuri Weinstein [Mon, 8 Jan 2024 16:22:38 +0000 (08:22 -0800)]
Merge pull request #54769 from ajarr/wip-63715-reef

reef: qa/workunits/rbd/cli_generic.sh: narrow race window when checking that rbd_support module command fails after blocklisting the module's client

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
18 months agoMerge pull request #55082 from zdover23/wip-doc-2024-01-08-backport-55075-to-reef
Anthony D'Atri [Mon, 8 Jan 2024 13:53:39 +0000 (08:53 -0500)]
Merge pull request #55082 from zdover23/wip-doc-2024-01-08-backport-55075-to-reef

reef: doc/radosgw: edit admin.rst - quota

18 months agowin32_deps_build.sh: change Boost URL 55084/head
Lucian Petrut [Mon, 8 Jan 2024 08:44:51 +0000 (08:44 +0000)]
win32_deps_build.sh: change Boost URL

The Boost download URL is broken again [1], we'll switch to a
working mirror.

[1] https://github.com/boostorg/boost/issues/842

Fixes: https://tracker.ceph.com/issues/63952
Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
(cherry picked from commit 594d1e5e83e3d4c318ab1dd79660670a0852f7e6)

18 months agodoc/radosgw: edit admin.rst - quota 55082/head
Zac Dover [Sun, 7 Jan 2024 12:10:59 +0000 (22:10 +1000)]
doc/radosgw: edit admin.rst - quota

Edit the "Quota Management" section (all of it) in
doc/radosgw/admin.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 22fce3c7a55591f6755355751157bc7231776137)

18 months agomgr/pg_autoscaler: add check for norecover flag 55078/head
Aishwarya Mathuria [Thu, 26 Oct 2023 13:14:10 +0000 (13:14 +0000)]
mgr/pg_autoscaler: add check for norecover flag

The PG autoscaler should not be active when the norecover flag is set.
As each newly split PG will need to be backfilled, it does not make sense to have the autoscaler active if the norecover flag is set.

Fixes: https://tracker.ceph.com/issues/63334
Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
(cherry picked from commit 009832f07abe2bf051965097f550d8695e9cebd4)

18 months agoDaemonServer.cc: fix config show command for RGW daemons 55077/head
Aishwarya Mathuria [Tue, 6 Sep 2022 14:10:43 +0000 (19:40 +0530)]
DaemonServer.cc: fix config show command for RGW daemons

RGW daemons register in the servicemap by gid which allows multiple radosgw instances to share an auth key/identity. The daemon name is sent as part of the metadata.  (https://github.com/ceph/ceph/commit/84c265238b796935b3aa66d191593b2e8655f384).
All other daemons register by the daemon name and the manager stores all daemon state information with daemon name as key. The 'config show' command looks up the daemon_state map with the daemon name the user mentions as key (for example: 'osd.0', 'client.rgw', 'mon.a').
Due to the change in RGW daemon registration, the key used for storing daemon state has become rgw.gid and 'config show client.rgw' no longer works.

This change will take care of going through the daemon metadata to look for the RGW daemon name when a user enters the config show command for a RGW daemon. Once the correct daemon is found, we retrieve the corresponding daemon key (rgw.gid) and use that to query the daemon_state map.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2011756
Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
(cherry picked from commit b88cecdc7c3dc048550f634ecadc04f661f0fabc)

18 months agoMerge pull request #55071 from zdover23/wip-doc-2024-01-06-backport-55069-to-reef
zdover23 [Sun, 7 Jan 2024 12:16:01 +0000 (22:16 +1000)]
Merge pull request #55071 from zdover23/wip-doc-2024-01-06-backport-55069-to-reef

reef: doc: update rgw admin api req params for get user info

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
18 months agoMerge pull request #55073 from zdover23/wip-doc-2024-10-06-backport-55065-to-reef
Anthony D'Atri [Fri, 5 Jan 2024 23:37:09 +0000 (18:37 -0500)]
Merge pull request #55073 from zdover23/wip-doc-2024-10-06-backport-55065-to-reef

reef: doc/radosrgw: edit admin.rst

18 months agodoc/radosrgw: edit admin.rst 55073/head
Zac Dover [Fri, 5 Jan 2024 11:11:59 +0000 (21:11 +1000)]
doc/radosrgw: edit admin.rst

Edit "Add / Remove Admin Capabilities" in doc/radosgw/admin.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 1f0ff27898dfd06a17b18fadd52f68dfb73ccb94)

18 months agodoc: update rgw admin api req params for get user info 55071/head
Ali Maredia [Fri, 5 Jan 2024 20:13:41 +0000 (20:13 +0000)]
doc: update rgw admin api req params for get user info

Signed-off-by: Ali Maredia <amaredia@redhat.com>
(cherry picked from commit e6c58dcd614f71efa4de2f781b8425c480af285e)

18 months agoMerge pull request #55064 from zdover23/wip-doc-2024-01-05-backport-55053-to-reef
Anthony D'Atri [Fri, 5 Jan 2024 15:56:44 +0000 (10:56 -0500)]
Merge pull request #55064 from zdover23/wip-doc-2024-01-05-backport-55053-to-reef

doc/releases: edit reef.rst

18 months agodoc/releases: edit reef.rst 55064/head
Zac Dover [Wed, 3 Jan 2024 14:20:51 +0000 (00:20 +1000)]
doc/releases: edit reef.rst

Make minor corrections to doc/releases/reef.rst. These corrections were
suggested by Anthony D'Atri in https://github.com/ceph/ceph/pull/55049.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit d02178fdbd5707c6469fdd678f42a4575a3c10b4)

18 months agoMerge pull request #55055 from zdover23/wip-doc-2024-01-04-backport-55048-to-reef
Anthony D'Atri [Thu, 4 Jan 2024 04:42:04 +0000 (23:42 -0500)]
Merge pull request #55055 from zdover23/wip-doc-2024-01-04-backport-55048-to-reef

reef: doc/radosgw: edit "Add/Remove a Key"

18 months agodoc/radosgw: edit "Add/Remove a Key" 55055/head
Zac Dover [Wed, 3 Jan 2024 08:41:51 +0000 (18:41 +1000)]
doc/radosgw: edit "Add/Remove a Key"

Edit the section "Add/Remove a Key" in doc/radosgw/admin.rst. Each
operation (e.g. "Adding an S3 key pair for a user", "Removing an S3 key
pair for a user") now has its own subsection. This increased granularity
should make it easier in the future to link to each of these specific
operations, if needed.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit f62e93cbe73cd8f624a6c99497051c1a0aaf3ab6)

18 months agoMerge pull request #55049 from zdover23/wip-doc-2024-01-03-backport-reef-releases...
zdover23 [Wed, 3 Jan 2024 14:01:40 +0000 (00:01 +1000)]
Merge pull request #55049 from zdover23/wip-doc-2024-01-03-backport-reef-releases-page-from-latest-to-reef

reef: doc/releases: specify dashboard improvements

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
18 months agodoc/releases: specify dashboard improvements 55049/head
Laura Flores [Mon, 18 Dec 2023 21:09:43 +0000 (15:09 -0600)]
doc/releases: specify dashboard improvements

...and address other nits

Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit d5ab720dc54e19904267fbde5ff54260eff9bd60)
Signed-off-by: Zac Dover <zac.dover@proton.me>
18 months agoosd: fix Incremental decode for new/old_pg_upmap_primary 55046/head
Laura Flores [Mon, 11 Dec 2023 03:51:50 +0000 (03:51 +0000)]
osd: fix Incremental decode for new/old_pg_upmap_primary

Should have been included in commit e9921ee76c060122d64e61a2fe483318a49bc0a9.
The impact is not major; the effect is that the osdmap
is not properly updated whenever the Incremental is reused.
Since the current read balancer offline tool uses a new Incremental
every time it's run, the balancing works as expected. This fix will be
necessary, however, for the mgr module integration in https://github.com/ceph/ceph/pull/53988
since we will need to reuse the Incremental.

Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit 07c8087e59d53820543d95bb3752582b6c10045d)

18 months agoMerge pull request #55044 from zdover23/wip-doc-2024-01-02-backport-55038-to-reef
Anthony D'Atri [Tue, 2 Jan 2024 14:08:18 +0000 (09:08 -0500)]
Merge pull request #55044 from zdover23/wip-doc-2024-01-02-backport-55038-to-reef

reef: doc/cephfs: Update disaster-recovery-experts.rst to mention Slack

18 months agodoc/cephfs: Update disaster-recovery-experts.rst to mention Slack 55044/head
Dhairya Parmar [Mon, 1 Jan 2024 11:43:12 +0000 (17:13 +0530)]
doc/cephfs: Update disaster-recovery-experts.rst to mention Slack

Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
(cherry picked from commit 6601e7f38c0b2c1326d40f3bb0599069e38421ff)