]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 months agomgr/dashboard: Fix pool update on edit 62869/head
Afreen Misbah [Thu, 17 Apr 2025 15:35:39 +0000 (21:05 +0530)]
mgr/dashboard: Fix pool update on edit

Issue: Pool field was blank on editing namespace form and user needs to type out pool
Reason: `image` field is no longer supported in form yet edit function trying to fetch it and failing on that, hence no following updates for pool
Fix: Removed stale `image` field

Additional changes:
- included unit tests for edit to capture such errors
- enhanced unit tests to sue ActivatedRouteStub and `router.url`
- pre populating pool form on create with first rbd pool in the list

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

Regression by: https://tracker.ceph.com/issues/69900

Signed-off-by: Afreen Misbah <afreen@ibm.com>
3 months agoMerge pull request #62775 from bluikko/doc-releases-codeblocks
Anthony D'Atri [Wed, 16 Apr 2025 13:59:21 +0000 (09:59 -0400)]
Merge pull request #62775 from bluikko/doc-releases-codeblocks

doc/releases: Fix invalid triple backticks in reef.rst squid.rst

3 months agoMerge pull request #62818 from ronen-fr/wip-rf-iocnt-plus
Ronen Friedman [Wed, 16 Apr 2025 12:44:20 +0000 (15:44 +0300)]
Merge pull request #62818 from ronen-fr/wip-rf-iocnt-plus

osd/scrub: performance counters: count I/Os, use unlabeled counters

Reviewed-by: Alex Ainscow <aainscow@uk.ibm.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
3 months agoMerge pull request #62795 from laimis9133/main
Zac Dover [Tue, 15 Apr 2025 19:52:49 +0000 (05:52 +1000)]
Merge pull request #62795 from laimis9133/main

doc/radosgw/cloud-transition: use reStructuredText for code

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 months agoMerge pull request #62798 from zdover23/wip-doc-2025-04-14-squid-upgrade-warning
Zac Dover [Tue, 15 Apr 2025 19:32:04 +0000 (05:32 +1000)]
Merge pull request #62798 from zdover23/wip-doc-2025-04-14-squid-upgrade-warning

doc/releases: Direct users to upgrade to 19.2.2

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 months agoMerge pull request #62792 from prik73/70719-fix-user-form-login-typo
afreen23 [Tue, 15 Apr 2025 18:54:58 +0000 (00:24 +0530)]
Merge pull request #62792 from prik73/70719-fix-user-form-login-typo

mgr/dashboard: fix typo in User Management form (logon → login)

Reviewed-by: Afreen Misbah <afreen@ibm.com>
3 months agoMerge pull request #62812 from Matan-B/wip-matanb-crimson-only-backfill-stuck
Matan Breizman [Tue, 15 Apr 2025 15:24:42 +0000 (18:24 +0300)]
Merge pull request #62812 from Matan-B/wip-matanb-crimson-only-backfill-stuck

crimson/osd: fix do_recovery returned boolean

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
Reviewed-by: Mohit Agrawal <moagrawa@redhat.com>
3 months agoMerge pull request #62744 from rhcs-dashboard/accounts-e2e
Nizamudeen A [Tue, 15 Apr 2025 13:42:41 +0000 (19:12 +0530)]
Merge pull request #62744 from rhcs-dashboard/accounts-e2e

mgr/dashboard: rgw accounts UI e2e tests

3 months agoosd/scrub: fixing scrub reservation process counters 62818/head
Ronen Friedman [Mon, 14 Apr 2025 16:22:27 +0000 (11:22 -0500)]
osd/scrub: fixing scrub reservation process counters

Using regular (unlabeled) OSD performance counters for
tracking the scrub reservation performance.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
3 months agoosd/scrub: turning additional counters into unlabeled
Ronen Friedman [Mon, 14 Apr 2025 09:47:24 +0000 (04:47 -0500)]
osd/scrub: turning additional counters into unlabeled

i.e. - moving counters from the 'scrbcnt_' enums into
the ScrubCounterSet object.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
3 months agoosd/scrub: a single counters selection mechanism - step 1
Ronen Friedman [Sun, 13 Apr 2025 17:53:12 +0000 (12:53 -0500)]
osd/scrub: a single counters selection mechanism - step 1

Following the preceeding PR, the Scrubber now employs
two methods for selecting the specific subset of performance
counters to update (the replicated pool set or the EC one).
The first method is using labeled counters, with 4 optional labels
(Primary/Replica X Replicated/EC Pool). The second method
is by naming the specific OSD counters to use in ScrubIoCounterSet
objects, then selecting the appropriate set based on the pool type.

This commit is the first step on the path to unifying the two
methods - discarding the use of labeled counters, and only
naming OSD counters.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
3 months agoosd/scrub: perf-counters for I/O performed by the scrubber
Ronen Friedman [Thu, 3 Apr 2025 07:55:23 +0000 (02:55 -0500)]
osd/scrub: perf-counters for I/O performed by the scrubber

