Commit Graph

12949 Commits

Author SHA1 Message Date
kobi ginon
93ff14d091
Merge branch 'main' into issue-77250-clean
Signed-off-by: kobi ginon <153318313+kginonredhat@users.noreply.github.com>
2026-07-11 13:27:02 +03:00
Patrick Donnelly
3f721c0760
Merge PR #69149 into main
* refs/pull/69149/head:
	qa/suites/upgrade: ignore fs down variant

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2026-07-10 16:35:01 -04:00
Kefu Chai
1d0df87756
Merge pull request #69776 from tchaikov/wip-mgr-selftest-influx-ignorelist
qa/suites/rados/mgr: ignorelist MGR_INFLUX_DB_LIST_FAILED

Reviewed-by: Sridhar Seshasayee <sridhar.seshasayee@ibm.com>
2026-07-10 23:52:13 +08:00
Ronen Friedman
1f342d4f27
Merge pull request #69938 from ronen-fr/wip-rf-nodp-crimson
qa/crimson: ignore PG_NOT_DEEP_SCRUBBED in all crimson tests

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2026-07-10 07:46:14 +03:00
John Mulligan
25f76754e0
Merge pull request #70083 from phlogistonjohn/jjm-smb-teuth-workunit-pin
qa/workunits/smb: work around test failures by pinning smbprotocol version

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Anoop C S <anoopcs@cryptolab.net>
2026-07-09 19:46:25 -04:00
Casey Bodley
ba6eb32e88
Merge pull request #69841 from cbodley/wip-qa-rgw-crypt-kmip-re-renable
Revert "Reapply "qa/rgw/crypt: disable failing kmip testing""

Reviewed-by: Adam Emerson <aemerson@redhat.com>
2026-07-09 13:21:04 -04:00
John Mulligan
ce5ceabfae qa/workunits/smb: work around test failures by pinning smbprotocol version
Work around new tests failures (in the TestHostsAccessToggle1 tests)
where the error/exception handling has apparently changed by just
pinning the version (by excluding the new v1.17.0 and newer versions).

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2026-07-09 10:28:13 -04:00
Redouane Kachach
d899c9fd7d
Merge pull request #69998 from rkachach/fix_issue_77991
qa/cephadm: fix hardcoded 'sshd' unit name in setup_ca_signed_keys

Reviewed-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
2026-07-09 15:44:02 +02:00
Ronen Friedman
d98e84a618 qa/crimson: ignore PG_NOT_DEEP_SCRUBBED in all crimson tests
As we do not yet scrub scheduling in Crimson, the
OSDs do not perform deep scrubs. last_deep_scrub_stamp thus
stays at epoch 0 for all PGs. The monitor flags these as overdue
immediately, causing spurious test failures — particularly in tests
that restart OSDs (e.g. crimson_fio_restart), where PGs reaching
active+clean state trigger the health check.

Fixes: https://tracker.ceph.com/issues/77929
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2026-07-09 08:26:47 +00:00
Laura Flores
387871c86d
Merge pull request #68325 from ljflores/wip-tracker-75414
qa/suites/upgrade: add POOL_FULL variations to ignorelist

Reviewed-by: Radosław Zarzyński <Radoslaw.Adam.Zarzynski@ibm.com>
2026-07-07 14:57:02 -05:00
Redouane Kachach
7b2217caf3
qa/cephadm: fix hardcoded 'sshd' unit name in setup_ca_signed_keys
setup_ca_signed_keys() hardcoded `systemctl restart sshd`, which fails
on Debian/Ubuntu where the SSH server unit is named `ssh.service`
rather than `sshd.service`. Try `ssh` first, fall back to `sshd` if
that fails, grouped so the fallback only fires on restart failure and
doesn't mask a failed config write.

