]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
ceph.git
4 days ago19.2.4 squid-release 69139/head v19.2.4
Ceph Release Team [Wed, 27 May 2026 20:34:50 +0000 (20:34 +0000)]
19.2.4

Signed-off-by: Ceph Release Team <ceph-maintainers@ceph.io>
4 days agoMerge PR #69127 into squid
Patrick Donnelly [Wed, 27 May 2026 17:24:54 +0000 (13:24 -0400)]
Merge PR #69127 into squid

* refs/pull/69127/head:
make-debs.sh: use ID instead of NAME for workdir

Reviewed-by: John Mulligan <jmulligan@redhat.com>
4 days agomake-debs.sh: use ID instead of NAME for workdir 69127/head
Dan Mick [Tue, 7 Oct 2025 03:50:17 +0000 (20:50 -0700)]
make-debs.sh: use ID instead of NAME for workdir

NAME is "for the user", and as such, Debian's is "Debian GNU/Linux",
which isn't friendly for making a pathname.  ID is more like what
we want (lowercase, no spaces, limited special characters),
in the two cases we care most about, 'ubuntu' and 'debian'.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit d6f023850c7f50ff486a1841a76860f1c75150a9)

5 days agoMerge PR #67294 into squid
Patrick Donnelly [Tue, 26 May 2026 20:37:53 +0000 (16:37 -0400)]
Merge PR #67294 into squid

* refs/pull/67294/head:
qa/cephfs: lua to respect missing kernel in yaml

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
5 days agoMerge PR #69059 into squid
Patrick Donnelly [Tue, 26 May 2026 15:45:46 +0000 (11:45 -0400)]
Merge PR #69059 into squid

* refs/pull/69059/head:
qa/suites/upgrade: ignore undersized PG during stress splits

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
5 days agoMerge PR #69057 into squid
Patrick Donnelly [Tue, 26 May 2026 15:45:25 +0000 (11:45 -0400)]
Merge PR #69057 into squid

* refs/pull/69057/head:
qa/suites/upgrade: ignore temporary OSD_HOST_DOWN health warning
qa/suites/upgrade: ignore PG_DAMAGED
qa/suites/upgrade: add "OBJECT_UNFOUND" to ignorelists
qa/suites/upgrade: ignore "osd down" cluster log variations
qa/suites/rados/thrash-old-clients: ignore warnings about peering PGs
qa/suites/upgrade: add expected filesystem warnings to ignorelist
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: Yuri Weinstein <yweins@redhat.com>
5 days agoMerge PR #69058 into squid
Patrick Donnelly [Tue, 26 May 2026 15:45:03 +0000 (11:45 -0400)]
Merge PR #69058 into squid

* refs/pull/69058/head:
qa: ignore cephadm failed daemon warnings during thrashing

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
5 days agoqa/cephfs: lua to respect missing kernel in yaml 67294/head
Kyr Shatskyy [Thu, 30 Oct 2025 11:58:05 +0000 (12:58 +0100)]
qa/cephfs: lua to respect missing kernel in yaml

When teuthology-suite is called with '-k none' option, which is valid,
there is no kernel record in job config created.

However at some test cases the lua premerge dies with exception:
  KeyError: 'kernel'
and when branch is not set for '-k none' and kernel client is
overridden:
  KeyError: 'branch'
so teuthology-suite quits unexpectedly without scheduling any jobs.

Fixes: https://tracker.ceph.com/issues/73676
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
(cherry picked from commit b410701b7c725605a641910873b488b37fbbca59)

9 days agoqa/suites/upgrade: ignore temporary OSD_HOST_DOWN health warning 69057/head
Patrick Donnelly [Fri, 22 May 2026 22:26:03 +0000 (18:26 -0400)]
qa/suites/upgrade: ignore temporary OSD_HOST_DOWN health warning

This is normal to see during upgrades as we mark OSDs down to
upgrade them.

Fixes: https://tracker.ceph.com/issues/75415
Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit c94f8963a79771d759edf2e6ee6ab8401ab063ef)

Conflicts:
    qa/suites/upgrade/quincy-x/stress-split/1-start.yaml
    qa/suites/upgrade/reef-x/stress-split/1-start.yaml
Resolution: trivial ignorelist context missing

9 days agoqa/suites/upgrade: ignore PG_DAMAGED
Kamoltat (Junior) Sirivadhna [Tue, 17 Mar 2026 19:52:56 +0000 (19:52 +0000)]
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>
(cherry picked from commit 73fdf19fdcd5955d56273b6d3008c47c30a5769e)

Conflicts:
qa/suites/upgrade/quincy-x/stress-split/1-start.yaml
qa/suites/upgrade/reef-x/stress-split/1-start.yaml
Resolution: trivial ignorelist context missing

9 days agoqa/suites/upgrade: add "OBJECT_UNFOUND" to ignorelists
Patrick Donnelly [Fri, 22 May 2026 16:14:15 +0000 (12:14 -0400)]
qa/suites/upgrade: add "OBJECT_UNFOUND" to ignorelists

The thrashing in the upgrade tests has been configured to be very aggressive;
the tests are permitted to stop up to 4 of the 8 OSDs, so it is expected that
it is causing these kinds of health warnings to be generated.

This commit also cleans up some expected filesystem and pg peering warnings
in the upgrade tests.

Fixes: https://tracker.ceph.com/issues/72424
Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit 0f3775df199cb00cf5a064e5f5f12d7a4ee6218f)

Conflicts:
    qa/overrides/upgrade_ignorelist_health.yaml
Resolution: merged ignorelist into common yaml

9 days agoqa/suites/upgrade: ignore "osd down" cluster log variations
Patrick Donnelly [Fri, 22 May 2026 16:24:42 +0000 (12:24 -0400)]
qa/suites/upgrade: ignore "osd down" cluster log variations

These warnings are expected during upgrade tests. This commit
updates the list with variations of this warning that weren't
covered.

Fixes: https://tracker.ceph.com/issues/69795
Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit 13b619aa115c42e8cacd9a9e43de2e2952a2dea1)

Conflicts:
    qa/overrides/upgrade_ignorelist_health.yaml
Resolution: merged ignorelist into common yaml

9 days agoqa/suites/rados/thrash-old-clients: ignore warnings about peering PGs
Patrick Donnelly [Fri, 22 May 2026 16:24:03 +0000 (12:24 -0400)]
qa/suites/rados/thrash-old-clients: ignore warnings about peering PGs

These warnings are expected during thrashing tasks.

https://tracker.ceph.com/issues/73360
Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit 520a9d0b1759ae769b8102c45cfa591f1473149d)

Conflicts:
    qa/overrides/upgrade_ignorelist_health.yaml
Resolution: merged ignorelist into common yaml

9 days agoqa/suites/upgrade: add expected filesystem warnings to ignorelist
Patrick Donnelly [Fri, 22 May 2026 16:23:30 +0000 (12:23 -0400)]
qa/suites/upgrade: add expected filesystem warnings to ignorelist

These warnings appear after we run ‘fs rm’, which seems expected.

Fixes: https://tracker.ceph.com/issues/73557
Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit 339c2eaf776096572f2e0ac35105aee400be323d)

Conflicts:
    qa/overrides/upgrade_ignorelist_health.yaml
Resolution: merged ignorelist into common yaml

9 days agoqa/suites/upgrade: ignore undersized PG during stress splits 69059/head
Patrick Donnelly [Wed, 13 May 2026 17:53:17 +0000 (13:53 -0400)]
qa/suites/upgrade: ignore undersized PG during stress splits

Fixes: https://tracker.ceph.com/issues/76585
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 322e78c1ce47b1200c988bd53785bb26d446b48a)

Conflicts:
qa/suites/upgrade/quincy-x/stress-split/1-start.yaml
qa/suites/upgrade/reef-x/stress-split/1-start.yaml
Resolution: union merge

9 days agoqa: ignore cephadm failed daemon warnings during thrashing 69058/head
Patrick Donnelly [Wed, 13 May 2026 17:47:54 +0000 (13:47 -0400)]
qa: ignore cephadm failed daemon warnings during thrashing

Fixes: https://tracker.ceph.com/issues/73079
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit ad6f20fde54d09f810591a49c87ed5150797b2c0)

Conflicts:
qa/suites/upgrade/quincy-x/stress-split/1-start.yaml
qa/suites/upgrade/reef-x/stress-split/1-start.yaml
Resolution: different from suites

9 days agoqa: ignore expected OSD_ROOT_DOWN
Patrick Donnelly [Fri, 15 May 2026 17:20:50 +0000 (13:20 -0400)]
qa: ignore expected OSD_ROOT_DOWN

Fixes: https://tracker.ceph.com/issues/76620
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 86dd63ca5f349a228870b589fe8f29aabdf1e1ff)

9 days agoqa: ignore fs offline warning
Patrick Donnelly [Fri, 15 May 2026 17:12:59 +0000 (13:12 -0400)]
qa: ignore fs offline warning

Dup of FS_DOWN.

Fixes: https://tracker.ceph.com/issues/76619
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 14653b576a6cb8a7f243804fef7fd17201f45509)

9 days agoqa: add MDS_INSUFFICIENT_STANDBY to ignorelist
Patrick Donnelly [Wed, 13 May 2026 14:22:50 +0000 (10:22 -0400)]
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>
(cherry picked from commit fbe46ce71bec84eba181268b077f1836fbb31c48)

9 days agoqa/suites/upgrade: use common ignorelist
Patrick Donnelly [Wed, 13 May 2026 14:22:05 +0000 (10:22 -0400)]
qa/suites/upgrade: use common ignorelist

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit b2ac7f6561326f7020159e43737ef8e9fe9248aa)

Conflicts:
qa/overrides/upgrade_ignorelist_health.yaml
qa/suites/crimson-rados-experimental/seastore/+
qa/suites/crimson-rados-experimental/seastore/basic/deploy/+
qa/suites/crimson-rados-experimental/seastore/basic/deploy/upgrade_ignorelist_health.yaml
qa/suites/crimson-rados-experimental/seastore/basic/tasks/+
qa/suites/crimson-rados-experimental/seastore/basic/tasks/upgrade_ignorelist_health.yaml
qa/suites/crimson-rados-experimental/seastore/upgrade_ignorelist_health.yaml
qa/suites/rbd/nvmeof/cluster/+
qa/suites/rbd/nvmeof/cluster/upgrade_ignorelist_health.yaml
Resolution: some odd git conflicts, removed "changes". Added squid
upgrade suites.

2 weeks agoMerge PR #68517 into squid
Patrick Donnelly [Wed, 13 May 2026 18:05:33 +0000 (14:05 -0400)]
Merge PR #68517 into squid

* refs/pull/68517/head:
qa: ignore expected MON_DOWN

5 weeks agoMerge PR #68116 into squid
Patrick Donnelly [Wed, 22 Apr 2026 17:50:39 +0000 (13:50 -0400)]
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>
5 weeks agoMerge PR #68528 into squid
Patrick Donnelly [Wed, 22 Apr 2026 15:28:14 +0000 (11:28 -0400)]
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>
5 weeks agoMerge PR #68451 into squid
Patrick Donnelly [Wed, 22 Apr 2026 15:27:18 +0000 (11:27 -0400)]
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>
5 weeks agoMerge PR #68526 into squid
Patrick Donnelly [Wed, 22 Apr 2026 15:25:57 +0000 (11:25 -0400)]
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>
5 weeks agoqa/tests: ignore 'pg stuck peering' during upgrade tests wip-yuriw-ignore-squid 68528/head
Yuri Weinstein [Tue, 21 Apr 2026 21:55:52 +0000 (14:55 -0700)]
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>
5 weeks agoqa/tests: v19.2.0 lacks the fix from tracker #66019 which causes NeoRadosCls.RemoteReads wip-yuriw-squid-p2p-squid 68526/head
Yuri Weinstein [Tue, 21 Apr 2026 21:12:54 +0000 (14:12 -0700)]
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>
5 weeks agoqa: ignore expected MON_DOWN 68517/head
Patrick Donnelly [Mon, 13 Apr 2026 18:22:35 +0000 (14:22 -0400)]
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>
(cherry picked from commit 7a042b07983f2877fcd26bebabd2fc19f61d6e49)

