Commit Graph

13009 Commits

Author SHA1 Message Date
Ericmzhang
6d92b5650e
Merge pull request #69176 from Ericmzhang/wip-fix-pg_autoscaler-tests
qa: Fix pg autoscaler tests
2026-06-08 12:12:11 -07:00
Jaya Prakash
a4cb4a236b qa/suites: add faster allocation recovery thrashing suite
Signed-off-by: Jaya Prakash <jayaprakash@ibm.com>
2026-06-08 17:22:17 +00:00
Jaya Prakash
818dd863f2 qa/workunits: add EC fio workload for allocation recovery testing
Signed-off-by: Jaya Prakash <jayaprakash@ibm.com>
2026-06-08 17:22:02 +00:00
Venky Shankar
44f1f41750
Merge pull request #56634 from neesingh-rh/wip-64064
mds: comply with the valid range for `mds_log_max_segments`

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2026-06-08 14:33:10 +05:30
Venky Shankar
b76b2c3b3d
Merge pull request #65950 from joscollin/wip-71701-near-full
qa: drop creating huge files in test_cephfs_mirror_cancel_sync

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2026-06-08 10:05:28 +05:30
Casey Bodley
561871e251
Merge pull request #69172 from cbodley/wip-76997
qa/rgw: bump tempest version from 34.1.0 to 45.0.0

Reviewed-by: Tobias Urdin <tobias.urdin@binero.com>
2026-06-05 11:03:50 -04:00
Venky Shankar
f741003dc6 Merge PR #69118 into main
* refs/pull/69118/head:
	qa/cephfs: install ceph-mgr-modules-standard for cephfs tests

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2026-06-05 18:49:56 +05:30
Sridhar Seshasayee
0fbcd19bba
Merge pull request #68910 from sseshasa/wip-osd-perf-counters-for-durability-score
osd: add last_degraded field to pg_stat_t

Reviewed-by: Radoslaw Zarzynski <rzarzynski@redhat.com>
2026-06-05 13:50:14 +05:30
Redouane Kachach
d486328b71
qa/cephadm: fix test_repos.sh for jammy nodes
The test uses add-repo --release 17.2.6 to verify version-string repo
handling, but debian-17.2.6 only has focal and bullseye suites and
jammy packages weren't built until 17.2.7. This causes apt-get update
to fail with a 404 on ubuntu_22.04 nodes.

see: https://download.ceph.com/debian-17.2.6/dists/

This fix bumps the version to 17.2.7 which includes a jammy suite.

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

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2026-06-05 10:07:39 +02:00
Casey Bodley
c4d9a406c8 test/neorados: test cross-executor completions
repurpose ceph_test_neorados_completions to verify that completions are
delivered to the handler's associated executor

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-06-04 14:40:23 -04:00
Casey Bodley
12d48cc8b8 qa/rgw: disable neutron service in tempest.conf
Suggested-by: Tobias Urdin <tobias.urdin@binero.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-06-04 13:09:02 -04:00
Casey Bodley
5d1f248902 qa/rgw: bump tempest version from 34.1.0 to 45.0.0
this 34.1.0 version fails to pip install under python 3.12 when testing
ubuntu 24.04

i chose new version 45.0.0 because it corresponds to this commit:
> Use stable constraint in tox to release new tag for 2025.2

which matches the stable/2025.2 tag we use for keystone

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

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-06-04 13:09:02 -04:00
Casey Bodley
abc947d65f
Merge pull request #69171 from cbodley/wip-76996
qa/rgw: remove ragweed from multifs subsuite

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2026-06-04 10:38:30 -04:00
Sridhar Seshasayee
252d149238 osd: add last_degraded field to pg_stat_t
Introduce a 'last_degraded' timestamp to the pg_stat_t structure to track
the initial point of redundancy loss. This field, used in conjunction
with 'last_clean', allows the manager to calculate a cluster-wide
durability score by measuring the duration of vulnerability windows.

