Skip to content

check-pod-ensure-gate cannot run: its pinned 'public' ghcr.io image is anonymously denied (403) #48

Open

Description

@aitrawog

Finding

check-pod-ensure-gate — this repo's only disposable: true R10 bed — cannot run on a host
without GHCR credentials. Its pod-ensure-gate-present arm asserts a PUBLIC, pinned image,
but anonymous access to ghcr.io/opencharly/check-firecracker-app:2026.287.1522 is denied, so
the arm dies in ensure-image before the code it exists to prove is reached.

Evidence

Reproduced on an UNMODIFIED origin/main (54c7c0c) worktree, so the failure is independent
of any change under review:

$ cd /tmp/pdp-origin-main && charly config pod-ensure-gate-present
ensure-image: pulling ghcr.io/opencharly/check-firecracker-app:2026.287.1522
Trying to pull ghcr.io/opencharly/check-firecracker-app:2026.287.1522...
Error: unable to copy from source docker://ghcr.io/opencharly/check-firecracker-app:2026.287.1522: initializing source docker://ghcr.io/opencharly/check-firecracker-app:2026.287.1522: fetching manifest 2026.287.1522 in ghcr.io/opencharly/check-firecracker-app: Requesting bearer token: received unexpected HTTP status: 403 Forbidden
charly: error: command "config": deploy:pod config: ... image not found in local storage: ghcr.io/opencharly/check-firecracker-app:2026.287.1522: ensure-image ...: not present locally, pull failed ...
rc=1

The registry denies the anonymous token for the image, while a public control package on the
same host succeeds — so this is not an egress outage:

$ curl -s -w " http=%{http_code}\n" "https://ghcr.io/token?scope=repository:opencharly/check-firecracker-app:pull&service=ghcr.io"
{"errors":[{"code":"DENIED","message":"requested access to the resource is denied"}]} http=403

$ curl -s -w " http=%{http_code}\n" "https://ghcr.io/token?scope=repository:containerd/nerdctl:pull&service=ghcr.io"
{"token":"djE6Y29udGFpbmVyZC9uZXJkY3RsOjE3OTM5MTMzNTM2Mzg4NDA5ODM="} http=200

$ podman image exists ghcr.io/opencharly/check-firecracker-app:2026.287.1522
rc=1

The full bed run reports the failure as a step verdict, not as an unavailable prerequisite:

charly check run check-pod-ensure-gate: [check-live] FAIL after 34.068s
2 steps: 1 passed, 1 failed, 0 skipped
  FAIL  check the pod config path completes ... [pe-config-path-completes]  exit=1, want 0

RCA

  • Mechanism. The arm's box pull / ensure-image fetch the pinned ref from ghcr.io, and
    ghcr.io denies the anonymous bearer token for opencharly/check-firecracker-app (403
    DENIED), while a public control package on the same host returns a token. Either the
    package is private or it no longer exists; either way the ref is not anonymously readable.
  • Missed control. The bed's own hermeticity comment asserts "a PUBLIC registry by a
    pinned tag", but nothing preflights that the ref is anonymously pullable. When that
    assumption breaks, the gate goes red for EVERY change and reads like a code failure.
  • Blast radius. Every plugin-deploy-pod change that needs the R10 bed on a
    credential-less host. pod-ensure-gate-absent still passes (it never pulls), so the bed
    fails on the one arm that needs an image.
  • Root fix. Make the arm's image anonymously pullable again (restore public visibility on
    that package, or repoint the arm at a public ref that carries charly's metadata), or make
    the bed state and check its credential requirement up front instead of surfacing a pull
    failure as a failed step.

Scope

No code change is implicated: the failure occurs in ensure-image on the unmodified
origin/main tree. Filed while landing a containerd runtime-handler fix, whose R10 bed run
this defect blocks on this host.

Agent: containerd-crabbox-program/rt16 · session 8b1c01cf-7f79-4a75-bff8-240415a06208
Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)

Activity

  1. added
    category:verification
    type:fix
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    category:verificationtype:fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions