Commit Graph

12995 Commits

Author SHA1 Message Date
Vallari Agrawal
e12106a501
Merge pull request #70248 from VallariAg/wip-nvmeof-teuthology-mtls-improve
qa: Add cephadm-signed mtls test in nvmeof/mtls_test.sh
2026-07-24 12:33:48 +05:30
Yuri Weinstein
5f026f27c7
Merge pull request #70120 from ceph/wip-yuriw-78149-fix-main
qa/tests: fix POOL_FULL ignorelist pattern in upgrade tests

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
2026-07-23 15:31:27 -07:00
Yuri Weinstein
8b261cd505 qa/tests: drop parens from all health-code ignorelist entries
Monitor.cc logs a "Health check cleared: <CODE> (was: ...)" line
for any health check clearing mid-test, with the code bare (no
parens) -- while the "Health check failed"/"Health check failed
(unmute)" lines wrap the code in parens. Every \(CODE\) entry in
this file therefore only matches the raise/failed form and misses
the corresponding cleared form, the same gap just fixed for
POOL_FULL.

Drop the escaped parens from the remaining entries so each matches
both log forms, consistent with the bare entries already present
(OSD_ROOT_DOWN, MDS_INSUFFICIENT_STANDBY, POOL_FULL).

Non-code entries (reached quota, overall HEALTH_, slow request,
noscrub, nodeep-scrub, osds down, insufficient standby, etc.) are
unchanged.

Fixes: https://tracker.ceph.com/issues/78149
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2026-07-23 12:32:51 -07:00
Vallari Agrawal
672b422cc9
qa: Add cephadm-signed mtls test in nvmeof/mtls_test.sh
Expand nvmeof mtls test to include cephadm-signed cert
(ssl=true + enable_auth=true, no certs)

Also improve wait_for_service() logic to assert all
gateways are running.

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

Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
2026-07-23 15:44:21 +05:30
Yuval Lifshitz
4b5506816b
Merge pull request #69666 from ShreeJejurikar/wip-rgw-kafka-4x-support
rgw: support kafka 4.x brokers
2026-07-22 17:26:53 +03:00
Afreen Misbah
191bc2ac95
Merge pull request #69958 from rhcs-dashboard/fix-access-denied-issue
Reviewed-by: Afreen Misbah <afreen@ibm.com>
2026-07-22 15:59:17 +05:30
ShreeJejurikar
efe54523a4 rgw: support kafka 4.x brokers
librdkafka submodule

