Repository navigation
[DNM] fix: build squid from noble-proposed - #901
Draft
johnramsden wants to merge 4 commits into
Draft
johnramsden wants to merge 4 commits into
johnramsden wants to merge 4 commits into
Conversation
johnramsden
force-pushed
the
build/squid-proposed
branch
from
October 2, 2026 22:14
76b907d to
6093274
Compare
johnramsden
marked this pull request as ready for review
October 3, 2026 00:12
Ceph 19.2.6 already implements fs snapshot mirror ls, so the old addition patch can reverse list_dirs and duplicate the command handler. Replace it with a decorator-only patch to preserve read-only command permissions; keep the MicroCeph orchestrator patch unchanged. Assisted-by: omp:gpt-6-astra Signed-off-by: John Ramsden <john.ramsden@canonical.com>
Ceph 19.2.6 mints aes256k cephx keys that the 6.8 GA kernel cannot
parse ("libceph: secret too big 32") and that pre-19.2.6 userspace
cannot read from keyrings, so host-side cephfs mounts fail against a
fresh cluster. The HWE 24.04 kernel (7.0) understands the new keys.
Mount cephfs for the CephFS replication and single-node NFS jobs inside
a noble VM running the HWE kernel, passing the raw client.admin secret
to the kernel so no legacy keyring parser is involved.
Assisted-By: omp:gpt-6-astra
Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: John Ramsden <john.ramsden@canonical.com>
Ceph 19.2.6 (the CVE-2025-30156 cephx rework) raises the AUTH_INSECURE_* health checks against the legacy cephx keys a cluster carries across an upgrade from an older release, so verify_health times out waiting for HEALTH_OK right after the quincy and reef upgrade jobs refresh to the local build. Teach verify_health to take health-check patterns to ignore and have the upgrade jobs pass AUTH_INSECURE: the cluster state is left as it is (keys are rotated and the cluster cut over to aes256k-only separately, per the upgrade quickref), the gate still fails on any other warning or error. Assisted-By: omp:gpt-6-astra Signed-off-by: John Ramsden <john.ramsden@canonical.com>
Ceph 19.2.6 raises MON_MSGR2_NOT_ENABLED against a v1-only initial monmap. Upstream commit: canonical@ba55f6f Assisted-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: John Ramsden <john.ramsden@canonical.com>
johnramsden
force-pushed
the
build/squid-proposed
branch
from
October 3, 2026 00:32
25a11fd to
bda3af6
Compare
johnramsden
marked this pull request as draft
October 5, 2026 17:52
Member
Author
|
This work is ready but marking it as [DNM] draft until we have #897 and bootstrap keys ready. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Bump squid to Ceph 19.2.6 by building from
noble-proposed, and fix the regressions 19.2.6 exposes in the snap and the test harness.Fixes #900
Changes
fix: build squid from noble-proposednoble-proposedas a package repository (archive and ports), assertceph version 19.2.6after bootstrap, and replace0002-Adds-list-command-to-cephfs-mirroring.patchwith a decorator-only patch.ppa:lmlogiudice/ceph-lp2166817-updates) and dropped the mirroring patch with the Tentacle rebase in #706. 19.2.6 already shipsfs snapshot mirror lsbut registers it as a write command, so the new patch only switches it toCLIReadCommandto keep MicroCeph's read-only permissions.test: keep client mounts off the runner's GA kernelclient.adminsecret, and test the single-node NFS export directly instead of mounting through the host'sceph-common.ceph-commoncan't parse. Main solved this in #807 by running the mount client in a Resolute (26.04) VM withceph-commonfrom the same PPA as the snap. Squid stays on noble runners and has no matching PPA client, so it uses the noble HWE kernel instead.test: ignore insecure cephx key warnings in the upgrade testsverify_healthtakes health-check patterns to ignore; the quincy and reef upgrade jobs passAUTH_INSECURE.AUTH_INSECURE_*checks after upgrade in the Robot harness (_legacy_cephx_health_is_compatible, #807). Squid's upgrade tests still live inactionutils.sh, so the same rule is applied there; any other warning or error still fails the gate.fix: create the initial monmap with msgr2 addressesgenMonmappasses--feature-set nautilus --persistenttomonmaptool, plus a unit test.genMonmaphunk andTestGenMonmapSetsPersistentNautilusFeatureare backported. The test sets up the mock runner inline because squid has nowithMockRunnerhelper.MON_MSGR2_NOT_ENABLED
On 19.2.6 a freshly bootstrapped cluster raises
MON_MSGR2_NOT_ENABLEDat mon mkfs, because the initial monmap is v1-only and is only upgraded later byceph mon enable-msgr2. That warning failed the HEALTH_OK gates in five jobs of https://github.com/canonical/microceph/actions/runs/36945762817 (single node with encryption, NFS, CephFS replication, maintenance mode, AZ crush rules). Main hit the same thing on Ceph 20 and fixed it at the source, so this backports that fix rather than muting the check in the tests. With the persistent Nautilus feature,monmaptool --addwrites the first monitor as a v2/v1 address vector, and the check never fires.Testing
make check-unitpasses.microcephdrebuilt from this branch.Health check failed: 1 monitors have not enabled msgr2 (MON_MSGR2_NOT_ENABLED)at mkfs, monmap epoch 2.[v2:<ip>:3300/0,v1:<ip>:6789/0].Type of change
Contributor checklist
Please check that you have: