]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 months agoqa/suites: wait longer before stopping OSDs with valgrind 62823/head
Nitzan Mordechai [Tue, 15 Apr 2025 12:07:17 +0000 (12:07 +0000)]
qa/suites: wait longer before stopping OSDs with valgrind

If we don’t wait long enough before stopping OSDs that run under valgrind,
some cleanup steps (like umount) might fail or be skipped.

Fixes: https://tracker.ceph.com/issues/62713
Signed-off-by: Nitzan Mordechai <nmordec@redhat.com>
2 months agoMerge pull request #63231 from rhcs-dashboard/skip-cephfs-tests
Nizamudeen A [Tue, 13 May 2025 07:08:24 +0000 (12:38 +0530)]
Merge pull request #63231 from rhcs-dashboard/skip-cephfs-tests

qa/tests: skipping test_cephfs_clients_get_after_mds_down in test_cephfs

2 months agoMerge pull request #63039 from afreen23/update-transifex-tool
afreen23 [Tue, 13 May 2025 05:25:46 +0000 (10:55 +0530)]
Merge pull request #63039 from afreen23/update-transifex-tool

mgr/dashboard: deprecate `transifex-i18ntool` and support transifex cli

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 months agoMerge pull request #63183 from ronen-fr/wip-rf-pool-max
Ronen Friedman [Tue, 13 May 2025 05:17:32 +0000 (08:17 +0300)]
Merge pull request #63183 from ronen-fr/wip-rf-pool-max

osd/scrub: fix deadline calculations

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 months agoMerge pull request #63237 from joscollin/wip-dev-doc-allign
Zac Dover [Tue, 13 May 2025 05:10:05 +0000 (15:10 +1000)]
Merge pull request #63237 from joscollin/wip-dev-doc-allign

doc: fix formatting in cephfs_mirror dev doc

Reviewed-by: Zac Dover <zac.dover@proton.me>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 months agoMerge pull request #63174 from afreen23/fix-nvme-combobox
afreen23 [Mon, 12 May 2025 19:00:11 +0000 (00:30 +0530)]
Merge pull request #63174 from afreen23/fix-nvme-combobox

mgr/dashboard: Add default state when gateway groups are empty

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
2 months agoMerge pull request #63165 from afreen23/fix-listener
afreen23 [Mon, 12 May 2025 18:53:48 +0000 (00:23 +0530)]
Merge pull request #63165 from afreen23/fix-listener

mgr/dashboard: Fix delete listener

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
2 months agoMerge pull request #63137 from athanatos/sjust/wip-vstart-crimson-pin-71096
Samuel Just [Mon, 12 May 2025 17:08:05 +0000 (10:08 -0700)]
Merge pull request #63137 from athanatos/sjust/wip-vstart-crimson-pin-71096

crimson: simplify vstart crimson-osd reactor pinning

Reviewed-by: Jose Juan Palacios-Perez <perezjos@uk.ibm.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 months agoMerge pull request #63138 from athanatos/sjust/wip-crimson-perf-defaults
Samuel Just [Mon, 12 May 2025 16:59:26 +0000 (09:59 -0700)]
Merge pull request #63138 from athanatos/sjust/wip-crimson-perf-defaults

crimson: bump defaults to be more appropriate

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 months agoMerge pull request #63215 from athanatos/sjust/wip-cancel-pglog-recovery-70337
Samuel Just [Mon, 12 May 2025 16:56:58 +0000 (09:56 -0700)]
Merge pull request #63215 from athanatos/sjust/wip-cancel-pglog-recovery-70337

crimson/osd/pg_recovery: only reset_pglog_based_recovery_op if complete

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 months agomgr/dashboard: Fix delete listener 63165/head
Afreen Misbah [Tue, 6 May 2025 14:27:03 +0000 (19:57 +0530)]
mgr/dashboard: Fix delete listener

- pass gw_group to delete API in frontend
- when more than one gw groups present delete listener failing with error message: Multiple NVMe-oF gateway groups are configured. Please specify the 'gw_group' parameter in the request.
- added missing types, i18n

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

Signed-off-by: Afreen Misbah <afreen@ibm.com>
2 months agomgr/dashboard: Add default state when gateway groups are empty 63174/head
Afreen Misbah [Thu, 8 May 2025 04:09:59 +0000 (09:39 +0530)]
mgr/dashboard: Add default state when gateway groups are empty

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

- after upgrades the nvmeof service spec does not contain `group` field
- this causes UI combobox internal errors
- checking for `group` in spec and disabling the selector

Signed-off-by: Afreen Misbah <afreen@ibm.com>
2 months agoMerge PR #62250 into main
Venky Shankar [Mon, 12 May 2025 13:02:40 +0000 (18:32 +0530)]
Merge PR #62250 into main