Changes:
1) Add last_degraded (utime_t) to pg_stat_t in osd_types.h.
2) Increment pg_stat_t encoding version to 31. The decode logic
   defaults last_degraded to last_clean for backward compatibility
   during rolling upgrades.
3) Update operator==, dump(), and generate_test_instances() to
   support ceph-dencoder testing and JSON output.
4) Implement latching logic in PeeringState::prepare_stats_for_publish():
   - A PG is considered vulnerable if in DEGRADED or UNDERSIZED state.
   - last_degraded is set to 'now' only if it is <= last_clean,
     effectively latching the timestamp to the start of the failure
     event until the PG next becomes clean.
5) Standalone tests to verify:
   - The last_degraded timestamp latching logic.
   - Verify last_degraded timestamp is modified when OSDs are marked 'out' for
     draining purposes in which case PGs are marked undersized.
6) Release note the addition of 'last_degraded' field to PG stats.

Fixes: https://tracker.ceph.com/issues/76604
Signed-off-by: Sridhar Seshasayee <sridhar.seshasayee@ibm.com>
2026-06-04 19:44:56 +05:30
John Mulligan
1b23378bce qa/suites/orch: enable remote control sidecar for a mgr + resources test
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2026-06-04 09:57:09 -04:00
John Mulligan
7f51c627f7 qa/workunits/smb: add a test sub-suite for the new ceph-smb-ctl tool
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2026-06-04 09:57:09 -04:00
NitzanMordhai
c7a578fa80
Merge pull request #64805 from NitzanMordhai/wip-nitzan-mgr-from-cache-ttl-to-cache-changed
Enhance mgr cache - from cache based on ttl to cache based on changes

Reviewed-by: Sridhar Seshasayee <sridhar.seshasayee@ibm.com>
                         Signed-off-by: Nizamudeen A <nia@redhat.com>
2026-06-04 12:59:45 +03:00
Laura Flores
50dcf44af1
Merge pull request #69180 from ljflores/wip-tracker-68669
qa/workunits/rados: fetch files via GitHub instead of git.ceph.com

Reviewed-by: Kamoltat Sirivadhna <ksirivad@ibm.com>
2026-06-03 16:45:40 -05:00
neeraj pratap singh
ede39e97ab qa: updating the 'mds_log_max_segments' to new min value and including 'test_meta_injection' into test suite
Fixes: https://tracker.ceph.com/issues/64064
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
2026-06-03 17:04:58 +05:30
Jon Bailey
82dbf20104
Merge pull request #66459 from aainscow/ec_direct_reads_pr2
EC Direct Reads

Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2026-06-03 10:13:42 +01:00
Nitzan Mordechai
403340bcf8 mgr: replace TTLCache with MgrMapCache and protect api with readonly
This patch removes the old TTLCache implementation and introduces
a new generic MgrMapCache driven by a runtime toggle:

- Add `mgr_map_cache_enabled` config option in global.yaml
- Swap out `ttl_cache` for `api_cache` (MgrMapCache) in ActivePyModules
- Update cacheable_get_python() and get_python() to use LFUโ€based api_cache
- add new get_mutable parameter to the get api call to get a copy.
- Invalidate api_cache on notify_all events
- Remove all TTLCache headers, sources, and tests
- Include MgrMapCache.cc in CMakeLists and update BaseMgrModule bindings
- Improve logging around cache hits, misses, and state changes

- ActivePyModules
  * Remove unused update_cache_metrics()
  * Log cache hits/misses inline and only insert into cache when
    enabled+cacheable (with proper Py_INCREF)
  * Switch get_python() to use PyFormatterRO for cacheable routes, PyFormatter otherwise

- MgrMapCache/LFUCache
  * Add can_read_cache()/can_write_cache() helpers and use const& for key parameters
  * Guard perf counter increments and improve debug logging

- PyFormatter
  * Add PyFormatterRO subclass that freezes dicts/lists into read-only
    proxies on the fly

- Python mgr_module
  * Simplify get() to return raw result

This change ensures immutable JSON output on cache hits and tightens up cache logic.

mgr/cli: add cache flush command with proper status reporting