Define two sets of performance counters to track I/O performed
by the scrubber - one set to be used when scrubbing a PG
in a replicated pool, and one - for EC PGs.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
3 months agocrimson/osd: fix stuck recovery 62812/head
Matan Breizman [Tue, 15 Apr 2025 07:35:31 +0000 (07:35 +0000)]
crimson/osd: fix stuck recovery

https://github.com/ceph/ceph/pull/62080 tested version was **different**
from the one that got merged.
The untested change was changing the boolean returned from start_recovery_ops.
While the seastar::repeat loop in BackgroundRecoveryT<T>::start() was changed accordingly,
other do_recovery() return cases were not considered.

See Tested / Merged here: https://github.com/Matan-B/ceph/pull/2/files

start_recovery_ops used by do_recovery should return whether the iteration (i.e recovery) keep going.

_Note: This has caused a regression in our suite_

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 months agoMerge pull request #61992 from dparmar18/ib61357
Venky Shankar [Tue, 15 Apr 2025 09:26:34 +0000 (14:56 +0530)]
Merge pull request #61992 from dparmar18/ib61357

qa: add parallelized cleanup step in _rebuild_metadata()

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 months agoMerge PR #62259 into main
Venky Shankar [Tue, 15 Apr 2025 09:25:21 +0000 (14:55 +0530)]
Merge PR #62259 into main

* refs/pull/62259/head:
qa/tasks/cephfs/mount: introduce _default_gateway method
qa/tasks/cephfs/mount: use 'ip r' instead 'route'

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 months agoMerge PR #62553 into main
Venky Shankar [Tue, 15 Apr 2025 09:23:39 +0000 (14:53 +0530)]
Merge PR #62553 into main

* refs/pull/62553/head:
mds: fix issues with use-after-free in C_Flush_Journal
mds: fix issues with use-after-free in C_Flush_Journal

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 months agoMerge pull request #62764 from rhcs-dashboard/bucket-ratelimit-fix
Pedro Gonzalez Gomez [Tue, 15 Apr 2025 09:19:51 +0000 (11:19 +0200)]
Merge pull request #62764 from rhcs-dashboard/bucket-ratelimit-fix

mgr/dashboard: bucket ratelimit API failing while changing owner with ratelimit config

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
3 months agoMerge pull request #59533 from ifed01/wip-ifed-no-async-compact-in-splillover-tests
Igor Fedotov [Tue, 15 Apr 2025 08:53:25 +0000 (11:53 +0300)]
Merge pull request #59533 from ifed01/wip-ifed-no-async-compact-in-splillover-tests

test/store_test: enforce sync compaction for spillover test cases.

Reviewed-by: Md Mahamudur Rahaman Sajib mahamudur.sajib@croit.io
3 months agoMerge pull request #62807 from ceph/wip-yuriw-release.pocess-main
Yuri Weinstein [Mon, 14 Apr 2025 23:42:39 +0000 (16:42 -0700)]
Merge pull request #62807 from ceph/wip-yuriw-release.pocess-main

doc: changed refs from quincy to squid

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 months agoMerge pull request #61786 from Hezko/ns-create-size-fix
Hezko [Mon, 14 Apr 2025 22:19:29 +0000 (01:19 +0300)]
Merge pull request #61786 from Hezko/ns-create-size-fix

mgr/dashboard: Ns create size fix

3 months agodoc/releases: Direct users to upgrade to 19.2.2 62798/head
Zac Dover [Sun, 13 Apr 2025 23:49:16 +0000 (09:49 +1000)]
doc/releases: Direct users to upgrade to 19.2.2

Direct users to upgrade only to Squid v19.2.2, and warn readers not to
upgrade to Squid 19.2.1. This PR is raised in response to a request from
Neha Ojha.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
3 months agoMerge pull request #62799 from anthonyeleven/fix-formatting
Zac Dover [Mon, 14 Apr 2025 21:44:46 +0000 (07:44 +1000)]
Merge pull request #62799 from anthonyeleven/fix-formatting

doc/cephadm/services: Fix formatting in osd.rst

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Zac Dover <zac.dover@proton.me>
3 months agoMerge pull request #61610 from rzarzynski/wip-test-bl-lastp-on
Radoslaw Zarzynski [Mon, 14 Apr 2025 20:03:25 +0000 (22:03 +0200)]
Merge pull request #61610 from rzarzynski/wip-test-bl-lastp-on

test/bufferlist: turn the old last_p fix verification on

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
3 months agoMerge pull request #56922 from ifed01/wip-ifed-store-test-no-sleeps
Igor Fedotov [Mon, 14 Apr 2025 18:06:45 +0000 (21:06 +0300)]
Merge pull request #56922 from ifed01/wip-ifed-store-test-no-sleeps