* refs/pull/62250/head:
qa/cephfs: increase data to be delay data sync by mirror daemon
cephfs-mirror: integrate blockdiff API for regular file transfers
mds: dout snapdiff snapid's before validation check
cephfs-mirror: current sync mechanism uses sync mechanism subclass'ing
qa: add test for syncing already existing snapshots
cephfs_mirror: avoid latest changes on the source fs to enable mirroring

Reviewed-by: Jos Collin <jcollin@redhat.com>
2 months agoMerge PR #62414 into main
Venky Shankar [Mon, 12 May 2025 13:01:14 +0000 (18:31 +0530)]
Merge PR #62414 into main

* refs/pull/62414/head:
mds: introduce BLOCKDIFF feature bit

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2 months agodoc: fix formatting in cephfs_mirror dev doc 63237/head
Jos Collin [Mon, 12 May 2025 12:42:36 +0000 (18:12 +0530)]
doc: fix formatting in cephfs_mirror dev doc

Signed-off-by: Jos Collin <jcollin@redhat.com>
2 months agoqa/tests: skipping test_cephfs_clients_get_after_mds_down in test_cephfs 63231/head
Nizamudeen A [Mon, 12 May 2025 10:02:07 +0000 (15:32 +0530)]
qa/tests: skipping test_cephfs_clients_get_after_mds_down in test_cephfs

Skipping this in all PRs except the dashboard

Fixes: https://tracker.ceph.com/issues/70791
Signed-off-by: Nizamudeen A <nia@redhat.com>
2 months agoMerge pull request #63209 from bluikko/doc-vault-cosmetic-radosgw
Zac Dover [Mon, 12 May 2025 09:11:21 +0000 (19:11 +1000)]
Merge pull request #63209 from bluikko/doc-vault-cosmetic-radosgw

doc/radosgw: Cosmetic and formatting improvements in vault.rst

Reviewed-by: Zac Dover <zac.dover@proton.me>
2 months agomgr/dashboard: deprecate `transifex-i18ntool` and support transifex cli 63039/head
Afreen Misbah [Tue, 29 Apr 2025 10:47:37 +0000 (16:17 +0530)]
mgr/dashboard: deprecate `transifex-i18ntool` and support transifex cli

- transifex-i18ntool is no longer maintained
- transifex officialy supports now a tool https://github.com/transifex/cli
- doc update

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

Signed-off-by: Afreen Misbah <afreen@ibm.com>
2 months agoMerge pull request #63175 from rhcs-dashboard/multisite-sync-status-alignment
afreen23 [Mon, 12 May 2025 07:25:04 +0000 (12:55 +0530)]
Merge pull request #63175 from rhcs-dashboard/multisite-sync-status-alignment

mgr/dashboard: Multi-site-sync-status UI distortion for status in data sync

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
2 months agodoc/radosgw: Cosmetic and formatting improvements in vault.rst 63209/head
Ville Ojamo [Fri, 9 May 2025 10:15:02 +0000 (17:15 +0700)]
doc/radosgw: Cosmetic and formatting improvements in vault.rst

Use generated "contents" instead of repeating section titles in an
ordered list.

Use Title Case for section titles.

Capitalize consistently "Ceph" and "Object Gateway", "Vault".

Use consistently all caps for acronyms.

Change one entry of "kms" to "SSE-KMS", seems obvious from the context.
Use "certificates" instead of "certs".

Use double backticks for file paths, commands, config options etc.

Improve language in one sentence, several words missing.

Call it consistently "the Object Gateway" and not sometimes "the
Gateway".

Add pre-formatted block for CLI command examples where missing (should
be promptified in the future).

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agoMerge pull request #63127 from rishabh-d-dave/vols-snappath-v1-and-legacy
Rishabh Dave [Mon, 12 May 2025 05:51:14 +0000 (11:21 +0530)]
Merge pull request #63127 from rishabh-d-dave/vols-snappath-v1-and-legacy

mgr/vol: make "snapshot getpath" cmd work with v1 and legacy

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2 months agoMerge pull request #63145 from tchaikov/no-using-std
Kefu Chai [Mon, 12 May 2025 03:59:20 +0000 (11:59 +0800)]
Merge pull request #63145 from tchaikov/no-using-std

tools/ceph_dedup: remove 'using namespace std'

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2 months agoMerge pull request #62969 from zhscn/fix-cache-lru-size-metric
Yingxin Cheng [Mon, 12 May 2025 02:02:40 +0000 (10:02 +0800)]
Merge pull request #62969 from zhscn/fix-cache-lru-size-metric

crimson/os/seastore/cache/LRU: account the empty extent when adding it to LRU

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2 months agoqa/standalone/scrub: no 'deadline' checks in osd-scrub-test.sh 63183/head
Ronen Friedman [Sun, 11 May 2025 12:22:58 +0000 (07:22 -0500)]
qa/standalone/scrub: no 'deadline' checks in osd-scrub-test.sh

As the 'deadline' attribute was removed from the scrub jobs.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 months agoosd/scrub: remove the 'deadline' attribute from the scrub job
Ronen Friedman [Sun, 11 May 2025 05:24:33 +0000 (00:24 -0500)]
osd/scrub: remove the 'deadline' attribute from the scrub job

