Commit Graph

13009 Commits

Author SHA1 Message Date
Patrick Donnelly
6532dd3c6f
qa/suites/rados/encoder: use random supported distro
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-05-27 08:45:52 -04:00
Casey Bodley
8c317411af
qa/ceph-ansible: symlink supported-random-distro$
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-05-27 08:45:52 -04:00
Casey Bodley
0948f5a91c
qa/fs/fscrypt: symlink supported-random-distro$
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-05-27 08:45:52 -04:00
Casey Bodley
f987d23d5a
qa/cephmetrics: symlink supported-random-distro$
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-05-27 08:45:52 -04:00
Vallari Agrawal
9d8d2e21da
qa/suites/nvmeof: set beacon grace and connect panic
For teuthology clusters, set:
'''
ceph config set mon mon_nvmeofgw_beacon_grace 10
ceph config set mon nvmeof_mon_client_connect_panic 60
'''
Reason explained in https://tracker.ceph.com/issues/74660#note-12

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

Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
2026-05-27 13:54:33 +05:30
Venky Shankar
bf37ceef23 qa/cephfs: install ceph-mgr-modules-standard for cephfs tests
Now that the ceph-mgr plugins are being separated into essential and
non-essential packages (always-on vs. optional), cephfs qa suite
requires the optional packages for ceph-mgr plugins which are not
always-on, but are being tested with fs suite. The good thing is, we
can install _all_ optional plugins using ceph-mgr-modules-standard
package instead of installing cherry-picked packages.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2026-05-27 09:55:05 +05:30
Patrick Donnelly
eb433c57ea
qa: ignore POOL_FULL for rbd tests exercising full pools
Fixes: https://tracker.ceph.com/issues/76586
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-05-26 21:59:52 -04:00
Kamoltat (Junior) Sirivadhna
b95bdca832
Merge pull request #67551 from Ericmzhang/wip-improve-pg-autoscale
mgr: Fix autoscaling PG distribution
Reviewed-by: Kamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
2026-05-26 18:04:43 -04:00
NitzanMordhai
2c3d140a4b
Merge pull request #61131 from NitzanMordhai/wip-nitzan-mgr-modules-perf-counts
mgr: Add per-module performance counters to mgr

Reviewed-by: Sridhar Seshasayee sridhar.seshasayee@ibm.com
2026-05-26 12:31:45 +03:00
Yuval Lifshitz
265b354a31
Merge pull request #68887 from ShreeJejurikar/wip-bucket-logging-requester-assumed-role
rgw/logging: use assumed-role ARN as Requester for STS requests
2026-05-26 07:58:58 +03:00
Jos Collin
eabd72ef05
qa: remove working directory in test_cephfs_mirror_sync_already_existing_snapshots
Signed-off-by: Jos Collin <jcollin@redhat.com>
2026-05-26 10:23:39 +05:30
Jos Collin
1ce2777172
qa: drop creating huge files in test_cephfs_mirror_cancel_sync
Fixes: https://tracker.ceph.com/issues/71701
Fixes: https://tracker.ceph.com/issues/72869
Signed-off-by: Jos Collin <jcollin@redhat.com>
2026-05-26 10:23:39 +05:30
ShreeJejurikar
6ff6a5572e qa/rgw/bucket-logging: configure STS for assume-role test
Set rgw sts key and enable rgw s3 auth use sts, both needed by
test_bucket_logging_requester_assumed_role. Mirrors the existing
settings in qa/suites/rgw/verify/overrides.yaml.

Signed-off-by: ShreeJejurikar <shreemj8@gmail.com>
2026-05-25 19:24:53 +05:30
Nitzan Mordechai
54d3b933ba workunits/mgr/test_mgr_modules_perf_counters: new test for enable\disable\perf counts
Simple test to enable \ disable and get counters dump
for checking perf counters.

Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
2026-05-25 07:48:06 +00:00
Jan Radon
591d8ac374
feat(rgw/kafka): add mTLS client certificate authentication for Kafka notifications
Add support for mutual TLS (mTLS) client certificate authentication
when publishing bucket notifications to Kafka brokers. RGW can now
present a client certificate and private key to authenticate with
brokers that require ssl.client.auth=required.
Changes:
- Add ssl-certificate-location, ssl-key-location, and ssl-key-password
  topic attributes for configuring client certificates
- Validate that ssl_certificate and ssl_key are provided together
- Include ssl_key_password in connection identity (hash/equality)
- Add kafka-security.sh script for generating broker and client TLS certs
- Add mTLS test (test_notification_kafka_security_ssl_mtls) using
  use_mtls=True flag on the existing SSL security path
- Update RGW notifications documentation with mTLS parameters

Fixes: http://tracker.ceph.com/issues/67427
Signed-off-by: Jan Radon <jan.fabian.radon@sap.com>
2026-05-23 09:05:37 +02:00
Patrick Donnelly
a1430973f2
qa/suites/upgrade: ignore osd in unknown state
The thrashosds task is occasionally restarting OSDs and mon/mgr log
warnings are wrongly flagging this as a problem.

Fixes: https://tracker.ceph.com/issues/76747
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-05-22 09:38:26 -04:00
Casey Bodley
c5afb3a61d qa/rgw: ignore 'keytool: command for found' errors
this 'keytool' invocation was moved from qa/tasks/s3tests_java.py to
qa/tasks/rgw.py so that it would also cover the java checksum tests

but that means it runs for any rgw job with https enabled, even if it
doesn't install or use any java stuff. the 'keytool' command itself
comes from jdk packages which aren't installed by default

ignore errors from this command so that subsuites can use https without
installing java

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-05-21 10:32:28 -04:00
Patrick Donnelly
fec7a31a82
Merge PR #68907 into main
* refs/pull/68907/head:
	qa: ignore pg stuck peering

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2026-05-20 16:16:20 -04:00
Patrick Donnelly
c2f274b593
Merge PR #68896 into main
* refs/pull/68896/head:
	qa: ignore cephadm failed daemon warnings during thrashing

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2026-05-20 15:41:40 -04:00
Patrick Donnelly
96c3110ed3
Merge PR #68893 into main
* refs/pull/68893/head:
	qa: ignore expected OSD_ROOT_DOWN
	qa: ignore fs offline warning
	qa: add MDS_INSUFFICIENT_STANDBY to ignorelist
	qa/suites/upgrade: use common ignorelist

Reviewed-by: Laura Flores <lflores@redhat.com>
2026-05-20 15:38:17 -04:00
Patrick Donnelly
d206bc01c0
Merge PR #68897 into main
* refs/pull/68897/head:
	qa/suites/upgrade: ignore undersized PG during stress splits

Reviewed-by: Laura Flores <lflores@redhat.com>
2026-05-20 15:37:29 -04:00
Matthew N. Heler
888c323ad3 qa/rgw: test GCM encryption in existing crypt and multisite suites
Add an aes facet to the rgw/crypt and rgw/multisite suites so
teuthology runs them with both the default cipher (CBC) and with
rgw_crypt_sse_algorithm set to aes-256-gcm.

Signed-off-by: Matthew N. Heler <matthew.heler@hotmail.com>
2026-05-20 13:31:02 -05:00
Neeraj Pratap Singh
b066d4cd3a qa: fixing failures in TestShellOpts
We were seeing failures in TestShellOpts again
and again due the (newline added within the output)
output structure change with the cmd2 releases.
Now, we directly extract the final output of 'set editor'
command and use it, instead of traversing on complete output
through hardcoded indexes.This fix is better than earlier
hardcoded splitting/striping via indexes.

Fixes: https://tracker.ceph.com/issues/71795
Signed-off-by: Neeraj Pratap Singh <Neeraj.Pratap.Singh1@ibm.com>
2026-05-20 22:53:09 +05:30
Casey Bodley
d524934dd3 qa/openssl-keys: enable wildcard dns with subjectAltName
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-05-20 10:20:24 -04:00
Casey Bodley
249999df6f qa/rgw: RGWEndpoint.url() contains dns-name if configured
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-05-20 10:20:24 -04:00
Casey Bodley
0567c5049f qa/rgw: add s3control subsuite
i would prefer to run the s3control test coverage in rgw/verify, but it
depends on rgw_dns_name configuration and support for wildcard dns which
breaks most of the other rgw/verify test cases

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-05-20 10:20:24 -04:00
Casey Bodley
0cffed8623 qa/rgw: s3tests task configures account ids
s3tests for s3control and iam apis need to know the account id

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-05-20 10:20:24 -04:00
Jamie Pryde
8b94da2785 mon: Add health checker for deprecated EC plugins and techniques
We want to reduce the number of EC plugins and techniques we support
in order to focus dev and test effort on the ones that are most
useful.

We are deprecating the following plugins and techniques in Umbrella,
and dropping support for them in the V release:
* shec
* clay
* all non-reed_sol_van jerasure techniques

This commit adds a health checker to print a warning message if the cluster
is using any of the deprecated plugins/techniques and instructs the user
to migrate objects to a different pool.

Signed-off-by: Jamie Pryde <jamiepry@uk.ibm.com>
2026-05-20 11:31:53 +01:00
Jaya Prakash
ac6dd5571e qa: fix TEST_mon_features persistent feature checks in mon/misc.sh
The test reused the "tentacle" jq filter while validating
"nvmeof_beacon_diff", causing the comparison to fail. Also fix
the umbrella feature validation and update the expected
persistent feature count.

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

Signed-off-by: Jaya Prakash <jayaprakash@ibm.com>
2026-05-19 17:02:32 +00:00
Patrick Donnelly
86dd63ca5f
qa: ignore expected OSD_ROOT_DOWN
Fixes: https://tracker.ceph.com/issues/76620
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-05-15 13:20:50 -04:00
Patrick Donnelly
14653b576a
qa: ignore fs offline warning
Dup of FS_DOWN.

Fixes: https://tracker.ceph.com/issues/76619
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-05-15 13:17:34 -04:00
Patrick Donnelly
fbe46ce71b
qa: add MDS_INSUFFICIENT_STANDBY to ignorelist
This is expected when MDS are going up and down.

