Commit Graph

12740 Commits

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