The scrub job's 'overdue' attribute is no longer calculated -
the only 'scrub is overdue' status remaining after latest
scheduling refactor, is the one performed in PGMap.cc (the
one affecting the 'health warning' status of the cluster).
Thus - there is no longer any reason to maintain any 'deadline'
attribute for the scrub scheduler.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 months agoosd/scrub: remove the deep-scrubs deadline attribute
Ronen Friedman [Fri, 9 May 2025 12:46:26 +0000 (07:46 -0500)]
osd/scrub: remove the deep-scrubs deadline attribute

As it is no longer meaningful in the context of the new
scrub scheduling design.

The change mandates fixes to the way 'schedule-[deeps]crub'
commands are implemented. The offset to use when forcing the
last-scrub timestamp to a new value in now calculated in
ScrubJob::guaranteed_offset(), as ScrubJob is where all
schedule adjustments (which employ the same logic) are
implemented.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 months agocrimson/osd/pg_recovery: only reset_pglog_based_recovery_op if complete 63215/head
Samuel Just [Fri, 9 May 2025 16:46:48 +0000 (16:46 +0000)]
crimson/osd/pg_recovery: only reset_pglog_based_recovery_op if complete

ce4e9aaad, as part of the start_recovery_ops changed the call to
reset_pglog_based_recovery_op to occur unconditionally rather than only
if recovery has completed.

Note, this fix only restores the prior behavior.  There's actually still
a race here where a DeferRecovery could be processed between the call to
reset_pglog_based_recovery_op and the RequestBackfill or
AllReplicasRecovered being processed.

Introduced: ce4e9aaad8f2cafae24511fe1687c61dc41affc1
Related: https://tracker.ceph.com/issues/71267
Fixes: https://tracker.ceph.com/issues/70337
Signed-off-by: Samuel Just <sjust@redhat.com>
2 months agotools/ceph_dedup: remove 'using namespace std' 63145/head
Kefu Chai [Wed, 7 May 2025 01:09:00 +0000 (09:09 +0800)]
tools/ceph_dedup: remove 'using namespace std'

Remove 'using namespace std' from common.h to maintain consistent coding
practices. Although common.h is only used by ceph_dedup implementation,
keeping namespace declarations out of header files prevents potential
name conflicts and follows best practices for C++ code organization.

This change improves code clarity and reduces the risk of symbol collisions
when standard library elements are used alongside custom
implementations.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2 months agoMerge pull request #63143 from ceph/wip-retrigger-rtd2
David Galloway [Fri, 9 May 2025 13:42:50 +0000 (09:42 -0400)]
Merge pull request #63143 from ceph/wip-retrigger-rtd2

.github: Fix RTD build retrigger

2 months agoMerge pull request #63203 from bluikko/doc-archsync-ref-radosgw
Anthony D'Atri [Fri, 9 May 2025 12:29:24 +0000 (08:29 -0400)]
Merge pull request #63203 from bluikko/doc-archsync-ref-radosgw

doc/radosgw: Use ref for hyperlink in archive-sync-module.rst

2 months agoMerge pull request #63205 from bluikko/doc-group-a-ref-radosgw
Anthony D'Atri [Fri, 9 May 2025 12:26:35 +0000 (08:26 -0400)]
Merge pull request #63205 from bluikko/doc-group-a-ref-radosgw

doc/radosgw: Use ref for hyperlinks, 1st batch

2 months agoMerge pull request #63084 from zdover23/wip-doc-2025-05-01-mgr-administrator-62782...
Zac Dover [Fri, 9 May 2025 08:26:06 +0000 (18:26 +1000)]
Merge pull request #63084 from zdover23/wip-doc-2025-05-01-mgr-administrator-62782-followup

doc/mgr: edit administrator.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 months agodoc/radosgw: Use ref for hyperlinks, 1st batch 63205/head
Ville Ojamo [Fri, 9 May 2025 08:17:00 +0000 (15:17 +0700)]
doc/radosgw: Use ref for hyperlinks, 1st batch

Use validated ":ref:" hyperlinks instead of "external links" in "target
definitions" when linking within the Ceph docs:
- Add a label at beginning of referenced files if missing.
- Remove unused "target definitions".

The rendered PR should look the same as the old docs, only differing in
the source RST.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agodoc/radosgw: Use ref for hyperlink in archive-sync-module.rst 63203/head
Ville Ojamo [Fri, 9 May 2025 07:06:44 +0000 (14:06 +0700)]
doc/radosgw: Use ref for hyperlink in archive-sync-module.rst

Use validated ":ref:" hyperlinks instead of "external links" in "target
definitions" when linking within the Ceph docs.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agoMerge pull request #63173 from zdover23/wip-doc-2025-05-08-mgr-alerts-62782-followup
Zac Dover [Fri, 9 May 2025 05:25:09 +0000 (15:25 +1000)]
Merge pull request #63173 from zdover23/wip-doc-2025-05-08-mgr-alerts-62782-followup