Vendors librdkafka v2.12.1 as a submodule (default) and teaches the
notification teuthology task to set up Kafka 4.x KRaft brokers. The
distro-shipped librdkafka 1.6.1 cannot SCRAM-auth against Kafka 4.x
brokers (#75900); the bundled version fixes that. Build with
WITH_SYSTEM_RDKAFKA=ON to opt back into the distro library (floor 2.6.1).
follwinf changes needed with teh submodule:
* build kafka_stub only in case of system librdkafka
* use the same header location in submodule and system
* supress compilation warning to avoid -WError issues

2.12.1 matches Fedora(44)'s current librdkafka-devel, so the vendored copy
tracks a version that distro packagers have already vetted rather than
whichever release happens to be latest upstream.

The teuthology version matrix picks one of {3.9.2, 4.1, 4.2, 4.3} per run.
3.9.2 covers the last Zookeeper-based release for the migration cohort.
4.1/4.2/4.3 track Apache's current three supported minor lines and are
resolved to the latest patch at test time via dlcdn.apache.org/kafka/, so
new patches within a supported minor need no PR update. A new minor line
(4.4) requires renaming one YAML.
* new java version (17) is needed for kafka 4.2 and up (we wil use it on
  all version)
* kerberos task need to run before the kafka install task

After pulling this branch, fetch the new submodule:

    git submodule update --init src/librdkafka

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

Signed-off-by: ShreeJejurikar <shreemj8@gmail.com>
Co-authored-by: Yuval Lifshitz <ylifshit@ibm.com>
2026-07-22 10:29:04 +00:00
Afreen Misbah
37a9e87bfc
Merge pull request #70412 from rhcs-dashboard/disable-telemetry
mgr/dashboard: disable ibm telemetry on CI env

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2026-07-22 13:04:07 +05:30
Nizamudeen A
0690deaa34 mgr/dashboard: disable ibm telemetry on CI env
looks like ibm telemetry is being run when you do `npm install` on CI
env. here's disabling that

Signed-off-by: Nizamudeen A <nia@redhat.com>
2026-07-22 09:21:50 +05:30
Abhishek Desai
0d0a241ba7 mgr/dashboard: grant hosts read to block-manager role
Block-manager users were denied access to the NVMe/TCP page because
host listing APIs require hosts read permission.

Fixes: https://tracker.ceph.com/issues/77952
Signed-off-by: Abhishek Desai <adesai@redhat.com>
2026-07-21 17:08:56 +05:30
Venky Shankar
0d256f8062 Merge PR #52147 into main
* refs/pull/52147/head:
	PendingReleaseNotes: add an note about dmclock based scheduler for MDS
	doc/config-ref: mention about MDS dmclock configurations
	qa: use dmclock with fs:workload
	mds: add MDS dmClock scheduler for subvolume QoS support

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Robin H. Johnson <robbat2@orbis-terrarum.net>
2026-07-20 16:58:23 +05:30
Yuval Lifshitz
6a73f21660
Merge pull request #69200 from sujay-d07/rgw-kafka-gssapi-implementation
rgw/kafka: Adding missing support for GSSAPI bucket notification endpoint and relevant tests for it
2026-07-20 10:27:44 +03:00
Adam Emerson
423acf868d
Merge pull request #67725 from mheler/wip-rgw-transition-recompress
rgw: compress/decompress objects during lifecycle transitions

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2026-07-16 16:52:07 -04:00
Yuval Lifshitz
f853590538 qa/rgw/kafka: add valgrind exception for cyrus-sasl leak
bug is in 3rd party lib:
https://github.com/cyrusimap/cyrus-sasl/issues/843

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
2026-07-16 14:37:55 +00:00
sujay-d07
93a357c93c qa/rgw: Adding GSSAPI testing task for Bucket Notification Testing
This adds a Kerberos setup task, tells the Kafka task to emit GSSAPI listeners and broker principals, and updates notification tests to pass Kerberos credentials through to the bucket-notification suite. It enables the RGW Kafka notification coverage to run against GSSAPI-secured brokers.

Signed-off-by: sujay-d07 <sujaydongre07@gmail.com>
2026-07-16 12:12:20 +05:30
Venky Shankar
7d65abc9c1 Merge PR #68813 into main
* refs/pull/68813/head:
	tools/cephfs: make journal pointer/header failure explicit
	doc/cephfs: add note explainin the new batching technique
	tools/cephfs: document --max-rss usage in first-damage.py
	qa: test cephfs-journal-recovery event recover_dentries summary
	tools/cephfs: flush every journal event as soon as it is scanned

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2026-07-16 11:43:24 +05:30
John Mulligan
4423f22cff
Merge pull request #69892 from phlogistonjohn/jjm-teuth-remotectl
smb: add a teuthology test that exercises the gRPC over TCP interface of smb remote-control

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Rabinarayan Panigrahi <rapanigr@redhat.com>
2026-07-15 12:56:20 -04:00
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
John Mulligan
b481de3afa qa/workunits/smb: add tests that use grpc api directly
Add a test case that uses the API directly instead of through the
ceph-smb-ctl command line. Ideally, this is validation of access tot the
api and a precursor to using the grpc api as a component throughout the
smb workunit tests.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2026-07-11 10:38:32 -04:00
John Mulligan
f3a7fad80a qa/workunits/smb: add option to modify share without waiting
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2026-07-11 10:38:31 -04:00
John Mulligan
bb01b31129 qa/workunits/smb: add grpc dependencies to the tests
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2026-07-11 10:38:31 -04:00
John Mulligan
79ed468612 qa/suites/cephadm/smb: add new test case for remote control grpc
We recently added testing for the remote control service via the
local unix socket but had no coverage for the gRPC based
mode of operation. This adds a test case that configures and deploys
the needed TLS certs and sets up and tests remote control with gRPC.

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

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2026-07-11 10:38:31 -04:00
John Mulligan
5e4890efb7 qa/workunits/smb: add test for remote control over gRPC/TCP
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2026-07-11 10:38:31 -04:00
John Mulligan
b77f6fa701 qa/workunits/smb: add a method for getting testdir path
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2026-07-11 10:38:31 -04:00
John Mulligan
e77b9efd2d qa/workunits/smb: add an argument to set up volume mappings
Add an argument to the cephadm shell wrapper function that
makes it easy and obvious where to add volume mappings.
This will be used in a future change to map in a directory
containing TLS certificates and such.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2026-07-11 10:38:31 -04:00
John Mulligan
bddb807fab qa/tasks: pass testdir path to smb workunit
Ensure that the testdir (parent dir of generated tls certs)
is made available to the smb test configuration used by
the workunit tests.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2026-07-11 10:38:31 -04:00
John Mulligan
655bd58510 qa/tasks: add support for embedding ssl/tls certs with templates
Update template.py jinja2 templating, to add support for extracting the
content of tls certs, generated by the ssl_keys task.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2026-07-11 10:38:31 -04:00
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
Yuri Weinstein
c9ac93fdbb qa/tests: fix POOL_FULL ignorelist pattern in upgrade tests
\(POOL_FULL\) only matches the "Health check failed/update" cluster-log
format (code wrapped in parens). It misses the "Health check cleared"
format, where the code is not parenthesized (see src/mon/Monitor.cc),
so a pool clearing its full state mid-upgrade-test was not ignorelisted.
Drop the escaped parens so the pattern matches both forms, consistent
with other bare entries already in this file (OSD_ROOT_DOWN,
MDS_INSUFFICIENT_STANDBY).

Fixes: https://tracker.ceph.com/issues/78149
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2026-07-10 08:53:36 -07: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
Venky Shankar
59ea63c7e6 qa: use dmclock with fs:workload
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2026-07-09 19:41:34 +05:30
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
Dhairya Parmar
fc3ca7725b qa: test cephfs-journal-recovery event recover_dentries summary
with capping the maximum RSS to 500 MiB

Partially-Fixes: https://tracker.ceph.com/issues/76422
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2026-07-09 14:35:20 +05:30