Allow operators to invalidate individual mgr Python caches at runtime
without restarting the manager. Introduces a new CLI command:

  $ ceph mgr cli cache flush <map-name>

which returns success or a clear error if the named cache entry doesnโ€™t
exist or isnโ€™t cacheable. This makes it easy to drop stale cached maps
(e.g. osd_map, mon_map) on demand.

Fixes: https://tracker.ceph.com/issues/72447
Signed-off-by: Nitzan Mordechai <nmordec@ibm.com>

mgr: add new unit tests for MgrMapCache

- Guard against null perfโ€counter before calling inc(), preventing crashes
- Add โ€œfooโ€ to allowed_keys list (for test coverage)
- Rename and refocus the CMake test target from TTLCache to MgrMapCache
- Introduce test_mgrmapcache.cc with LFUCache tests.
- Remove the obsolete test_ttlcache.cc

Fixes: https://tracker.ceph.com/issues/72447
Signed-off-by: Nitzan Mordechai <nmordec@ibm.com>

mgr/test_cache: add new tests

adding new unit-test for mgrcache

Fixes: https://tracker.ceph.com/issues/72447
Signed-off-by: Nitzan Mordechai <nmordec@ibm.com>
2026-06-03 09:13:28 +00:00
Patrick Donnelly
cbacb2358b
Merge PR #69222 into main
* refs/pull/69222/head:
	qa: install nvme-cli only if distro remains rocky10

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2026-06-02 15:59:10 -04:00
Kefu Chai
9ded62f2e1
Merge pull request #69214 from tchaikov/wip-cephadm-iscsi-gw
qa/cephadm: query iSCSI gateway FQDN from inside the container

Reviewed-by: Redouane Kachach <rkachach@ibm.com>
2026-06-02 07:35:37 +08:00
SrinivasaBharathKanta
ad14e4a75d
Merge pull request #69026 from jamiepryde/ec-profile-deprecation-warning
Add health warning for deprecated EC plugins and techniques
2026-06-02 04:49:05 +05:30
Patrick Donnelly
038383a2ff
qa: install nvme-cli only if distro remains rocky10
Notably, only include these the `dnf install` commands if the distro is
not overriden by some other mechanism (like cephfs kernel overrides).

This is only a problem for tentacle presently as the k-stock kernel will
override with centos9.

Fixes: https://tracker.ceph.com/issues/77037
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-06-01 12:28:34 -04:00
Kefu Chai
50ef945949 qa/cephadm: query iSCSI gateway FQDN from inside the container
rbd-target-api validates that the gateway hostname supplied by gwcli
matches the container's own socket.getfqdn(). Running the same call on
the host can return a different value when the host and container resolve
names differently (e.g. on Rocky 10), causing gateway creation to fail
with HTTP 400 and all subsequent gwcli configuration to break silently.

Query the FQDN from inside the iSCSI container directly so the value is
always consistent with what rbd-target-api expects. This also removes the
"run twice" workaround, which was compensating for host-side DNS
warm-up flakiness rather than addressing the underlying mismatch.

Fixes: https://tracker.ceph.com/issues/74577
Signed-off-by: Kefu Chai <k.chai@proxmox.com>
2026-06-01 18:40:51 +08:00
Vallari Agrawal
6790982813
Merge pull request #69135 from VallariAg/wip-nvmeof-teuthology-mon-conf
qa/suites/nvmeof: set beacon grace and connect panic
2026-05-31 21:30:05 +05:30
Ali Masarwa
6c76810aa9
Merge pull request #66500 from AliMasarweh/wip-alimasa-global-cors
RGW: add support for global CORS rule

Reviewed-by: Naman Munet <naman.munet@ibm.com>, Casey Bodley <cbodley@redhat.com>
2026-05-31 13:30:56 +03:00
Eric Zhang
f6a51dda85 qa: Fix teuthology test timing out
Enable autoscale mode for pools which is default off for teuthology
Increase mon_target_pg_per_osd so pools scale up by enough
Signed-off-by: Eric Zhang <emzhang@ibm.com>
2026-05-29 14:50:31 -07:00
Laura Flores
71a78eaf99 qa/workunits/rados: fetch files via GitHub instead of git.ceph.com
The current method fetches files from git.ceph.com, which is unreliable
and sometimes causes the file to contain HTML output instead of the C++ code.

