Commit Graph

12964 Commits

Author SHA1 Message Date
kobi ginon
1d0eaf08ee
Merge pull request #69420 from kginonredhat/issue-77250-clean
qa/mgr: fix influx module_selftest health warning noise
2026-07-15 16:04:35 +03:00
Venky Shankar
991cfb9609 Merge PR #69320 into main
* refs/pull/69320/head:
	qa:/cephfs: separate out ceph-fuse upgrade tests under fs:upgrade
	qa/cephfs: reject ceph-fuse upgrade jobs to reduce failure noise

Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
2026-07-15 17:26:59 +05:30
Yuval Lifshitz
483fe17c2d
Merge pull request #70188 from yuvalif/wip-yuval-78214
test/kafka: support archived kafka versions
2026-07-15 14:54:37 +03:00
Igor Fedotov
881d8c9144
Merge pull request #68503 from ifed01/wip-ifed-fix-ncb-expand
os/bluestore: do not add expanded space to allocator after allocmap recovery.

Reviewed-by: Adam Kupczyk <akupczyk@ibm.com>
2026-07-14 16:23:36 +03:00
Yuval Lifshitz
c0f1ffb960 test/kafka: support archived kafka versions
Fixes: https://tracker.ceph.com/issues/78214

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
2026-07-14 13:20:14 +00:00
Afreen Misbah
4522b9be68
Merge pull request #70034 from rhcs-dashboard/bucket-validator-fix
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Afreen Misbah <afreen@ibm.com>
2026-07-14 01:58:09 +05:30
Redouane Kachach
0156ce1be2
Merge pull request #69847 from yaelazulay-redhat/issues_77248_skip_unpublished_stable_repos_in_test_repos_sh
qa/workunits: skip unpublished stable repos in test_repos.sh

Reviewed-by: Redouane Kachach <rkachach@ibm.com>
2026-07-13 16:54:25 +02:00
Yael Azulay
a691404841 qa/workunits: skip unpublished stable repos in test_repos.sh
Probe download.ceph.com before each stable add-repo and skip releases
that are not published for the current distro. This avoids apt/yum
failures on newer OS versions (e.g. Ubuntu 24.04/noble) where older
stable trees like quincy and reef were never published.

Fixes: http://tracker.ceph.com/issues/77248
Signed-off-by: Yael Azulay <yazulay@redhat.com>
2026-07-13 15:10:44 +03:00
Redouane Kachach
177897b4f8
Merge pull request #70084 from ShwetaBhosale1/fix_issue_78099_fix_qa_test_nfs.py
qa: fixed the NFS protocol version in test_nfs.py

Reviewed-by: Redouane Kachach <rkachach@ibm.com>
2026-07-13 11:18:48 +02:00
Venky Shankar
40594bd539 qa:/cephfs: separate out ceph-fuse upgrade tests under fs:upgrade
Fixes: http://tracker.ceph.com/issues/76780
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2026-07-13 12:24:10 +05:30
Venky Shankar
70acbb08ae qa/cephfs: reject ceph-fuse upgrade jobs to reduce failure noise
Subsequent commit will introduce a dedicated ceph-fuse upgrade
sub-suite (under fs:upgrade) to still keep track of failing
jobs.

Fixes: http://tracker.ceph.com/issues/76780
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2026-07-13 12:18:30 +05:30
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
Shweta Bhosale
19dea175a3 qa: fixed the NFS protocol version in test_nfs.py
Fixes: https://tracker.ceph.com/issues/78099
Signed-off-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
2026-07-09 20:02:26 +05:30
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
Nizamudeen A
0ad33c0965 mgr/dashboard: fix unncessary traceback when bucket not exist
UI has an async validator which calls the GET bucket API to make sure
the bucket name doesn't exist, but the proxy
was not properly handling the http_status_codes which results in raising
a massive traceback in logs whenever you type things in the bucket name
field. So handling that gracefully by capturing the proper status codes
for both RequestException and DashboardException

BEFORE
```
File "/usr/share/ceph/mgr/dashboard/services/exception.py", line 47, in dashboard_exception_handler
return handler(*args, **kwargs)
File "/lib/python3.9/site-packages/cherrypy/_cpdispatch.py", line 54, in _call_
return self.callable(*self.args, **self.kwargs)
File "/usr/share/ceph/mgr/dashboard/controllers/_base_controller.py", line 263, in inner
ret = func(*args, **kwargs)
File "/usr/share/ceph/mgr/dashboard/controllers/_rest_controller.py", line 193, in wrapper
return func(*vpath, **params)
File "/usr/share/ceph/mgr/dashboard/controllers/rgw.py", line 357, in get
result = self.proxy(daemon_name, 'GET', 'bucket', {'bucket': bucket})
File "/usr/share/ceph/mgr/dashboard/controllers/rgw.py", line 213, in proxy
raise DashboardException(e, http_status_code=http_status_code, component='rgw')
dashboard.exceptions.DashboardException: RGW REST API failed request with status code 404
(b'{"Code":"NoSuchBucket","Message":"","RequestId":"tx00000f14e08c1af0d5615-006'
b'71f54a7-3bc6-default","HostId":"3bc6-default-default"}')
2024-10-28T09:08:55.990+0000 7f89e045b640  0 [dashboard INFO request] [::ffff:10.74.18.122:51853] [GET] [500] [0.007s] [admin] [200.0B] /api/rgw/bucket/bucket-das
```

AFTER
```
Jul 08 09:28:28 ceph-node-00 ceph-mgr[2243]: [dashboard ERROR dashboard.rest_client] RGW REST API failed GET req status: 404
Jul 08 09:28:28 ceph-node-00 ceph-mgr[2243]: [dashboard INFO dashboard.services.exception] Dashboard Exception: RGW REST API failed request with status code 404
                                             (b'{"Code":"NoSuchBucket","Message":"","RequestId":"tx00000c029a81e5d154844-006'
                                              b'a4e183c-14251-default","HostId":"14251-default-default"}')
Jul 08 09:28:28 ceph-node-00 ceph-mgr[2243]: [dashboard INFO dashboard.tools] [::ffff:192.168.100.1:60408] [GET] [404] [0.078s] [admin] [200.0B] /api/rgw/bucket/testsa
```

Fixes: https://tracker.ceph.com/issues/78038
Signed-off-by: Nizamudeen A <nia@redhat.com>
2026-07-09 16:15:19 +05:30
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
Igor Fedotov
641038fb0e test/osd-bluefs-volume-ops: minor cleanup
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
2026-06-30 15:46:56 +03:00
Igor Fedotov
f88927d283 qa/osd-bluefs-volume-ops: add more bluestore expansion test cases.
Reproduces: https://tracker.ceph.com/issues/75852
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
2026-06-30 15:46:54 +03:00
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