doc/mgr: edit alerts.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 months agoMerge pull request #63172 from zdover23/wip-doc-2025-05-08-mgr-ceph-api-index-62782...
Zac Dover [Fri, 9 May 2025 05:18:42 +0000 (15:18 +1000)]
Merge pull request #63172 from zdover23/wip-doc-2025-05-08-mgr-ceph-api-index-62782-followup

doc/mgr/ceph_api: edit index.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 months agotools/contrib: remove balance_cpu and helpers 63137/head
Samuel Just [Thu, 1 May 2025 19:13:48 +0000 (19:13 +0000)]
tools/contrib: remove balance_cpu and helpers

Replaced by assign_crimson_cores.

Signed-off-by: Samuel Just <sjust@redhat.com>
2 months agovstart.sh: simplify crimson core assignment, use assign_crimson_cores.py
Samuel Just [Thu, 24 Apr 2025 22:13:04 +0000 (15:13 -0700)]
vstart.sh: simplify crimson core assignment, use assign_crimson_cores.py

This commit simplifies the internal flow in a few ways:
- core assignment is entirely handled by prep_balance_cpu and
  do_balance_cpu.  The latter simply does as the cpu_table
  instructs.
- assign_crimson_cores calls lscpu and taskset internally, no
  need for temp files.

It also changes some defaults:
- if crimson-balance-cpu is unset or set to none, crimson-osd will not
  pin cpus at all rather than using the simple sequential allocation
  scheme, which could be much less efficient on platforms where
  cpuids 0,1,2,3,... are on socket 0,1,2,3,...  "osd" and "socket"
  options provide numa aware assignments when requested.

New features:
- Alienstore cores are now assigned with assign_crimson_cores
  using the same balance strategy using
  --crimson-alien-num-cores.
- --crimson-reactor-physical-only and
  --crimson-alienstore-physical-only will cause reactor or
  alienstore cpus respectively to be allocated with one
  cpu per physical core rather than including smt siblings.

Fixes: https://tracker.ceph.com/issues/71096
Signed-off-by: Samuel Just <sjust@redhat.com>
2 months agoMerge pull request #63103 from jdurgin/wip-crimson-gen-state-diagram
Josh Durgin [Thu, 8 May 2025 22:32:01 +0000 (15:32 -0700)]
Merge pull request #63103 from jdurgin/wip-crimson-gen-state-diagram

doc/script/gen_state_diagram.py: adapt for crimson BackfillMachine

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 months agoqa/cephfs: increase data to be delay data sync by mirror daemon 62250/head
Venky Shankar [Fri, 21 Mar 2025 17:09:58 +0000 (22:39 +0530)]
qa/cephfs: increase data to be delay data sync by mirror daemon

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 months agocephfs-mirror: integrate blockdiff API for regular file transfers
Venky Shankar [Fri, 28 Feb 2025 04:57:46 +0000 (04:57 +0000)]
cephfs-mirror: integrate blockdiff API for regular file transfers

Fixes: http://tracker.ceph.com/issues/70225
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 months agomds: dout snapdiff snapid's before validation check
Venky Shankar [Wed, 12 Mar 2025 05:11:57 +0000 (05:11 +0000)]
mds: dout snapdiff snapid's before validation check

As a debug aid when the snapdiff request is erroring out.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 months agocephfs-mirror: current sync mechanism uses sync mechanism subclass'ing
Jos Collin [Thu, 30 Jan 2025 12:02:30 +0000 (17:32 +0530)]
cephfs-mirror: current sync mechanism uses sync mechanism subclass'ing

Fixes: https://tracker.ceph.com/issues/69671
Signed-off-by: Jos Collin <jcollin@redhat.com>
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 months agoqa: add test for syncing already existing snapshots
Jos Collin [Tue, 28 Jan 2025 11:07:39 +0000 (16:37 +0530)]
qa: add test for syncing already existing snapshots

Fixes: https://tracker.ceph.com/issues/68567
Signed-off-by: Jos Collin <jcollin@redhat.com>
2 months agocephfs_mirror: avoid latest changes on the source fs to enable mirroring
Jos Collin [Mon, 27 Jan 2025 12:42:34 +0000 (18:12 +0530)]
cephfs_mirror: avoid latest changes on the source fs to enable mirroring

This avoids considering latest changes from the source filesystem for
the mirroring of already existing snapshots. Thus the destination
filesystem and snapshots would be created based only on the source snapshots.
The destination fs would be a replica of the last snapshot taken.

Fixes: https://tracker.ceph.com/issues/68567
Signed-off-by: Jos Collin <jcollin@redhat.com>
2 months agomds: introduce BLOCKDIFF feature bit 62414/head
Venky Shankar [Thu, 20 Mar 2025 13:27:08 +0000 (13:27 +0000)]
mds: introduce BLOCKDIFF feature bit