Fetching from GitHub is a more reliable way to get the C++ code.

Fixes: https://tracker.ceph.com/issues/68669
Signed-off-by: Laura Flores <lflores@ibm.com>
2026-05-29 16:45:17 -05:00
Casey Bodley
84040d8829 qa/rgw/multisite: use random aes algorithm
test coverage for `rgw crypt sse algorithm: aes-256-gcm` was recently
added to the multisite suite, doubling the number of jobs from 2 to 4

instead of duplicating the multisite jobs for both cbc and gcm, select
a random algorithm for each of the 2 existing jobs

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-05-29 13:44:47 -04:00
Ilya Dryomov
762c11da5f
Merge pull request #68899 from batrick/i76586
qa: ignore POOL_FULL for rbd tests exercising full pools

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2026-05-29 18:02:02 +02:00
Patrick Donnelly
2fa91d6db0
Merge PR #67683 into main
* refs/pull/67683/head:
	qa/tasks/cbt: construct venv just for cbt
	qa/distros: use consistent naming
	qa/tasks/nvme_loop: fix nvme loop task for ubuntu noble
	qa/distros: add ubuntu_24.04 as supported container host
	qa/distros: bump ubuntu_latest.yaml to 24.04
	qa/distros: add all/ubuntu_24.04.yaml
	qa/suites/rados/encoder: use random supported distro
	qa/ceph-ansible: symlink supported-random-distro$
	qa/fs/fscrypt: symlink supported-random-distro$
	qa/cephmetrics: symlink supported-random-distro$

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2026-05-29 11:08:23 -04:00
Patrick Donnelly
7699baa9c6
Merge PR #69163 into main
* refs/pull/69163/head:
	qa/tasks: capture CommandCrashedError when running nvme list cmd

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2026-05-29 11:07:03 -04:00
Casey Bodley
95f666ed7c qa/rgw: remove ragweed from multifs 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

Fixes: https://tracker.ceph.com/issues/76996
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-05-29 10:44:10 -04:00
Ilya Dryomov
f18652255a
Merge pull request #68095 from lumir-sliva/fix-deprecated-egrep-fgrep
qa,src: replace deprecated egrep/fgrep with grep -E/grep -F

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2026-05-29 15:52:14 +02:00
Jamie Pryde
0271e64f4b qa: Ignore deprecated EC plugin warning in teuthology tests
Add DEPRECATED_EC_PLUGIN to the list of health warnings to
ignore in the thrash-erasure-code-* tests that use deprecated
plugins or techniques. It is expected that this warning will
be raised.

Signed-off-by: Jamie Pryde <jamiepry@uk.ibm.com>
2026-05-29 12:44:56 +01:00
Vallari Agrawal
7f8bcdc7d1
qa/suites/nvmeof: ignore "have only 1 nvmeof gateway"
Add "have only 1 nvmeof gateway" to ignorelist.
NVMEOF_SINGLE_GATEWAY is already part of ignorelist
but tests sometimes fail on "have only 1 nvmeof gateway".

Thrasher or scalability tests can trigger this but there
are enough asserts to ensure all expected gateways are
up, we can safely ignore this healthcheck warning.

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

Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
2026-05-29 15:08:23 +05:30
Redouane Kachach
0bf55d6a8b
qa/tasks: capture CommandCrashedError when running nvme list cmd
The safe_while retry loop does not catch exceptions, so a
CommandCrashedError from `nvme list` bypasses it entirely. Catch
CommandCrashedError and continue the retry loop instead.

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

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2026-05-29 11:22:01 +02:00
Patrick Donnelly
5ac8b6fecd
Merge PR #69055 into main
* refs/pull/69055/head:
	qa/suites/upgrade: ignore osd in unknown state

