Skip to content

2026-11-20: harbor-smoke's collation image postgres:19.0-alpine had no amd64 image, harbor-postupgrade timed out

Kind: reference (incident report)

Severity: warning · Status: resolved · Resolved by: operator agent · Duration: 0:15 from detection to resolution, 03:29:46–03:45:00 UTC (fault from 02:29:59 UTC) · Taskbase task: #3499, #3500

Summary

Renovate PR #1626 (task #3492) moved the collation container of the Job harbor/harbor-smoke from postgres:18.7-alpine to postgres:19.0-alpine. It was merged at 02:27:18 (cd0558d9). Docker Hub had published every postgres:19* tag at 01:08 with an empty image index, so the nodes (all amd64) could not pull it. The smoke init container passed, so no rollback started. collation waited in ImagePullBackOff until the Job's 1-hour deadline failed it, and harbor-postupgrade failed its health check. Harbor itself stayed healthy throughout. The revert to postgres:18.7-alpine (#1629) merged at 03:41:07, and the recreated harbor-smoke passed at 03:45:00.

Impact

  • Services: none for users. Harbor stayed healthy: the HelmRelease harbor was Ready on chart 1.19.4 (Helm revision 17 deployed), and /api/v2.0/health reported healthy with no unhealthy component. The Flux Kustomization harbor-postupgrade was not Ready from 03:29:46. harbor-rollback stayed suspended and did not run.
  • Users: none reported.
  • Data: none at risk. The collation check only reads, and it never ran.
  • Duration: 15 min 14 s from detection (03:29:46) to the recreated harbor-smoke completing (03:45:00). The pull failed from 02:30:02, about 1 hour before detection.

Timeline

All times UTC.

Time Event Source
01:08:08–01:08:29 Docker Hub published the postgres tags 19, 19.0, 19-alpine, 19.0-alpine and the others with no image (images: []; the index has "manifests": []) Docker Hub tag API, registry manifest
02:05:46 Renovate committed 35d18686 (postgres:19.0-alpine in components/harbor/rollback/job.yaml) on renovate/postgres-19.x Git
02:27:18 #1626 merged as cd0558d9 Git
02:29:46 Flux recreated Job harbor/harbor-smoke (pod harbor-smoke-t6qx4 on worker-1) Job creationTimestamp
02:29:59 fetch-latest and smoke init containers had passed, and the kubelet started pulling postgres:19.0-alpine events
02:30:02 Failed to pull image "postgres:19.0-alpine": ... no match for platform in manifest: not found, then ImagePullBackOff, 237 times until 03:25:07 events
03:29:46 Job DeadlineExceeded (activeDeadlineSeconds: 3600) and the pod was deleted. Detected: harbor-postupgrade HealthCheckFailed, timeout waiting for: [Job/harbor/harbor-smoke status: 'InProgress']. Taskbase raised #3499 Flux event, task
03:29:52 Retry: failed early due to stalled resources: [Job/harbor/harbor-smoke status: 'Failed'] at main@sha1:5878745c. Taskbase raised #3500 for that revision Flux status, task
03:31–03:35 operator agent found the cause (read-only) and opened the revert pull request #1629 this report
03:41:07 #1629 merged as 030ad91c Git
03:43:14 Flux re-applied the chain at 030ad91c: Kustomizations went DependencyNotReady in turn until each dependency had applied the new revision flux get kustomizations
03:44:48 Flux recreated harbor-smoke (pod harbor-smoke-85lvc) with postgres:18.7-alpine Job creationTimestamp
03:45:00 Resolved: harbor-smoke Complete in 12 s: smoke check passed, then collation versions match (postgres, registry, template1: 2.43, actual 2.43) Job status, Job log
03:48 The platform-docs bump 86b674a0 started the same re-apply chain again flux get kustomizations
03:55:31 No Kustomization or HelmRelease not Ready. harbor-postupgrade Ready at main@sha1:86b674a0 flux get, #3500 run

Root cause

The collation container is the only one in harbor-smoke that uses the postgres image. Renovate proposed 19.0-alpine within an hour of Docker Hub creating the tag. Docker Hub library images have no release timestamp, so minimumReleaseAgeBehaviour: timestamp-optional gives them no wait (Renovate ADR §13). At that point the tag was an OCI image index with no manifests:

{"manifests": [], "mediaType": "application/vnd.oci.image.index.v1+json", "schemaVersion": 2}