Fixes: http://tracker.ceph.com/issues/70584
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 months agoMerge pull request #63126 from rhcs-dashboard/rgw-site-test-skip
Ernesto Puerta [Thu, 8 May 2025 20:48:51 +0000 (22:48 +0200)]
Merge pull request #63126 from rhcs-dashboard/rgw-site-test-skip

qa/tests: skip rgw site tests in api

2 months agocrimson: bump seastore_max_concurrent_transactions size from 8->128, clarify description 63138/head
Samuel Just [Fri, 25 Apr 2025 17:42:49 +0000 (17:42 +0000)]
crimson: bump seastore_max_concurrent_transactions size from 8->128, clarify description

Retain old value for qa coverage.

Signed-off-by: Samuel Just <sjust@redhat.com>
2 months agocrimson: bump lru size from 64M->1G, clarify description
Samuel Just [Fri, 25 Apr 2025 17:42:19 +0000 (17:42 +0000)]
crimson: bump lru size from 64M->1G, clarify description

Retain old value for qa coverage.

Signed-off-by: Samuel Just <sjust@redhat.com>
2 months agodoc/rados/operations/pools.rst: changes to scrub parameters
Ronen Friedman [Thu, 8 May 2025 14:27:16 +0000 (09:27 -0500)]
doc/rados/operations/pools.rst: changes to scrub parameters

Following Tentacle changes to the operation of the cluster/pool
options that affect the determination of the 'max allowed time
to a scrub'.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 months ago.github: Fix RTD build retrigger 63143/head
David Galloway [Tue, 6 May 2025 21:31:03 +0000 (17:31 -0400)]
.github: Fix RTD build retrigger

Fixes: https://tracker.ceph.com/issues/70430
Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agoMerge pull request #63088 from spuiuk/doc-provider
Anthony D'Atri [Thu, 8 May 2025 16:06:03 +0000 (12:06 -0400)]
Merge pull request #63088 from spuiuk/doc-provider

doc/mgr/smb: document the 'provider' option for smb share

2 months agoMerge pull request #63180 from afreen23/fix-tox
Nizamudeen A [Thu, 8 May 2025 15:37:56 +0000 (21:07 +0530)]
Merge pull request #63180 from afreen23/fix-tox

mgr/dashboard: fix make check tests

2 months agoosd/scrub: fix deadline calculations
Ronen Friedman [Thu, 8 May 2025 13:45:23 +0000 (08:45 -0500)]
osd/scrub: fix deadline calculations

The scrub scheduling deadlines are calculated based on pool and OSD
configuration parameters. The specifics of the calculations are
modified to match the new scrub scheduling design.

Comments and documentation are updated to reflect the fact that
the deadlines no longer have any meaningful effect on scrub
scheduling.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 months agodoc/mgr/smb: document the 'provider' option for smb share 63088/head
Sachin Prabhu [Thu, 1 May 2025 10:59:54 +0000 (11:59 +0100)]
doc/mgr/smb: document the 'provider' option for smb share

Signed-off-by: Sachin Prabhu <sp@spui.uk>
2 months agoMerge pull request #63090 from ceph/wip-yuriw-18.2.7-release.notes-main
Yuri Weinstein [Thu, 8 May 2025 14:19:21 +0000 (07:19 -0700)]
Merge pull request #63090 from ceph/wip-yuriw-18.2.7-release.notes-main

doc: reef 18.2.7 release notes

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 months agoMerge pull request #62745 from VallariAg/fix-2279225
Vallari Agrawal [Thu, 8 May 2025 12:16:22 +0000 (17:46 +0530)]
Merge pull request #62745 from VallariAg/fix-2279225

mgr/cephadm/module.py: Run ok_to_stop logic for stop

2 months agoqa/cephfs: use "snapshot getpath" cmd instead of constructing... 63127/head
Rishabh Dave [Tue, 6 May 2025 17:53:28 +0000 (23:23 +0530)]
qa/cephfs: use "snapshot getpath" cmd instead of constructing...

the path to a specific snapshot wherever possible.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 months agoqa/cephfs: add tests for "snapshot getpath" cmd against v1 and...
Rishabh Dave [Mon, 5 May 2025 16:45:42 +0000 (22:15 +0530)]
qa/cephfs: add tests for "snapshot getpath" cmd against v1 and...

legacy subvolumes.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 months agoMerge pull request #62815 from aclamk/aclamk-bs-debug-print-shards
Adam Kupczyk [Thu, 8 May 2025 09:05:15 +0000 (11:05 +0200)]
Merge pull request #62815 from aclamk/aclamk-bs-debug-print-shards

os/bluestore: Add printing shards to Onode::printer

2 months agomgr/dashboard: fix make check tests 63180/head
Afreen Misbah [Thu, 8 May 2025 08:53:07 +0000 (14:23 +0530)]
mgr/dashboard: fix make check tests

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

