Commit Graph

12702 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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