148580 Commits

Author SHA1 Message Date
Patrick Donnelly
48ec59ee6d Merge PR #68116 into squid
* refs/pull/68116/head:
	ceph-volume: single lvs call to speed up exclude_lvm_osd_devices
	ceph-volume: avoid Device() instantiation in lvm OSD filtering
	ceph-volume: avoid RuntimeError on ceph-volume raw list with non-existent loop devices

Reviewed-by: Teoman Onay <tonay@ibm.com>
2026-04-22 13:50:39 -04:00
Patrick Donnelly
1b51010674 Merge PR #68528 into squid
* refs/pull/68528/head:
	qa/tests: ignore 'pg stuck peering' during upgrade tests

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2026-04-22 11:28:14 -04:00
Patrick Donnelly
51ce132a2e Merge PR #68451 into squid
* refs/pull/68451/head:
	qa/suites/orch/cephadm: replace "reef" with "v18.2.8"
	qa/suites/fs/upgrade/mds_upgrade_sequence: replace "reef" with "v18.2.8"
	qa/suites/upgrade: use tagged versions of reef
	qa/suites/orch/cephadm: replace "quincy" with "v17.2.8"
	qa/suites/fs/upgrade/mds_upgrade_sequence: replace "quincy" with "v17.2.8"
	qa/suites/upgrade/telemetry-upgrade: ignore expected health warning
	qa/suites/upgrade: use tagged versions of quincy

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2026-04-22 11:27:18 -04:00
Patrick Donnelly
975b709ba5 Merge PR #68526 into squid
* refs/pull/68526/head:
	qa/tests: v19.2.0 lacks the fix from tracker #66019 which causes NeoRadosCls.RemoteReads

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
2026-04-22 11:25:57 -04:00
Yuri Weinstein
f6558d3430 qa/tests: ignore 'pg stuck peering' during upgrade tests
This warning is part of PG_AVAILABILITY, which we already ignore.
The detail message 'pg .* is stuck peering' does not always include
PG_AVAILABILITY explicitly, so add it separately to the ignorelist.

Fixes: https://tracker.ceph.com/issues/69456
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2026-04-21 14:55:52 -07:00
Yuri Weinstein
6dce4d91d9 qa/tests: v19.2.0 lacks the fix from tracker #66019 which causes NeoRadosCls.RemoteReads
to fail during P2P upgrade tests. Bump the starting version to v19.2.1 which
   includes the fix. New upgrade path: v19.2.1 -> v19.2.3 -> squid-latest.

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

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2026-04-21 14:15:07 -07:00
Laura Flores
cddaaca5e1 qa/suites/orch/cephadm: replace "reef" with "v18.2.8"
Since Reef is EOL, the "reef" tag was removed from quay.ceph.io.
The solution is to replace the reef references with the "v18.2.8" tag.

I also added some yaml files to test the reef upgrade path, as those
were missing. These exist in tentacle.

Fixes: https://tracker.ceph.com/issues/76028
Signed-off-by: Laura Flores <lflores@ibm.com>
2026-04-17 10:37:03 -05:00
Laura Flores
66d67a13e2 qa/suites/fs/upgrade/mds_upgrade_sequence: replace "reef" with "v18.2.8"
Since Reef is EOL, the "reef" tag was removed from quay.ceph.io.
The solution is to replace it with a test for the last point release,
which is "v18.2.8".

Fixes: https://tracker.ceph.com/issues/76028
Signed-off-by: Laura Flores <lflores@ibm.com>
2026-04-17 10:37:03 -05:00
Laura Flores
de01d647f5 qa/suites/upgrade: use tagged versions of reef
We not longer have containers for these HEAD of these branches with the
lab relocation.

This is a direct commit to the squid branch since we got rid of the
reef upgrade path for main/umbrella.

Fixes: https://tracker.ceph.com/issues/76028
Signed-off-by: Laura Flores <lflores@ibm.com>
2026-04-17 10:37:03 -05:00
Laura Flores
9cc9dd7def qa/suites/orch/cephadm: replace "quincy" with "v17.2.8"
Since Quincy is EOL, the "quincy" tag was removed from quay.ceph.io.
The solution is to replace the quincy references with the "v17.2.8" tag.

Fixes: https://tracker.ceph.com/issues/76028
Signed-off-by: Laura Flores <lflores@ibm.com>
2026-04-17 10:37:03 -05:00
Laura Flores
b1d0bab083 qa/suites/fs/upgrade/mds_upgrade_sequence: replace "quincy" with "v17.2.8"
Since Quincy is EOL, the "quincy" tag was removed from quay.ceph.io.
The solution is to replace it with a test for the last point release
with a container image, which is "v17.2.8".

Fixes: https://tracker.ceph.com/issues/76028
Signed-off-by: Laura Flores <lflores@ibm.com>
2026-04-17 10:37:02 -05:00
Laura Flores
31c2a7e42f qa/suites/upgrade/telemetry-upgrade: ignore expected health warning
"Telemetry requires re-opt-in" briefly shows up when we upgrade.
The test already re-opts in to telemetry to get rid of this warning,
but the cluster badness check still sometimes picks it up.

Fixes: https://tracker.ceph.com/issues/76028
Signed-off-by: Laura Flores <lflores@ibm.com>
2026-04-17 10:36:44 -05:00
Laura Flores
84f6ac73f8 qa/suites/upgrade: use tagged versions of quincy
We not longer have containers for these HEAD of these branches with the
lab relocation.

We'll use v17.2.8 since v17.2.9 was a limited release without containers.

This is a direct commit to the squid branch since we got rid of the
quincy upgrade path for tentacle and main.

Fixes: https://tracker.ceph.com/issues/76028
Signed-off-by: Laura Flores <lflores@ibm.com>
2026-04-17 10:35:41 -05:00
Patrick Donnelly
bafed0f29c Merge PR #68119 into squid
* refs/pull/68119/head:
	qa/tasks/backfill_toofull.py: Fix assert failures with & without compression

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
2026-04-13 13:25:28 -04:00
Patrick Donnelly
d9e8c33c9e Merge PR #68323 into squid
* refs/pull/68323/head:
	mon/MonMap: Dump addr in backward compatible format

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2026-04-10 20:22:31 -04:00
Anoop C S
1f2600e261 mon/MonMap: Dump addr in backward compatible format
Prior to c5b43e9b27, we dumped only the
legacy string component from public_addrs as `addr`. Ensure that this
backward compatible filtering is retained when dumping MonMap.

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
(cherry picked from commit 01c85255bc)
2026-04-10 15:20:26 -04:00
Patrick Donnelly
950fac75f2 Merge PR #66335 into squid
* refs/pull/66335/head:
	RGW:fix obj by multipart upload cant get tag

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2026-04-10 13:26:46 -04:00
Patrick Donnelly
84b7a327ab Merge PR #67994 into squid
* refs/pull/67994/head:
	test/rgw/kafka: fix kafka relase to more recent one

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2026-04-10 13:26:02 -04:00
Patrick Donnelly
e8d46b2cd6 Merge PR #66541 into squid
* refs/pull/66541/head:
	include: detect corrupt frag from byteswap
	mds: dump frag_t as an object
	common/frag: produce valid fragments for test instances
	common: simplify fragment printing
	common: properly convert frag_t to net/store endianness
	mds: include sysinfo in status command output
	include/frag.h: un-inline methods to reduce header dependencies

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2026-04-10 13:23:45 -04:00
Patrick Donnelly
0378da591e Merge PR #68227 into squid
* refs/pull/68227/head:
	rgw: enhanced java s3-tests change setting of JAVA_HOME
	rgw: java s3-tests change setting of JAVA_HOME

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2026-04-09 12:58:08 -04:00
Patrick Donnelly
3ec4f71bc9 Merge PR #67322 into squid
* refs/pull/67322/head:
	qa: set column for insertion
	qa: bail sqlite3 on any error
	qa: use actual sqlite3 blob instead of string
	test: use json_extract instead of awkward json_tree

Reviewed-by: Shraddha Agrawal <shraddhaag@ibm.com>
2026-04-07 10:25:14 -04:00
Patrick Donnelly
7b994a2e6a Merge PR #67324 into squid
* refs/pull/67324/head:
	mon/HealthMonitor: avoid MON_DOWN for freshly added Monitor
	mon: add time_added to mon_info_t
	common/options: add missing runtime flag
	mon/MonMap: cleanup initialization

Reviewed-by: Shraddha Agrawal <shraddhaag@ibm.com>
2026-04-07 10:23:47 -04:00
Patrick Donnelly
2e97cb10e7 Merge PR #62061 into squid
* refs/pull/62061/head:
	tools: respect set features when adding addresses