postgres:18.7-alpine, for comparison, lists amd64, arm/v6, arm/v7, arm64/v8, 386, ppc64le, riscv64 and s390x. No CI job pulls the images a pull request changes, and the upgrade evidence did not check the index. The tag therefore reached the cluster, where containerd found no linux/amd64 entry.

Because collation is the Job's main container, it starts only after smoke has passed. A pull failure there does not start harbor-rollback: the Job just waits until activeDeadlineSeconds fails it. That deadline equals harbor-postupgrade's spec.timeout of 1h, so the Kustomization timed out on a Job that was still InProgress.

What the agent did

The agent ran no write commands on the cluster and changed nothing live. Every check was read-only, with --context admin@mgmt-cluster:

  1. flux get kustomizations -A --status-selector ready=false: only harbor-postupgrade, HealthCheckFailed. flux get helmreleases -A --status-selector ready=false: none.
  2. kubectl -n harbor get job harbor-smoke harbor-rollback: harbor-smoke Failed, DeadlineExceeded. harbor-rollback still Suspended, so no rollback had started.
  3. kubectl -n harbor get events: the pull error no match for platform in manifest: not found for postgres:19.0-alpine, from 02:30:02 to the deadline.
  4. kubectl get nodes: all four nodes amd64.
  5. Docker Hub registry and tag API: every postgres:19* tag has an empty index and no images. 18.7-alpine has amd64.
  6. helm history harbor, flux get helmrelease -n harbor harbor, Harbor /api/v2.0/health through the API server's Service proxy, and select version() on harbor-database-0: Harbor healthy on chart 1.19.4, server PostgreSQL 18.6.
  7. Pull request #1629: reverts the image to postgres:18.7-alpine, and corrects Harbor rollback: the collation check. A pull failure of collation starts no rollback.

  8. The operator run of #3500, the task raised for the retry at 5878745c, found the same cause read-only and #1629 already merged. It opened no second revert and ran no write command. It watched the recreated Job and the Flux chain to Ready, and recorded the result here.

The playbook's choice for this Database operator / PostgreSQL major type is a revert. A fix forward was not possible, because no postgres:19 tag had an image. The revert changes the pod template, so kustomize.toolkit.fluxcd.io/force: Enabled makes Flux recreate harbor-smoke on the next reconcile. No live write is needed.

Resolution and verification

Checked at 03:55 UTC, all with --context admin@mgmt-cluster:

  • kubectl -n harbor get job harbor-smoke harbor-rollback: harbor-smoke Complete 1/1 in 12 s on postgres:18.7-alpine; harbor-rollback Suspended, 0 pods. The Kustomization harbor is not suspended and has no harbor-rollback-pin annotation.
  • kubectl -n harbor logs job/harbor-smoke --all-containers: the smoke artifact pulled (2 blobs), smoke check passed, collation versions match.
  • flux get kustomizations -A --status-selector ready=false and flux get helmreleases -A --status-selector ready=false: both empty. harbor, harbor-preupgrade, harbor-postupgrade and harbor-secrets Ready at main@sha1:86b674a0.
  • helm -n harbor history harbor: revision 17 deployed, harbor-1.19.4, unchanged.
  • Harbor /api/v2.0/health: healthy.
  • Alertmanager through the Service proxy (cluster=hetzner-mgmt): no active alert in harbor or flux-system.

Follow-ups

  • 3501: a CI check that fails a pull request whose changed image has no linux/amd64 image.

  • 3502: the upgrade playbook and the ops runbook check a new tag's platforms, and cover a gate or smoke Job stuck on no match for platform in manifest.

  • Renovate proposed postgres 19.0 again as #1632 (task #3505) at 04:06. By then the 19.0-alpine index listed linux/amd64 (manifest sha256:8e81a484…, built 00:40:36) and six other platforms. Its upgrade evidence records them.

References

  • Alert: Flux Alert taskbase-platform, Kustomization flux-system/harbor-postupgrade, HealthCheckFailed
  • Taskbase incident task: #3499 (post-merge failure of #3492 at cd0558d9), #3500 (the same failure at 5878745c)
  • Runs: the operator runs of #3499 and #3500
  • Pull requests: #1626 (the upgrade), the revert #1629
  • Runbook sections: Harbor post-upgrade smoke check and rollback, upgrade playbook

Open questions

  • Why Docker Hub's postgres:19* tags had an empty index, and when they will have images. The record does not show whether the publication was still in progress or had failed. At 03:55:47 the 19.0-alpine index still had no manifests.