]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 days agoMerge pull request #66116 from rhcs-dashboard/carbonized-multisite-zone
Pedro Gonzalez Gomez [Thu, 13 Nov 2025 07:42:34 +0000 (08:42 +0100)]
Merge pull request #66116 from rhcs-dashboard/carbonized-multisite-zone

mgr/dashboard: Carbonized - Multisite Zone (Create and Edit)

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Naman Munet <naman.munet@ibm.com>
5 days agoMerge pull request #66143 from rhcs-dashboard/debug-e2e-error
afreen23 [Thu, 13 Nov 2025 06:56:47 +0000 (12:26 +0530)]
Merge pull request #66143 from rhcs-dashboard/debug-e2e-error

mgr/dashboard: start node virtual-env after starting ceph cluster

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
5 days agoMerge pull request #66160 from rhcs-dashboard/redirect-resolver
Nizamudeen A [Thu, 13 Nov 2025 04:47:36 +0000 (10:17 +0530)]
Merge pull request #66160 from rhcs-dashboard/redirect-resolver

mgr/dashboard: resolve the redirect url with the prop name

5 days agoMerge pull request #65782 from tchaikov/wip-build-crimson-osd-kefu
Kefu Chai [Wed, 12 Nov 2025 23:43:01 +0000 (07:43 +0800)]
Merge pull request #65782 from tchaikov/wip-build-crimson-osd-kefu

debian,ceph.spec: split ceph-osd into shared base and implementation packages

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 days agoMerge PR #66193 into main
Patrick Donnelly [Wed, 12 Nov 2025 20:58:17 +0000 (15:58 -0500)]
Merge PR #66193 into main

* refs/pull/66193/head:
qa/suites: remove centos restriction from valgrind yaml

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 days agoqa/tasks/ceph_objectstore_tool: Use crimson-objectstore-tool 65782/head
Matan Breizman [Wed, 12 Nov 2025 11:10:50 +0000 (11:10 +0000)]
qa/tasks/ceph_objectstore_tool: Use crimson-objectstore-tool

The crimson-objectstore-tool should be used instead of
ceph-obejctstore-tool once

```
ceph_objectstore_tool:
  crimson_objectstore_tool: true
```

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
5 days agodebian/rules: enable WITH_CRIMSON when pkg.ceph.crimson profile is set
Kefu Chai [Sat, 18 Oct 2025 14:23:56 +0000 (22:23 +0800)]
debian/rules: enable WITH_CRIMSON when pkg.ceph.crimson profile is set