test/store_test: get rid off sleep() call wherever possible

Reviewed-by: Pere Diaz Bou <pere-altea@hotmail.com>
3 months agoMerge pull request #62804 from Matan-B/wip-matanb-rgw-spec.in
Casey Bodley [Mon, 14 Apr 2025 15:56:31 +0000 (11:56 -0400)]
Merge pull request #62804 from Matan-B/wip-matanb-rgw-spec.in

ceph.spec.in: package man/rgw-gap-list

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 months agoMerge PR #62783 into main
Venky Shankar [Mon, 14 Apr 2025 15:49:08 +0000 (21:19 +0530)]
Merge PR #62783 into main

* refs/pull/62783/head:
libcephfs_proxy: fully initialize async I/O structure

Reviewed-by: Sachin Prabhu <sp@spui.uk>
Reviewed-by: Shwetha Acharya <sacharya@redhat.com>
3 months agodoc: changed refs from quincy to squid 62807/head
Yuri Weinstein [Mon, 14 Apr 2025 14:41:13 +0000 (07:41 -0700)]
doc: changed refs from quincy to squid

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
3 months agoMerge pull request #62692 from ronen-fr/wip-rf-watch-ratiob
Ronen Friedman [Mon, 14 Apr 2025 13:24:45 +0000 (16:24 +0300)]
Merge pull request #62692 from ronen-fr/wip-rf-watch-ratiob

osd/scrub: additional configuration parameters to trigger scrub reschedule

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 months agolibcephfs_proxy: fully initialize async I/O structure 62783/head
Xavi Hernandez [Fri, 11 Apr 2025 14:15:05 +0000 (16:15 +0200)]
libcephfs_proxy: fully initialize async I/O structure

The ceph_ll_io_info structure has recently been extended to support
zerocopy operations. The proxy was initializing just the known members,
so, after the zerocopy support, it was passing garbage in some fields,
causing failures.

This patch completely clears the whole structure to be sure that
everything is initialized to its default value.

Signed-off-by: Xavi Hernandez <xhernandez@gmail.com>
3 months agoMerge pull request #62761 from rhcs-dashboard/tiering-fix
afreen23 [Mon, 14 Apr 2025 08:15:20 +0000 (13:45 +0530)]
Merge pull request #62761 from rhcs-dashboard/tiering-fix

mgr/dashboard: RGW - Reatin Head Object Fix

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
3 months agomgr/dashboard: fix bucket rate limit API on owner change 62764/head
Naman Munet [Thu, 10 Apr 2025 11:40:02 +0000 (17:10 +0530)]
mgr/dashboard: fix bucket rate limit API on owner change

Fixes: https://tracker.ceph.com/issues/70874
PR covers & fixes below scenarios:
Whenever we change the owner of bucket from non-tenanted to tenanted and
vice-versa with the rate-limit changes, there was issue in sending bucket name
Scenario 1: Changing the bucket owner from tenanted to non-tenanted
Scenario 2: Changing the bucket owner from non-tenanted to tenanted
Scenario 3: Keeping the owner(tenanted) same and changing only rate limit

Signed-off-by: Naman Munet <naman.munet@ibm.com>
3 months agoMerge pull request #61273 from rhcs-dashboard/topicmanagment-ui
afreen23 [Mon, 14 Apr 2025 07:44:48 +0000 (13:14 +0530)]
Merge pull request #61273 from rhcs-dashboard/topicmanagment-ui

mgr/dashboard: Add RGW topic listing in dashboard

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Naman Munet <nmunet@redhat.com>
Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
3 months agoceph.spec.in: add man/rgw-gap-list 62804/head
Matan Breizman [Mon, 14 Apr 2025 07:32:24 +0000 (07:32 +0000)]
ceph.spec.in: add man/rgw-gap-list

Introduced in https://github.com/ceph/ceph/pull/62749
Centos builds fail with:
```
error: Installed (but unpackaged) file(s) found:
   /usr/share/man/man8/rgw-gap-list.8.gz

RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/share/man/man8/rgw-gap-list.8.gz
```

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 months agodoc/radosgw/cloud-transition: fix details 62795/head
Laimis Juzeliūnas [Sun, 13 Apr 2025 20:14:55 +0000 (23:14 +0300)]
doc/radosgw/cloud-transition: fix details

Fix documentation on Ceph cloud storage transitions - broken link urls, returning back reStructuredText and some other details.

Signed-off-by: Laimis Juzeliunas <laimis.juzeliunas@oxylabs.io>
Co-authored-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
3 months agoMerge pull request #62776 from rhcs-dashboard/tiering-secretKey-fix
afreen23 [Mon, 14 Apr 2025 05:34:53 +0000 (11:04 +0530)]
Merge pull request #62776 from rhcs-dashboard/tiering-secretKey-fix