Pr are failing with errors import errors running pylint

Signed-off-by: Afreen Misbah <afreen@ibm.com>
2 months agoMerge pull request #63001 from tchaikov/librbd-tools-std-variant
Ilya Dryomov [Thu, 8 May 2025 07:15:37 +0000 (09:15 +0200)]
Merge pull request #63001 from tchaikov/librbd-tools-std-variant

librbd, tools: migrate from boost::variant to std::variant

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 months agoFixes:https://tracker.ceph.com/issues/71248 63175/head
Prachi [Thu, 8 May 2025 05:44:25 +0000 (11:14 +0530)]
Fixes:https://tracker.ceph.com/issues/71248

Signed-off-by: Prachi <prgoel@redhat.com>
Changes:
Fixes for RGW multi-site-sync-status UI distortion in data sync

2 months agodoc/mgr: edit alerts.rst 63173/head
Zac Dover [Thu, 8 May 2025 02:29:25 +0000 (12:29 +1000)]
doc/mgr: edit alerts.rst

Edit doc/mgr/alerts.rst as part of the project to determine where the
error is in https://github.com/ceph/ceph/pull/62782 that prevents the
Jenkins tests from passing.

This commit adds to the work done in
https://github.com/ceph/ceph/pull/62782 by correcting some of the
English that was present in that PR.

This is a change to one of twenty-five files in
https://github.com/ceph/ceph/pull/62782, and this commit represents one
of what will be at least twenty-five other commits made to track this
error down.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agodoc/mgr/ceph_api: edit index.rst 63172/head
Zac Dover [Thu, 8 May 2025 00:08:06 +0000 (10:08 +1000)]
doc/mgr/ceph_api: edit index.rst

Edit doc/mgr/ceph_api/index.rst as part of the project to determine
where the error is in https://github.com/ceph/ceph/pull/62782 that
prevents the Jenkins tests from passing.

This is a change to one of twenty-five files in
https://github.com/ceph/ceph/pull/62782, and this commit represents one
of what will be at least twenty-five other commits made to track this
error down.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agoMerge pull request #63171 from dmick/shut-up-do-cmake
Dan Mick [Wed, 7 May 2025 23:21:50 +0000 (16:21 -0700)]
Merge pull request #63171 from dmick/shut-up-do-cmake

do_cmake.sh: remove --progress, it's just noise

2 months agodo_cmake.sh: remove --progress, it's just noise 63171/head
Dan Mick [Wed, 7 May 2025 20:59:12 +0000 (13:59 -0700)]
do_cmake.sh: remove --progress, it's just noise

and is particularly annoying in jenkins logs

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2 months agoMerge pull request #63038 from Hezko/remove-map-collection-dec
Hezko [Wed, 7 May 2025 17:37:11 +0000 (20:37 +0300)]
Merge pull request #63038 from Hezko/remove-map-collection-dec

Remove map collection dec

2 months agoMerge pull request #63156 from bluikko/doc-frontends-cosmetic-radosgw
Anthony D'Atri [Wed, 7 May 2025 17:31:37 +0000 (13:31 -0400)]
Merge pull request #63156 from bluikko/doc-frontends-cosmetic-radosgw

doc/radosgw: Cosmetic and formatting improvements in frontends.rst

2 months agoMerge pull request #63157 from bluikko/doc-index-titlecase-radosgw
Anthony D'Atri [Wed, 7 May 2025 16:14:09 +0000 (12:14 -0400)]
Merge pull request #63157 from bluikko/doc-index-titlecase-radosgw

doc/radosgw: Use Title Case consistently in index.rst

2 months agoMerge pull request #63164 from yuvalif/wip-yuval-lua-doc
Yuval Lifshitz [Wed, 7 May 2025 16:10:33 +0000 (19:10 +0300)]
Merge pull request #63164 from yuvalif/wip-yuval-lua-doc

doc/rgw/lua: add info on luarocks package

2 months agoMerge pull request #63050 from nbalacha/wip-nbalacha-71138
Ilya Dryomov [Wed, 7 May 2025 14:48:55 +0000 (16:48 +0200)]
Merge pull request #63050 from nbalacha/wip-nbalacha-71138

cls/rbd: write image mirror status if state is CREATING

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 months agoqa/tests: skip rgw site tests in api 63126/head
Nizamudeen A [Tue, 6 May 2025 10:25:11 +0000 (15:55 +0530)]
qa/tests: skip rgw site tests in api

Failure in https://jenkins.ceph.com/job/ceph-api/95185/

```
dashboard.rest_client.RequestException: RGW REST API GET timed out after 45 seconds (url=http://172.21.5.32:8000/admin/realm?list).
```

Signed-off-by: Nizamudeen A <nia@redhat.com>
2 months agodoc/rgw/lua: add info on luarocks package 63164/head
Yuval Lifshitz [Wed, 7 May 2025 10:10:56 +0000 (10:10 +0000)]
doc/rgw/lua: add info on luarocks package