6 weeks agoqa/suites/orch/cephadm: replace "reef" with "v18.2.8" 68451/head
Laura Flores [Fri, 17 Apr 2026 15:27:47 +0000 (10:27 -0500)]
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>
6 weeks agoqa/suites/fs/upgrade/mds_upgrade_sequence: replace "reef" with "v18.2.8"
Laura Flores [Fri, 17 Apr 2026 15:20:09 +0000 (10:20 -0500)]
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>
6 weeks agoqa/suites/upgrade: use tagged versions of reef
Laura Flores [Fri, 17 Apr 2026 15:17:24 +0000 (10:17 -0500)]
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>
6 weeks agoqa/suites/orch/cephadm: replace "quincy" with "v17.2.8"
Laura Flores [Fri, 17 Apr 2026 15:13:56 +0000 (10:13 -0500)]
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>
6 weeks agoqa/suites/fs/upgrade/mds_upgrade_sequence: replace "quincy" with "v17.2.8"
Laura Flores [Fri, 17 Apr 2026 15:09:20 +0000 (10:09 -0500)]
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>
6 weeks agoqa/suites/upgrade/telemetry-upgrade: ignore expected health warning
Laura Flores [Fri, 17 Apr 2026 15:03:58 +0000 (10:03 -0500)]
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>
6 weeks agoqa/suites/upgrade: use tagged versions of quincy
Laura Flores [Thu, 16 Apr 2026 22:40:03 +0000 (17:40 -0500)]
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>
6 weeks agoMerge PR #68119 into squid
Patrick Donnelly [Mon, 13 Apr 2026 17:25:28 +0000 (13:25 -0400)]
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>
7 weeks agoMerge PR #68323 into squid
Patrick Donnelly [Sat, 11 Apr 2026 00:22:31 +0000 (20:22 -0400)]
Merge PR #68323 into squid

* refs/pull/68323/head:
mon/MonMap: Dump addr in backward compatible format

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
7 weeks agomon/MonMap: Dump addr in backward compatible format 68323/head
Anoop C S [Fri, 5 Dec 2025 09:25:58 +0000 (14:55 +0530)]
mon/MonMap: Dump addr in backward compatible format

Prior to c5b43e9b2765ff98419c649a5ae53ec16601975d, 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 01c85255bc9b266ecf9bd3b58d2a8d4cb4650d7f)

7 weeks agoMerge PR #66335 into squid
Patrick Donnelly [Fri, 10 Apr 2026 17:26:46 +0000 (13:26 -0400)]
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>
7 weeks agoMerge PR #67994 into squid
Patrick Donnelly [Fri, 10 Apr 2026 17:26:02 +0000 (13:26 -0400)]
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>
7 weeks agoMerge PR #66541 into squid
Patrick Donnelly [Fri, 10 Apr 2026 17:23:45 +0000 (13:23 -0400)]
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>
7 weeks agoMerge PR #68227 into squid
Patrick Donnelly [Thu, 9 Apr 2026 16:58:08 +0000 (12:58 -0400)]
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>
7 weeks agoMerge PR #67322 into squid
Patrick Donnelly [Tue, 7 Apr 2026 14:25:14 +0000 (10:25 -0400)]
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>
7 weeks agoMerge PR #67324 into squid
Patrick Donnelly [Tue, 7 Apr 2026 14:23:47 +0000 (10:23 -0400)]
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>
7 weeks agoMerge PR #62061 into squid
Patrick Donnelly [Tue, 7 Apr 2026 12:57:39 +0000 (08:57 -0400)]
Merge PR #62061 into squid

* refs/pull/62061/head:
tools: respect set features when adding addresses

7 weeks agorgw: enhanced java s3-tests change setting of JAVA_HOME 68227/head
J. Eric Ivancich [Tue, 7 Apr 2026 00:53:34 +0000 (20:53 -0400)]
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 a49d4446e4d84b28273b460b85a193011a9c4ed8)

7 weeks agorgw: java s3-tests change setting of JAVA_HOME
J. Eric Ivancich [Wed, 1 Apr 2026 16:29:01 +0000 (12:29 -0400)]
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 b8e2796270f4558b406411682a9b916109d0c530)

7 weeks agoMerge PR #67800 into squid
Patrick Donnelly [Mon, 6 Apr 2026 15:02:49 +0000 (11:02 -0400)]
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>
7 weeks agoMerge PR #61894 into squid
Patrick Donnelly [Mon, 6 Apr 2026 15:02:13 +0000 (11:02 -0400)]
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>
8 weeks agopybind/rados: add note for reversed arguments to WriteOp.zero() 61894/head
Wang Chao [Thu, 24 Oct 2024 01:10:44 +0000 (09:10 +0800)]
pybind/rados: add note for reversed arguments to WriteOp.zero()

Signed-off-by: Wang Chao <sean10reborn@gmail.com>
(cherry picked from commit e9ca8a01323d49c656c54d622a34280adc5b244b)

8 weeks agotest/pybind/test_rados.py: add test for reversed arguments offset,length in WriteOp...
Wang Chao [Tue, 13 Aug 2024 13:34:12 +0000 (21:34 +0800)]
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 3a27c3e58fca96d0f0c80a1d264cb3f5f156f5c3)

8 weeks agopybind/rados: fix the incorrect order of offset,length in WriteOp.zero
Wang Chao [Sat, 10 Aug 2024 11:40:52 +0000 (19:40 +0800)]
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 049d7d35abe0aa2560e3bb9d4fafb43eefb4a0ed)

8 weeks agotools: respect set features when adding addresses 62061/head
Radosław Zarzyński [Tue, 8 Oct 2024 13:14:49 +0000 (15:14 +0200)]
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 19545eb9864b002c1a37d4f2509d1b2baa833128)

8 weeks agoMerge PR #67527 into squid
Patrick Donnelly [Thu, 2 Apr 2026 12:39:39 +0000 (08:39 -0400)]
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>
8 weeks agoqa/tasks/backfill_toofull.py: Fix assert failures with & without compression 68119/head
Sridhar Seshasayee [Mon, 9 Mar 2026 09:31:54 +0000 (15:01 +0530)]
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 91de6a0b7b8b8c2531446555c25bf53e23635982)

2 months agoMerge PR #67450 into squid
Patrick Donnelly [Tue, 31 Mar 2026 10:30:35 +0000 (16:00 +0530)]
Merge PR #67450 into squid

* refs/pull/67450/head:
qa/rgw: bucket notifications use pynose

Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
2 months agoceph-volume: single lvs call to speed up exclude_lvm_osd_devices 68116/head
Guillaume Abrioux [Thu, 5 Feb 2026 23:06:19 +0000 (00:06 +0100)]
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 56b2250a28438def7c6c4b829fa4162fb6a8d9c2)

2 months agoceph-volume: avoid Device() instantiation in lvm OSD filtering
Guillaume Abrioux [Thu, 22 Jan 2026 12:55:48 +0000 (12:55 +0000)]
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 f247b4e822968275a23ff6919f687e008f1f5109)

2 months agoceph-volume: avoid RuntimeError on ceph-volume raw list with non-existent loop devices
Parfait Detchenou [Wed, 6 Aug 2025 15:12:26 +0000 (16:12 +0100)]
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 9d6a224291575b1332509f1314526d0664203df9)

2 months agoMerge PR #67575 into squid
Patrick Donnelly [Sat, 28 Mar 2026 07:31:52 +0000 (13:01 +0530)]
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>
2 months agoMerge PR #67398 into squid
Patrick Donnelly [Sat, 28 Mar 2026 07:27:51 +0000 (12:57 +0530)]
Merge PR #67398 into squid

* refs/pull/67398/head:
os/bluestore: Fix default base size for histogram

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2 months agoMerge PR #67884 into squid
Patrick Donnelly [Sat, 28 Mar 2026 07:24:42 +0000 (12:54 +0530)]
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>
2 months agoMerge PR #67392 into squid
Patrick Donnelly [Sat, 28 Mar 2026 07:21:54 +0000 (12:51 +0530)]
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>
2 months agotest/rgw/kafka: fix kafka relase to more recent one 67994/head
Yuval Lifshitz [Wed, 4 Mar 2026 14:53:13 +0000 (14:53 +0000)]
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 dc412a7e519d037acbcac8a92c7ecf2dbde9875a)

2 months agoMerge PR #66884 into squid
Patrick Donnelly [Wed, 25 Mar 2026 00:07:52 +0000 (20:07 -0400)]
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>
2 months agoMerge PR #62454 into squid
Patrick Donnelly [Tue, 24 Mar 2026 15:10:51 +0000 (11:10 -0400)]
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>
2 months agoMerge PR #67796 into squid
Patrick Donnelly [Thu, 19 Mar 2026 23:41:52 +0000 (19:41 -0400)]
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>
2 months agoMerge PR #67794 into squid
Patrick Donnelly [Thu, 19 Mar 2026 23:41:25 +0000 (19:41 -0400)]
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>
2 months agoMerge PR #67704 into squid
Patrick Donnelly [Thu, 19 Mar 2026 23:40:58 +0000 (19:40 -0400)]
Merge PR #67704 into squid

* refs/pull/67704/head:
librbd/cache/pwl: WriteLogOperationSet::cell can be garbage

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2 months agoMerge PR #66838 into squid
Patrick Donnelly [Thu, 19 Mar 2026 15:00:04 +0000 (11:00 -0400)]
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>
2 months agoqa/standalone: shorten bluefs test durations 67884/head
Igor Fedotov [Mon, 9 Feb 2026 12:21:25 +0000 (15:21 +0300)]
qa/standalone: shorten bluefs test durations

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit 5a901808dfe03dad5e34ef6374e34c0c03766e96)

2 months agoqa/standalone: increase WAL volume size to 1GB
Igor Fedotov [Mon, 9 Feb 2026 14:58:43 +0000 (17:58 +0300)]
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 2de79c64420ffba91becdf29f2d4f6b2d5931830)

2 months agoqa/standalone: fix bluefs expand test case
Igor Fedotov [Mon, 9 Feb 2026 12:19:52 +0000 (15:19 +0300)]
qa/standalone: fix bluefs expand test case

Fixes: https://tracker.ceph.com/issues/74525
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit 9fc57f9ed1c61d54ca8ecd9e1b98782eee13848a)

2 months agoSquid: mgr/dashboard: Changing placement of a mds to label - creates a new mds-servic... 66884/head
Dnyaneshwari Talwekar [Mon, 12 Jan 2026 07:53:59 +0000 (13:23 +0530)]
Squid: mgr/dashboard: Changing placement of a mds to label - creates a new mds-service, mds.label

Fixes: https://tracker.ceph.com/issues/74376
Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
2 months agoMerge PR #63344 into squid
Patrick Donnelly [Wed, 18 Mar 2026 14:31:29 +0000 (10:31 -0400)]
Merge PR #63344 into squid

* refs/pull/63344/head:
mgr/DaemonServer: fixed mistype for mgr_osd_messages

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2 months agoMerge PR #61417 into squid
Patrick Donnelly [Wed, 18 Mar 2026 14:25:33 +0000 (10:25 -0400)]
Merge PR #61417 into squid

* refs/pull/61417/head:
qa/cephfs: update ignorelist

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2 months agoMerge PR #59688 into squid
Patrick Donnelly [Wed, 18 Mar 2026 14:23:07 +0000 (10:23 -0400)]
Merge PR #59688 into squid

* refs/pull/59688/head:
qa: some test set `refuse_client_session`, so the cluster log is expected

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2 months agoMerge PR #64686 into squid
Patrick Donnelly [Wed, 18 Mar 2026 14:19:00 +0000 (10:19 -0400)]
Merge PR #64686 into squid

* refs/pull/64686/head:
mon/MgrMonitor: add a space before "is already disabled"

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2 months agoMerge PR #65298 into squid
Patrick Donnelly [Wed, 18 Mar 2026 14:15:16 +0000 (10:15 -0400)]
Merge PR #65298 into squid

* refs/pull/65298/head:
qa/suites/upgrade: update ignorelist with cephfs specific warnings (under stress-split)
qa/suites/upgrade: add "Replacing daemon mds" to ignorelist

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2 months agoMerge PR #65758 into squid
Patrick Donnelly [Wed, 18 Mar 2026 14:11:35 +0000 (10:11 -0400)]
Merge PR #65758 into squid

* refs/pull/65758/head:
.github: pin GH Actions to SHA-1 commit

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2 months agoMerge PR #66126 into squid
Patrick Donnelly [Wed, 18 Mar 2026 14:09:30 +0000 (10:09 -0400)]
Merge PR #66126 into squid

* refs/pull/66126/head:
qa: ignore cluster warning (evicting unresponsive ...) with tasks/mgr-osd-full

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2 months agoos/bluestore: rename row names in RocksDBBlueFSVolumeSelector. 66838/head
Igor Fedotov [Wed, 21 May 2025 08:30:15 +0000 (11:30 +0300)]
os/bluestore: rename row names in RocksDBBlueFSVolumeSelector.

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit a9f591f4e1cb1e364879165250c55cb0f841d64f)

2 months agotest/bluestore: add volume selector tests
Igor Fedotov [Mon, 19 May 2025 19:20:53 +0000 (22:20 +0300)]
test/bluestore: add volume selector tests

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit 158d1550a021ed60e5ad1c565b247e5b0b6d5946)

 Conflicts:
   src/test/objectstore/CMakeLists.txt - allocsim not present in Squid