mgr/dashboard: RGW - Tiering form - secret key fix

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
3 months agodoc/cephadm/services: Fix formatting in osd.rst 62799/head
Anthony D'Atri [Mon, 14 Apr 2025 05:18:03 +0000 (01:18 -0400)]
doc/cephadm/services: Fix formatting in osd.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
3 months agoMerge pull request #62784 from anthonyeleven/osd-restart-warn
Zac Dover [Sun, 13 Apr 2025 23:39:37 +0000 (09:39 +1000)]
Merge pull request #62784 from anthonyeleven/osd-restart-warn

doc/cephadm: Add admonition re restarting an OSD service

Reviewed-by: Zac Dover <zac.dover@proton.me>
3 months agomgr/dashboard: fix typo in User Management form 62792/head
prik73 [Fri, 11 Apr 2025 23:21:51 +0000 (19:21 -0400)]
mgr/dashboard: fix typo in User Management form
Fixes: https://tracker.ceph.com/issues/70719
-Corrected the label from 'logon' to 'login' in the User Management form

Signed-off-by: prik73 <prinovac@gmail.com>
3 months agoosd/scrub: additional configuration params to trigger scrub reschedule 62692/head
Ronen Friedman [Sun, 6 Apr 2025 12:31:48 +0000 (07:31 -0500)]
osd/scrub: additional configuration params to trigger scrub reschedule

Adding the following parameters to the (small) set of configuration
options that, if changed, trigger re-computation of the next scrub
schedule:
- osd_scrub_interval_randomize_ratio,
- osd_deep_scrub_interval_cv, and
- osd_deep_scrub_interval (which was missing in the list of
  parameters watched by the OSD).

Fixes: https://tracker.ceph.com/issues/70806
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
3 months agoMerge pull request #62732 from Hezko/nvmeof-cli-gw-addr
Hezko [Sat, 12 Apr 2025 01:00:28 +0000 (04:00 +0300)]
Merge pull request #62732 from Hezko/nvmeof-cli-gw-addr

mgr/dashboard: allow selecting target gw in nvmeof cli/api endpoints

3 months agoMerge pull request #62786 from ceph/wip-yuriw-release.pocess-main
Yuri Weinstein [Fri, 11 Apr 2025 22:38:07 +0000 (15:38 -0700)]
Merge pull request #62786 from ceph/wip-yuriw-release.pocess-main

doc: minor additions based on the latest mods

Reviewed-by: Dan Mick <dmick@redhat.com>
3 months agoMerge pull request #62490 from bill-scales/ec_select_primary
Laura Flores [Fri, 11 Apr 2025 21:28:07 +0000 (16:28 -0500)]
Merge pull request #62490 from bill-scales/ec_select_primary

osd: Restrict choice of primary shard for ec_optimizations pools

3 months agoMerge pull request #62757 from rhcs-dashboard/fix-70866-main
afreen23 [Fri, 11 Apr 2025 21:00:07 +0000 (02:30 +0530)]
Merge pull request #62757 from rhcs-dashboard/fix-70866-main

mgr/dashboard: add description for default Pool Application select options

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
3 months agodoc: minor additions based on the latest mods and updated example to squid 62786/head
Yuri Weinstein [Fri, 11 Apr 2025 15:21:13 +0000 (08:21 -0700)]
doc: minor additions based on the latest mods and updated example to squid

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
3 months agoMerge pull request #62704 from sseshasa/wip-fix-recovery-counters-calc
Laura Flores [Fri, 11 Apr 2025 19:31:32 +0000 (14:31 -0500)]
Merge pull request #62704 from sseshasa/wip-fix-recovery-counters-calc

osd/scheduler/OpSchedulerItem: Fix calculation of recovery latency counters

3 months agoMerge pull request #62749 from ivancich/wip-document-gap-list
J. Eric Ivancich [Fri, 11 Apr 2025 18:57:27 +0000 (14:57 -0400)]
Merge pull request #62749 from ivancich/wip-document-gap-list

rgw/doc: add man documentation for the rgw-gap-list tool

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 months agodoc/rgw: add man documentation for the rgw-gap-list tool 62749/head
J. Eric Ivancich [Wed, 9 Apr 2025 15:47:31 +0000 (11:47 -0400)]
doc/rgw: add man documentation for the rgw-gap-list tool

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
3 months agoMerge pull request #62780 from aainscow/sv_notify_fix
Casey Bodley [Fri, 11 Apr 2025 16:32:20 +0000 (12:32 -0400)]
Merge pull request #62780 from aainscow/sv_notify_fix