Reviewed-by: Laura Flores <lflores@redhat.com>
2026-05-28 13:57:54 -04:00
Patrick Donnelly
4681cb7b34
qa/suites/upgrade: ignore fs down variant
Fixes: https://tracker.ceph.com/issues/76969
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-05-28 13:54:38 -04:00
Jon Bailey
06034c676c qa: test_rados_tool - change check on osd dump command to use json
Previously the test_rados_tool.sh test was dependant on flag ordering. This mean if you added a new flag after full_quota (such as split_reads or ec_optimizations), this could break the teuthology test if we try to test with these flags on. We prevent this by changing this condition to use json to ensure we are no longer depend on the order of the flags which the default command line output gives.

This also adds a check to ensure the pool name matches what we are working on, to ensure we don't get false-positives if we happened to have other pools.

Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
2026-05-28 15:15:51 +01:00
Casey Bodley
54a58396ff
Merge pull request #67246 from mheler/wip-rgw-sse-gcm
rgw: Add AES-256-GCM support for RGW server-side encryption

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2026-05-27 17:22:10 -04:00
Casey Bodley
61cd7517b5
Merge pull request #64293 from cbodley/wip-71265
rgw: add s3control apis for account-wide PublicAccessBlock

Reviewed-by: Adam Emerson <aemerson@redhat.com>
2026-05-27 09:08:45 -04:00
Patrick Donnelly
614993a066
qa/tasks/cbt: construct venv just for cbt
So we no longer need to install system-wide.