Fixes: https://tracker.ceph.com/issues/77991
Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2026-07-07 15:47:11 +02:00
Ilya Dryomov
75c4e2897f qa/suites/rbd/valgrind: pin to centos_9.stream instead of rpm_latest
This used to be the case before commit d4b977afdc ("qa/distros:
rename centos_latest.yaml to rpm_latest.yaml") and subsequent changes
to enable Rocky 10.  When paired with valgrind, python_api_tests* jobs
fail persistently on Ubuntu and Rocky, see [1].  Switch back until that
is resolved (or for as long as centos_9.stream remains in the mix).

[1] https://tracker.ceph.com/issues/74864

Fixes: https://tracker.ceph.com/issues/77982
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2026-07-07 13:40:57 +02:00
Venky Shankar
d73bf27fa9
Merge pull request #68635 from chrisphoffman/wip-74110
qa: Use mount class in test_fscrypt to read/write and to compare trees

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2026-07-07 08:41:40 +05:30
Sridhar Seshasayee
5937363e43
Merge pull request #69578 from sseshasa/wip-osd-perf-counter-pg-rebuild-stats
osd/PeeringState: add perf counters for PG rebuild times

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2026-07-06 18:33:52 +05:30
Kefu Chai
56ae6e2a0b
Merge pull request #69795 from tchaikov/wip-qa-cephfs-escape-warnings
qa/cephfs: fix invalid escape sequence SyntaxWarnings

Reviewed-by: Edwin Rodriguez <edwin.rodriguez1@ibm.com>
2026-07-03 09:17:51 +08:00
Kotresh HR
76df7a90b2
Merge pull request #69081 from karthik-us1/mirroring-checkpoints
tool/cephfs_mirror: Adding checkpoints for mirroring

Reviewed-by: Kotresh HR <khiremat@redhat.com>
2026-07-02 18:31:37 +05:30
Karthik U S
fe7fa7b076 qa/test_mirroring: Add tests for mirroring checkpoints
Adding integration tests for validating the cephfs mirroring
checkpoints feature

Fixes: https://tracker.ceph.com/issues/73454
Signed-off-by: Karthik U S <karthik.u.s1@ibm.com>
2026-07-02 14:49:04 +05:30
Ilya Dryomov
e246fad552 qa/suites/rbd: add mon_host + key[-ref] coverage to migration-external
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2026-07-01 21:53:53 +02:00
Ilya Dryomov
047bbbf863 qa/suites/rbd: use client.0 entity in migration-external tests
Currently client.admin is passed for client_name and that doesn't
exercise client_name handling much as client.admin is the default.

When deploying multiple clusters the ceph task distributes keyrings
with only the key for the initial monitor and client.admin key.  Other
keys (e.g. client.0) are present only on their respective clusters, so
client.0's key for cluster2 needs to be obtained on cluster1 explicitly
with "ceph auth get".

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2026-07-01 21:53:53 +02:00
Oguzhan Ozmen
1c1eacc327
Merge pull request #69591 from BBoozmen/wip-oozmen-77509
rgw: add RGWObjCategory::MultiPart to separate multipart parts from completed objects in bucket stats
2026-07-01 14:24:20 -04:00
Christopher Hoffman
aa70e12532 qa: Use mount class in test_fscrypt to read/write and to compare trees
In TestFSCryptVolumes, make sure to use mount class to
compare directory trees and to read/write files.

Fixes: https://tracker.ceph.com/issues/74110
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
2026-07-01 16:42:23 +00:00
Casey Bodley
c63915350f Revert "Reapply "qa/rgw/crypt: disable failing kmip testing""
This reverts commit d27261d0c2.

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

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-07-01 09:22:21 -04:00
Casey Bodley
57342f5373 qa: pykmip task defaults to ceph fork
point the pykmip task to the ceph fork of the PyKMIP repo, which carries
fixes for newer python

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-07-01 09:22:21 -04:00
Venky Shankar
fc9f8642b2 Merge PR #66558 into main
* refs/pull/66558/head:
	qa/cephfs: minor fix in comment
	qa/cephfs: give more time to tests in test_clone_stats.py
	qa/cephfs: increase number of files to cloned in test_clone_stats.py
	volumes/stats_util: improve log messages

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2026-07-01 11:14:38 +05:30
Venky Shankar
1d7f80b43b
Merge pull request #69031 from neesingh-rh/wip-71795
qa: fixing failures in TestShellOpts

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2026-06-30 19:10:09 +05:30
Casey Bodley
283108e66b
Merge pull request #69371 from cbodley/wip-76961
qa/dnsmasq: use managed dnsmasq instead of editing resolv.conf

Reviewed-by: Oguzhan Ozmen <oozmen@bloomberg.net>
2026-06-30 08:30:26 -04:00
Igor Fedotov
a65fd3baf3
Merge pull request #66344 from JoshuaGabriel/68797-bdev-expand-admin
os/bluestore: asok command to expand block device and Bluestore while OSD is running

Revewed-by: Igor Fedotov <igor.fedotov@croit.io>
2026-06-30 15:13:45 +03:00
Kobi Ginon
e6679c37ac qa/mgr: fix influx module_selftest health warning noise
Skip influx selftests when the Python influxdb client is not installed.
Remove the ineffective testhost workaround and ignore the expected
MGR_INFLUX_NO_SERVER warning when the module runs without a server.

Fixes: https://tracker.ceph.com/issues/77250
Signed-off-by: Kobi Ginon <kginon@redhat.com>
2026-06-30 14:58:26 +03:00
Redouane Kachach
b9fdd67b58
Merge pull request #66663 from Shubhaj1810/fix-issue-2384421
mgr/nfs: include placement details and active/passive roles in cluster info

Reviewed-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
2026-06-30 13:42:16 +02:00
NitzanMordhai
dd5cbcdf5c
Merge pull request #69675 from NitzanMordhai/wip-nitzan-config-trim-key-trail-lead-spaces
mon/config: trim whitespace in config target
2026-06-29 11:02:24 +03:00
Kefu Chai
1ccb756182 qa/cephfs: fix invalid escape sequence SyntaxWarnings
python 3.12 warns on unrecognized escape sequences in string literals.
fuse_mount's admin-socket pyscript and mount's nft payload carry regex
and shell escapes (\., \d, \;) that are meant literally, so make those
strings raw. filesystem's get_mds_addr docstring had a stray \/ in the
example address, which is just a slash, so drop the backslash.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
2026-06-29 09:36:12 +08:00
Kefu Chai
e59ab34666 qa/suites/rados/mgr: ignorelist MGR_INFLUX_DB_LIST_FAILED in module_selftest
module_selftest fails on a cluster log warning that is not ignorelisted:

  cluster [WRN] Health check failed: Failed to list/create InfluxDB database (MGR_INFLUX_DB_LIST_FAILED)

module_selftest is the only job that enables the influx module, and no suite
provisions an InfluxDB server, so once enabled the module cannot reach a backend
and raises a health warning: MGR_INFLUX_NO_SERVER when no hostname is set,
MGR_INFLUX_DB_LIST_FAILED from serve() once one is.  test_influx sets a hostname,
so it hits the latter.

This surfaced only after the test image started shipping the influxdb python
module.  Until then can_run() returned false, the module never enabled, and the
sole log line was "influxdb python module not found", which is already
ignorelisted.  self_test() cannot run without enabling the module, so ignorelist
the warning it raises.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
2026-06-27 07:26:02 +08:00
Ilya Dryomov
35eb60117b
Merge pull request #68500 from abitdrag/wip-non-prim-demote-img-snap-removal
rbd-mirror: Remove old non-primary demoted image snapshots on the local cluster

Reviewed-by: VinayBhaskar-V <vvarada@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2026-06-25 12:33:51 +02:00
Nitzan Mordechai
cab98604fa mon/config: trim whitespace in config target
When set\get\rm config values with leading or trailing spaces,
those spaces need to be removed before we are trying to get\set\rm
those keys.
add trim code before each approch and also for exist keys in config.

Fixes: https://tracker.ceph.com/issues/77598
Signed-off-by: Nitzan Mordechai <nmordech@ibm.com>
2026-06-25 06:52:47 +00:00
Miki Patel
5a77c4fd35 rbd-mirror: Remove old non-primary demoted image snapshots on the local cluster
When an image is demoted on primary cluster and later promoted again,
a non-primary demoted image snapshot is created on the peer (secondary)
cluster. Each such promote/demote cycle on same cluster results in an
additional non-primary demoted snapshot being created on peer.
As a result, repeated promote/demote cycles on the same cluster can
lead to accumulation of stale non-primary demoted snapshots on the
secondary cluster. These snapshots are not removed immediately because
cleanup is only triggered when peer (secondary) is promoted and then
demoted.

The proposed changes ensures that such snapshots are proactively identified
and removed, preventing unbounded buildup. Also added test coverage to
verify cleanup behavior.

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

Signed-off-by: Miki Patel <miki.patel132@gmail.com>
2026-06-24 23:11:46 +05:30
Oguzhan Ozmen
29099f910c qa/rgw: add integration test for multipart part category in bucket stats
Test that multipart upload part heads are tracked under the
rgw.multipart category in radosgw-admin bucket stats, separate from
completed objects (rgw.main).

- Incomplete upload: rgw.main=0, rgw.multipart=X, rgw.multimeta=1
- CompleteMultipart: parts cleaned up, assembled object in rgw.main
- AbortMultipart: parts cleaned up, rgw.multipart returns to 0
- ListObjects returns 0 during incomplete upload

Also add quota enforcement testcase for multipart part category

- Verify that multipart upload parts tracked under RGWObjCategory::MultiPart
  still count against both bucket and user quotas.

Tests: https://tracker.ceph.com/issues/77509
Signed-off-by: Oguzhan Ozmen <oozmen@bloomberg.net>
2026-06-24 16:51:57 +00:00
Afreen Misbah
98f04401bb
Merge pull request #69390 from rhcs-dashboard/fix-feedback-module
mgr/dashoard : Fix feedback module enablement


Reviewed-by: Naman Munet <nmunet@redhat.com>
2026-06-24 21:04:45 +05:30
Casey Bodley
69b89f2274
Merge pull request #65724 from adamemerson/wip-include-s3tests
Include s3-tests in ceph repo

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2026-06-24 10:12:54 -04:00
Abhishek Desai
bdbfa8a15a mgr/dashboard : Fix feedback module enablement
fixes : https://tracker.ceph.com/issues/75734
Signed-off-by: Abhishek Desai <abhishek.desai1@ibm.com>
2026-06-24 13:08:01 +05:30
Kotresh HR
a38b620ccd
Merge pull request #68827 from kotreshhr/mirror-metrics-new-mgr-interface
tools/cephfs_mirror: Mirror metrics via  new mgr interface

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2026-06-24 08:18:37 +05:30
Kefu Chai
2e2f5f7670
Merge pull request #69664 from tchaikov/wip-asan-options
cmake,ceph,qa: update and populate ASan options to ceph cli

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2026-06-24 08:53:07 +08:00
Laura Flores
cf695e6c81 qa/suites/upgrade: add POOL_FULL variations to ignorelist
Fixes: https://tracker.ceph.com/issues/75414
Signed-off-by: Laura Flores <lflores@ibm.com>
2026-06-23 17:07:45 -05:00
Laura Flores
6158e8efcb
Merge pull request #69416 from NitzanMordhai/wip-nitzan-test-osd-recovery-prio-race
osd-recovery-prio: race condition fix in TEST_recovery_pool_priority

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
2026-06-23 16:27:28 -05:00
Kefu Chai
320a3a0529 qa/lsan.supp: suppress CPython 3.12/3.13 interpreter leaks
The python binaries on some CI images and dev boxes ship stripped, so the
allocator frames in an interpreter-shutdown leak come through unsymbolised
(/usr/bin/python3.13+0x...) and the function-name matches above cannot apply.
leak:python3.10 already handled this for 3.10, and a stale comment claimed 3.12
does not leak.

Add leak:python3.12 and leak:python3.13, mirroring the 3.10 entry, so the
interpreter globals are suppressed whatever CPython the build uses.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
2026-06-23 23:02:05 +08:00
mheler
c6bee66adc
Merge pull request #69175 from cbodley/wip-qa-rgw-multisite-gcm 2026-06-23 08:17:59 -05:00
Venky Shankar
9be97d7cde
Merge pull request #68482 from chrisphoffman/wip-73347
qa: Add direct_io test for fscrypt

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2026-06-23 18:34:39 +05:30
Kotresh HR
b80828fbad qa: Add mgr snapshot mirror status tests
Add teuthology coverage for `ceph fs snapshot mirror status`:
parity with asok peer_status, default idle metrics, stale omap
handling, error paths, filter scopes, daemon restart, and cache TTL.

Reuse existing peer_dir_status and metrics assertion helpers.
Adjust stale test wait for InstanceWatcher timeout and set a
short cache TTL in the cache test. Pass peer_uuid via --peer_uuid=
in the test helper for peer-only scope queries.

Fixes: https://tracker.ceph.com/issues/76686
Signed-off-by: Kotresh HR <khiremat@redhat.com>
2026-06-23 18:12:26 +05:30
Adam C. Emerson
5bc34f8ed8
qa/rgw: Remove 'force-branch' from s3tests configs
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2026-06-22 19:33:47 -04:00
Adam C. Emerson
d0c88cb53c
qa/rgw: Run s3-tests from within the Ceph repo
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2026-06-22 19:33:47 -04:00
Casey Bodley
591ce1234b qa/dnsmasq: remove unused backup/replace_resolv()
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-06-22 10:34:50 -04:00