rgw: Fix compilation issue with clang on centos

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 months agodoc/cephadm: Add admonition re restarting an OSD service 62784/head
Anthony D'Atri [Fri, 11 Apr 2025 14:29:52 +0000 (10:29 -0400)]
doc/cephadm: Add admonition re restarting an OSD service

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
3 months agoMerge pull request #62771 from idryomov/wip-drop-remote-namespace-cls-err
Ilya Dryomov [Fri, 11 Apr 2025 12:58:29 +0000 (14:58 +0200)]
Merge pull request #62771 from idryomov/wip-drop-remote-namespace-cls-err

cls/rbd: drop overzealous CLS_ERR message in mirror_remote_namespace_get()

Reviewed-by: N Balachandran <nithya.balachandran@ibm.com>
3 months agoMerge pull request #62601 from rhcs-dashboard/smb-tabs-route
Nizamudeen A [Fri, 11 Apr 2025 12:11:23 +0000 (17:41 +0530)]
Merge pull request #62601 from rhcs-dashboard/smb-tabs-route

mgr/dashboard: make smb tabs routable

3 months agorgw: Fix compilation issue with clang on centos 62780/head
Alex Ainscow [Fri, 11 Apr 2025 09:41:37 +0000 (10:41 +0100)]
rgw: Fix compilation issue with clang on centos

We are getting a compilation issue with accessing an incomplete type.

This fix moves some code around to avoid this issue.

I don't fully understand why we don't see this issue everywhere!

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 months agomgr/dashboard: RGW - Reatin Head Object Fix 62761/head
Dnyaneshwari [Thu, 10 Apr 2025 08:22:47 +0000 (13:52 +0530)]
mgr/dashboard: RGW - Reatin Head Object Fix

Fixes: https://tracker.ceph.com/issues/70871
Signed-off-by: Dnyaneshwari Talwekar <dtalwekar@redhat.com>
3 months agomgr/dashboard: RGW - Tiering form - secret key fix 62776/head
Dnyaneshwari [Fri, 11 Apr 2025 07:44:27 +0000 (13:14 +0530)]
mgr/dashboard: RGW - Tiering form - secret key fix

Fixes: https://tracker.ceph.com/issues/70888
Signed-off-by: Dnyaneshwari Talwekar <dtalwekar@redhat.com>
3 months agoMerge pull request #62697 from Hezko/nvmeof-response-fix
Nizamudeen A [Fri, 11 Apr 2025 07:45:42 +0000 (13:15 +0530)]
Merge pull request #62697 from Hezko/nvmeof-response-fix

mgr/dashboard: fix subsystems list api response

3 months agodoc/releases: Fix invalid triple backticks in reef.rst squid.rst 62775/head
Ville Ojamo [Fri, 11 Apr 2025 05:04:52 +0000 (12:04 +0700)]
doc/releases: Fix invalid triple backticks in reef.rst squid.rst

Triple backtick does not create a code block in RST,
instead it renders as an inline code with the third
backtick rendered as-is.
This makes newlines in multiline code merged to a
single line and it makes the whole thing nonsense.

Change the second intended code block to use a code
block with a bash prompt.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
3 months agotest: Add unittests for pgtemp_primaryfirst/pgtemp_undo_primaryfirst 62490/head
Bill Scales [Mon, 31 Mar 2025 08:17:35 +0000 (09:17 +0100)]
test: Add unittests for pgtemp_primaryfirst/pgtemp_undo_primaryfirst

Add unittests for pgtemp_primaryfirst and pgtemp_undo_primaryfirst
to prove the later is a reverse transform and that neither has any
effect until an optimized EC pool configures non-primary shards.

Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
3 months agoosd: Restrict choice of primary shard for ec_optimizations pools
Bill Scales [Thu, 6 Mar 2025 12:20:52 +0000 (12:20 +0000)]
osd: Restrict choice of primary shard for ec_optimizations pools

Pools with ec_optimizations enabled have restrictions on which
shards are permitted to become the primary because not all shards
are updated for every I/O.

To preserve backwards compatibility with downlevel clients
pg_temp is used as the method to override the selection of
primary by OSDMap. Directly changing the logic in OSDMap
would have meant that all clients need to be upgraded to
tentacle before using optimized EC pools, so was discounted.
Using primary_temp to set the primary for an EC pool is
not reliable because under error conditions an OSD can store
multiple shards for the same PG and primary_temp cannot
define which of these shards will be choosen.

For optimized EC pools pg_temp is shuffled so that the
non-primary shards are listed last. This means that the
existing logic in OSDMap that picks the first available
shard as the primary will avoid selecting a non-primary
shard. OSDMonitor applies the shuffle when pg_temp is set,
this is then reverted in PeeringState when initializing the
acting set after OSDMap has selected the primary.