Fixes: https://tracker.ceph.com/issues/75419
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-05-15 13:17:18 -04:00
Patrick Donnelly
b2ac7f6561
qa/suites/upgrade: use common ignorelist
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-05-15 13:17:00 -04:00
Ronen Friedman
042f3cbe01 qa/crimson: disable test-coredump
This test is there to aid in debugging coredumps creation and collection.
It always fails (as it intentionally leaves the coredump in place for collection).
Disabling it in the suite to avoid noise, but leaving the test in place for manual
runs when needed.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2026-05-15 10:32:13 +00:00
Ronen Friedman
307244b02c qa/crimson: add coredump generation test using ASOK assert
Trigger a crash on a Crimson OSD via the admin socket 'assert'
command and verify the OSD goes down and a coredump is produced.
Exercises the debug_asok_assert_abort path added in the companion
commit.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2026-05-15 10:32:13 +00:00
Casey Bodley
31bc13e59c
Merge pull request #66064 from mheler/lifecycle_monitoring
rgw/lc: add per-bucket lifecycle performance monitoring

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2026-05-14 11:14:30 -04:00
Patrick Donnelly
e7c553b087
qa: ignore pg stuck peering
Originally resolved in 9fa163df8f but the
changes were lost when upgrade suites were refreshed for the new release.

Fixes: https://tracker.ceph.com/issues/76599
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-05-14 11:00:49 -04:00
Ronen Friedman
ee6c3638b1
Merge pull request #68725 from ronen-fr/wip-rf-cmem-crimson
crimson/osd,qa: support OSD memory size in the OSD and in QA suites

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Jose J Palacios-Perez <perezjos@uk.ibm.com>
2026-05-14 07:52:41 +03:00
Patrick Donnelly
322e78c1ce
qa/suites/upgrade: ignore undersized PG during stress splits
Fixes: https://tracker.ceph.com/issues/76585
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-05-13 13:53:17 -04:00
Patrick Donnelly
ad6f20fde5
qa: ignore cephadm failed daemon warnings during thrashing
Fixes: https://tracker.ceph.com/issues/73079
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-05-13 13:47:54 -04:00
Matan Breizman
4bb9f74989
Merge pull request #68844 from Matan-B/wip-matanb-java17-crimson-rgw
qa/suites/crimson-rados/rgw/sts/tasks/1-keycloak: dont install java-1โ€ฆ

Reviewed-by: Shraddha Agrawal <shraddhaag@ibm.com>
2026-05-13 11:25:23 +03:00
Venky Shankar
6f7b98a776 Merge PR #68128 into main
* refs/pull/68128/head:
	qa: Fix checksum calculation on empty directories
	qa: Add mirror test for snapshot with only dir
	tools/cephfs_mirror: Fix sync hang

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2026-05-12 20:56:29 +05:30
Venky Shankar
af7ea49897 Merge PR #68389 into main
* refs/pull/68389/head:
	qa: Handle TypeError in test_filelock

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2026-05-12 20:55:50 +05:30
Redouane Kachach
32711bb2e3
Merge pull request #68848 from rkachach/fix_issue_76511
qa/cephadm: start upgrade tests from tentacle instead of reef on main

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Adam King <adking@redhat.com>
2026-05-11 21:27:53 +02:00
Laura Flores
996b88a51a
Merge pull request #68365 from kamoltat/wip-ksirivad-fix-75418
qa/suites/upgrade: ignore PG_DAMAGED

Reviewed-by: Laura Flores <lflores@ibm.com>
2026-05-11 13:41:49 -05:00
Laura Flores
c4330d1ad2
Merge pull request #68326 from ljflores/wip-tracker-75763
qa/suites/rados/encoder: remove rocky from supported distros

Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
2026-05-11 13:33:33 -05:00
Laura Flores
2643ea61a5
Merge pull request #67715 from NitzanMordhai/wip-nitzan-is_pg_clean-hang-after-teardown
test/ceph-helpers: add timeout to ceph pg query

Reviewed-by: Radosล‚aw Zarzyล„ski <rzarzyns@redhat.com>
2026-05-11 13:15:14 -05:00
Adam King
654553677c
qa/cephadm: start upgrade tests from tentacle instead of reef on main
Since main is what will become umbrella at this point

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit a137bccbf4)
2026-05-11 17:43:15 +02:00
Shubha Jain
b8e3155ef0
mgr/nfs: improve cluster info implementation and fix lint regressions
- Improve cluster info implementation
- Fix deployment type logic
- Resolve lint issues for check jobs

Signed-off-by: Shubha jain <SHUBHA.JAIN1@ibm.com>
2026-05-11 18:42:24 +05:30
Ronen Friedman
3dbbe15d00 Crimson/QA: add crimson-fixed-2-mem32g reduced-memory cluster variants
Add QA thrash cluster variants (crimson-fixed-2-mem32g) that set
crimson_memory to 32G or 16GB.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2026-05-11 12:34:35 +00:00
Matan Breizman
64b2f85f21 qa/suites/crimson-rados/rgw/sts/tasks/1-keycloak: dont install java-17-openjdk-headless
qa/tasks/keycloak.py already installs it per-os. See: https://github.com/ceph/ceph/pull/67578

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

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2026-05-11 14:35:12 +03:00
Nitzan Mordechai
20352536fd qa: ignore evicted client warnings for singletone bluestore
After adding mds client into singletone bluestore and increas debug
levels and bluestore_allocator=stupid client is slow enough that MDS
evicts it after ~302 seconds

Fixes: https://tracker.ceph.com/issues/76497
Signed-off-by: Nitzan Mordechai <nmordech@ibm.com>
2026-05-10 06:51:13 +00:00
Kamoltat (Junior) Sirivadhna
73fdf19fdc qa/suites/upgrade: ignore PG_DAMAGED
we can simply ignore this warning that pops up temporary on the logs,
since do check for active+clean in ceph.healthy

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

Signed-off-by: Kamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
2026-05-07 20:38:41 +00:00
Shraddha Agrawal
f56809d33a
Merge pull request #68755 from shraddhaag/wip-shraddhaag-reinstate-rocky10
qa/distros/crimson-supported-all-distros: remove centos 9
2026-05-06 21:13:13 +05:30
Adam Emerson
cf245d42ad
Merge pull request #67729 from adamemerson/wip-neorados-watch-notify
neorados: Various Fixes to Watch/Notify

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2026-05-06 11:19:14 -04:00
Yuval Lifshitz
b5d04adfa7
Merge pull request #68274 from ShreeJejurikar/wip-bucket-logging-journal-mode
rgw/test: add Journal mode support to bucket logging test suite
2026-05-06 17:23:32 +03:00
anrao19
7f6c6003e7
Merge pull request #66373 from mheler/target_path_by_bucket
rgw/cloud-transition: add per-bucket target options
2026-05-06 11:44:40 +05:30
Shraddha Agrawal
5088bfe2a8 qa/distros/crimson-supported-all-distros
This commit removes centos9 from crimson's supported distros. This is in
line with the wider ceph moving on to rocky10 from centos9. We have
established that crimson is compatible with rocky10. More details can be
found in this tracker: https://tracker.ceph.com/issues/75823.
Signed-off-by: Shraddha Agrawal <shraddha.agrawal000@gmail.com>
2026-05-05 22:15:36 +05:30
Kefu Chai
27cd387bbd
Merge pull request #68615 from tchaikov/wip-lasan-supp
qa/lsan.supp: suppress CPython 3.10 interpreter shutdown leaks

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2026-05-05 20:17:21 +08:00
ShreeJejurikar
a50b342c76 rgw/test: add Journal mode support to bucket logging test suite
Add --logging-type flag to run the Python bucket logging test suite
in either Standard or Journal mode. The same tests run against both
logging types with no changes to test logic or assertions.

