]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 days agoMerge pull request #66184 from imran-imtiaz/dashboard
Imran Imtiaz [Wed, 12 Nov 2025 13:59:22 +0000 (13:59 +0000)]
Merge pull request #66184 from imran-imtiaz/dashboard

mgr/dashboard: add API endpoint to list consistency groups

3 days agoMerge pull request #66198 from kshtsk/wip-update-keystone-stable-branch
kyr [Wed, 12 Nov 2025 11:53:05 +0000 (12:53 +0100)]
Merge pull request #66198 from kshtsk/wip-update-keystone-stable-branch

rgw: update keystone repo stable branch to 2024.2

3 days agomgr/dashboard: add API endpoint to list consistency groups 66184/head
Imran Imtiaz [Mon, 10 Nov 2025 12:47:33 +0000 (12:47 +0000)]
mgr/dashboard: add API endpoint to list consistency groups

mgr/dashboard: incorporate review comments fo groups API endpoint

Fixes: https://tracker.ceph.com/issues/73689
Signed-off-by: Imran Imtiaz <imran.imtiaz@uk.ibm.com>
3 days agoMerge pull request #66182 from rhcs-dashboard/73769-fix-warning-icon-color
afreen23 [Wed, 12 Nov 2025 09:18:33 +0000 (14:48 +0530)]
Merge pull request #66182 from rhcs-dashboard/73769-fix-warning-icon-color

mgr/dashboard : Fixed warning icon colour issue with carbon colour

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
4 days agoMerge pull request #66213 from rishabh-d-dave/doc-fs-vols-pause
bluikko [Wed, 12 Nov 2025 07:07:23 +0000 (14:07 +0700)]
Merge pull request #66213 from rishabh-d-dave/doc-fs-vols-pause

doc/cephfs: fix docs for pause_purging and pause_cloning

4 days agodoc/cephfs: fix doc for config option pause_cloning 66213/head
Rishabh Dave [Wed, 12 Nov 2025 06:47:05 +0000 (12:17 +0530)]
doc/cephfs: fix doc for config option pause_cloning

Fixes: https://tracker.ceph.com/issues/73811
Signed-off-by: Rishabh Dave <ridave@redhat.com>
4 days agodoc/cephfs: fix doc for pause_purging config option
Rishabh Dave [Wed, 12 Nov 2025 06:45:53 +0000 (12:15 +0530)]
doc/cephfs: fix doc for pause_purging config option

Fixes: https://tracker.ceph.com/issues/73811
Signed-off-by: Rishabh Dave <ridave@redhat.com>
4 days agoMerge pull request #66119 from rhcs-dashboard/fix-73708-main
Aashish Sharma [Wed, 12 Nov 2025 05:50:48 +0000 (11:20 +0530)]
Merge pull request #66119 from rhcs-dashboard/fix-73708-main

mgr/dashboard: allow deletion of non-default zone and zonegroup

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
4 days agoMerge pull request #65981 from rhcs-dashboard/disconnected-grafana
Nizamudeen A [Wed, 12 Nov 2025 04:47:11 +0000 (10:17 +0530)]
Merge pull request #65981 from rhcs-dashboard/disconnected-grafana

mgr/cephadm: update grafana conf for disconnected environment

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
4 days agoMerge pull request #66187 from tchaikov/dashboard-e2-test
Nizamudeen A [Wed, 12 Nov 2025 03:14:37 +0000 (08:44 +0530)]
Merge pull request #66187 from tchaikov/dashboard-e2-test

mgr/dashboard: fix Physical Disks identify test race condition

Reviewed-by: Nizamudeen A <nia@redhat.com>
4 days agorgw: update keystone repo stable branch to 2024.2 66198/head
Kyr Shatskyy [Tue, 11 Nov 2025 12:55:39 +0000 (13:55 +0100)]
rgw: update keystone repo stable branch to 2024.2

The stable/2024.1 is gone from the github repo:

  https://github.com/openstack/keystone.git

Fixes: https://tracker.ceph.com/issues/73800
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
4 days agoMerge pull request #66192 from ronen-fr/wip-rf-just-mode-fix
Ronen Friedman [Tue, 11 Nov 2025 17:32:44 +0000 (19:32 +0200)]
Merge pull request #66192 from ronen-fr/wip-rf-just-mode-fix

common: ModeCollector: missing bits

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 days agoMerge pull request #64715 from Matan-B/wip-matanb-crimson-qa-clusters
Matan Breizman [Tue, 11 Nov 2025 14:54:12 +0000 (16:54 +0200)]
Merge pull request #64715 from Matan-B/wip-matanb-crimson-qa-clusters

qa/suites/crimson-rados: Enable Seastore Thrash tests (w/ Recovery)

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
4 days agoMerge pull request #66041 from rkachach/fix_issue_73625
Adam King [Tue, 11 Nov 2025 14:14:54 +0000 (09:14 -0500)]
Merge pull request #66041 from rkachach/fix_issue_73625

mgr/cephadm: add tombstones to persist certs info after mgr failover

Reviewed-by: Adam King <adking@redhat.com>
4 days agoMerge pull request #66110 from yuvalif/wip-yuval-73675
Yuval Lifshitz [Tue, 11 Nov 2025 11:39:52 +0000 (13:39 +0200)]
Merge pull request #66110 from yuvalif/wip-yuval-73675

rgw/logging: fix source bucket cleanup process

4 days agomgr/dashboard: allow deletion of non-default zone and zonegroup 66119/head
Aashish Sharma [Tue, 4 Nov 2025 08:49:03 +0000 (14:19 +0530)]
mgr/dashboard: allow deletion of non-default zone and zonegroup

Fixes: https://tracker.ceph.com/issues/73708
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
4 days agomgr/dashboard: fix Physical Disks identify test race condition 66187/head
Kefu Chai [Mon, 10 Nov 2025 15:01:32 +0000 (23:01 +0800)]
mgr/dashboard: fix Physical Disks identify test race condition

Fix a regression in the Physical Disks identify device e2e test that
causes intermittent timeouts when attempting to click the "Identify"
button.

Problem:
The test was timing out after 120 seconds while attempting to click
the "Identify" button, which remained in a disabled state. This
manifested as a race condition where the test would try to click the
button before it became enabled.

Root Cause (Regression Analysis):
This regression was introduced in commit 94418d90d2b ("mgr/dashboard:
fix UI modal issues", Sept 9, 2024) which aimed to fix the Physical
Disks Identify modal not opening (tracker.ceph.com/issues/67547).

While that commit successfully:
- Migrated from cd-modal to cds-modal (Carbon Design System)
- Changed button selector to use data-testid="primary-action"
- Added the e2e test to prevent future regressions

It inadvertently introduced a timing issue by not adding proper wait
logic for the button to become enabled. The commit also modified the
table-actions component to conditionally render the primary action
button based on tableActions.length > 0, which can cause the button
to be disabled while table actions are still loading.

Solution:
Add .should('not.be.disabled') before .click() to ensure Cypress waits
for the button to become enabled before attempting to interact with it.
This follows the established pattern used elsewhere in the codebase
(see page-helper.po.ts:319).

Impact:
- Fixes Jenkins build failures in ceph-dashboard-cephadm-e2e job
- Observed in build #18956 as "Regression - Failing for 1 build"
- Jenkins metrics show MTTF of ~2 hours, indicating this race
  condition occurs frequently enough to cause CI instability

Fixes: https://jenkins.ceph.com/job/ceph-dashboard-cephadm-e2e/18956/testReport/
Signed-off-by: Kefu Chai <k.chai@proxmox.com>
4 days agoMerge pull request #66067 from galsalomon66/s3select-csv-initialize-variables-on...
Gal Salomon [Tue, 11 Nov 2025 08:56:41 +0000 (10:56 +0200)]
Merge pull request #66067 from galsalomon66/s3select-csv-initialize-variables-on-construction

RGW/s3select : variables initialization

4 days agoMerge pull request #62830 from thotz/radosgw-admin-cli-restore-list-status
Soumya Koduri [Tue, 11 Nov 2025 08:31:50 +0000 (14:01 +0530)]
Merge pull request #62830 from thotz/radosgw-admin-cli-restore-list-status

rgw/cloud-restore: admin CLI for restore list and status

Reviewed-by: Soumya Koduri <skoduri@redhat.com>
4 days agoMerge pull request #66038 from soumyakoduri/wip-skoduri-loc-constraint
Soumya Koduri [Tue, 11 Nov 2025 08:29:59 +0000 (13:59 +0530)]
Merge pull request #66038 from soumyakoduri/wip-skoduri-loc-constraint

rgw/cloud-transition: Include LocationConstraint while transitioning data to AWS non-default regions

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 days agoMerge pull request #66191 from idryomov/wip-rbd-valgrind-os-type
Ilya Dryomov [Tue, 11 Nov 2025 08:15:31 +0000 (09:15 +0100)]
Merge pull request #66191 from idryomov/wip-rbd-valgrind-os-type

qa/suites/rbd/valgrind: don't hardcode os_type in memcheck.yaml

Reviewed-by: Miki Patel <miki.patel132@gmail.com>
5 days agoMerge pull request #65023 from soumyakoduri/wip-skoduri-restore-notification
Yuval Lifshitz [Tue, 11 Nov 2025 07:12:55 +0000 (09:12 +0200)]
Merge pull request #65023 from soumyakoduri/wip-skoduri-restore-notification

rgw/restore: Add notifications for restore events

5 days agoMerge pull request #63353 from VallariAg/wip-vallari-nvmeof-ceph-exporter
Vallari Agrawal [Tue, 11 Nov 2025 06:45:56 +0000 (12:15 +0530)]
Merge pull request #63353 from VallariAg/wip-vallari-nvmeof-ceph-exporter

monitoring: fix "Total gateway" and "Ceph Health NVMeoF WARNING" grafana graphs

5 days agocommon: ModeCollector: missing bits 66192/head
Ronen Friedman [Mon, 10 Nov 2025 23:10:27 +0000 (17:10 -0600)]
common: ModeCollector: missing bits

that were left out by mistake in the previous commit.

(the previous commit: 3efcdbf92fb29932d17e7ddca49bf6a9105bb3aa)

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
5 days agoMerge pull request #65716 from ronen-fr/wip-rf-just-mode
Ronen Friedman [Mon, 10 Nov 2025 22:50:54 +0000 (14:50 -0800)]
Merge pull request #65716 from ronen-fr/wip-rf-just-mode

common: ModeCollector: locating the value of the mode

Reviewed-by: Alex Ainscow <aainscow@uk.ibm.com>
5 days agoqa/suites/rbd/valgrind: don't hardcode os_type in memcheck.yaml 66191/head
Ilya Dryomov [Mon, 10 Nov 2025 19:43:59 +0000 (20:43 +0100)]
qa/suites/rbd/valgrind: don't hardcode os_type in memcheck.yaml

The entire subsuite is pinned by centos_latest.yaml symlink, so the
stanza in memcheck.yaml is redundant.  Removing it allows to experiment
with other distros just through varying the symlink target.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
5 days agoMerge pull request #65780 from ronen-fr/wip-rf-fastrolls
Ronen Friedman [Mon, 10 Nov 2025 19:11:05 +0000 (11:11 -0800)]
Merge pull request #65780 from ronen-fr/wip-rf-fastrolls

osd/scrub: scanning the rollbacks not mandating a reschedule

Reviewed-by: Samuel Just <sjust@redhat.com>
5 days agoMerge pull request #65014 from MaxKellermann/mgr_mon_osdc__references
Max Kellermann [Mon, 10 Nov 2025 17:49:50 +0000 (18:49 +0100)]
Merge pull request #65014 from MaxKellermann/mgr_mon_osdc__references

mgr, mon, osdc: pass complex parameters by rvalue reference

Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-By: J. Eric Ivancich <ivancich@redhat.com>
5 days agocommon: ModeCollector: locating the value of the mode 65716/head
Ronen Friedman [Mon, 29 Sep 2025 07:16:13 +0000 (02:16 -0500)]
common: ModeCollector: locating the value of the mode

The ModeCollector class is used to collect values
of some type 'key', each associated with some object
identified by an 'ID'. The collector reports the 'mode'
value - the value associated with the largest number
of distinct IDs.

The results structure returned by the collector specifies
one of three possible mode_status_t values:

- no_mode_value - No clear victory for any value

- mode_value - we have a winner, but it has less than half of the
  samples

- authorative_value - more than half of the samples are of the same
  value

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
5 days agoMerge pull request #66137 from ljflores/wip-fix-rados-task
Laura Flores [Mon, 10 Nov 2025 15:56:58 +0000 (09:56 -0600)]
Merge pull request #66137 from ljflores/wip-fix-rados-task

qa/tasks: make the cephadm and vstart_runner tasks aware of watchdog

5 days agoosd/scrub: scanning the rollbacks not mandating a reschedule 65780/head
Ronen Friedman [Sat, 4 Oct 2025 16:58:40 +0000 (11:58 -0500)]
osd/scrub: scanning the rollbacks not mandating a reschedule

The scrubber calls PG::_scan_rollback_obs() to clean up obsolete
rollback objects. This function may queue a transaction to
delete such objects.

The commit modifies the scrubber, so that no rescheduling of
the scrub is mandated if no transaction was queued.

Fixes: https://tracker.ceph.com/issues/73773
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
5 days agorgw/logging: deleteting the object holding the temp object name on cleanup 66110/head
Yuval Lifshitz [Mon, 3 Nov 2025 11:20:07 +0000 (11:20 +0000)]
rgw/logging: deleteting the object holding the temp object name on cleanup

* in case of prefix per source this would prevent leaking this object
* in case of share prefix, it would prevent data loss when other source
buckets will try to commit an already comitted temporary object
* when updatign the "last committed" attribute, the object must exist.
  this is so that commit without rollover (in case of cleanup) won't
  recreate the deleted object
* some refactoring of try-catch code to have less nesting

Fixes: https://tracker.ceph.com/issues/73675
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
5 days agoinitializing of enable_progress length_before_processing length_post_processing... 66067/head
galsalomon66 [Mon, 27 Oct 2025 17:25:58 +0000 (17:25 +0000)]
initializing of  enable_progress length_before_processing length_post_processing on construction.
these variable are getting initialized on s3select/CSV flow, no valgrind local run had discovered any issue related to these variables.
valgrind reports produced by teuthology points on run_s3select_on_csv to contain UninitCondition warning. sometimes.

Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
5 days agoqa/suites/crimson-rados/perf: use fixed-1 and ignorelist 64715/head
Matan Breizman [Mon, 10 Nov 2025 09:59:33 +0000 (09:59 +0000)]
qa/suites/crimson-rados/perf: use fixed-1 and ignorelist

crimson-rados/perf/clusters used fixed-2 though only a single node
was used.

To preserve the current behavior:
* move to the correct fixed-1 definition
* introduce ignorelist yaml as previously included in
  perf/clusters

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
6 days agoMerge pull request #66144 from rhcs-dashboard/fix-health-check-alert-msg
afreen23 [Mon, 10 Nov 2025 07:40:27 +0000 (13:10 +0530)]
Merge pull request #66144 from rhcs-dashboard/fix-health-check-alert-msg

mgr/dashboard: fix upgrade's cluster alerts popover

Reviewed-by: Afreen Misbah <afreen@ibm.com>
6 days agoMerge pull request #65972 from rhcs-dashboard/carbonized-service-realm-zonegroup
afreen23 [Mon, 10 Nov 2025 07:34:00 +0000 (13:04 +0530)]
Merge pull request #65972 from rhcs-dashboard/carbonized-service-realm-zonegroup

mgr/dashboard: Carbonize Administration module > Create Realm/Zone group/zone

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
6 days agomgr/dashboard : Fixed warning icon colour issue with carbon colour 66182/head
Abhishek Desai [Mon, 10 Nov 2025 06:10:34 +0000 (11:40 +0530)]
mgr/dashboard : Fixed warning icon colour issue with carbon colour
fixes : https://tracker.ceph.com/issues/73769
Signed-off-by: Abhishek Desai <abhishek.desai1@ibm.com>
6 days agoqa/suites/crimson-rados-experimental: Test recovery thrash test
Matan Breizman [Wed, 22 Oct 2025 13:48:08 +0000 (13:48 +0000)]
qa/suites/crimson-rados-experimental: Test recovery thrash test

https://tracker.ceph.com/issues/67446 is merged, We should be able
to start testing Seastore similar to `crimson-rados/thrash` suite which
uses ceph_test_rados and rados bench.
crimson-rados-experimental is a copy of crimson-rados thrash with only
objectstore changes.
Once the experimental suite is ready, we could add seastore to
crimson-rados/thrash and remove crimson-rados/thrash_seastore_* variants.

See: https://tracker.ceph.com/issues/71237

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
6 days agoqa/suites/crimson-rados: rename thrash_simple to thrash_seastore_simple
Matan Breizman [Wed, 22 Oct 2025 14:02:36 +0000 (14:02 +0000)]
qa/suites/crimson-rados: rename thrash_simple to thrash_seastore_simple

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
6 days agoqa/suites/crimson-rados: run simple_thrash only with seastore
Matan Breizman [Wed, 22 Oct 2025 13:57:02 +0000 (13:57 +0000)]
qa/suites/crimson-rados: run simple_thrash only with seastore

Bluestore already runs thrash/default

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
6 days agoqa/tasks/admin_socket: fix ceph-ci/main usage
Matan Breizman [Thu, 16 Oct 2025 08:50:30 +0000 (08:50 +0000)]
qa/tasks/admin_socket: fix ceph-ci/main usage

When scheduling jobs with --sha1 instead of -c. The ceph-ci
branch used is 'main'. However, ceph-ci doesn't actually have
a main branch - Instead use ceph.git main branch.

```
Command failed on smithi116 with status 8: "wget -q -O
/home/ubuntu/cephtest/admin_socket_client.0/objecter_requests --
'http://git.ceph.com/?p=ceph-ci.git;a=blob_plain;f=src/test/admin_socket/objecter_requests;hb=main' && chmod u=rx -- /home/ubuntu/cephtest/admin_socket_client.0/objecter_requests"
```

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
6 days agoqa/suites/crimson-rados/obejctstore_tool: disable rbm
Matan Breizman [Thu, 16 Oct 2025 09:11:30 +0000 (09:11 +0000)]
qa/suites/crimson-rados/obejctstore_tool: disable rbm

as rbm is not yet supported in with the tool. Disable it
properly.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
6 days agoqa/objectstore/crimson/seastore: add 2q cache type
Matan Breizman [Wed, 30 Jul 2025 08:36:49 +0000 (08:36 +0000)]
qa/objectstore/crimson/seastore: add 2q cache type

The directories which symlink to the common crimson objectstore
will now also use 2q/lru randomly.

Fixes: https://tracker.ceph.com/issues/72302
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
6 days agoqa/suites/crimson-rados: restructure objectstore dir
Matan Breizman [Wed, 30 Jul 2025 08:30:03 +0000 (08:30 +0000)]
qa/suites/crimson-rados: restructure objectstore dir

This is a preperation step for addind new backend options
testing (e.g caching type)

* move crimson's objectstore yamls from qa/config to
  qa/objectstore/crimson
* Use the entire qa/objectstore/crimson where possible
  instead of symlinking each backend definition

See:
```
├── objectstore_tool
│   ├── clusters
│   ├── crimson-supported-all-distro ->
.qa/distros/crimson-supported-all-distro/
│   ├── deploy
│   ├── objectstore
│   └── tasks
├── perf
│   ├── clusters
│   ├── crimson-supported-all-distro ->
.qa/distros/crimson-supported-all-distro/
│   ├── deploy
│   ├── objectstore -> .qa/objectstore/crimson
│   ├── settings
│   └── workloads
├── rbd
│   ├── clusters
│   ├── crimson-supported-all-distro ->
.qa/distros/crimson-supported-all-distro/
│   ├── deploy
│   ├── objectstore -> .qa/objectstore/crimson
│   └── tasks
├── singleton
│   ├── all
│   ├── crimson-supported-all-distro ->
.qa/distros/crimson-supported-all-distro/
│   └── objectstore -> .qa/objectstore/crimson
├── thrash
│   ├── 0-size-min-size-overrides
│   ├── 1-pg-log-overrides
│   ├── 2-recovery-overrides
│   ├── clusters
│   ├── crimson-supported-all-distro ->
.qa/distros/crimson-supported-all-distro/
│   ├── deploy
│   ├── objectstore
│   ├── thrashers
│   └── workloads
````

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
6 days agoqa/suites/crimson-rados: update clusters dir
Matan Breizman [Mon, 28 Jul 2025 09:54:54 +0000 (09:54 +0000)]
qa/suites/crimson-rados: update clusters dir

* Introduce qa/clusters/crimson
  4 deployment clusters (1/2/3/4 nodes) options same as classic.

* Symlink all cluster dirs to the common dir above
  For now keep using only 1/2, we could add 3/4 later on.

* Move to "crimson cpu num" instead of specifying
  "crimson cpu set" set.
  - We expect users to mostly use this option for deploying
    clusters, so use this as testing default.

* remove "crimson bluestore cpu set" which is responsible for
  cpu pinning exclusiveness in seastar/alien cores.

* ignore "for optimal performance" cluster warning now that we
  no longer pin cpus for testing.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
8 days agoMerge pull request #65983 from bluikko/src-rgw-yaml-formatting-radosgw
bluikko [Sat, 8 Nov 2025 04:20:09 +0000 (11:20 +0700)]
Merge pull request #65983 from bluikko/src-rgw-yaml-formatting-radosgw

src/common: Fix text formatting in options/rgw.yaml.in

8 days agoMerge pull request #66172 from idryomov/wip-doc-clone-settings
Ilya Dryomov [Fri, 7 Nov 2025 22:53:39 +0000 (23:53 +0100)]
Merge pull request #66172 from idryomov/wip-doc-clone-settings

doc/rbd/rbd-config-ref: add clone settings section

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
8 days agodoc/rbd/rbd-config-ref: add clone settings section 66172/head
Ilya Dryomov [Fri, 7 Nov 2025 19:05:22 +0000 (20:05 +0100)]
doc/rbd/rbd-config-ref: add clone settings section

Expose rbd_default_clone_format option which has a fairly comprehensive
description (much more verbose than most other options, anyway).  This
should help with understanding the difference between clone v1 and v2.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 days agosrc/common: Fix formatting in options/rgw.yaml.in 65983/head
Ville Ojamo [Fri, 17 Oct 2025 06:42:57 +0000 (13:42 +0700)]
src/common: Fix formatting in options/rgw.yaml.in

Fix single backticks to double backticks to properly end the inline
preformatted formatting. Fixes the formatting overflowing until the next
occurrence of double backticks seen in rendered docs, URL:
https://docs.ceph.com/en/latest/radosgw/config-ref/#confval-rgw_scheduler_type

Add full stops that seemed to be missing in desc attribute.
Use singular word "value" in desc attribute when there's only one
possible other value.

Remove unnecessary "the".

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
8 days agoMerge pull request #65795 from cbodley/wip-cmake-rgw-posix-dbstore
Casey Bodley [Fri, 7 Nov 2025 14:14:47 +0000 (09:14 -0500)]
Merge pull request #65795 from cbodley/wip-cmake-rgw-posix-dbstore

cmake/rgw: WITH_RADOSGW_POSIX depends on WITH_RADOSGW_DBSTORE

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
8 days agoMerge pull request #66159 from rhcs-dashboard/73753-about-component-close-modal-tooltip
Nizamudeen A [Fri, 7 Nov 2025 11:33:30 +0000 (17:03 +0530)]
Merge pull request #66159 from rhcs-dashboard/73753-about-component-close-modal-tooltip

mgr/dashboard : fix - about model tooltip issue

Reviewed-by: Nizamudeen A <nia@redhat.com>
9 days agomgr/dashboard : fix - about model tooltip issue 66159/head
Devika Babrekar [Fri, 7 Nov 2025 06:51:37 +0000 (12:21 +0530)]
mgr/dashboard : fix - about model tooltip issue
fixes : https://tracker.ceph.com/issues/73753
Signed-off-by: Devika Babrekar <devika.babrekar@ibm.com>
9 days agoqa/tasks: make the cephadm and vstart_runner tasks aware of watchdog 66137/head
Laura Flores [Tue, 4 Nov 2025 21:10:42 +0000 (15:10 -0600)]
qa/tasks: make the cephadm and vstart_runner tasks aware of watchdog

The WatchedProcesses class was added in https://github.com/ceph/ceph/pull/64889/commits
to help the DaemonWatchdog montior processes. In https://github.com/ceph/ceph/pull/64889/commits/7ee026be4e7ef07502507dfb7975c74bc8c85fc5,
an attribute 'watched_processes' was added to the cluster context to track
a list of processes. This was added to the ceph task (in ceph.py), but for
tests that use the cephadm task instead (cephadm.py), we need to add it there too.
This applies to `thrash-old-clients` and `upgrade` tests in particular.

To be on the safe side, we should also initialize 'watched_processes' for vstart_runner
in case someone opts into the watchdog there in the future.

This commit also unifies the quotation marks for the 'watched_processes' attribute in the
ceph task with the other attributes. No major logic is changed here- it is only for convention.

Fixes: https://tracker.ceph.com/issues/73682
Signed-off-by: Laura Flores <lflores@ibm.com>
9 days agoMerge pull request #66123 from ivancich/wip-fix-unlink-old-shard
J. Eric Ivancich [Thu, 6 Nov 2025 16:00:11 +0000 (11:00 -0500)]
Merge pull request #66123 from ivancich/wip-fix-unlink-old-shard

rgw: fix `radosgw-admin object unlink ...`

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 days agoMerge pull request #66107 from yuvalif/wip-yuval-fix-typo
Casey Bodley [Thu, 6 Nov 2025 14:48:14 +0000 (09:48 -0500)]
Merge pull request #66107 from yuvalif/wip-yuval-fix-typo

rgw/frontend: fix typo in function name

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 days agoMerge pull request #65465 from knrt10/wip-kautilya-renable-testmigration
Matan Breizman [Thu, 6 Nov 2025 14:36:58 +0000 (16:36 +0200)]
Merge pull request #65465 from knrt10/wip-kautilya-renable-testmigration

crimson/osd: fix assertion fail in prepare_clone

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
9 days agoMerge PR #66036 into main
Venky Shankar [Thu, 6 Nov 2025 14:25:03 +0000 (19:55 +0530)]
Merge PR #66036 into main

* refs/pull/66036/head:

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Christopher Hoffman <choffman@redhat.com>
9 days agoMerge PR #66025 into main
Venky Shankar [Thu, 6 Nov 2025 14:23:57 +0000 (19:53 +0530)]
Merge PR #66025 into main

* refs/pull/66025/head:

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
9 days agoMerge pull request #61137 from chrisphoffman/wip-fscrypt
Venky Shankar [Thu, 6 Nov 2025 14:18:41 +0000 (19:48 +0530)]
Merge pull request #61137 from chrisphoffman/wip-fscrypt

libcephfs: FSCrypt userspace implementation

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
9 days agoMerge pull request #66147 from chungfengz-syno/fix-bluefs-bytes-written-slow-counter
Igor Fedotov [Thu, 6 Nov 2025 14:15:49 +0000 (17:15 +0300)]
Merge pull request #66147 from chungfengz-syno/fix-bluefs-bytes-written-slow-counter

bluestore/BlueFS: fix bytes_written_slow counter with aio_write

Reviewed-by: Igor Fedotov <igor.fedotov@clyso.com>
9 days agotest/librbd: Remove crimson skip from TestDeepCopy 65465/head
Kautilya Tripathi [Wed, 24 Sep 2025 05:20:06 +0000 (05:20 +0000)]
test/librbd: Remove crimson skip from TestDeepCopy

The TestDeepCopy.Stress and TestDeepCopy.Stress_SmallerDstObjSize tests
were previously skipped for the crimson store. This commit removes the
SKIP_IF_CRIMSON() calls, indicating that the tests should now pass with
the crimson osd.

Fixes: https://tracker.ceph.com/issues/72042
Signed-off-by: Kautilya Tripathi <kautilya.tripathi@ibm.com>
9 days agotest/librbd: Reenable tests for Migration
Kautilya Tripathi [Tue, 16 Sep 2025 11:14:09 +0000 (11:14 +0000)]
test/librbd: Reenable tests for Migration

This removes the SKIP_IF_CRIMSON and reenables the test.

Signed-off-by: Kautilya Tripathi <kautilya.tripathi@ibm.com>
9 days agocrimson/osd: fix assertion fail in prepare_clone
Kautilya Tripathi [Tue, 9 Sep 2025 10:22:52 +0000 (10:22 +0000)]
crimson/osd: fix assertion fail in prepare_clone

Ops like rbd.assert_snapc_seq can return -ERANGE, but we were preparing
clones in OpsExecuter constructor before guard evaluation.

On retry with sparse_copyup, this led to ceph_assert(!existed) in
prepare_clone() due to the pre-created clone OBC.

This adds precise OBC invalidation during rollback using single key
clear.

Fixes: https://tracker.ceph.com/issues/72705
Fixes: https://tracker.ceph.com/issues/72709
Fixes: https://tracker.ceph.com/issues/72041
Fixes: https://tracker.ceph.com/issues/72650
Signed-off-by: Kautilya Tripathi <kautilya.tripathi@ibm.com>
9 days agoMerge pull request #65953 from VinayBhaskar-V/wip-VinayBhaskar-V-73528
Ilya Dryomov [Thu, 6 Nov 2025 11:53:37 +0000 (12:53 +0100)]
Merge pull request #65953 from VinayBhaskar-V/wip-VinayBhaskar-V-73528

rbd-mirror: allow incomplete demote snapshot to sync after rbd-mirror daemon restart

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
9 days agoMerge pull request #65849 from mohit84/lock_excl_wait
Matan Breizman [Thu, 6 Nov 2025 11:08:23 +0000 (13:08 +0200)]
Merge pull request #65849 from mohit84/lock_excl_wait

crimson: Implement a  lock_excl_wait wrapper

Reviewed-by: Radosław Zarzyński <rzarzyns@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
9 days agobluestore/BlueFS: fix bytes_written_slow counter with aio_write 66147/head
chungfengz [Thu, 6 Nov 2025 09:46:51 +0000 (09:46 +0000)]
bluestore/BlueFS: fix bytes_written_slow counter with aio_write

The bytes_written_slow performance counter was incorrectly reporting
0 when using async I/O.

When aio_write() is called with a bufferlist, it uses claim_append()
to transfer ownership of the buffer to the aio structure, leaving the
source bufferlist empty. Using t.length() after aio_write() returns 0
instead of the actual bytes written.

Fix by using the pre-calculated x_len value which contains the actual
write size and is not affected by the buffer ownership transfer.

Fixes: https://tracker.ceph.com/issues/73735
Signed-off-by: chungfengz <chungfengz@synology.com>
10 days agomgr/dashboard: fix upgrade's cluster alerts popover 66144/head
Nizamudeen A [Thu, 6 Nov 2025 06:33:26 +0000 (12:03 +0530)]
mgr/dashboard: fix upgrade's cluster alerts popover

keep the legacy view so that it shows the alert types when opening the
popover

Fixes: https://tracker.ceph.com/issues/73733
Signed-off-by: Nizamudeen A <nia@redhat.com>
10 days agoclient: fix dump_mds_requests to valid json format 66025/head
haoyixing [Wed, 22 Oct 2025 11:24:18 +0000 (11:24 +0000)]
client: fix dump_mds_requests to valid json format

Usually asok command output will be valid json, but mds_requests
outputs duplicate key "request", which is not convenient for
subsequent parsing.

Fixes: http://tracker.ceph.com/issues/73639
Signed-off-by: haoyixing <haoyixing03@kuaishou.com>
10 days agoMerge pull request #66089 from rhcs-dashboard/secure-alerts-smtp
Nizamudeen A [Thu, 6 Nov 2025 03:50:08 +0000 (09:20 +0530)]
Merge pull request #66089 from rhcs-dashboard/secure-alerts-smtp

mgr/alerts: enforce ssl context to SMTP_SSL

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
10 days agoMerge pull request #66103 from rhcs-dashboard/fix-cephadm-e2e
Nizamudeen A [Thu, 6 Nov 2025 03:46:22 +0000 (09:16 +0530)]
Merge pull request #66103 from rhcs-dashboard/fix-cephadm-e2e

mgr/dashboard: fix cephadm e2e failure

Reviewed-by: Naman Munet <nmunet@redhat.com>
10 days agocrimson: Move send_to_osd call outside with_obc lambda 65849/head
Mohit Agrawal [Thu, 16 Oct 2025 10:58:08 +0000 (16:28 +0530)]
crimson: Move send_to_osd call outside with_obc lambda

The with_obc() function acquires a lock before invoking the
lambda it wraps. Earlier the lambda itself called send_to_osd()
which returns a future to with_obc. If a future is not resolved
immediately and a response could arrive and trigger
handle_pull_response() which attempts to acquire an exclusive lock.

Because a future is not returned yet to with_obc() so the original
lock is still holding by with_obc and handle_pull_response() throw
an assertion failure due to that osd is crashed.

Solution: Move send_to_osd() call outside with_obc lambda so that
the lock is released before handle_pull_response() is triggered.

Fixed: https://tracker.ceph.com/issues/71861
Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>
10 days agoMerge PR #66130 into main
Patrick Donnelly [Wed, 5 Nov 2025 14:59:16 +0000 (09:59 -0500)]
Merge PR #66130 into main

* refs/pull/66130/head:
.github/workflow: Disable cron based github actions on forks

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
10 days agodoc: Add fscrypt documentation 61137/head
Christopher Hoffman [Mon, 3 Nov 2025 16:47:55 +0000 (16:47 +0000)]
doc: Add fscrypt documentation

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
10 days agocephfs: Only build client with fscrypt on linux
Christopher Hoffman [Thu, 16 Oct 2025 17:33:05 +0000 (17:33 +0000)]
cephfs: Only build client with fscrypt on linux

Do not build client with fscrypt on non-linux distros.

Fixes: https://tracker.ceph.com/issues/70324
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
10 days agopython-common/ceph: Fix lint and various python errors
Christopher Hoffman [Thu, 23 Oct 2025 15:16:25 +0000 (15:16 +0000)]
python-common/ceph: Fix lint and various python errors

Fix various python bindings and linting issues that
arose from libcephfs fscrypt testing in pipeline.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
10 days agoclient: Do not check file size during trim read
Christopher Hoffman [Tue, 28 Oct 2025 12:46:34 +0000 (12:46 +0000)]
client: Do not check file size during trim read

The commit 154b86743b52 reverted part of the fix seen in 2b74598afc.
This commit will reapply any missing changes of the fix.

Fixes: https://tracker.ceph.com/issues/73416
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
10 days agotest/client: When testing large io, consider fscrypt
Christopher Hoffman [Mon, 20 Oct 2025 18:33:17 +0000 (18:33 +0000)]
test/client: When testing large io, consider fscrypt

When testing large io sizes and clamping that io, consider
fscrypt max io size. This max io size should be a multiple
of 4K (fscrypt block size), but not to exceed INT_MAX.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
10 days agoclient: Use nearest fscrypt block when clamping max io size
Christopher Hoffman [Mon, 20 Oct 2025 18:15:11 +0000 (18:15 +0000)]
client: Use nearest fscrypt block when clamping max io size

A max io size can currently be up to INT_MAX. If it is greater,
then clamp the size to INT_MAX. This conflicts with fscrypt io
operations. An fscrypt, op needs to read a whole fscrypt block.
The size of fscrypt block size is 4K, INT_MAX % 4K is not equal
to 0. Therefore, get the nearest multiple of 4K to INT_MAX that
does not go over. In the fscrypt case, this value will be used
for clamping max io size.

Fixes: https://tracker.ceph.com/issues/73346
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
10 days agoqa: Do not use ec_profile with fscrypt dummy
Christopher Hoffman [Tue, 14 Oct 2025 14:33:47 +0000 (14:33 +0000)]
qa: Do not use ec_profile with fscrypt dummy

Once a volume/filesystem is set to use fscrypt encryption, layout
cannot be changed. The configurable ec_profile, sets layout and
will fail.

Fixes: https://tracker.ceph.com/issues/73461
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
10 days agoclient: Do not expose ceph_fscrypt_key_identifier in api
Christopher Hoffman [Thu, 2 Oct 2025 14:12:32 +0000 (14:12 +0000)]
client: Do not expose ceph_fscrypt_key_identifier in api

The libcephfs API call add_fscrypt_key exposes an internal fscrypt
data structure. This is because a hash keyid (of the master key) is used
for calls such as remove_fscrypt_key. Instead of using this structure,
use a char array to obtain keyid.

Fixes: https://tracker.ceph.com/issues/63293
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
10 days agoqa: Grant ALL caps fscrypt integration tests
Christopher Hoffman [Wed, 1 Oct 2025 14:02:40 +0000 (14:02 +0000)]
qa: Grant ALL caps fscrypt integration tests

ALL caps are now needed for when setting fscrypt policy

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
10 days agomds: When setting fscrypt attrs ensure client has ALL caps
Christopher Hoffman [Mon, 29 Sep 2025 13:14:01 +0000 (13:14 +0000)]
mds: When setting fscrypt attrs ensure client has ALL caps

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
10 days agoclient: During fscrypt get policy do not display inbuf
Christopher Hoffman [Mon, 29 Sep 2025 14:02:32 +0000 (14:02 +0000)]
client: During fscrypt get policy do not display inbuf

When calling get encryption policy via ioctl, do not display
the hex str of inbuf. This buffer is not used/uninitialized
so no need to display.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
10 days agoclient: clean up warnings in client
Christopher Hoffman [Tue, 23 Sep 2025 14:58:32 +0000 (14:58 +0000)]
client: clean up warnings in client

Fix warnings/errors in ceph API tests that are present in various files
that were introduced by fscrypt feature

src/client/FSCrypt.cc:90:6: error: variable 'olen' set but not used [-Werror,-Wunused-but-set-variable]
   90 |         int olen = 0;
      |             ^
src/client/FSCrypt.cc:91:6: error: variable 'line' set but not used [-Werror,-Wunused-but-set-variable]
   91 |         int line = 0;
      |             ^
src/client/FSCrypt.cc:945:2: error: is this the way to do it? [-Werror,-W#warnings]
  945 | #warning is this the way to do it?
src/client/Client.cc:11850:2: error: read holes [-Werror,-W#warnings]
 11850 | #warning read holes
       |  ^
src/client/Client.cc:11855:2: error: implement file read here [-Werror,-W#warnings]
 11855 | #warning implement file read here
       |  ^
src/client/Inode.cc:847:2: error: need to make sure that we do not skip entire subtree somehow [-Werror,-W#warnings]
  847 | #warning need to make sure that we do not skip entire subtree somehow
      |  ^

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
10 days agoclient: clean up warnings in fscrypt
Christopher Hoffman [Tue, 23 Sep 2025 14:58:32 +0000 (14:58 +0000)]
client: clean up warnings in fscrypt

Fix warnings/errors in ceph API tests that are present in FSCrypt.cc

src/client/FSCrypt.cc:90:6: error: variable 'olen' set but not used [-Werror,-Wunused-but-set-variable]
   90 |         int olen = 0;
      |             ^
src/client/FSCrypt.cc:91:6: error: variable 'line' set but not used [-Werror,-Wunused-but-set-variable]
   91 |         int line = 0;
      |             ^
src/client/FSCrypt.cc:945:2: error: is this the way to do it? [-Werror,-W#warnings]
  945 | #warning is this the way to do it?

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
10 days agoqa: Add fscrypt dummy encryption to fs workloads
Christopher Hoffman [Wed, 17 Sep 2025 16:48:48 +0000 (16:48 +0000)]
qa: Add fscrypt dummy encryption to fs workloads

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
10 days agotest: Add test for fscrypt dummy encryption
Christopher Hoffman [Wed, 17 Sep 2025 15:47:44 +0000 (15:47 +0000)]
test: Add test for fscrypt dummy encryption

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
10 days agoclient: Add fscrypt dummy encryption
Christopher Hoffman [Tue, 2 Sep 2025 14:31:52 +0000 (14:31 +0000)]
client: Add fscrypt dummy encryption

Add fscrypt dummy encryption to client. This will allow
for mounting a cephfs volume without providing any fscrypt
information. This will allow for more straightforward setup
for development and test suites.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
10 days agotest: Clean up after fscrypt unit tests
Christopher Hoffman [Fri, 29 Aug 2025 14:29:24 +0000 (14:29 +0000)]
test: Clean up after fscrypt unit tests

After each fscrypt unit test clean up after each
unit test.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
10 days agolibcephfs: ll_set_fscrypt_policy_v2 - use in->dirstat
Marcus Watts [Sat, 28 Jun 2025 00:56:05 +0000 (20:56 -0400)]
libcephfs: ll_set_fscrypt_policy_v2 - use in->dirstat

Better check for empty direcotry.
It turns out in->dirstat contains a count of files and subdirectories
from a directory, so all we have to do is make sure that's valid.

Resolves: rhbz#2376757
Signed-off-by: Marcus Watts <mwatts@redhat.com>
(cherry picked from commit ba233f2dda3cf30c67b653b065e9ed47d42cb9d6)

10 days agoclient: ll_set_fscrypt_policy_v2 separate "directory empty" logic
Marcus Watts [Sat, 28 Jun 2025 00:56:05 +0000 (20:56 -0400)]
client: ll_set_fscrypt_policy_v2 separate "directory empty" logic

Move "directory empty" logic to new method "_is_empty_directory".
Future logic will not be a one-liner, so let's keep it separate.

Resolves: rhbz#2376757
Signed-off-by: Marcus Watts <mwatts@redhat.com>
(cherry picked from commit f0cf85a595876165e2c0eb2ca584e97f44971f9d)

10 days agotest/pybind/cephfs: add tests for fcopyfile()
Rishabh Dave [Mon, 21 Jul 2025 11:34:56 +0000 (17:04 +0530)]
test/pybind/cephfs: add tests for fcopyfile()

Signed-off-by: Rishabh Dave <ridave@redhat.com>
10 days agoclient: in fcopyfile(), update len to read only leftover fragment
Rishabh Dave [Wed, 16 Jul 2025 16:04:18 +0000 (21:34 +0530)]
client: in fcopyfile(), update len to read only leftover fragment

fcopyfile() reads 1 MiB of data every time but when a fragment smaller
than 1 MiB is left, it still reads 1 MiB of data, causing to never meet
the condition of "off == size". This leads to an infinity loop which
continues to write until CephFS becomes full.

Resolves: rhbz#2379716
Fixes: https://tracker.ceph.com/issues/72238
Signed-off-by: Rishabh Dave <ridave@redhat.com>
10 days agotest: Test unsupported fscrypt policy
Christopher Hoffman [Thu, 21 Aug 2025 19:24:48 +0000 (19:24 +0000)]
test: Test unsupported fscrypt policy

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
10 days agoclient: Check for supported fscrypt policy
Christopher Hoffman [Thu, 21 Aug 2025 19:23:44 +0000 (19:23 +0000)]
client: Check for supported fscrypt policy

When setting a policy on a directory, check to make sure
policy is supported.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
10 days agoqa/cephfs: Add test case for enctag too long
Christopher Hoffman [Wed, 20 Aug 2025 19:57:39 +0000 (19:57 +0000)]
qa/cephfs: Add test case for enctag too long

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
10 days agomgr/volumes: Enforce enctag max size
Christopher Hoffman [Wed, 20 Aug 2025 19:36:14 +0000 (19:36 +0000)]
mgr/volumes: Enforce enctag max size

Introduce enctag max length. Include error messages when
outside of range.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
10 days agoqa: Add interop testing between fscrypt fuse and kclient
Christopher Hoffman [Thu, 19 Jun 2025 13:01:46 +0000 (13:01 +0000)]
qa: Add interop testing between fscrypt fuse and kclient

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
10 days agoclient: make FSCryptDecryptedInodes std::shared_ptr
Christopher Hoffman [Mon, 18 Aug 2025 19:39:07 +0000 (19:39 +0000)]
client: make FSCryptDecryptedInodes std::shared_ptr

To help eliminate memory leaks, use std::shared_ptr
for keeping track of FSCryptDecryptedInodes instances.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
10 days agolibcephfs: Include libcephfs.h def for ceph_get_fscrypt_key_status
Christopher Hoffman [Wed, 13 Aug 2025 15:45:37 +0000 (15:45 +0000)]
libcephfs: Include libcephfs.h def for ceph_get_fscrypt_key_status

The libcephfs api header definition for call ceph_get_fscrypt_key_status
was not defined. Define this api call in libcephfs.h.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>