PeeringState::choose_acting is modified to set pg_temp if
OSDMap has selected a non-primary shard, this will cause
a new OSDMAP to be published which will persuade
OSDMap to select a primary shard instead.

Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
3 months agomgr/dashboard: rgw accounts UI e2e tests 62744/head
Naman Munet [Wed, 9 Apr 2025 07:38:01 +0000 (13:08 +0530)]
mgr/dashboard: rgw accounts UI e2e tests

Fixes: https://tracker.ceph.com/issues/69674
Signed-off-by: Naman Munet <naman.munet@ibm.com>
3 months agoMerge pull request #62527 from rhcs-dashboard/smb-file-uploader
Pedro Gonzalez Gomez [Fri, 11 Apr 2025 04:11:17 +0000 (06:11 +0200)]
Merge pull request #62527 from rhcs-dashboard/smb-file-uploader

mgr/dashboard: add file uploader for smb usersandgroups

Reviewed-by: nizamial09 <nia@redhat.com>
3 months agoMerge pull request #62673 from adamemerson/wip-test-osd-signed-comparison
SrinivasaBharathKanta [Fri, 11 Apr 2025 02:22:32 +0000 (07:52 +0530)]
Merge pull request #62673 from adamemerson/wip-test-osd-signed-comparison

test/osd: Fix signed comparison warning

3 months agoMerge pull request #62163 from zmc/bwc-debs
Zack Cerza [Fri, 11 Apr 2025 01:22:32 +0000 (19:22 -0600)]
Merge pull request #62163 from zmc/bwc-debs

Enabling containerized debian pipeline builds

3 months agomgr/dashboard: add traddr param to nvmeof cli/api endpoints 62732/head
Tomer Haskalovitch [Mon, 7 Apr 2025 09:07:22 +0000 (12:07 +0300)]
mgr/dashboard: add traddr param to nvmeof cli/api endpoints

Signed-off-by: Tomer Haskalovitch <il033030@Tomers-MBP.lan>
3 months agoMerge pull request #62626 from aainscow/have_significant_feature
Laura Flores [Thu, 10 Apr 2025 22:46:48 +0000 (17:46 -0500)]
Merge pull request #62626 from aainscow/have_significant_feature

osd: Introduce macro to police use of significant features.

3 months agocls/rbd: drop overzealous CLS_ERR message in mirror_remote_namespace_get() 62771/head
Ilya Dryomov [Thu, 10 Apr 2025 21:11:38 +0000 (23:11 +0200)]
cls/rbd: drop overzealous CLS_ERR message in mirror_remote_namespace_get()

Currently it unnecessarily floods the log of the OSD which hosts
rbd_mirroring object with "No such file or directory" errors.  Just
drop it as read_key() already logs all errors except ENOENT.

Credit to N Balachandran <nibalach@redhat.com> for spotting this.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 months agoMerge pull request #62589 from ceph/wip-yuriw-18.2.5-release.notes-main
Yuri Weinstein [Thu, 10 Apr 2025 20:41:56 +0000 (13:41 -0700)]
Merge pull request #62589 from ceph/wip-yuriw-18.2.5-release.notes-main

doc: reef 18.2.5 release notes

Reviewed-by: Laura Flores <lflores@redhat.com>
3 months agoMerge pull request #62734 from ceph/wip-yuriw-19.2.2-release.notes-main
Yuri Weinstein [Thu, 10 Apr 2025 20:06:54 +0000 (13:06 -0700)]
Merge pull request #62734 from ceph/wip-yuriw-19.2.2-release.notes-main

doc: squid 19.2.2 release notes

Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
3 months agobuildcontainer-setup.sh: Fix curl package conflict 62163/head
Zack Cerza [Thu, 10 Apr 2025 18:33:59 +0000 (12:33 -0600)]
buildcontainer-setup.sh: Fix curl package conflict

It looks like at some point the centos9 image started shipping with
curl-minimal, which conflicts with the regular curl package. Asking dnf to find
the binary avoids this, since both packages provide it. Since we were already
doing this with rpmbuild, we can go ahead and loop wget into that in case
something similar happens there.

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agobuild-with-container.py: Pass distro to make-debs
Zack Cerza [Fri, 7 Mar 2025 23:59:40 +0000 (16:59 -0700)]
build-with-container.py: Pass distro to make-debs

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agomake-debs.sh: Optionally take debian version
Zack Cerza [Fri, 7 Mar 2025 20:53:23 +0000 (13:53 -0700)]
make-debs.sh: Optionally take debian version

Our existing CI builds have names like:
  ceph-base_20.0.0-194-g6efaea33-1jammy_amd64.deb
Before this change, they are like:
  ceph-base_20.0.0-158-gb0de3a42-1_amd64.deb