Avoids errors like on Ubuntu 24.04:

    2026-05-24T13:48:19.681 DEBUG:teuthology.orchestra.run.trial043:> python3 -m pip install -r /home/ubuntu/cephtest/cbt/requirements.txt
    2026-05-24T13:48:19.861 INFO:teuthology.orchestra.run.trial043.stderr:error: externally-managed-environment
    2026-05-24T13:48:19.861 INFO:teuthology.orchestra.run.trial043.stderr:
    2026-05-24T13:48:19.861 INFO:teuthology.orchestra.run.trial043.stderr:ร— This environment is externally managed
    2026-05-24T13:48:19.861 INFO:teuthology.orchestra.run.trial043.stderr:โ•ฐโ”€> To install Python packages system-wide, try apt install
    2026-05-24T13:48:19.862 INFO:teuthology.orchestra.run.trial043.stderr:    python3-xyz, where xyz is the package you are trying to
    2026-05-24T13:48:19.862 INFO:teuthology.orchestra.run.trial043.stderr:    install.
    2026-05-24T13:48:19.862 INFO:teuthology.orchestra.run.trial043.stderr:
    2026-05-24T13:48:19.862 INFO:teuthology.orchestra.run.trial043.stderr:    If you wish to install a non-Debian-packaged Python package,
    2026-05-24T13:48:19.862 INFO:teuthology.orchestra.run.trial043.stderr:    create a virtual environment using python3 -m venv path/to/venv.
    2026-05-24T13:48:19.862 INFO:teuthology.orchestra.run.trial043.stderr:    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    2026-05-24T13:48:19.862 INFO:teuthology.orchestra.run.trial043.stderr:    sure you have python3-full installed.
    2026-05-24T13:48:19.862 INFO:teuthology.orchestra.run.trial043.stderr:
    2026-05-24T13:48:19.862 INFO:teuthology.orchestra.run.trial043.stderr:    If you wish to install a non-Debian packaged Python application,
    2026-05-24T13:48:19.862 INFO:teuthology.orchestra.run.trial043.stderr:    it may be easiest to use pipx install xyz, which will manage a
    2026-05-24T13:48:19.862 INFO:teuthology.orchestra.run.trial043.stderr:    virtual environment for you. Make sure you have pipx installed.
    2026-05-24T13:48:19.863 INFO:teuthology.orchestra.run.trial043.stderr:
    2026-05-24T13:48:19.863 INFO:teuthology.orchestra.run.trial043.stderr:    See /usr/share/doc/python3.12/README.venv for more information.
    2026-05-24T13:48:19.863 INFO:teuthology.orchestra.run.trial043.stderr:
    2026-05-24T13:48:19.863 INFO:teuthology.orchestra.run.trial043.stderr:note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
    2026-05-24T13:48:19.863 INFO:teuthology.orchestra.run.trial043.stderr:hint: See PEP 668 for the detailed specification.
    2026-05-24T13:48:19.883 DEBUG:teuthology.orchestra.run:got remote process result: 1
    2026-05-24T13:48:19.883 ERROR:teuthology.run_tasks:Saw exception from tasks.
    Traceback (most recent call last):
      File "/home/teuthworker/src/git.ceph.com_teuthology_3686f8793d626abcf5a0018da0a50786e41fed9d/teuthology/run_tasks.py", line 112, in run_tasks
        manager.__enter__()
      File "/home/teuthworker/src/git.ceph.com_teuthology_3686f8793d626abcf5a0018da0a50786e41fed9d/teuthology/task/__init__.py", line 122, in __enter__
        self.setup()
      File "/home/teuthworker/src/github.com_ceph_ceph-c_1bc3c25246d3a6fbc360dc78d9b4b51200743391/qa/tasks/cbt.py", line 173, in setup
        self.install_dependencies()
      File "/home/teuthworker/src/github.com_ceph_ceph-c_1bc3c25246d3a6fbc360dc78d9b4b51200743391/qa/tasks/cbt.py", line 112, in install_dependencies
        self.first_mon.run(args=pip_install_cmd)
      File "/home/teuthworker/src/git.ceph.com_teuthology_3686f8793d626abcf5a0018da0a50786e41fed9d/teuthology/orchestra/remote.py", line 596, in run
        r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/teuthworker/src/git.ceph.com_teuthology_3686f8793d626abcf5a0018da0a50786e41fed9d/teuthology/orchestra/run.py", line 461, in run
        r.wait()
      File "/home/teuthworker/src/git.ceph.com_teuthology_3686f8793d626abcf5a0018da0a50786e41fed9d/teuthology/orchestra/run.py", line 161, in wait
        self._raise_for_status()
      File "/home/teuthworker/src/git.ceph.com_teuthology_3686f8793d626abcf5a0018da0a50786e41fed9d/teuthology/orchestra/run.py", line 181, in _raise_for_status
        raise CommandFailedError(
    teuthology.exceptions.CommandFailedError: Command failed on trial043 with status 1: 'python3 -m pip install -r /home/ubuntu/cephtest/cbt/requirements.txt'

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-05-27 08:45:53 -04:00
Patrick Donnelly
e9ef70baca
qa/distros: use consistent naming
Put the release name in the yaml name so it's easy to read from the job
description. "ubuntu_latest" means different things depending on the
Ceph release.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-05-27 08:45:53 -04:00
Adam King
17cc03da91
qa/tasks/nvme_loop: fix nvme loop task for ubuntu noble
Compared to older distros, this one complains if
you include `-q hostnqn` in the nvme connect command,
saying "Failed to write to /dev/nvme-fabrics: Invalid argument".
Removing that argument gets passed that error and
doesn't seem to have any downsides

Signed-off-by: Adam King <adking@redhat.com>
2026-05-27 08:45:53 -04:00
Casey Bodley
04dd6dad27
qa/distros: add ubuntu_24.04 as supported container host
Signed-off-by: Casey Bodley <cbodley@redhat.com>
CEPH-BUILD-JOB: ceph-dev-pipeline
DISTROS: noble jammy centos9
ARCHS: x86_64
FLAVORS: default
2026-05-27 08:45:52 -04:00
Casey Bodley
cee6de8bf5
qa/distros: bump ubuntu_latest.yaml to 24.04
and add ubuntu_22.04.yaml back to distros/supported and
distros/supported-random-distro$

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-05-27 08:45:52 -04:00
Casey Bodley
5231fd6079
qa/distros: add all/ubuntu_24.04.yaml
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2026-05-27 08:45:52 -04:00
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