- Add --logging-type pytest CLI option (Standard default, Journal opt-in)
- Detect boto3 LoggingType extension availability at session startup
- Thread logging_type through helpers and test functions
- Add teuthology task YAML for Journal mode suite runs
- Install service-2.sdk-extras.json in the teuthology task when
  logging_type is Journal (s3tests cleans it up after its own run,
  so the file isn't available by the time our Journal job runs)
- Document Journal mode local usage in the test suite README

Signed-off-by: Shree Jejurikar <shree.jejurikar@gmail.com>
2026-05-05 11:45:14 +05:30
SrinivasaBharathKanta
95401c7939
Merge pull request #68473 from ljflores/wip-tracker-73147
qa/suites/rados/thrash-old-clients: ignore "Reduced data availability" warning
2026-05-05 09:45:18 +05:30
SrinivasaBharathKanta
ff52650514
Merge pull request #68241 from ljflores/wip-tracker-75415
qa/suites/upgrade: ignore temporary OSD_HOST_DOWN health warning
2026-05-05 09:44:25 +05:30
Ronen Friedman
8a3b83d1d8
Merge pull request #68474 from ronen-fr/wip-rf-smallsegs-crimson
crimson/os,tools,qa: fix crimson-objectstore-tool tests

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2026-05-01 14:51:20 +03:00
Matthew N. Heler
c3f7797a01 qa/rgw: add teuthology support for target_by_bucket cloud transition
Add cloud_target_by_bucket and cloud_target_by_bucket_prefix options
to rgw_cloudtier.py and s3tests.py. Create new test suite to run
target_by_bucket-specific s3-tests.

Signed-off-by: Matthew N. Heler <matthew.heler@hotmail.com>
2026-04-30 21:44:44 -05:00
Casey Bodley
c3a65456ae
Merge pull request #66170 from kchheda3/wip-fix-account-acls-backward-compatbility
rgw/account: Support backward compatibility for s3:PutAcls calls for users migrated to account.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2026-04-30 09:14:17 -04:00
Kautilya Tripathi
b771933046
Merge pull request #66993 from ceph/crimson-pg-subcommands
crimson: add pg subcommands support in CLI

Reviewed-by: Aishwarya Mathuria aishwarya.mathuria@ibm.com
Reviewed-by: Kefu Chai tchaikov@gmail.com
2026-04-28 16:44:10 +05:30
Shraddha Agrawal
e5563b99bb
Merge pull request #68424 from NitzanMordhai/wip-nitzan-rados-perf-test-epel10-pdsh-missing
qa/tasks/cbt: install pdsh from el9 RPMs on el10 systems
2026-04-28 11:59:05 +05:30
Ronen Friedman
1817c0a145 crimson/qa/objectstore-tool: reduce segments size
used in testing. This translates into more segments, which helps
in preventing test failures due to insufficient free segments for mounting.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2026-04-28 05:11:06 +00:00
Ronen Friedman
5c3a4a17ba qa/tasks: add timeout to 'GC' ceph_objectstore_tool calls
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2026-04-28 05:11:06 +00:00
Ronen Friedman
8ef4aacfcf qa/tasks/ceph_objectstore_tool.py: add gc_before_restart option
The objectstore tool tests restart the OSDs without allowing enough
time for GC to run, which can lead to no-OOL-segments conditions on restart. This
adds a gc_before_restart option to the test config, which when set
to true will run crimson-objectstore-tool --op gc on each OSD
before restarting them.

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

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2026-04-28 05:11:06 +00:00
Matthew N. Heler
a198703181 rgw/lc: add per-bucket lifecycle performance monitoring
Implements real-time per-bucket lifecycle (LC) monitoring via performance
counters exposed through the admin socket.

Signed-off-by: Matthew N. Heler <matthew.heler@hotmail.com>
2026-04-27 06:36:15 -05:00
Kautilya Tripathi
33e3c8560c qa: Port rgw lifecycle test to crimson-rados
This adds lifecycle qa tests of rgw to crimson-rados suite

Signed-off-by: Kautilya Tripathi <kautilya.tripathi@ibm.com>
2026-04-27 11:11:18 +05:30
Kautilya Tripathi
967b971124 qa/crimson: add pg subcommands workunit
Add a crimson workunit that validates pg query and list_unfound
including offset behavior, and wire it into the singleton suite.

Signed-off-by: Kautilya Tripathi <kautilya.tripathi@ibm.com>
2026-04-27 09:44:50 +05:30
Kautilya Tripathi
9bc8f3fcfd qa/suites: add crimson pg-subcommands suite
Add a dedicated crimson-rados singleton suite yaml to run the
osd/pg-subcommands.sh standalone test.

Signed-off-by: Kautilya Tripathi <kautilya.tripathi@ibm.com>
2026-04-27 09:44:49 +05:30
Kautilya Tripathi
e27af4a5ea qa/standalone: Add pg_subcommands test
This adds test script for pg subcommands like query, log, scrub,
deep-scrub, list-unfound. It compares the output between classic and
crimson.

Signed-off-by: Kautilya Tripathi <kautilya.tripathi@ibm.com>
2026-04-27 09:44:49 +05:30
Kautilya Tripathi
bb50d3ba1b
Merge pull request #67372 from knrt10/wip-crimson-rgw-multifs
qa: Port rgw multifs test to crimson-rados
2026-04-27 09:41:14 +05:30
Yuval Lifshitz
3b0171e0b1 rgw/kafka: setting maximum batch size when sending messages
Fixes: https://tracker.ceph.com/issues/75928

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
2026-04-26 06:19:55 +00:00
Kefu Chai
42b648ebf2 qa/lsan.supp: suppress CPython 3.10 interpreter shutdown leaks
When building with ASan, it reports leaks in five tests that exercise
CPython 3.10 either as an external process (bin/ceph) or embedded in
unittests:

   #36  smoke.sh                    (timeout, via bin/ceph)
  #205  unittest_mgr_pyformatter    (libpython3.10.so embedded)
  #206  unittest_mgr_pyutil         (libpython3.10.so embedded)
  #210  mgr-dashboard-smoke.sh      (via bin/ceph)
  #225  safe-to-destroy.sh          (via bin/ceph)

A representative stack from #210:

  Direct leak of 25846 byte(s) in 28 object(s) allocated from:
    #0  malloc
    #1  /usr/bin/python3.10+0x16d7be
  Direct leak of 20456 byte(s) in 29 object(s):
    #1  PyDict_Copy /usr/bin/python3.10+0x16ae06
  Direct leak of 8456 byte(s) in 14 object(s):
    #1  _PyObject_GC_NewVar /usr/bin/python3.10+0x14fc57

The unittests show the same shape against /lib/.../libpython3.10.so.

These are CPython 3.10 runtime artefacts, not Ceph bugs.  In CPython
3.10, Py_FinalizeEx() leaves a set of interpreter-internal allocations
(module namespace dict copies, GC-tracked variable-size containers,
type-method caches, interned strings) heap-allocated until process
exit; the OS reclaims them.  PEP 683 (Immortal Objects, accepted for
Python 3.12) extends pylifecycle.c::finalize_modules() to deallocate
these remaining objects during runtime shutdown:

  "During runtime shutdown, the strategy will be to first let the
  runtime try to do its best effort of deallocating these instances
  normally.  Most of the module deallocation will now be handled by
  pylifecycle.c:finalize_modules() where we clean up the remaining
  modules as best as we can."
                            -- PEP 683, https://peps.python.org/pep-0683/

The qa/lsan.supp file has carried the empirical note "python3.12
doesn't leak anything" since the file was introduced (commit
8c099a5340, "asan: add qa/lsan.supp for leak sanitizer
suppressions", Mar 2023).  An empirical reproduction with a minimal
Py_Initialize()/Py_FinalizeEx() program built against Python 3.13
under -fsanitize=address reports zero leaks; the same minimal test
against Python 3.10 (CI environment) reports the leaks shown above.

Add three suppressions to qa/lsan.supp's existing 3.9-3.11 block:

 - leak:^PyDict_Copy and leak:^_PyObject_GC_NewVar match the two
   exported CPython functions visible in the leak stacks.
 - leak:python3.10 substring-matches the module path in the stack
   frame, catching unsymbolised offsets in both the /usr/bin/python3.10
   binary and the libpython3.10.so.1.0 shared object.  Mirrors the
   existing leak:libsqlite3.so pattern earlier in the file.

The whole block (including the existing PyMem_Malloc entry above) can
be removed once CI runs on Python >= 3.12.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
2026-04-25 21:44:44 +08:00
Laura Flores
bcb2045ed2
Merge pull request #68366 from ljflores/wip-tracker-74517
qa/suites/rados: temporarily disable ceph-post-file test

Reviewed-by: Sridhar Seshasayee <Sridhar.Seshasayee@ibm.com>
2026-04-24 14:12:03 -05:00
Guillaume Abrioux
3dc6a60ce0
Merge pull request #68414 from guits/has_bs_repl
ceph-volume: has_bluestore_label checks all bluestore label replica oโ€ฆ
2026-04-23 22:16:28 +02:00
Rishabh Dave
c75b8eefd7 qa/cephfs: minor fix in comment
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2026-04-23 23:04:28 +05:30
Rishabh Dave
241cfc6c06 qa/cephfs: give more time to tests in test_clone_stats.py
Currently tests wait for 10 seconds for clone progress bar to appear and
it usually takes 8 seconds to find it. In case of the host where test is
being run is slow, the progress bar can take more time to appear and the
test can fail unnecessarily. To avoid this, increase the waiting
duration.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2026-04-23 23:04:28 +05:30
Rishabh Dave
269e76bb13 qa/cephfs: increase number of files to cloned in test_clone_stats.py
There's a race condition between cloning operation and clone progress
reporter thread to open the subvolume, former does so to copy/clone
files and latter to get details of the source and destination subvolume.

A low number of files in the snapshot gives clone progress reporter
thread less or no chance to fetch and process the details needed to
display the progress bar. This causes tests to fails when progress bar
isn't displayed in the output of "ceph status" output.

Increasing the number of files will give clone progress reporter more
time to display the progress bar and therefore these unnecessary test
failures wlll reduce/stop.

This failure wasn't seen earlier because Python code was being used to
copy files which was comparatively slow (compared to C++ code that was
merged to copy files as a part of fscrypt work) which allowed enough
time to clone progress reporter thread to process stats and display
clone progress bar.

Fixes: https://tracker.ceph.com/issues/74082
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2026-04-23 23:04:28 +05:30
Joshua Blanch
0eb1b730d1 qa/standalone: bdev-expand calls with no underlying device expansion
Signed-off-by: Joshua Blanch <joshua.blanch@clyso.com>
2026-04-23 15:05:55 +00:00
Joshua Blanch
ba5fb6bef2 qa/standalone/bluefs: add online device expansion test
verify online device expansion via admin socket works correctly

Signed-off-by: Joshua Blanch <joshua.blanch@clyso.com>
2026-04-23 15:05:55 +00:00
stzuraski898
3f1ff1a1fb
Merge pull request #66432 from stzuraski898/unittests-mgr
test/mgr: Improve unit-test coverage for ceph-mgr

Reviewed by: Nitzan Mordechai <nmordech@ibm.com>
Reviewed by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed by: Ronen Friedman <rfriedma@redhat.com>
2026-04-23 09:52:23 -05:00
Yuval Lifshitz
d6c659e6e9
Merge pull request #68472 from yuvalif/wip-yuval-76127
test/rgw/kafka: cleanup kafka tgz file
2026-04-23 17:04:17 +03:00
Guillaume Abrioux
6cc12f64b9 qa/cephadm: zap raw devices before OSD deployment
follow up on commit f3c938f503

```
2026-04-22T10:16:21.350 DEBUG:teuthology.orchestra.run.trial118:> sudo ceph-bluestore-tool zap-device --dev /dev/nvme3n1 --yes-i-really-really-mean-it
2026-04-22T10:16:21.358 INFO:teuthology.orchestra.run.trial118.stderr:sudo: ceph-bluestore-tool: command not found
```

ceph-bluestore-tool is not available on the host and must be run from within a container.

Instead, use `ceph-volume lvm zap` which internally calls `ceph-bluestore-tool zap-device`.

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

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2026-04-23 15:27:08 +02:00
Karthik U S
1c70ef1c6a qa: Handle TypeError in test_filelock
Latest versions of OS comes with fuse3 installed and we are checking for
only fuse in the get_package_version check in the test case. Checking just
for the package string fuse will return None if only fuse3 is installed.
Adding check for both fuse and fuse3 packages now and also handling NoneType
return in _is_flockable() if the package is actually missing.

Fixes: https://tracker.ceph.com/issues/75959
Signed-off-by: Karthik U S <karthik.u.s1@ibm.com>
2026-04-22 15:29:13 +05:30
Afreen Misbah
70c8ca4db9
Merge pull request #68465 from rhcs-dashboard/IBMCEPH-10149-rgw-non-version-bucket
mgr/dashboard : fix-non-versioning-bucket-issue

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
2026-04-21 22:54:17 +05:30
Venky Shankar
6268439d74
Merge pull request #68464 from vshankar/wip-exlude-crimson-fs-upgrade
qa/cephfs: exclude ceph-osd-{classic,crimson} in fs:upgrade:featurefuโ€ฆ

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2026-04-21 19:33:09 +05:30
Venky Shankar
77ace0e4dc
Merge pull request #67867 from vshankar/wip-75380
qa/cephfs: treat "implicit declaration of function" for blogbench workunit for newer gcc version

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2026-04-21 17:59:19 +05:30
Venky Shankar
2016787c3b
Merge pull request #67546 from kotreshhr/mirror-syncthreads-fair-scheduling
tools/cephfs_mirror: Distribute datasync threads evenly across snapshots

Reviewed-by Venky Shankar <vshankar@redhat.com>
2026-04-21 15:38:45 +05:30
Venky Shankar
7b81d91b6c
Merge pull request #67710 from vshankar/wip-75083
qa/cephfs: make test_journal_migration immune to stdout changes

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
2026-04-21 15:37:59 +05:30
Abhishek Desai
14d958ae2d mgr/dashboard : fix-non-versioning-bucket-issue
fixes : https://tracker.ceph.com/issues/76109
Signed-off-by: Abhishek Desai <abhishek.desai1@ibm.com>
2026-04-21 11:21:30 +05:30
Casey Bodley
c106e9287e
Merge pull request #68163 from ceph/wip-oozmen-75831
rgw/admin: enhance bucket list --marker to support versioned bucket pagination

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2026-04-20 16:04:22 -04:00
Eric Zhang
f2d8ef5cbf mgr: Modify unit tests to reflect changes
Modify calc_final_pg_target test cases to reflect optimization algorithm
Add test cases that ensure cost is respected to ensure pools get rounded
closely to target

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

Signed-off-by: Eric Zhang <emzhang@ibm.com>
2026-04-20 12:52:59 -07:00
Casey Bodley
0165e48a58
Merge pull request #67958 from cbodley/wip-qa-rgw-compress-encrypted
qa/rgw: crypt subsuite tests compress-encrypted

Reviewed-by: Matthew N. Heler <matthew.heler@hotmail.com>
2026-04-20 15:19:33 -04:00
Christopher Hoffman
c6c208e67d qa: Add direct_io test for fscrypt
Fixes: https://tracker.ceph.com/issues/73347
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
2026-04-20 19:14:56 +00:00
Casey Bodley
97602ec41e qa/rgw: crypt subsuite tests compress-encrypted
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-04-20 13:12:14 -04:00
Casey Bodley
ffe4fcc777 qa/rgw: rgw task can enable/disable zone features
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-04-20 12:41:21 -04:00
Casey Bodley
863a5f2dcb qa/rgw: don't duplicate 'user list' commands for default zone
some commands during setup expect the zone to exist already, so run
'radosgw-admin user list' to make sure a default zone/zonegroup are
created. avoid duplicating this in several subtasks by moving this to
its own subtask that runs when a realm is not configured

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-04-20 12:41:03 -04:00
Laura Flores
c37c37f650 qa/suites/rados/thrash-old-clients: ignore "Reduced data availability" warning
This type of warning is typical during tests where we are thrashing the
OSDs.

Fixes: https://tracker.ceph.com/issues/73147
Signed-off-by: Laura Flores <lflores@ibm.com>
2026-04-20 10:22:55 -05:00
Yuval Lifshitz
76dbdf8aad test/rgw/kafka: cleanup kafka tgz file
Fixes: https://tracker.ceph.com/issues/76127

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
2026-04-20 14:22:08 +00:00
anrao19
9c45634368
Merge pull request #67828 from linuxbox2/wip-75540
rgw_file: always assign string_view of current common_prefix
2026-04-20 15:22:58 +05:30
Venky Shankar
1330b2926a qa/cephfs: exclude ceph-osd-{classic,crimson} in fs:upgrade:featureful_client:upgraded_client
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2026-04-20 09:55:30 +05:30
Venky Shankar
3df770e1fc qa/cephfs: make test_journal_migration immune to stdout changes
Fixes: http://tracker.ceph.com/issues/75083
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2026-04-20 09:45:52 +05:30
Kotresh HR
3ea2d45239 qa: Fix checksum calculation on empty directories
Fixes: https://tracker.ceph.com/issues/75804
Signed-off-by: Kotresh HR <khiremat@redhat.com>
2026-04-18 18:17:04 +05:30
Kotresh HR
b671392033 qa: Add mirror test for snapshot with only dir
Fixes: https://tracker.ceph.com/issues/75804
Signed-off-by: Kotresh HR <khiremat@redhat.com>
2026-04-18 18:16:49 +05:30
Ilya Dryomov
2006412be9 qa: fix setting rbd_sparse_read_threshold_bytes in test_migration_clone()
Currently it's set on the intermediary clone instead of the parent.
As a result the setting is effective only for reads that terminate at
the intermediary clone -- reads that go all the way to the parent may
end up being handled as not sparse depending on their size.

Fixes: https://tracker.ceph.com/issues/76101
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2026-04-18 10:44:11 +02:00
stzuraski898
eaa2013686 qa: Valgrind suppression additions to pattern match inline functions stemming from CPython in mgr
Fixes: https://tracker.ceph.com/issues/72938
Signed-off-by: szuraski898 <steven.zuraski@ibm.com>

Conflicts:
  qa/valgrind.supp

The qa/valgrind.supp file had a conflict with an extra curly brace at the EOF as a result of changes adding CPython suppressions in the unittest-mgr branch, as well as additions coming form main.
Resolved by keeping both: the CPython suppressions for the mgr unit tests and all the rocky10 suppressions from main (rocky10_gcc14_mismatch_delete_map_erase
and rocky10 still reachable rocksdb leak), and removing the extra curly brace after merging.
2026-04-17 18:45:33 +00:00
Redouane Kachach
42f4291606
Merge pull request #68392 from rkachach/fix_issue_cepahdm_qa_task
qa: fix misleading "in cluster log" failures during cluster log scan

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Zack Cerza <zack@redhat.com>
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2026-04-17 10:50:46 +02:00
Kefu Chai
1f5169db36
Merge pull request #68297 from tchaikov/wip-feedback-without-tracker
mgr/feedback: fix flaky test_issue_tracker_create_with_invalid_key

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Afreen Misbah <afreen@ibm.com>
2026-04-17 13:34:51 +08:00
Casey Bodley
7a6816df67
Merge pull request #68289 from cbodley/wip-75945
qa/valgrind: generalize suppressions for gcc-14 MismatchedFree

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2026-04-16 16:18:38 -04:00
Patrick Donnelly
fabaa7d359
Merge PR #67823 into main
* refs/pull/67823/head:
	qa: remove unused qa_scripts

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2026-04-16 12:29:26 -04:00
Patrick Donnelly
dd2b7661be
Merge PR #67822 into main
* refs/pull/67822/head:
	qa: remove vestiges of ceph-deploy
	doc: remove references to ceph-deploy

Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
2026-04-16 12:28:52 -04:00
Nitzan Mordechai
e00a7dfd6f qa/tasks/cbt: install pdsh from el9 RPMs on el10 systems
PDSH is not available in EPEL10 repos. Install the el9 RPMs directly
via yum, which are compatible with el10.

Fixes: https://tracker.ceph.com/issues/75877
Signed-off-by: Nitzan Mordechai <nmordech@ibm.com>
2026-04-16 12:54:04 +00:00
Redouane Kachach
7b2a914105
qa: fix misleading "in cluster log" failures during cluster log scan
Summary:

Fix misleading failure reasons reported as `"โ€ฆ in cluster log"` when
no such log entry actually exists.

The cephadm task currently treats `grep` errors from the cluster log
scan as if they were actual log matches. This can produce bogus
failure summaries when `ceph.log` is missing, especially after early
failures such as image pull or bootstrap problems.

Problem:

first_in_ceph_log() currently:

- returns stdout if a match is found
- otherwise returns stderr

The caller then treats any non-None value as a real cluster log hit and formats it as:

"<value>" in cluster log

That means an error like:

  grep: /var/log/ceph/<fsid>/ceph.log: No such file or directory

can be misreported as if it came from the cluster log.

This change makes cluster log scanning robust and accurate by:

- checking whether /var/log/ceph/<fsid>/ceph.log exists before scanning
- using check_status=False for the grep pipeline
- treating only stdout as a real log match
- treating stderr as a scan error instead of log content
- avoiding overwrite of a more accurate pre-existing failure_reason
- reporting scan failures separately as cluster log scan failed

Fixes: https://tracker.ceph.com/issues/76051
Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2026-04-16 10:05:11 +02:00
Kefu Chai
f9c14ff857
Merge pull request #68282 from tchaikov/wip-mgr-module-neg-exit-code
mgr/crash, mgr/status: return negative errno to fix CLI exit code

Reviewed-by: Dan Mick <dmick@ibm.com>
2026-04-16 13:13:05 +08:00
Oguzhan Ozmen
b977ede777 qa/radosgw_admin: add a testcase to verify use of --marker and --object-version in bucket listing
Signed-off-by: Oguzhan Ozmen <oozmen@bloomberg.net>
2026-04-16 00:00:19 +00:00
Kautilya Tripathi
0564024ac1 qa: Port rgw multifs test to crimson-rados
This adds multifs qa tests of rgw to crimson-rados suite

Signed-off-by: Kautilya Tripathi <kautilya.tripathi@ibm.com>
2026-04-16 03:56:04 +05:30
Casey Bodley
542f17513d qa/valgrind: generalize and group MismatchedFree suppressions
combine the various MismatchedFree suppressions into unconditional ones
for each function

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-04-15 14:38:23 -04:00
Patrick Donnelly
49753d2e6d
Merge PR #67032 into main
* refs/pull/67032/head:
	qa: add trivial cephfs-tool bench test
	doc/cephfs: add cephfs-tool documentation
	tools/cephfs: add new cephfs-tool

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2026-04-15 09:11:34 -04:00
Venky Shankar
f140f1f5af
Merge pull request #68351 from joscollin/wip-TestCorruptedSubvolumes-fix
qa: update yaml file for TestCorruptedSubvolumes

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2026-04-14 23:32:22 +05:30
Patrick Donnelly
acf75b9442
Merge PR #66294 into main
* refs/pull/66294/head:
	qa: enforce centos9 for test
	qa: rename distro
	qa/suites/fs/bugs: use centos9 for squid upgrade test
	qa: remove unused variables
	qa: use centos9 for fs suites using k-testing
	qa: update fs suite to rocky10
	qa: skip dashboard install due to dependency noise
	qa: only setup nat rules during bridge creation
	qa: correct wording of comment
	qa: use nft instead iptables
	qa: use py3 builtin ipaddress module

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2026-04-14 11:46:54 -04:00
Venky Shankar
9f0cc8789d
Merge pull request #62351 from vshankar/wip-revert-referent-inodes
mds: revert referent inode work

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2026-04-14 21:05:25 +05:30
Krunal Chheda
933e4606c0 qa/rgw: add PutACL backward compatibility test for account migration
Test that put-bucket-acl and put-object-acl work both before and after
migrating a user to an account. After migration, the bucket/object ACL
owner is still the old user id, but the requester authenticates as the
account id.

Signed-off-by: Krunal Chheda <kchheda3@bloomberg.net>
2026-04-14 20:51:03 +05:30
Jos Collin
7d936833bd qa: update yaml file for TestCorruptedSubvolumes
Update yaml file to include TestCorruptedSubvolumes in qa tests.

Fixes: https://tracker.ceph.com/issues/76001
Signed-off-by: Jos Collin <jcollin@redhat.com>
2026-04-14 19:18:34 +05:30
Patrick Donnelly
d60ec8e0ac
qa: remove vestiges of ceph-deploy
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-04-14 09:03:58 -04:00
Patrick Donnelly
aff948588a
qa: add trivial cephfs-tool bench test
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-04-14 08:57:33 -04:00
Patrick Donnelly
4ebd6f62eb
Merge PR #67555 into main
* refs/pull/67555/head:
	qa/tasks/quiescer: remove racy assertion

Reviewed-by: Rishabh Dave <ridave@redhat.com>
2026-04-14 08:18:07 -04:00
Patrick Donnelly
3e68392793
Merge PR #68360 into main
* refs/pull/68360/head:
	qa: ignore expected MON_DOWN

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2026-04-14 08:17:28 -04:00
Jose Juan Palacios-Perez
5b7512ec1a
Merge pull request #67268 from perezjosibm/wip-perezjos-tracker74444
qa/suites/crimson-rados: first version of cephfs/
2026-04-14 10:27:41 +01:00
Matan Breizman
16290acdc2
Merge pull request #67358 from knrt10/wip-crimson-rgw-sts
qa: Add rgw sts suites to crimson-rados

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2026-04-14 11:32:11 +03:00
Patrick Donnelly
815d1d73a7
qa: enforce centos9 for test
Avoids problem where rocky10 packages do not exist for squid.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-04-13 21:29:06 -04:00
Patrick Donnelly
9f2cac88d9
qa: rename distro
The kernel mount overrides for the distro have no effect if they are
applied before `supported-random-distro`.

Fixes:

    2026-04-13T19:06:13.603 INFO:teuthology.task.pexec:sudo dnf remove nvme-cli -y
    2026-04-13T19:06:13.603 INFO:teuthology.task.pexec:sudo dnf install nvmetcli nvme-cli -y
    2026-04-13T19:06:13.626 INFO:teuthology.task.pexec:Running commands on host ubuntu@trial005.front.sepia.ceph.com
    2026-04-13T19:06:13.627 INFO:teuthology.task.pexec:sudo dnf remove nvme-cli -y
    2026-04-13T19:06:13.627 INFO:teuthology.task.pexec:sudo dnf install nvmetcli nvme-cli -y
    2026-04-13T19:06:13.652 INFO:teuthology.orchestra.run.trial148.stderr:sudo: dnf: command not found
    2026-04-13T19:06:13.653 DEBUG:teuthology.orchestra.run:got remote process result: 1
    2026-04-13T19:06:13.654 ERROR:teuthology.run_tasks:Saw exception from tasks.
    Traceback (most recent call last):
      File "/home/teuthworker/src/git.ceph.com_teuthology_426ec63bc4a39bba882efb593125294667afc593/teuthology/run_tasks.py", line 105, in run_tasks
        manager = run_one_task(taskname, ctx=ctx, config=config)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/teuthworker/src/git.ceph.com_teuthology_426ec63bc4a39bba882efb593125294667afc593/teuthology/run_tasks.py", line 83, in run_one_task
        return task(**kwargs)
               ^^^^^^^^^^^^^^
      File "/home/teuthworker/src/git.ceph.com_teuthology_426ec63bc4a39bba882efb593125294667afc593/teuthology/task/pexec.py", line 149, in task
        with parallel() as p:
      File "/home/teuthworker/src/git.ceph.com_teuthology_426ec63bc4a39bba882efb593125294667afc593/teuthology/parallel.py", line 84, in __exit__
        for result in self:
      File "/home/teuthworker/src/git.ceph.com_teuthology_426ec63bc4a39bba882efb593125294667afc593/teuthology/parallel.py", line 98, in __next__
        resurrect_traceback(result)
      File "/home/teuthworker/src/git.ceph.com_teuthology_426ec63bc4a39bba882efb593125294667afc593/teuthology/parallel.py", line 30, in resurrect_traceback
        raise exc.exc_info[1]
      File "/home/teuthworker/src/git.ceph.com_teuthology_426ec63bc4a39bba882efb593125294667afc593/teuthology/parallel.py", line 23, in capture_traceback
        return func(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^
      File "/home/teuthworker/src/git.ceph.com_teuthology_426ec63bc4a39bba882efb593125294667afc593/teuthology/task/pexec.py", line 62, in _exec_host
        tor.wait([r])
      File "/home/teuthworker/src/git.ceph.com_teuthology_426ec63bc4a39bba882efb593125294667afc593/teuthology/orchestra/run.py", line 485, in wait
        proc.wait()
      File "/home/teuthworker/src/git.ceph.com_teuthology_426ec63bc4a39bba882efb593125294667afc593/teuthology/orchestra/run.py", line 161, in wait
        self._raise_for_status()
      File "/home/teuthworker/src/git.ceph.com_teuthology_426ec63bc4a39bba882efb593125294667afc593/teuthology/orchestra/run.py", line 181, in _raise_for_status
        raise CommandFailedError(
    teuthology.exceptions.CommandFailedError: Command failed on trial148 with status 1: 'TESTDIR=/home/ubuntu/cephtest bash -s'

which was done because these dnf commands were pulled from rocky10.yaml from the kclient overrides but ubuntu_latest was used for the random distro.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-04-13 21:27:19 -04:00
Patrick Donnelly
1e31a6deaf
qa/suites/fs/bugs: use centos9 for squid upgrade test
To avoid missing package error for rocky10

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-04-13 21:27:19 -04:00
Patrick Donnelly
d8cc2ea40c
qa: remove unused variables
To make tox-qa happy.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-04-13 21:27:19 -04:00
Patrick Donnelly
5b2f5ee919
qa: use centos9 for fs suites using k-testing
A better approach would be to include centos9 OR rocky10 for
distribution choice. Then we can just filter out rocky10 when we're
testing the `testing` kernel but keep rocky10 coverage for other
testing.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-04-13 21:27:18 -04:00
Patrick Donnelly
6bf6fcb2b1
qa: update fs suite to rocky10
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-04-13 21:27:18 -04:00
Patrick Donnelly
b81cca6517
qa: skip dashboard install due to dependency noise
2025-11-18T19:46:46.226 INFO:teuthology.orchestra.run.smithi008.stdout:/usr/bin/ceph: stderr Error ENOTSUP: Module 'alerts' is not enabled/loaded (required by command 'dashboard set-ssl-certificate'): use `ceph mgr module enable alerts` to enable it

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-04-13 21:27:18 -04:00
Patrick Donnelly
6fa39caea7
qa: only setup nat rules during bridge creation
Currently the code recreates these NAT rules for every mount. This only
needs to be done once by the first mount.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2026-04-13 21:27:18 -04:00
Patrick Donnelly
83ecfdfe8b
qa: correct wording of comment
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2026-04-13 21:27:18 -04:00
Patrick Donnelly
60b31e5021
qa: use nft instead iptables
rocky.10 does not support iptables with MASQUERADE targets. (Or maybe it
does with more prodding but it's easier to just switch to nft.)

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-04-13 21:27:18 -04:00
Patrick Donnelly
5c511835c3
qa: use py3 builtin ipaddress module
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-04-13 21:27:18 -04:00
Laura Flores
93a89d8edf qa/suites/rados: temporarily disable ceph-post-file test
Since the lab migration, drop.ceph.com has been unreachable.
This test in the rados suite tries to reach drop.ceph.com and fails
when it can't. We discussed a plan for improving/fixing ceph-post-file
as an nginx server (see details in https://tracker.ceph.com/issues/75995).

This fix will not be immediate though, so for now, I am proposing that we
disable this test until the improved version is available.

I did not remove the following related files in case we end up repurposing them
for the new version:
- https://github.com/ceph/ceph/blob/main/qa/workunits/post-file.sh
- https://github.com/ceph/ceph/blob/main/src/ceph-post-file.in
- https://github.com/ceph/ceph/blob/main/doc/man/8/ceph-post-file.rst

We should re-instate a version of this test in https://tracker.ceph.com/issues/75995.

Fixes: https://tracker.ceph.com/issues/74517
Signed-off-by: Laura Flores <lflores@ibm.com>
2026-04-13 18:06:29 -05:00
Patrick Donnelly
7a042b0798
qa: ignore expected MON_DOWN
tasks.cephfs.test_misc.TestMisc.test_dump_inmemory_log_on_missed_internal_heartbeats
deliberately stops the monitors.

Fixes: https://tracker.ceph.com/issues/75992
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-04-13 14:22:35 -04:00
Matan Breizman
82466e2244
Merge pull request #68342 from Matan-B/wip-matanb-objecter-branch
qa/tasks/admin_socket.py: replace git.ceph.com with GitHub raw URLs

Reviewed-by: Shraddha Agrawal <shraddhaag@ibm.com>
2026-04-13 19:20:40 +03:00
Sridhar Seshasayee
acab6731d4
Merge pull request #68048 from sseshasa/wip-fix-max-criteria-in-phase1
mgr/DaemonServer: Limit search for OSDs to upgrade within the crush bucket

Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
2026-04-13 15:14:24 +05:30
Kefu Chai
f1f196bce9
Merge pull request #67622 from tchaikov/wip-qa-cephadm-ignore-failed-daemon
qa/cephadm: ignore transient CEPHADM_FAILED_DAEMON in smoke-singlehost

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Adam King <adking@redhat.com>
2026-04-13 16:27:11 +08:00
Matan Breizman
05f80acd3d qa/tasks/admin_socket.py: replace git.ceph.com with GitHub raw URLs
admin_socket tests can still fail on non-default branches
due to git.ceph.com wget timeouts. Use raw URLs instead.

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

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2026-04-12 17:41:30 +03:00
Laura Flores
ee82dc034a qa/suites/rados/encoder: remove rocky from supported distros
The encoder test tries to download reef and squid packages, but
these do not support rocky10. So, we should remove that distro
from the supported distros- only distros that all the involved
releases have in common should be tested.

Rocky10 will only be backported as far as tentacle.

Fixes: https://tracker.ceph.com/issues/75763
Signed-off-by: Laura Flores <lflores@ibm.com>
2026-04-10 16:59:21 -05:00
Redouane Kachach
e999950dcc
Merge pull request #68288 from lumir-sliva/qa/fix-cephadm-release-mismatch
qa/cephadm: derive container image from cephadm release

Reviewed-by: Redouane Kachach <rkachach@ibm.com>
2026-04-10 23:15:28 +02:00
Redouane Kachach
e1e2a56a19
Merge pull request #68285 from rkachach/fix_issue_75944
qa: fixing target release for MDS upgrade to be umbrella

Reviewed-by: Adam King <adking@redhat.com>
2026-04-10 09:41:00 +02:00
Redouane Kachach
06b1c4fc03
Merge pull request #68281 from rkachach/fix_nvmeof_smoke_test
qa: fixing nvmeof orch smoke test

Reviewed-by: Adam King <adking@redhat.com>
2026-04-10 09:34:54 +02:00
Kefu Chai
69eff2d74b mgr/feedback: make tracker URL configurable and stop hitting live tracker in tests
The feedback module hard-coded tracker.ceph.com as the Ceph issue
tracker hostname. This meant the dashboard test
test_issue_tracker_create_with_invalid_key actually performed an
HTTPS POST against the live production tracker on every CI run.
Whenever tracker.ceph.com returned an unexpected response (5xx,
gateway error, transient failure), the test would fail on
completely unrelated pull requests.

Add a runtime module option 'mgr/feedback/tracker_url' that
controls which host the CephTrackerClient talks to. The default
keeps the existing behaviour (tracker.ceph.com). The dashboard
test now sets this option to an unreachable hostname in setUpClass
so create_issue fails fast with a ConnectionError instead of
depending on tracker.ceph.com being reachable.

Combined with the prior commit's error-handling fix, the test now
deterministically verifies that any tracker failure is surfaced as
HTTP 400, without requiring network access.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
2026-04-10 12:54:35 +08:00
Casey Bodley
c632fb95ea
Merge pull request #68269 from kshtsk/wip-rgw-crypt-kmip
qa/rgw: Revive crypt kmip

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2026-04-09 15:47:20 -04:00
Casey Bodley
1b6578e07f qa/valgrind: generalize suppressions for gcc-14 MismatchedFree
the rgw suite is showing a handful of these false positives, and i
really don't want to micromanage suppressions for every little thing
that shows up here

so i chose to generalize the existing suppressions from
https://tracker.ceph.com/issues/74604 so that a single suppression would
cover this entire class of MismatchedFree warnings

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

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-04-09 11:33:39 -04:00
Lumir Sliva
db3ba638e9 qa/cephadm: derive container image from cephadm release
test_cephadm.sh hardcodes IMAGE_DEFAULT to ceph:main, which breaks
every stable branch whenever main is renamed to a new release. The
mismatch check in cephadm correctly rejects the container because its
release name doesn't match cephadm's own release. This has recurred on
every release transition (squidโ†’tentacle, quincyโ†’reef) without a fix.

Instead of always pulling ceph:main, derive IMAGE_DEFAULT from the
installed cephadm's version output. On stable builds (release type
"stable"), use ceph:<release> so the container matches cephadm. On dev
builds (main branch), fall back to ceph:main as before. The IMAGE_DEFAULT
env var can still be set externally to override.

Fixes: https://tracker.ceph.com/issues/75821
Signed-off-by: Lumir Sliva <61183145+lumir-sliva@users.noreply.github.com>
2026-04-09 17:10:33 +02:00
Redouane Kachach
38affe97b8
qa: fixing target release for MDS upgrade to be umbrella
Fixes: https://tracker.ceph.com/issues/75944
Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2026-04-09 15:58:20 +02:00
Kefu Chai
7041f6b6b3 mgr/crash, mgr/status: return negative errno to fix CLI exit code
The crash and status mgr modules return positive errno values (e.g.
errno.EINVAL) on error. However, the ceph CLI (src/ceph.in) only
treats negative return codes as errors:

    if ret < 0:
        final_ret = -ret

A positive return code falls through and the CLI exits with 0, masking
the error. This causes commands like "ceph crash post" and "ceph crash
info <bad-id>" to return success (rc=0) despite failing, with the
error message only appearing on stderr.

This was observed in the wild and worked around in a77b47eeeb, which added a
stderr != "" check to ceph-crash's post_crash() as a mitigation.

Fix the root cause by negating the errno values in both modules,
consistent with the HandleCommandResult convention
(retval: "E.g. 0 or -errno.EINVAL") and the 154 other call sites
across mgr modules that already use negative errno.

Also add error-path tests for the crash module to cover the three
affected commands (info, post, archive).

See-also: a77b47eeeb
Fixes: https://tracker.ceph.com/issues/75937
Signed-off-by: Kefu Chai <k.chai@proxmox.com>
2026-04-09 20:40:35 +08:00
Redouane Kachach
e2df25bd66
qa: fixing nvmeof orch smoke test
Adapting the orch apply cmd to use the new pool/group arguments

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
Fixes: https://tracker.ceph.com/issues/75934
2026-04-09 13:51:50 +02:00
Redouane Kachach
93aa3cb449
Merge pull request #67953 from rkachach/fix_issue_raw_osd_teuthology
qa: wipe disks in case of raw option is provided

Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
2026-04-09 12:53:43 +02:00
Vallari Agrawal
1e9a1717db
Merge pull request #68266 from VallariAg/fix-nvmeof-upgrade-v20
qa: fix nvmeof upgrade from v20.2.0
2026-04-09 16:12:04 +05:30
Kyr Shatskyy
da7d3b2847 qa/tasks/pykmip: archive pykmip log after server down
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
2026-04-09 02:16:25 +02:00
Kyr Shatskyy
995fd24597 qa/tasks/pykmip: use OpenSSL names instead IANA
For OpenSSL 3.x which the IANA names might not be supported.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
2026-04-09 02:16:25 +02:00
Kyr Shatskyy
4698fff408 qa/tasks/pykmip: drop py2 deps
We don't need no more python2 dependencies

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
2026-04-09 02:16:25 +02:00
Kyr Shatskyy
fd20467981 Revert "qa/rgw/crypt: disable failing kmip testing"
This reverts commit 5df7b44727.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
2026-04-09 02:16:10 +02:00
Aishwarya Mathuria
424bacaf1b
Merge pull request #68225 from Matan-B/wip-matanb-split-timeouts
qa/suites/crimson-rados/../pggrow: increase op_delay
2026-04-08 21:52:18 +05:30
Vallari Agrawal
6f648e7c8c
qa: fix nvmeof upgrade from v20.2.0
Bootstrap fails on v20.2.0 upgrade because of
cephadm binary and ceph image version mismatch.

This fixes following problem in bootstrap by using
tentacle cephadm binary:
```
Error: Container release tentacle != cephadm release umbrella; please use matching version of cephadm (pass --allow-mismatched-release to continue anyway)
```

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

Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
2026-04-08 21:24:00 +05:30
Radoslaw Zarzynski
3fcf439630
Merge pull request #68218 from NitzanMordhai/wip-nitzan-valgrind-reachable-dlopen-leak
qa: suppress reachable dlopen leak in libceph-common

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2026-04-07 20:20:20 +02:00
J. Eric Ivancich
58b8ab3aa2
Merge pull request #67678 from cbodley/wip-qa-rgw-verify-java-last-revert
Revert "qa/rgw: the rgw/verify suite runs java tests last"

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2026-04-07 14:12:55 -04:00
Radoslaw Zarzynski
88ecc71eec
Merge pull request #67733 from NitzanMordhai/wip-nitzan-rocky10-valgrind-rocksdb-leak-stillreachable
qa: Leak_StillReachable RocksDB error_handler

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2026-04-07 20:03:48 +02:00
Laura Flores
c94f8963a7 qa/suites/upgrade: ignore temporary OSD_HOST_DOWN health warning
This is normal to see during upgrades as we mark OSDs down to
upgrade them.

Fixes: https://tracker.ceph.com/issues/75415
Signed-off-by: Laura Flores <lflores@ibm.com>
2026-04-07 12:28:16 -05:00
Matan Breizman
d392564a4b qa/suites/crimson-rados/../pggrow: increase op_delay
Increase op_delay to pggrow to avoid rapid PG splits.
Excessive splitting with a low reactor count can leave many PGs in
snaptrim, causing tests to hit the (short) snap trimming timeout.

Crimson's pggrow keeps the OSDs clean thorugout the entire test,
which is against do_thrash expectations.
Increasing op_delay would reduce do_thrash "actions" back to a normal rate.

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

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2026-04-07 12:49:11 +03:00
J. Eric Ivancich
d19578ffa7 rgw/test: enhanced java s3-tests change setting of JAVA_HOME
Under Centos 9 the Java 8 version is recognized by the substring
"java-1.8" rather than "java-8". So the grep has been modified to
accept either.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit a49d4446e4)
2026-04-06 22:19:48 -04:00
J. Eric Ivancich
6459f8548c
Merge pull request #68208 from ivancich/wip-fix-s3tests-java-home
rgw: java s3-tests change setting of JAVA_HOME

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2026-04-06 11:40:15 -04:00
Nitzan Mordechai
4901f2c08c qa: suppress reachable dlopen leak in libceph-common
Fixes: https://tracker.ceph.com/issues/74566
Signed-off-by: Nitzan Mordechai <nmordech@ibm.com>
2026-04-06 06:09:17 +00:00
Kautilya Tripathi
3ea29564df qa/crimson-rados: Disable some failing rgw tests
Webidentity tests seems to fail on Crimson, so disabling them for now.

Signed-off-by: Kautilya Tripathi <kautilya.tripathi@ibm.com>
2026-04-06 07:48:46 +05:30
Kautilya Tripathi
71d5d72a49 qa: Port rgw sts test to crimson-rados
This adds sts qa tests of rgw to crimson-rados suite

Fixes: https://tracker.ceph.com/issues/74027
Signed-off-by: Kautilya Tripathi <kautilya.tripathi@ibm.com>
2026-04-06 07:48:46 +05:30
Kautilya Tripathi
79c2c64d4e qa: Add rgw singleton test to crimson
This adds singleton tests of rgw to crimson. In classical OSD both
ubuntu and centos build are supported. However the crimson OSD only
provide centos build so cannot symlink all the files directly.

Instead of linking entire subdirectories the crimson suite uses
selective symlinks for the required yaml files.

Fixes: https://tracker.ceph.com/issues/73947
Signed-off-by: Kautilya Tripathi <kautilya.tripathi@ibm.com>
2026-04-06 07:48:46 +05:30
Kyr Shatskyy
907304b3a2 qa/standalone/misc: make less noise for asok calculation
The $() notation not only calls the function, it also creates subshell,
which is a separate process. Additionally in debug mode all the content
of the function get_asok_path is printed out in the logs each time
whenever it is called, for example:

    ...stderr://home/ubuntu/cephtest/clone.client.0/qa/standalone/ceph-helpers.sh:552: run_mgr:  get_asok_path
    ...stderr://home/ubuntu/cephtest/clone.client.0/qa/standalone/ceph-helpers.sh:107: get_asok_path:  local name=
    ...stderr://home/ubuntu/cephtest/clone.client.0/qa/standalone/ceph-helpers.sh:108: get_asok_path:  '[' -n '' ']'
    ...stderr:///home/ubuntu/cephtest/clone.client.0/qa/standalone/ceph-helpers.sh:111: get_asok_path:  get_asok_dir
    ...stderr:///home/ubuntu/cephtest/clone.client.0/qa/standalone/ceph-helpers.sh:99: get_asok_dir:  '[' -n '' ']'
    ...stderr:///home/ubuntu/cephtest/clone.client.0/qa/standalone/ceph-helpers.sh:102: get_asok_dir:  echo /tmp/ceph-asok.48301
    ...stderr://home/ubuntu/cephtest/clone.client.0/qa/standalone/ceph-helpers.sh:111: get_asok_path:  echo '/tmp/ceph-asok.48301/$cluster-$name.asok'

Instead of calling get_asok_path each time we need to define osd.0,
etc. asok file path, we just predefine corresponding variables.
It not only avoids extra resource usage, but also removes a lot of
noise from the logs.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
2026-04-04 13:22:21 +08:00
J. Eric Ivancich
b8e2796270 rgw: java s3-tests change setting of JAVA_HOME
Previously s3tests_java.py set JAVA_HOME using the `alternatives`
command. That had issues in that `alternatives` is not present on all
Ubuntu systems, and some installations of Java don't update
alternatives. So instead we look for a "java-8" jvm in /usr/lib/jvm/
and set JAVA_HOME to the first one we find.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2026-04-03 19:26:41 -04:00
Patrick Donnelly
69dc4296d5
qa: add back centos9.stream
When graph walks is complete, it will actually be possible link to
supported without repeating the links. The matrix implementation doesn't
support this.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-04-01 20:10:47 -04:00
Patrick Donnelly
fb9936c600
Revert "qa/distros: link random distro to supported"
This reverts commit e00e327d5f.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-04-01 20:10:44 -04:00
Patrick Donnelly
a600cdf973
qa: remove file from silent conflict
Added back by 2755bec58f.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-04-01 19:38:58 -04:00
Patrick Donnelly
fbbdfeae0b
Merge PR #67961 into main
* refs/pull/67961/head:
	qa/distros: link random distro to supported
	qa/distros: add .qa links
	qa: remove special chars from supported-random-distro
	qa: remove redundant single-container-host
	qa/distros/container-hosts: remove centos8
	qa: remove distros/podman
	qa: switch from distros/podman to supported-container-hosts

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2026-04-01 16:00:24 -04:00
Patrick Donnelly
589bdde0fb
Merge PR #67957 into main
* refs/pull/67957/head:
	qa/distros: add centos 9 stream back to supported distros

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2026-04-01 13:52:58 -04:00
Ilya Dryomov
ca6ae3adaa
Merge pull request #68013 from badone/wip-tracker-75391-kernel_untar_build-rocky-failure
qa/workunits: Add updated kernel archive URL

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2026-04-01 10:23:45 +02:00
Sridhar Seshasayee
f18093fc09 mgr/DaemonServer: Limit search for OSDs to upgrade within the crush bucket.
The behavior of the 'ok-to-upgrade' command is now more deterministic with
respect to the parameters passed.

To achieve the above, the commit implements the following changes:

1. The 'ok-to-upgrade' command is modified to operate strictly on the OSDs
   within the CRUSH bucket and, if possible, meet the '--max' criteria when
   specified. When --max <num> is provided, the command returns up to <num>
   OSD IDs from the specified CRUSH bucket that can be safely stopped for
   simultaneous upgrade. This is useful when only a subset of OSDs within
   the bucket needs to be upgraded for performance or other reasons.

2. Modifies the standalone tests to reflect the above change.

3. Modifies the relevant documentation to reflect the change in behavior.

Fixes: https://tracker.ceph.com/issues/75681
Signed-off-by: Sridhar Seshasayee <sridhar.seshasayee@ibm.com>
2026-03-31 19:13:57 +05:30
Alex Ainscow
8ee4ca1c21 qa: Exclude missing ceph-osd-classic and ceph-osd-crimson from tentacle installs.
The upgrade from tentacle builds were failing because the system was attempting
to install packages whose names were changed in Umbrella.

We use the same workaround previously used for squid.

Fixes: https://tracker.ceph.com/issues/75730
Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
2026-03-30 16:23:20 +01:00
Jose J Palacios-Perez
f2ab6d5fcc crimson-rados/cephfs: add cfuse suites from smoke
Signed-off-by: Jose J Palacios-Perez <perezjos@uk.ibm.com>
2026-03-30 16:07:51 +01:00
Shraddha Agrawal
620d683191 qa/tasks/cephadm.py: only pass --objectstore when not bluestore
This commit ensure that we only pass --objectstore argument to
cephadm's add/apply OSD command only when the value is not the
default value, bluestore.

This is done to ensure older ceph releases, like Squid and Tentacle
do not fail, as --objectstore argument was only added in Umbrella.

Fixes: https://tracker.ceph.com/issues/75731
Signed-off-by: Shraddha Agrawal <shraddha.agrawal000@gmail.com>
2026-03-30 15:42:08 +05:30
Lumir Sliva
8b9dbb50d0 qa,src: replace deprecated egrep/fgrep with grep -E/grep -F
egrep and fgrep are deprecated and emit warnings on modern systems:

  egrep: warning: egrep is obsolescent; using grep -E

Replace all occurrences of egrep with grep -E and fgrep with grep -F
across shell scripts, Python files, and YAML configs. These are
POSIX-defined equivalences with identical behavior.

Fixes: https://tracker.ceph.com/issues/75776
Signed-off-by: Lumir Sliva <lumir.sliva@firma.seznam.cz>
2026-03-29 14:39:07 +02:00
Sridhar Seshasayee
9cbdecd972
Merge pull request #67829 from sseshasa/wip-fix-test-backfilltoofull-with-compression
qa/tasks/backfill_toofull.py: Fix assert failures with & without compression

Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2026-03-28 00:04:03 +05:30
Yuval Lifshitz
7bc07a957f
Merge pull request #68021 from yuvalif/wip-yuval-75712
test/rgw/notification: fix rabbitmq dependency for rocky10
2026-03-27 16:48:30 +03:00
Casey Bodley
bf854c38f4
Merge pull request #68000 from cbodley/wip-qa-rgw-dont-verify-ragweed
qa/rgw: remove ragweed from verify subsuite

Reviewed-by: Oguzhan Ozmen <oozmen@bloomberg.net>
2026-03-26 11:44:17 -04:00
Yuval Lifshitz
acf8f7c7ad test/rgw/notification: fix rabbitmq dependency for rocky10
Fixes: https://tracker.ceph.com/issues/75712

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
2026-03-26 15:25:49 +00:00
Casey Bodley
7f89741b89
Merge pull request #68001 from cbodley/wip-qa-rgw-upgrade-distros-latest
qa/rgw/upgrade: symlinks are explicit about distro versions

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2026-03-26 11:20:06 -04:00
Brad Hubbard
14fc52e097 qa/workunits: Add updated kernel archive URL
Fixes: https://tracker.ceph.com/issues/75391

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2026-03-26 12:29:54 +10:00
Alex Ainscow
1c23b001e1 qa: qa tasks from the release checklist for Umbrella
All the qa tasks in the umbrella release checklist.
This includes removing X-3 releases and adding X-1 releases
(where appropriate).

Also updated release-checklist.rst

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
2026-03-25 16:53:04 +00:00
Chris Harris
9116a3c780 qa: add X-1 release (tentacle) to fs upgrade suite
Add files for the tentacle release (X-1) to the qa/suites/fs/upgrade suites

Signed-off-by: Chris Harris <harriscr@uk.ibm.com>
2026-03-25 16:53:04 +00:00
Chris Harris
8499d6bd5b qa: remove reef code from fs
Remove the reef code from the fs upgrade suites as we no longer want to test X-3 releases

Signed-off-by: Chris Harris <harriscr@uk.ibm.com>
2026-03-25 16:53:04 +00:00
Chris Harris
4f4d21712b qa Upgrade to Umbrella
All the qa tasks in the umbrella release checklist

Signed-off-by: Chris Harris <harriscr@uk.ibm.com>
Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>

# Conflicts:
#	qa/suites/upgrade/telemetry-upgrade/tentacle-x/1-tasks.yaml
#	qa/workunits/test_telemetry_tentacle.sh
#	qa/workunits/test_telemetry_tentacle_x.sh
2026-03-25 16:53:04 +00:00
Alex Ainscow
766be37302 qa: update require-osd-release to umbrella
Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
2026-03-25 16:53:04 +00:00
Alex Ainscow
fde867de6f qa/workunits/cephtool/test: update to umbrella
Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
2026-03-25 16:53:04 +00:00
Alex Ainscow
c8f6959227 qa/standalone/mon/misc: update for umbrella
Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
2026-03-25 16:53:03 +00:00
Casey Bodley
73b1d1e708 qa/rgw/upgrade: symlinks are explicit about distro versions
avoid relying on "ubuntu_latest" and "rpm_latest" symlinks, which change
over time on main. be explicit about the distro versions supported by
the initial release

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-03-25 12:39:03 -04:00
Casey Bodley
060f0447ae qa/rgw: remove ragweed from verify subsuite
it's currently broken with newer python on rocky 10 and ubuntu 24
(tracked in https://tracker.ceph.com/issues/72500) and doesn't provide
interesting test coverage outside of rgw/upgrade

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-03-25 12:35:03 -04:00
Ali Masarwa
3d6f0fe0f8 RGW: add support global CORS rule
Signed-off-by: Ali Masarwa <amasarwa@redhat.com>
2026-03-25 16:43:23 +02:00
Patrick Donnelly
e00e327d5f
qa/distros: link random distro to supported
So we don't have two "supported" distro directories to maintain.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-03-25 09:51:56 -04:00
Patrick Donnelly
b6946369de
qa/distros: add .qa links
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-03-25 09:51:56 -04:00
Patrick Donnelly
3da3ef70c0
qa: remove special chars from supported-random-distro
It's aggravating to have "$" in a file name. It's not necessary since it
already contains "$" in the directory itself.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-03-25 09:51:56 -04:00
Patrick Donnelly
67ede202de
qa: remove redundant single-container-host
It is identical to .qa/distros/supported-container-hosts/centos_9.stream.yaml

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-03-25 09:51:56 -04:00
Patrick Donnelly
b1e9845c5b
qa/distros/container-hosts: remove centos8
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-03-25 09:51:56 -04:00
Patrick Donnelly
160d8d737c
qa: remove distros/podman
It is superseded by supported-container-hosts.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-03-25 09:51:55 -04:00
Patrick Donnelly
0495caa8e6
qa: switch from distros/podman to supported-container-hosts
We don't support centos.8 anymore which requires special configuration.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-03-25 09:51:55 -04:00
Jose Juan Palacios-Perez
4b3eb2e2bc
Merge pull request #67723 from perezjosibm/wip-perezjos-tracker75202
qa/workunits: add crimson/test_crimson_dump_metrics.sh
2026-03-25 11:04:32 +00:00
Shraddha Agrawal
b6e341b17f qa/distros/crimson-supported-all-distro: reinstate centos
Signed-off-by: Shraddha Agrawal <shraddha.agrawal000@gmail.com>
2026-03-24 21:54:47 +05:30
Venky Shankar
03aaf69fac Merge PR #61981 into main
* refs/pull/61981/head:

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2026-03-23 20:34:06 +05:30
Casey Bodley
2755bec58f qa/distros: add centos 9 stream back to supported distros
https://github.com/ceph/ceph/pull/66055 replaced centos_latest with
rpm_latest but didn't add centos_9 back. we want to test both

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-03-23 10:12:20 -04:00
Redouane Kachach
f3c938f503
qa/cephadm: zap raw devices before OSD deployment
ceph_osds() assumes all teuthology scratch devices are clean
and directly usable by:

 > ceph orch apply osd --all-available-devices --method raw

However, in practice some devices may retain stale BlueStore metadata
(or other data) from previous runs. cephadm correctly skips such
devices, leading to fewer OSDs than expected and causing the test to
timeout waiting for an exact OSD count.

This change adds a pre-deployment cleanup step for `raw-osds` that:
- zaps any existing BlueStore metadata (`ceph-bluestore-tool zap-device`)
- removes filesystem signatures (`wipefs --all`)
- clears initial disk data (`dd`)

This ensures all scratch devices are truly available for OSD
deployment and prevents mismatches between expected and actual OSD
counts.

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

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2026-03-23 13:28:32 +01:00
Vallari Agrawal
9b8a9d14da
Merge pull request #67804 from VallariAg/wip-nvmeof-thrasher-fixes
qa: Fix nvmeof 'errors during thrashing'
2026-03-23 15:39:47 +05:30
Ilya Dryomov
774cac9901
Merge pull request #67896 from idryomov/wip-75209
qa/workunits/rbd: drop racy assert in test_tasks_recovery()

Reviewed-by: Mykola Golub <mykola.golub@clyso.com>
2026-03-21 16:01:28 +01:00
Nitzan Mordechai
7806ba5cdf
qa: Leak_StillReachable RocksDB error_handler
Leak stillreachable on RocksDB on Rocky10

Fixes: https://tracker.ceph.com/issues/75430
Signed-off-by: Nitzan Mordechai <nmordec@ibm.com>
2026-03-20 17:58:50 -04:00
Patrick Donnelly
912e429e04
Merge PR #67557 into main
* refs/pull/67557/head:
	qa: resolve py3.12 regression for random.sample

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2026-03-20 17:55:40 -04:00
Patrick Donnelly
a4afb10007
Merge PR #67230 into main
* refs/pull/67230/head:
	qa: suppress false positive delete map mismatch errors

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2026-03-20 17:54:28 -04:00
Patrick Donnelly
d64d998c09
Merge PR #67127 into main
* refs/pull/67127/head:
	qa/suites/upgrade: exclude rocky when Squid is involved
	qa/suites/upgrade: update upgrade paths

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
2026-03-20 17:53:42 -04:00
Patrick Donnelly
d67b49fee0
Merge PR #67102 into main
* refs/pull/67102/head:
	qa/workunits/rados/test_envlibrados_for_rocksdb.sh: Add Rocky support
	qa/workunits/ceph-helpers-root: Add Rocky support for install packages

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2026-03-20 17:49:53 -04:00
Patrick Donnelly
be02cf089e
Merge PR #66651 into main
* refs/pull/66651/head:
	qa: suppress MismatchedFree operator delete RocksDB

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2026-03-20 17:49:31 -04:00
Patrick Donnelly
4a10b7920d
Merge PR #66055 into main
* refs/pull/66055/head:
	qa/distros: re-install nvme-cli package in rocky tests
	qa: allowlist bpf podman denials on Rocky 10
	qa/distros: bump rocky to 10.1
	qa/distros: add rocky_10 as supported container host
	qa/distros: bump rpm_latest.yaml to rocky_10.yaml
	qa/distros: rename centos_latest.yaml to rpm_latest.yaml
	qa/distros: add rocky_9 and rocky_10

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2026-03-20 17:40:21 -04:00
Patrick Donnelly
bbfedafcf5
Merge PR #63859 into main
* refs/pull/63859/head:
	qa/workunits/mgr: account for nvmeof module being "always-on"
	mgr, qa: clarify module checks in DaemonServer
	mgr, qa: add `pending_modules` to asock command
	mgr, common, qa, doc: issue health error after max expiration is exceeded
	mgr: ensure that all modules have started before advertising active mgr

Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2026-03-20 17:39:45 -04:00
Matt Benjamin
7027dc7ef0 rgwfile: common-prefix cp_ref unittest
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2026-03-20 15:46:44 -04:00
Adam King
e3b084aaf4 qa/distros: re-install nvme-cli package in rocky tests
Fixes: https://tracker.ceph.com/issues/73823

Signed-off-by: Adam King <adking@redhat.com>
2026-03-20 10:21:00 -04:00
David Galloway
25411d57c6 qa: allowlist bpf podman denials on Rocky 10
Rocky Linux 10 logs SELinux AVCs for systemd BPF operations during container startup due to incomplete SELinux policy coverage. These AVCs occur in permissive mode, are reproducible without Ceph, and do not indicate functional failure. Tests should ignore this specific AVC class while continuing to fail on enforced denials.

Signed-off-by: David Galloway <david.galloway@ibm.com>
2026-03-20 10:21:00 -04:00
Casey Bodley
0cef3dfa2a qa/distros: bump rocky to 10.1
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-03-20 10:21:00 -04:00
Casey Bodley
7a3d1a50d3 qa/distros: add rocky_10 as supported container host
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-03-20 10:21:00 -04:00
Casey Bodley
8d864de4d8 qa/distros: bump rpm_latest.yaml to rocky_10.yaml
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-03-20 10:21:00 -04:00
Casey Bodley
d4b977afdc qa/distros: rename centos_latest.yaml to rpm_latest.yaml
rename qa/distros/all/centos_latest.yaml to rpm_latest.yaml, along with
all symlinks thereto

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-03-20 10:20:56 -04:00
Casey Bodley
1e02818d40 qa/distros: add rocky_9 and rocky_10
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-03-20 10:18:30 -04:00
Venky Shankar
30d41e7b8d Revert "qa/test_backtrace: Validate remote_inode xattr is stored"
This reverts commit 4e0f7dbd55.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2026-03-20 12:55:14 +05:30
Venky Shankar
3c70540726 Revert "qa/cephfs-data-scan: Validate referent hardlink recovery"
This reverts commit ba5df7ae75.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2026-03-20 12:55:14 +05:30
Venky Shankar
cd792bf2b0 Revert "qa: Fix dashboard test_health failure"
This reverts commit d2c1f9953d.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2026-03-20 12:55:14 +05:30
Venky Shankar
b1088ddd61 Revert "qa: Add function to fetch inode from metadata pool"
This reverts commit 5e4812cdb5.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2026-03-20 12:55:13 +05:30
Venky Shankar
d5523447fc Revert "qa: referent inode test - link w/ max_mds=1"
This reverts commit f27a47ac9d.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2026-03-20 12:55:13 +05:30
Venky Shankar
2fcd27a980 Revert "qa: Disable referent inodes for a few test_strays tests"
This reverts commit ecd2496933.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2026-03-20 12:55:13 +05:30
Venky Shankar
a97958eb0b Revert "qa: referent inodes - unlink, stray_reintegration"
This reverts commit 43b4ef3f54.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2026-03-20 12:55:13 +05:30
Venky Shankar
bcba417d0a Revert "qa: add more referent inode tests"
This reverts commit 7b2d9c4b58.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2026-03-20 12:55:13 +05:30
Venky Shankar
713e88e41b
Merge pull request #67406 from batrick/i75013
mon/AuthMonitor: add osd w cap for superuser client

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
2026-03-20 10:26:31 +05:30
Laura Flores
740de93366 qa/workunits/mgr: account for nvmeof module being "always-on"
Post the merge of this: https://github.com/ceph/ceph/pull/67641

Fixes: https://tracker.ceph.com/issues/71631
Signed-off-by: Laura Flores <lflores@ibm.com>
2026-03-19 09:45:35 -05:00