This way we can pass e.g. "jammy" to end up with names compatible with our CI
builds.

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agodebian/rules: Optionally enable sccache
Zack Cerza [Thu, 6 Mar 2025 19:36:42 +0000 (12:36 -0700)]
debian/rules: Optionally enable sccache

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agodebian/rules: Disable dh_dwz if DWZ=false
Zack Cerza [Wed, 20 Nov 2024 00:45:25 +0000 (17:45 -0700)]
debian/rules: Disable dh_dwz if DWZ=false

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agomake-debs.sh: Don't use ccache if using sccache
Zack Cerza [Thu, 6 Mar 2025 18:28:07 +0000 (11:28 -0700)]
make-debs.sh: Don't use ccache if using sccache

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agobuild-with-container.py: Pass version to make-debs
Zack Cerza [Wed, 5 Mar 2025 21:47:26 +0000 (14:47 -0700)]
build-with-container.py: Pass version to make-debs

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agomake-debs.sh: Optionally avoid make-dist
Zack Cerza [Wed, 5 Mar 2025 21:40:55 +0000 (14:40 -0700)]
make-debs.sh: Optionally avoid make-dist

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agodoc: squid 19.2.2 release notes 62734/head
Yuri Weinstein [Tue, 8 Apr 2025 18:48:04 +0000 (11:48 -0700)]
doc: squid 19.2.2 release notes

https://tracker.ceph.com/issues/70822
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
3 months agoMerge pull request #62759 from bluikko/doc-prompts-ceph-volume
Anthony D'Atri [Thu, 10 Apr 2025 15:37:34 +0000 (11:37 -0400)]
Merge pull request #62759 from bluikko/doc-prompts-ceph-volume

doc/ceph-volume: Promptify commands and fix formatting

3 months agoMerge pull request #62663 from adamemerson/wip-tbb-O0
Adam Emerson [Thu, 10 Apr 2025 15:21:56 +0000 (11:21 -0400)]
Merge pull request #62663 from adamemerson/wip-tbb-O0

build: Pull TBB into `$EXTRALIBS` if it is available

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 months agoMerge pull request #62669 from adamemerson/wip-allocsim-replayer-assert
Adam Emerson [Thu, 10 Apr 2025 15:18:47 +0000 (11:18 -0400)]
Merge pull request #62669 from adamemerson/wip-allocsim-replayer-assert

test/objectstore/allocsim: Fix link error

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
3 months agoMerge pull request #62753 from gbregman/main
Gil Bregman [Thu, 10 Apr 2025 14:49:52 +0000 (17:49 +0300)]
Merge pull request #62753 from gbregman/main

mgr/cephadm/nvmeof: Add OMAP read lock parameters to NVMEoF configuration

3 months agoMerge pull request #62762 from bluikko/patch-23
Anthony D'Atri [Thu, 10 Apr 2025 14:39:05 +0000 (10:39 -0400)]
Merge pull request #62762 from bluikko/patch-23

doc/cephfs: Fix double prompts in commands in multimds.rst

3 months agodoc/cephfs: Fix double prompts in commands in multimds.rst 62762/head
Ville Ojamo [Thu, 10 Apr 2025 09:22:26 +0000 (16:22 +0700)]
doc/cephfs: Fix double prompts in commands in multimds.rst

Some example commands had double prompts: one `#`
from the `.. prompt` and after that another hardcoded
`$` character.

Remove the extra user prompt and leave only the root
prompt from the `.. prompt` block.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
3 months agodoc/ceph-volume: Promptify commands and fix formatting 62759/head
Ville Ojamo [Thu, 10 Apr 2025 08:09:11 +0000 (15:09 +0700)]
doc/ceph-volume: Promptify commands and fix formatting

Use the more modern prompt block for CLI
commands, fix missing newline and messed up
line breaks.
Also change existing prompts to all indent with
same amount of spaces.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
3 months agomgr/dashboard: add description for default Pool Application select options 62757/head
Aashish Sharma [Thu, 10 Apr 2025 06:29:36 +0000 (11:59 +0530)]
mgr/dashboard: add description for default Pool Application select options

Add a description for the default pool application values in the pool creation form i.e cephfs <-> FileSystem, rbd <-> Block, rgw <-> Object.

Fixes: https://tracker.ceph.com/issues/70866
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
3 months agoMerge pull request #62633 from cyx1231st/wip-seastore-le-map-cleanup
Yingxin Cheng [Thu, 10 Apr 2025 02:41:45 +0000 (10:41 +0800)]
Merge pull request #62633 from cyx1231st/wip-seastore-le-map-cleanup

crimson/os/seastore: cleanups related to lba and cache

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
Reviewed-by: Zhang Song <zhangsong02@qianxin.com>
3 months agoMerge pull request #62662 from adamemerson/wip-amqp-deprecation
Adam Emerson [Wed, 9 Apr 2025 20:22:24 +0000 (16:22 -0400)]
Merge pull request #62662 from adamemerson/wip-amqp-deprecation

rgw: Fix deprecated amqp includes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 months agoMerge pull request #62580 from Matan-B/wip-matanb-findboost-warning
Adam Emerson [Wed, 9 Apr 2025 20:17:09 +0000 (16:17 -0400)]
Merge pull request #62580 from Matan-B/wip-matanb-findboost-warning

cmake/modules/FindBoost.cmake: fix Boost_NO_WARN_NEW_VERSIONS

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 months agodoc/releases: fix formatting for backticks 62589/head
Laura Flores [Tue, 8 Apr 2025 15:48:02 +0000 (10:48 -0500)]
doc/releases: fix formatting for backticks

Signed-off-by: Laura Flores <lflores@ibm.com>
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
3 months agoMerge pull request #62451 from bill-scales/ec_data_structs
Yuri Weinstein [Wed, 9 Apr 2025 19:23:43 +0000 (12:23 -0700)]
Merge pull request #62451 from bill-scales/ec_data_structs

osd: EC optimizations: new types and additions to data structures

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 months agoMerge pull request #61652 from ifed01/wip-ifed-print-extra-level
Yuri Weinstein [Wed, 9 Apr 2025 19:21:16 +0000 (12:21 -0700)]
Merge pull request #61652 from ifed01/wip-ifed-print-extra-level

os/bluestore: print the first RocksDB level which doesn't fit into fast

Reviewed-by: Md Mahamudur Rahaman Sajib <mahamudur.sajib@croit.io>
3 months agomgr/cephadm/nvmeof: Add OMAP read lock parameters to NVMEoF configuration 62753/head
Gil Bregman [Wed, 9 Apr 2025 19:08:49 +0000 (22:08 +0300)]
mgr/cephadm/nvmeof: Add OMAP read lock parameters to NVMEoF configuration

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

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
3 months agoMerge pull request #57206 from clwluvw/restrict-public-buckets
Casey Bodley [Wed, 9 Apr 2025 17:47:45 +0000 (13:47 -0400)]
Merge pull request #57206 from clwluvw/restrict-public-buckets

rgw: implement RestrictPublicBuckets from PublicAccessBlock

Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 months agoMerge pull request #62538 from cbodley/wip-rgw-control-watch-par
Casey Bodley [Wed, 9 Apr 2025 17:03:19 +0000 (13:03 -0400)]
Merge pull request #62538 from cbodley/wip-rgw-control-watch-par

rgw: send concurrent watch/unwatch operations

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 months agoMerge pull request #62159 from cbodley/wip-qa-23264
Casey Bodley [Wed, 9 Apr 2025 17:03:04 +0000 (13:03 -0400)]
Merge pull request #62159 from cbodley/wip-qa-23264

qa/rgw: use storage classes for rgw/crypt

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 months agoMerge pull request #62706 from cbodley/wip-70729
Casey Bodley [Wed, 9 Apr 2025 17:02:39 +0000 (13:02 -0400)]
Merge pull request #62706 from cbodley/wip-70729

test/rgw/multisite: fix parsing of 'topic list' output

Reviewed-by: Ali Masarwa <amasarwa@redhat.com>
3 months agoMerge pull request #62686 from Cybertinus/main
Anthony D'Atri [Wed, 9 Apr 2025 14:14:01 +0000 (10:14 -0400)]
Merge pull request #62686 from Cybertinus/main

documentation:remove deprecated usage apt-key

3 months agodocumentation: Update get-packages.rst 62686/head
Cybertinus [Sat, 5 Apr 2025 10:54:26 +0000 (12:54 +0200)]
documentation: Update get-packages.rst

The usage of apt-key is deprecated, thus updated the documentation to reference the new way of installing a repo key.

Signed-off-by: Cybertinus <github@cybertinus.nl>
3 months agoMerge pull request #62727 from idryomov/wip-70831
Ilya Dryomov [Wed, 9 Apr 2025 10:58:44 +0000 (12:58 +0200)]
Merge pull request #62727 from idryomov/wip-70831

test/librbd/test_notify.py: force line-buffered output

Reviewed-by: Mykola Golub <mykola.golub@clyso.com>
Reviewed-by: Vinay Bhaskar Varada <vvarada@redhat.com>
3 months agoMerge pull request #57448 from aclamk/wip-aclamk-bs-recompression-segmented-data
Adam Kupczyk [Wed, 9 Apr 2025 09:10:23 +0000 (11:10 +0200)]
Merge pull request #57448 from aclamk/wip-aclamk-bs-recompression-segmented-data

os/bluestore: Recompression, part 3. Segmented onode.

3 months agoMerge pull request #62224 from aclamk/wip-aclamk-pere-wal-fsync
Adam Kupczyk [Wed, 9 Apr 2025 09:09:57 +0000 (11:09 +0200)]
Merge pull request #62224 from aclamk/wip-aclamk-pere-wal-fsync

os/bluestore: Fast WAL for RocksDB