2026-04-07 08:57:39 -04:00
J. Eric Ivancich
ff83c25d11 rgw: enhanced java s3-tests change setting of JAVA_HOME
Under Centos 9 the Java 8 version is recognized by the substring
"java-1.8" rather than "java-8". So the grep has been modified to
accept either.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit a49d4446e4)
2026-04-06 22:08:38 -04:00
J. Eric Ivancich
6b8c6327b2 rgw: java s3-tests change setting of JAVA_HOME
Previously s3tests_java.py set JAVA_HOME using the `alternatives`
command. That had issues in that `alternatives` is not present on all
Ubuntu systems, and some installations of Java don't update
alternatives. So instead we look for a "java-8" jvm in /usr/lib/jvm/
and set JAVA_HOME to the first one we find.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit b8e2796270)
2026-04-06 12:30:53 -04:00
Patrick Donnelly
c370fef988 Merge PR #67800 into squid
* refs/pull/67800/head:
	qa/tasks/mgr: test_module_selftest set influx hostname to avoid warnings

Reviewed-by: Laura Flores <lflores@redhat.com>
2026-04-06 11:02:49 -04:00
Patrick Donnelly
0eef431b64 Merge PR #61894 into squid
* refs/pull/61894/head:
	pybind/rados: add note for reversed arguments to WriteOp.zero()
	test/pybind/test_rados.py: add test for reversed arguments offset,length in WriteOp.zero
	pybind/rados: fix the incorrect order of offset,length in WriteOp.zero

Reviewed-by: Laura Flores <lflores@redhat.com>
2026-04-06 11:02:13 -04:00
Wang Chao
e73817b226 pybind/rados: add note for reversed arguments to WriteOp.zero()
Signed-off-by: Wang Chao <sean10reborn@gmail.com>
(cherry picked from commit e9ca8a0132)
2026-04-02 22:28:26 +07:00
Wang Chao
7b935979ea test/pybind/test_rados.py: add test for reversed arguments offset,length in WriteOp.zero
Before the fix, zero(0, 2) would have no effect, and read would get '12345' instead of the expected '\x00\x00345'.

Signed-off-by: Wang Chao <sean10reborn@gmail.com>
(cherry picked from commit 3a27c3e58f)
2026-04-02 22:28:26 +07:00
Wang Chao
82379dbf03 pybind/rados: fix the incorrect order of offset,length in WriteOp.zero
The offset and length parameters in the rados pybind `WriteOp.zero()` method are being passed to the rados_write_op_zero() function in the incorrect order.
Incorrect order cause OP_ZERO not work correctly when use pybind's rados.

Signed-off-by: Wang Chao <sean10reborn@gmail.com>
(cherry picked from commit 049d7d35ab)
2026-04-02 22:28:26 +07:00
Radosław Zarzyński
a7a171368a tools: respect set features when adding addresses
Fixes: https://tracker.ceph.com/issues/53751
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
(cherry picked from commit 19545eb986)
2026-04-02 19:55:00 +07:00
Patrick Donnelly
08c356ce84 Merge PR #67527 into squid
* refs/pull/67527/head:
	mgr/Mgr.cc: clear daemon health metrics instead of removing down/out osd from daemon state

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2026-04-02 08:39:39 -04:00
Sridhar Seshasayee
3473772c45 qa/tasks/backfill_toofull.py: Fix assert failures with & without compression
The following issues with the test are addressed:

1. The test was encountering assertion failure (assert backfillfull < 0.9) with
   compression enabled. This was because the condition was not factoring in the
   compression ratio. Without it the backfillfull ratio can easily exceed 1. By
   factoring in the compression ratio, the backfillfull ratio will be in the
   range (0 - n), where n can vary depending on the type of compression used.

2. The main contributing factor for (1) above is the amount of data written to
   the pool. The writes were time-bound earlier leading to excess data and
   eventually the assertion failure. By limiting the data written to the OSDs
   to 50% of the OSD capacity in the first phase and only 20% in the re-write
   phase, the outcome of the test is more deterministic regardless of
   compression being enabled or not.

3. A potential false cluster error is avoided by swapping the setting of
   the nearfull-ratio and backfill-ratio after the re-write phase.

4. Fix a couple of typos - s/tartget/target.

