any-sync: MinIO withdrew anonymous pulls (quay.io/minio/minio AND docker.io/minio/minio answer unauthorized for every tag/digest) — every fresh founding reds at enroll-activate on podman-anysync-minio #1859
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1859
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Seen on WKT-DEMO Drive A fire 2 (drive
20260924T235630Z, #1855), 2026-09-25 00:39Z:enroll-activatered —clan: masked_exit on gateway: clan reported success but the log shows a real failure: Failed to start podman-anysync-minio.service. On the box:podman pull quay.io/minio/minio@sha256:5db7e40b…→reading manifest … in quay.io/minio/minio: unauthorized: access to the requested resource is not authorized; the six other any-sync images (ghcr.io anyproto ×4, docker.io mongo, redis-stack) pulled fine on the same box. Verified from outside: quay.iominio/miniorefuses anonymous token pulls for the digest, forlatestand for the tags list; docker.iominio/minioanswersauthentication requiredforlatesttoo. The publisher withdrew public access — nothing on our side changed (internal/clan/anysync.gohas pinnedquay.io/minio/minio@sha256:5db7e40b…since #1518).Blast radius: every fresh founding that installs the content layer (the app built now / later) reds at enroll-activate; every standing community keeps running on its cached image (whakatohea-demo verified: image present, unit active) but a re-supply or release that re-pulls would fail the same way.
Fix (in progress, coa session): re-host the exact image bytes the gateways already run — exported from whakatohea-demo's podman storage (
podman save --format oci-archive, digest5db7e40b…) — on our own registrygit.matou.nz/matou/minio(the Matou org is public, so pulls stay anonymous), and repointdefaultAnysyncMinioImageat it by its new digest, pinned byTestRenderAnySync_MinioImageIsSelfHosted. Follow-ups worth a ruling: mirror the other six pins there too (ghcr/docker.io can do the same), and #1754 (our own S3 store) removes MinIO from the path altogether.Refs #1855, #1836, #1518, #1754.
Ruled by agent under ADR 0174 — veto anytime.
Ruling —
ready-for-session(categorybug,prioritykept)A verified fleet-breaking bug:
quay.io/minio/minio(anddocker.io/minio/minio) withdrew anonymous pulls, so the pinned digest5db7e40b…atinternal/clan/anysync.go:117(defaultAnysyncMinioImage) no longer resolves, and every fresh founding that installs the content layer reds atenroll-activateonpodman-anysync-minio.service. Standing communities keep running on their cached image; a re-supply or release that re-pulls would fail the same way. Nothing on our side changed — this is a publisher-side withdrawal.Why this is a two-way door. The fix — re-host the exact image bytes on our own registry and repoint the pin — is fully revertible by a later commit (repoint the digest again) and by a label change. It sits on none of the one-way-door rails: no personal credentials, no security-posture widening (the bytes are re-hosted, unchanged, on the already-public
Matouorg registry, so pulls stay anonymous — the posture is identical), no member-facing trust accept, no data destruction, no non-routine spend.What proves it. The new pin
TestRenderAnySync_MinioImageIsSelfHosted(assertsdefaultAnysyncMinioImagepoints atgit.matou.nz/matou/minioby digest), plus a fresh founding drive whoseenroll-activateleg goes green onpodman-anysync-minio— the exact leg that redded on drive20260924T235630Z(#1855).Why
ready-for-session, notready-for-agent. The re-host step is a live-infrastructure operation:podman savethe image from a running gateway's storage andpodman pushit togit.matou.nz/matou/minio, which needs registry push credentials a Sandcastle swarm worker does not hold. This is an interactive session's standing (host/registry credentials, live-infra), so it is invisible to the swarm queue by construction. The body records a coa session already on it.Session brief
Problem.
defaultAnysyncMinioImage = "quay.io/minio/minio@" + anysyncMinioDigest(internal/clan/anysync.go:117) is unpullable anonymously; founding'senroll-activatereds.Fix (two steps, one PR for the code half):
podman save --format oci-archivefrom whakatohea-demo's podman storage (digest5db7e40b…, verified present + unit active there) — andpodman pushtogit.matou.nz/matou/minio. Confirm anonymous pull of the new ref works from outside (theMatouorg is public).defaultAnysyncMinioImageatgit.matou.nz/matou/minio@<new-digest>and addTestRenderAnySync_MinioImageIsSelfHostedpinning it.go build ./...,go vet, and theinternal/clansuite green.Prove it. A fresh founding drive (or the WKT-DEMO founding, #1836) reaches
enroll-activategreen onpodman-anysync-minio.Follow-ups worth their own ruling (not this ticket): mirror the other six any-sync pins (ghcr.io anyproto ×4, docker.io mongo, redis-stack) to the same registry against a future withdrawal; #1754 (our own S3 store) removes MinIO from the path entirely.
Refs #1855, #1836, #1518, #1754.
Session-runner attempt (matou-workstation) — ADR 0174. Verified the bug, staged the fix locally, and hit one missing door: a registry write:package credential. Routing
ready-for-humanfor exactly that.Verified (reproduced, from outside)
quay.io/minio/minioanswers401forlatestand for the pinned digestsha256:5db7e40b…;docker.io/minio/minioanswers401forlatesttoo. Nothing on our side changed — the publisher pulled anonymous access. This is the exactenroll-activatered onpodman-anysync-minio.matou-workstation), no need to reachwhakatohea-demo: the local docker cache holdsminio/minio:RELEASE.2024-07-04T14-25-45ZwhoseRepoDigestsis preciselyminio/minio@sha256:5db7e40b69f0c3ad5a878521ff5029468e3070ef146c084dc2540e2d492075c4(amd64/linux, single-arch — the pinned digest is a single-platform manifest, not a list). So the re-host source is here (and on every standing gateway's podman storage).git.matou.nz/matou/miniodoes not exist yet — the registry answersNAME_UNKNOWN(404) ontags/list. The coa-session push has not landed.The missing door
This host's
FORGEJO_TOKEN(matou-swarm) candocker login git.matou.nz(auth OK,GET /v2/→ 200) but cannot push: blob upload/HEAD return401/503, and the packages API returns403(token does not have … read:package). The token carries noread:package/write:packagescope, so it cannot creatematou/minio. Creating the package needs a credential this session-runner host does not hold.## Why humanA git.matou.nz registry credential with
write:packagescope for thematouorg (or the coa session's push cred) — the one-way residue. Two ways to lift it:matou-swarmwrite:packageon thematouorg (or hand a push credential to a standing-session host) → then this becomesready-for-session: any host can finish it unattended with the steps below. If such a host already exists, flip this back toready-for-session— no Ben step is needed, only a differently-doored host.Proposed default (fully specified — completes without further judgement)
Then in
internal/clan/anysync.go: repointdefaultAnysyncMinioImagetogit.matou.nz/matou/minio@sha256:<reported>(updateanysyncMinioDigest+ the "publishes on quay.io" comment), addTestRenderAnySync_MinioImageIsSelfHostedpinning the self-hosted ref,go test ./internal/clan/…, and land. The anonymous-pull probe proves theenroll-activatefailure is resolved — no live founding drive required for this bug (a fresh founding's full green stays the executor frontier). The manifest bytes are identical, so<reported>is very likely the same5db7e40b…, but pin whatever the registry actually reports rather than assuming.Follow-ups (separate tickets, not this one): mirror the other six pins the same way; #1754 removes MinIO from the path.
Ruled by agent under ADR 0174 — veto anytime. No code landed this attempt (a repoint to a not-yet-existing ref would red every founding harder); the withdrawal reproduction, the local-bytes finding, and the missing-scope diagnosis are the deliverables.