2 months agoos/bluestore:fix bluestore_volume_selection_reserved_factor usage
Igor Fedotov [Mon, 19 May 2025 19:19:45 +0000 (22:19 +0300)]
os/bluestore:fix bluestore_volume_selection_reserved_factor usage

Fixes: https://tracker.ceph.com/issues/71368
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit 43d7864093f92977a3fd084bbfd65229244b1cc9)

2 months agoos/bluestore: print the first RocksDB level which doesn't fit into fast
Igor Fedotov [Tue, 4 Feb 2025 16:45:13 +0000 (19:45 +0300)]
os/bluestore: print the first RocksDB level which doesn't fit into fast
device by default.

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit d95aa620b315d9261cb50b0465ecfd2b6b534a60)

2 months agoMerge PR #66915 into squid
Patrick Donnelly [Wed, 18 Mar 2026 14:04:29 +0000 (10:04 -0400)]
Merge PR #66915 into squid

* refs/pull/66915/head:
monc: synchronize tick() of MonClient with shutdown()

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 months agoMerge PR #66973 into squid
Patrick Donnelly [Wed, 18 Mar 2026 14:03:12 +0000 (10:03 -0400)]
Merge PR #66973 into squid

* refs/pull/66973/head:
qa/tasks/thrashosds-health: whitelist PG_BACKFILL_FULL

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2 months agoMerge PR #60391 into squid
Patrick Donnelly [Wed, 18 Mar 2026 13:59:32 +0000 (09:59 -0400)]
Merge PR #60391 into squid

* refs/pull/60391/head:
qa/cephfs: ignore when specific OSD is reported down during upgrade

2 months agoMerge PR #63026 into squid
Patrick Donnelly [Wed, 18 Mar 2026 13:57:44 +0000 (09:57 -0400)]
Merge PR #63026 into squid

* refs/pull/63026/head:
qa/workunits/cephtool: add extra privileges to cephtool script

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
2 months agotest/encoding/readable: Add backward incompat checks 67392/head
Nitzan Mordechai [Sun, 7 Dec 2025 09:06:14 +0000 (09:06 +0000)]
test/encoding/readable: Add backward incompat checks

The readable.sh script has forward incompat checks, but no
backward incompat checks.

This fix will:
 1. Add check for backward_incompat directory for each type for specific
    objects or all objects with the same type and skip those objects from being tested.
 2. Add version comparison helper functions (version_lt, version_le, version_ge,
    versions_span) for robust version handling
 3. Replace 'sort -n' with 'sort -V' for proper version number sorting
 4. Add CORPUS_PATH environment variable to allow teuthology tests to execute this script
 5. Improve readability of the script

The difference between backward and forward incompat:
- forward_incompat: Marks objects from older versions that newer ceph-dencoder
  versions cannot read. Example: Version 19.2.x objects marked incompat at version 20.2.x
  means ceph-dencoder v20.2.x+ can't decode them. Skip when testing old objects
  with a new ceph-dencoder.
- backward_incompat: Marks objects from newer versions that older ceph-dencoder
  versions cannot read. Example: Version 19.2.x objects marked backward_incompat at v19.2.x
  means ceph-dencoder < v19.2.x can't decode them. Skip when testing new objects
  with an old ceph-dencoder.

Fixes: https://tracker.ceph.com/issues/74074
Signed-off-by: Nitzan Mordechai <nmordech@ibm.com>
(cherry picked from commit 011b25d8038e0f0bd3272fa57b0c7e068feb130c)

2 months agoworkunits/dencoder: use readable.sh script instead of python script
NitzanMordhai [Mon, 2 Feb 2026 07:34:24 +0000 (07:34 +0000)]
workunits/dencoder: use readable.sh script instead of python script

The python script test_readable.py was added for backword and forward
compability. maintaining 2 scripts that finally doing the same is west,
reverting and using readable.sh and leave the python out.

https://tracker.ceph.com/issues/74074
Signed-off-by: Nitzan Mordechai <nmordech@ibm.com>
(cherry picked from commit 9d289ed14e79fa8008ba30b77b425a4508030110)

2 months agoqa/rgw: bucket notifications use pynose 67450/head
Casey Bodley [Thu, 19 Feb 2026 15:09:44 +0000 (10:09 -0500)]
qa/rgw: bucket notifications use pynose

nose incompatibility in multisite tests was fixed by switching to pynose
in https://github.com/ceph/teuthology/pull/1947, so i'm trying the same
here

Fixes: https://tracker.ceph.com/issues/74573
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 915a5309a639333839829b5a554f3fdb6c560464)

2 months agoMerge PR #63018 into squid
Patrick Donnelly [Wed, 18 Mar 2026 00:37:05 +0000 (20:37 -0400)]
Merge PR #63018 into squid

* refs/pull/63018/head:
qa/workunits/fs/misc: remove data pool cleanup

2 months agoMerge PR #61302 into squid
Patrick Donnelly [Wed, 18 Mar 2026 00:35:59 +0000 (20:35 -0400)]
Merge PR #61302 into squid

* refs/pull/61302/head:
qa: do not fail cephfs QA tests for slow bluestore ops

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2 months agoqa: set column for insertion 67322/head
Patrick Donnelly [Sun, 8 Feb 2026 15:48:54 +0000 (10:48 -0500)]
qa: set column for insertion

    2026-02-08T13:02:24.439 INFO:tasks.workunit.client.0.trial031.stderr:Parse error near line 2: no such column: "start" - should this be a string literal in single-quotes?

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 6ebb625669afd6e112be26ff87a1e61cfc4ee979)

2 months agoqa: bail sqlite3 on any error
Patrick Donnelly [Sun, 8 Feb 2026 15:47:52 +0000 (10:47 -0500)]
qa: bail sqlite3 on any error

Otherwise it will wrongly proceed executing the next SQL statement.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit e6d10c23eb3c2b8b4aae15146f24bbfcf65ad1b6)

2 months agoqa: use actual sqlite3 blob instead of string
Patrick Donnelly [Sun, 8 Feb 2026 15:43:25 +0000 (10:43 -0500)]
qa: use actual sqlite3 blob instead of string

No functional change.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 1e0114bf2795e5c19348cec0eafa7d351d22dc81)

2 months agotest: use json_extract instead of awkward json_tree
Patrick Donnelly [Sun, 8 Feb 2026 00:45:26 +0000 (19:45 -0500)]
test: use json_extract instead of awkward json_tree

Ideally this should be port better across sqlite3 versions. The sqlite3
on rocky10 failed because it started requiring components of the keys
to be quoted:

    sqlite> select * from p as a, p as b where a.i=1 and b.i = 2 and a.fullkey = '$."libcephsqlite_vfs"."opf_sync".avgcount' and b.fullkey = '$."libcephsqlite_vfs"."opf_sync".avgcount';
    i  key       value  type     atom  id   parent  fullkey                                    path                              i  key       value  type     atom  id   parent  fullkey
    -  --------  -----  -------  ----  ---  ------  -----------------------------------------  --------------------------------  -  --------  -----  -------  ----  ---  ------  ------------------
    1  avgcount  4      integer  4     581  570     $."libcephsqlite_vfs"."opf_sync".avgcount  $."libcephsqlite_vfs"."opf_sync"  2  avgcount  5      integer  5     581  570     $."libcephsqlite_v

Fixes: https://tracker.ceph.com/issues/74755
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit f304daa74ace4e6b856b585d71b8ff9c6e8a024a)

2 months agomon/HealthMonitor: avoid MON_DOWN for freshly added Monitor 67324/head
Patrick Donnelly [Wed, 19 Nov 2025 23:16:21 +0000 (18:16 -0500)]
mon/HealthMonitor: avoid MON_DOWN for freshly added Monitor

In testing, we often have the scenario where cephadm has created a
cluster but doesn't add more monitors until well past
mon_down_mkfs_grace. This causes useless MON_DOWN warnings to be thrown
which fails QA jobs. Avoid this situation entirely by giving a
reasonable grace period for a monitor added to the MonMap to join
quorum.

Fixes: https://tracker.ceph.com/issues/73934
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit b028a41e1f000b87aab3f263ab3259a0ca439555)

2 months agomon: add time_added to mon_info_t
Patrick Donnelly [Wed, 19 Nov 2025 23:15:51 +0000 (18:15 -0500)]
mon: add time_added to mon_info_t

So we know when the Monitor was added to the map.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit c5b43e9b2765ff98419c649a5ae53ec16601975d)

Conflicts:
src/mon/MonMap.cc: generate_test_instances refactor missing