Since commit 9b1d524839 ("debian: mark "crimson" specific deps with
"pkg.ceph.crimson""), crimson-specific build dependencies have been
gated by the Build-Profiles: <pkg.ceph.crimson> tag. However,
debian/rules was never updated to pass -DWITH_CRIMSON=ON when this
build profile is active.

This causes builds with the crimson profile enabled to fail during
dh_install, as the crimson-osd binary is never built but the install
file tries to package it:

  Failed to copy 'usr/bin/crimson-osd': No such file or directory
  dh_install: error: debian/ceph-crimson-osd.install returned exit code 127

Fix this by checking for pkg.ceph.crimson in DEB_BUILD_PROFILES and
enabling the CMake option accordingly, following the same pattern used
for pkg.ceph.arrow.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
5 days agoqa: install ceph-osd-classic and ceph-osd-crimson
Kefu Chai [Fri, 17 Oct 2025 14:09:26 +0000 (22:09 +0800)]
qa: install ceph-osd-classic and ceph-osd-crimson

- qa/packages/packages.yaml: add ceph-osd and ceph-osd-classic to
  packages/packages.yaml, so that the "install" task can install
  ceph-osd-classic by default, this preserves the existing behavior.
- qa/suites/crimson-rados: install ceph-osd-crimson instead of
  ceph-osd-classic. adding them to exclude_packages and extra_packages
  to task.install allows us to customize the packages to be installed
  when performing the "install"
  task.
- qa/suites/crimson-rados-experimental: likewise.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
Co-authored-by: Matan Breizman <mbreizma@redhat.com>
5 days agodebian,ceph.spec: split ceph-osd into shared base and implementation packages
Kefu Chai [Tue, 30 Sep 2025 13:04:46 +0000 (21:04 +0800)]
debian,ceph.spec: split ceph-osd into shared base and implementation packages

Previously, ceph-osd packaging had two mutually exclusive flavors that
could only be built one at a time: one with classic OSD and another
with crimson OSD. Both provided /usr/bin/ceph-osd, making them
impossible to coexist and confusing from a user perspective.
This commit restructures the packaging to enable both implementations
to coexist on the same system:

- ceph-osd: Contains shared components (systemd units, sysctl configs,
  common executables like ceph-erasure-code-tool) and depends on exactly
  one OSD implementation
- ceph-osd-classic: Contains the classic OSD implementation binary and
  classic-specific tools
- ceph-osd-crimson: Contains the crimson OSD implementation binary and
  crimson-specific tools

The two implementation packages install different sets of file, so they
don't conflict with each other anymore, and both depend on ceph-osd for
shared resources.

Changes:

Debian packaging:

- Revert e5f00d2f
- Add ceph-osd-crimson package
- Add Recommends: ceph-osd-classic to prefer classic on upgrades
- Add Replaces/Breaks for smooth upgrades from old monolithic package
- Create separate .install files for crimson and classic osd packages
  Enforce exact version matching using ${binary:Version}

RPM packaging:

- Use rich dependencies for OR requirement (classic or crimson)
- Add Recommends: ceph-osd-classic for upgrade preference

Upgrade behavior:

Users upgrading from older versions will automatically get
ceph-osd-classic due to the Recommends directive, maintaining
backward compatibility. Users can explicitly choose crimson by
installing ceph-osd-crimson, which will coexist with classic.
Switching between implementations is supported via standard package
operations, with the alternatives system ensuring /usr/bin/ceph-osd
always points to the active implementation.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
6 days agoMerge pull request #65806 from rkachach/fix_issue_73384
Adam King [Wed, 12 Nov 2025 14:31:56 +0000 (09:31 -0500)]
Merge pull request #65806 from rkachach/fix_issue_73384

mgr/cephadm: add the VIP to the internal mgmt-gateway cert SAN list

Reviewed-by: Adam King <adking@redhat.com>
6 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

6 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

6 days agomgr/dashboard: start node virtual-env after starting ceph cluster 66143/head
Nizamudeen A [Thu, 6 Nov 2025 04:53:47 +0000 (10:23 +0530)]
mgr/dashboard: start node virtual-env after starting ceph cluster

in frontend e2e.sh file, we don't need to start the node venv early on
before the ceph cluster is started. we only need it for the `npm` or
`npx` commands. Starting node virtual env and then starting ceph will
cause the ceph cluster to assume the node-env python as the python
environment which breaks the cryptotools call.

So moving the node-env venv start after the ceph is created

Fixes: https://tracker.ceph.com/issues/73804
Signed-off-by: Nizamudeen A <nia@redhat.com>
6 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>
6 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>
6 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

6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
7 days agoqa/suites: remove centos restriction from valgrind yaml 66193/head
Samuel Just [Tue, 11 Nov 2025 02:52:22 +0000 (02:52 +0000)]
qa/suites: remove centos restriction from valgrind yaml

http://tracker.ceph.com/issues/20360 and
http://tracker.ceph.com/issues/18126 were quite some time
ago.  It's causing trouble now because it only overrides the
os_type bit leaving the os_version alone causing teuthology
to look for centos 10 (centos + rocky 10).

Signed-off-by: Samuel Just <sjust@redhat.com>
7 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>
7 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>
7 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

7 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>
7 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>
7 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

7 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>
7 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>
7 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>
7 days agomgr/dashboard: resolve the redirect url with the prop name 66160/head
Nizamudeen A [Fri, 7 Nov 2025 07:57:41 +0000 (13:27 +0530)]
mgr/dashboard: resolve the redirect url with the prop name

the prop can be passed to the redirectLink array like `::prop` and the
table component will resolve the url

Fixes: https://tracker.ceph.com/issues/73754
Signed-off-by: Nizamudeen A <nia@redhat.com>
7 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

7 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

7 days agomgr/dashboard: Carbonize - Multisite Zone 66116/head
Dnyaneshwari [Tue, 4 Nov 2025 04:45:02 +0000 (10:15 +0530)]
mgr/dashboard: Carbonize - Multisite Zone

Fixes: https://tracker.ceph.com/issues/73707
Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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

8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
10 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

10 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>
10 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>
10 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>
11 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>
11 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>
11 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>
11 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>
11 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>