logging: use canonical upstream image names #433
Reference in New Issue
Block a user
Delete Branch "benvin/upstream-images-logging"
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?
rke2's
registries.yamlalready rewrites upstream image names to the artifactapi mirror, so manifests must carry canonical upstream names. Only in-houseartifactapi.k8s.syd1.au.unkin.net/docker-internal/...images stay explicit (logarchiver/logviewer are untouched).Changes:
docker.io/clickhouse/clickhouse-server:24.8.docker.io/library/alpine:3.docker.io/natsio/nats-box:0.18.0.docker.io/library/natsanddocker.io/natsio/nats-server-config-reloader.docker.io/timberio/vector.Tags/digests unchanged and the
repository/tagsplit is preserved.kustomize build --enable-helm apps/overlays/au-syd1/loggingdiffers from main only in those nine image strings.Extra found, not changed here:
.woodpecker/vector-test.yamlstill pins its CI step image toartifactapi.k8s.syd1.au.unkin.net/dockerhub/timberio/vector:0.57.0-debian. That is a Woodpecker step image rather than a namespace manifest, so it is left out to keep this PR to the logging namespace — say the word and I will fix it separately.Investigated the "unmergeable" state. There is no textual conflict with
main.main(74ad2c8) has not touchedapps/base/logging/**orapps/overlays/au-syd1/logging/**since this branch's merge base (c313c7c), sogit merge origin/mainintobenvin/upstream-images-loggingresolves cleanly with zero conflicted files.kustomize build --enable-helm apps/overlays/au-syd1/loggingsucceeds on the merged tree, and the rendered diff vsorigin/mainis exactly the 9 image-name policy lines (alpine, vector x3, nats, nats-server-config-reloader, nats-box, clickhouse-server x2). No tag/digest changes; the twodocker-internalimages stay explicit.The real blocker is server-side object corruption in the Gitea repo, not this branch. Pushing the merge commit is rejected with:
51dc459dis precisely the root tree of the merge of this branch withmain. The local copy is a valid 509-byte tree; the server's loose copy is truncated/garbage, soreceive-packskips writing our good copy (file already exists) and then fails its connectivity check.POST /pulls/433/update?style=merge(Gitea doing the merge itself) also returns HTTP 500 for the same reason — which is exactly why Gitea reportsmergeable: false.Because the merge result is content-addressed, every retry produces the same tree SHA and hits the same corrupt file. Retried with
--no-thin; same failure. PR #437 (benvin/upstream-images-valkey-operator-system) is also stuck atmergeable: false, so this may not be isolated.Two ways to unblock, both need a human:
/shared/apps/gitea/repos/unkin/argocd-apps.git/objects/51/dc459d3d59d9f5c1399c9e6c61e392ed54581f), then this branch pushes and merges as-is. Worth agit fsckon the repo and a disk-space check on the/sharedvolume at the same time — truncated loose objects are a classic ENOSPC symptom.mainfirst (e.g. #439/#440). That movesmain, which changes the merge root tree to a different SHA and sidesteps the corrupt object entirely.Nothing was pushed to this branch — it is unchanged at
6e6dabe.Merge with main pushed successfully now that main moved past the corrupt-object hash collision (head
77a9a91).