* remove duplicate contexts
* trim trailing spaces

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
2 months agodoc/radosgw: Cosmetic and formatting improvements in frontends.rst 63156/head
Ville Ojamo [Wed, 7 May 2025 08:15:32 +0000 (15:15 +0700)]
doc/radosgw: Cosmetic and formatting improvements in frontends.rst

Capitalize terms like IPv4, SSL, URI consistently.

Title case for "Ceph Monitor".

Fix "Nagel" to "Nagle".

Use inline code consistently in references to configuration values and
reference to "beast" front-end.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agolibrbd, tools: migrate from boost::variant to std::variant 63001/head
Kefu Chai [Wed, 7 May 2025 00:42:52 +0000 (08:42 +0800)]
librbd, tools: migrate from boost::variant to std::variant

Complete migration started in commit 017f333, replacing boost::variant with
std::variant throughout the librbd codebase. This change is part of our ongoing
effort to reduce third-party dependencies by leveraging C++ standard library
alternatives where possible.

Benefits include:
- Improved code readability and maintainability
- Reduced external dependency surface
- More consistent API usage with other components

Implementation note: Unlike Boost.variant, std::variant lacks built-in
operator<< support. This commit implements the necessary operator<< for
AttributeValue, our specific std::variant instantiation, to preserve the
existing behavior.

Also, despite that `apply_visit()` calls can be replaced with `visit()`
without being qualified with `std::` because of ADL, we are taking this
opportunity to adding the `std::` prefix for better readability.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2 months agotools/contrib: add assign_crimson_cores as a more general replacement for balance_cpu
Samuel Just [Tue, 29 Apr 2025 01:53:11 +0000 (01:53 +0000)]
tools/contrib: add assign_crimson_cores as a more general replacement for balance_cpu

Improvements:
- shorter
- has tests
- uses lscpu -e --json to get logical<->physical mappings and avoid
  needing to parse cpu ranges in lscpu --json
- supports allocating alienstore threads
- supports requiring physical cores only independently for alienstore
  and seastar reactors

Signed-off-by: Samuel Just <sjust@redhat.com>
2 months agoMerge pull request #63139 from anthonyeleven/icu
Zac Dover [Wed, 7 May 2025 01:13:00 +0000 (11:13 +1000)]
Merge pull request #63139 from anthonyeleven/icu

doc/cephadm: Correct formatting in upgrade.rst

Reviewed-by: Zac Dover <zac.dover@proton.me>
2 months agodoc/releases: format bullet points 63090/head
Laura Flores [Fri, 2 May 2025 20:07:18 +0000 (15:07 -0500)]
doc/releases: format bullet points

Signed-off-by: Laura Flores <lflores@ibm.com>
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2 months agodoc/cephadm: Correct formatting in upgrade.rst 63139/head
Anthony D'Atri [Tue, 6 May 2025 16:42:18 +0000 (12:42 -0400)]
doc/cephadm: Correct formatting in upgrade.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2 months agoqa/cephfs: add a helper method to construct the snapshot path
Rishabh Dave [Tue, 6 May 2025 12:05:34 +0000 (17:35 +0530)]
qa/cephfs: add a helper method to construct the snapshot path

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 months agoqa/cephfs: move tests for "snapshot getpath" cmd to a separate class
Rishabh Dave [Mon, 5 May 2025 16:38:19 +0000 (22:08 +0530)]
qa/cephfs: move tests for "snapshot getpath" cmd to a separate class

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 months agoMerge pull request #57789 from ifed01/wip-ifed-non-spatial-alloc 62862/head
Igor Fedotov [Tue, 6 May 2025 13:07:54 +0000 (16:07 +0300)]
Merge pull request #57789 from ifed01/wip-ifed-non-spatial-alloc

os/bluestore: introduce device type specific allocation policy

Reviewed-by: Mark Nelson <mark.a.nelson@gmail.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2 months agoMerge pull request #53989 from mchangir/mds-handle-bad-arguments-during-subvolume...
Rishabh Dave [Tue, 6 May 2025 12:35:21 +0000 (18:05 +0530)]
Merge pull request #53989 from mchangir/mds-handle-bad-arguments-during-subvolume-create-2

mgr/volumes: handle bad arguments during subvolume create

Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 months agoMerge pull request #62709 from kshtsk/wip-another-brxnet-by-default
Venky Shankar [Tue, 6 May 2025 12:07:29 +0000 (13:07 +0100)]
Merge pull request #62709 from kshtsk/wip-another-brxnet-by-default

tasks/cephfs/mount: use 192.168.144.0.0/20 for brxnet

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 months agoMerge pull request #62847 from Matan-B/wip-matanb-crimson-do_recovery
Matan Breizman [Tue, 6 May 2025 07:29:06 +0000 (10:29 +0300)]
Merge pull request #62847 from Matan-B/wip-matanb-crimson-do_recovery

crimson/osd/pg_recovery: rework start_recovery_ops

Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
2 months agoMerge pull request #62947 from VallariAg/fix-nvmeof-limit-alerts
Vallari Agrawal [Tue, 6 May 2025 06:57:44 +0000 (12:27 +0530)]
Merge pull request #62947 from VallariAg/fix-nvmeof-limit-alerts

monitoring: Fix NVMeoF subsys/namespace limit alerts

2 months agoMerge pull request #62516 from mkogan1/wip-d3n-long-cache-ident
Mark Kogan [Mon, 5 May 2025 18:32:09 +0000 (21:32 +0300)]
Merge pull request #62516 from mkogan1/wip-d3n-long-cache-ident

rgw/d3n: store cached objects using hash digest

2 months agoMerge pull request #63112 from ceph/wip-yuriw-build-script
Yuri Weinstein [Mon, 5 May 2025 18:05:13 +0000 (11:05 -0700)]
Merge pull request #63112 from ceph/wip-yuriw-build-script

qa/tests: added "tentacle" option

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2 months agoMerge pull request #62398 from AliMasarweh/wip-alimasa-rgw-standalone-zone
Casey Bodley [Mon, 5 May 2025 16:02:29 +0000 (12:02 -0400)]
Merge pull request #62398 from AliMasarweh/wip-alimasa-rgw-standalone-zone

RGW/standalone: refactor rgw_zone.h with configstore

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2 months agoMerge pull request #62891 from ShwetaBhosale1/fix_issue_70985_nfs_add_vip_in_HAProxy_...
Adam King [Mon, 5 May 2025 15:08:28 +0000 (11:08 -0400)]
Merge pull request #62891 from ShwetaBhosale1/fix_issue_70985_nfs_add_vip_in_HAProxy_Hosts_list

mgr/nfs: Add VIP to HAProxy_Hosts list for ingress type haproxy-protocol

Reviewed-by: Adam King <adking@redhat.com>
2 months agoMerge pull request #62848 from ShwetaBhosale1/fix_issue_70950_add_command_to_stop_hos...
Adam King [Mon, 5 May 2025 15:05:37 +0000 (11:05 -0400)]
Merge pull request #62848 from ShwetaBhosale1/fix_issue_70950_add_command_to_stop_host_drain

mgr/cephadm: Add command to stop host drain

Reviewed-by: Adam King <adking@redhat.com>
2 months agoMerge pull request #62755 from adk3798/cephadm-upgrade-smb
Adam King [Mon, 5 May 2025 15:00:13 +0000 (11:00 -0400)]
Merge pull request #62755 from adk3798/cephadm-upgrade-smb

mgr/cephadm: add smb to upgrade order

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 months agoMerge pull request #62718 from adk3798/nfs-export-parse-systype
Adam King [Mon, 5 May 2025 14:52:46 +0000 (10:52 -0400)]
Merge pull request #62718 from adk3798/nfs-export-parse-systype

mgr/nfs: make sure sectype is a list when parsed

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 months agoMerge pull request #62585 from adk3798/block-nvmeof-deployment-all-groups
Adam King [Mon, 5 May 2025 14:49:12 +0000 (10:49 -0400)]
Merge pull request #62585 from adk3798/block-nvmeof-deployment-all-groups

mgr/cephadm: block deploying nvmeof daemons on the same host

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 months agoqa/tests: added "tentacle" option 63112/head
Yuri Weinstein [Mon, 5 May 2025 14:47:05 +0000 (07:47 -0700)]
qa/tests: added "tentacle" option

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2 months agoMerge pull request #62743 from cloudbehl/pool_metadata
Adam King [Mon, 5 May 2025 14:43:55 +0000 (10:43 -0400)]
Merge pull request #62743 from cloudbehl/pool_metadata

mgr/dashboard: Added application label to pool_metadata query

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anmol Babu <anmolbudugutta@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 months agoMerge pull request #62638 from rishabh-d-dave/vols-path-gone-missing
Rishabh Dave [Mon, 5 May 2025 11:37:00 +0000 (17:07 +0530)]
Merge pull request #62638 from rishabh-d-dave/vols-path-gone-missing

mgr/vol: some improvements for stats_util.py and async_cloner.py

Reviewed-by: Milind Changire <mchangir@redhat.com>
2 months agoMerge pull request #63093 from ronen-fr/wip-rf-restrictions
Ronen Friedman [Mon, 5 May 2025 07:26:24 +0000 (10:26 +0300)]
Merge pull request #63093 from ronen-fr/wip-rf-restrictions

osd/scrub: check all(*) conditions in restrictions_on_scrubbing()

Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
2 months agocrimson/osd: Logging fixes 62847/head
Matan Breizman [Sun, 4 May 2025 14:22:38 +0000 (14:22 +0000)]
crimson/osd: Logging fixes

* Fix "failed to log message"
* PGRecovery move to new logging macro
* PGRecovery to print pg prefix as it's impossible to debug specific pg
  recovery ops without it.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>