Fixes: https://tracker.ceph.com/issues/71005
Signed-off-by: Sridhar Seshasayee <sridhar.seshasayee@ibm.com>
(cherry picked from commit 91de6a0b7b)
2026-04-02 12:03:33 +05:30
Patrick Donnelly
8b803883f4 Merge PR #67450 into squid
* refs/pull/67450/head:
	qa/rgw: bucket notifications use pynose

Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
2026-03-31 16:00:35 +05:30
Guillaume Abrioux
ca4ad64258 ceph-volume: single lvs call to speed up exclude_lvm_osd_devices
Cache all LVs from one global `lvs` call and use it in
`filter_lvm_osd_devices` to avoid repeated subprocesses and speed up
`ceph-volume generic activate` significantly.

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

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 56b2250a28)
2026-03-31 07:42:22 +00:00
Guillaume Abrioux
d44fca474e ceph-volume: avoid Device() instantiation in lvm OSD filtering
Replace Device() instantiation with direct LVM API calls to reduce
subprocess overhead.
Use sysfs check first, then only query LVM for actual LVs.
caches LVM mappers list to avoid repeated sysfs reads.

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

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit f247b4e822)
2026-03-31 07:42:15 +00:00
Parfait Detchenou
fda7219af5 ceph-volume: avoid RuntimeError on ceph-volume raw list with non-existent loop devices
Signed-off-by: Parfait Detchenou <pdetchenou@gmail.com>
(cherry picked from commit 9d6a224291)
2026-03-31 07:32:55 +00:00
Patrick Donnelly
a77d096f71 Merge PR #67575 into squid
* refs/pull/67575/head:
	rgw/notification: fix reserved_size drift in 2pc_queue causing ENOSPC errors
	rgw/notification: Prevent reserved_size leak by decrementing overhead on commit/abort.

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
2026-03-28 13:01:52 +05:30
Patrick Donnelly
84669f4238 Merge PR #67398 into squid
* refs/pull/67398/head:
	os/bluestore: Fix default base size for histogram

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2026-03-28 12:57:51 +05:30
Patrick Donnelly
1bad33be68 Merge PR #67884 into squid
* refs/pull/67884/head:
	qa/standalone: shorten bluefs test durations
	qa/standalone: increase WAL volume size to 1GB
	qa/standalone: fix bluefs expand test case

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2026-03-28 12:54:42 +05:30
Patrick Donnelly
005a2b68a7 Merge PR #67392 into squid
* refs/pull/67392/head:
	test/encoding/readable: Add backward incompat checks
	workunits/dencoder: use readable.sh script instead of python script

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2026-03-28 12:51:54 +05:30
Yuval Lifshitz
869392a24f test/rgw/kafka: fix kafka relase to more recent one
Fixes: https://tracker.ceph.com/issues/75323

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
(cherry picked from commit dc412a7e51)
2026-03-25 11:25:48 +00:00
Patrick Donnelly
63535e9d22 Merge PR #66884 into squid
* refs/pull/66884/head:
	Squid: mgr/dashboard: Changing placement of a mds to label - creates a new mds-service, mds.label

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Afreen Misbah <afreen@ibm.com>
2026-03-24 20:07:52 -04:00
Patrick Donnelly
59713db2f4 Merge PR #62454 into squid
* refs/pull/62454/head:
	mgr/dashboard: add types for mgr-module list
	mgr/dashboard: fix access control permissions for roles

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2026-03-24 11:10:51 -04:00
Patrick Donnelly
2777a0605b Merge PR #67796 into squid
* refs/pull/67796/head:
	qa/workunits/rbd: fix unbound variable in status()
	qa/workunits/rbd: short-circuit status() if "ceph -s" fails
	qa: rbd_mirror_fsx_compare.sh doesn't error out as expected

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2026-03-19 19:41:52 -04:00
Patrick Donnelly
46e38b74c2 Merge PR #67794 into squid
* refs/pull/67794/head:
	qa/tasks: make rbd_mirror_thrash inherit from ThrasherGreenlet

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2026-03-19 19:41:25 -04:00
Patrick Donnelly
17b710fa8d Merge PR #67704 into squid
* refs/pull/67704/head:
	librbd/cache/pwl: WriteLogOperationSet::cell can be garbage

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2026-03-19 19:40:58 -04:00
Patrick Donnelly
6599ada63d Merge PR #66838 into squid
* refs/pull/66838/head:
	os/bluestore: rename row names in RocksDBBlueFSVolumeSelector.
	test/bluestore: add volume selector tests
	os/bluestore:fix bluestore_volume_selection_reserved_factor usage
	os/bluestore: print the first RocksDB level which doesn't fit into fast

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2026-03-19 11:00:04 -04:00
Igor Fedotov
59f8432d6f qa/standalone: shorten bluefs test durations
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit 5a901808df)
2026-03-18 19:33:43 +03:00
Igor Fedotov
c098884dad qa/standalone: increase WAL volume size to 1GB
to avoid unexpected test case failures due to ENOSPC.

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit 2de79c6442)
2026-03-18 19:33:43 +03:00