Skip to content

2026-11-19: Harbor registry got 503 and 504 from Object Storage in fsn1 in two seven-minute waves

Kind: reference (incident report)

Severity: critical · Status: resolved · Resolved by: recovered on its own when Hetzner Object Storage answered again, checked by the operator agent · Duration: 0:22 from detection to resolution, 12:48–13:10 UTC (firing 12:48:15–12:50:30 and 13:05:45–13:10:00; storage errors 12:34:40–12:41:50 and 12:54:19–13:01:15) · Taskbase task: #3466

Summary

Hetzner Object Storage in fsn1 failed the Harbor registry's S3 calls twice, from 12:34:40 to 12:41:50 and from 12:54:19 to 13:01:15 UTC. It answered 503 ServiceUnavailable, 503 SlowDown, 504 GatewayTimeout and one 500 InternalError, and the registry passed them on as 5xx. Up to 59 % of the registry's requests failed over 10 minutes, so HarborRegistryStorageErrors fired twice. In the second wave, three eloro CI jobs failed to pull their CI image. The errors stopped by themselves; the alert last fired at 13:10:00, and the registry logged no error from 13:01:15 to 13:16:31. Nothing was changed in the cluster or in Git.

Impact

  • Services: harbor.prod.skatzi.com registry calls failed in both waves:
  • CI build-cache uploads to skatzi/webshop-platform-cache;
  • manifest and blob reads of the CI images skatzi/ci-base and library/kaniko-runner;
  • one manifest read of skatzi/charts/agent-runner.

The portal, core and the other Harbor pods were not affected. No pod in the cluster was in ImagePullBackOff or ErrImagePull at 12:49 or at 13:02. - Users: three eloro/webshop-platform CI jobs failed, each on failed to pull image 'harbor.prod.skatzi.com/…'. The first was superseded and needs nothing. The other two need a rerun when their runs end: - run 12921 (pull request #951), build and chart from 12:53, superseded by run 12925 after a new push; - run 12925 (#951), chart at 13:01 (skatzi/ci-base:20261118-77693ee); - run 12920 (#949), image at 12:59 (library/kaniko-runner:latest).

The first wave broke no CI run. Run 12919 (#947, 12:10:39–12:45:17), which pushed cache layers in that wave, ended success: a failed cache upload doesn't fail a kaniko build. - Data: none. Images already stored were not touched. Failed uploads were never committed. - Duration: 22 min from first detection (12:48:15) to resolution (13:10:00), with a 5-minute gap when the alert was resolved (12:50:30–12:55:45). Storage errors ran 12:34:40–12:41:50 and 12:54:19–13:01:15.

Timeline

All times UTC.

Time Event Source
12:34:40 First error: unknown error completing upload: InternalError: This multipart completion is already in progress, status 500, request id …-fsn1-prod1-ceph5 harbor-registry log
12:37–12:41 26 errors: s3aws: ServiceUnavailable: Service is unable to handle request (503, 21), GatewayTimeout: The server did not respond in time (504, 3), 500 (2) harbor-registry log
12:38:15 HarborRegistryStorageErrors pending (5xx ratio 7.5 % at 12:38:30) Prometheus ALERTS
12:41:50 Last error of the first wave harbor-registry log
12:44:30 5xx ratio at its peak, 59.4 % over 10 minutes Prometheus
12:48:15 Detected: HarborRegistryStorageErrors firing at 21.2 %; Taskbase raised #3466 Alertmanager, task #3466
12:49:31 The operator run of #3466 read the alert as active, not silenced Alertmanager API
12:50:30 Last firing sample of the first wave; Alertmanager no longer listed it at 12:51:11 Prometheus ALERTS, Alertmanager API
12:53:50–12:56:18 eloro run 12921 build and chart fail to pull skatzi/ci-base Gitea Actions job logs
12:54:19 Second wave starts: 14 errors to 13:01:15, ServiceUnavailable (11), SlowDown (2, request id …-fsn1-prod1-ceph5), GatewayTimeout (1) harbor-registry log
12:55:45 Alert pending again Prometheus ALERTS
12:58:13–12:59:34 eloro run 12920 image fails to pull library/kaniko-runner:latest Gitea Actions job log
13:00:34–13:01:50 eloro run 12925 chart fails to pull skatzi/ci-base Gitea Actions job log
13:01:15 Last registry error harbor-registry log
13:05:45 Alert firing again (Alertmanager active at 13:09:48) Prometheus ALERTS, Alertmanager API
13:10:00 Last firing sample; ratio 0 % from 13:10:44 Prometheus
13:16:31 Resolved: Alertmanager lists no HarborRegistryStorageErrors, and no registry error since 13:01:15 Alertmanager API, harbor-registry log

Root cause

Hetzner Object Storage in fsn1 failed requests in two waves of about seven minutes each. The registry keeps its images in the bucket skatzi-harbor-registry there and streams every blob through it (Harbor: known risk). The 503s and 504s came from the storage, not from Harbor: the request ids it returned name a Ceph gateway in fsn1 (fsn1-prod1-ceph5), and SlowDown is the storage throttling. Harbor itself had no fault:

  • the S3 credential's ExternalSecret was SecretSynced 23 minutes before the run, and no error was a 403;
  • the only Harbor changes in Git since 11-17 were tool-image bumps for its backup Jobs;
  • the registry pod had been running for 13 hours without a restart.

Hetzner's status page had no entry for either wave, checked at 12:50 and 13:13. Its last fsn1 Object Storage entry, "Object Storage in location fsn1 partially degraded", started on 2026-11-14 00:40. It has been in Monitoring since 2026-11-15 07:42 ("Requests to some buckets may fail or time out"). The fsn1 maintenance announced for 2026-12-02 11:00–23:00 had not started.

The registry exports the failures as code="500" in registry_http_requests_total, whatever the storage answered: 18 of about 102 requests in the 20 minutes before 12:50. With so little traffic, a few failed calls are enough to exceed the 5 % threshold. The 10-minute rate kept the alert firing for up to nine minutes after the last error of each wave. The CI pulls also failed on failed to do request errors that the registry never counted, so the alert understates what clients saw.

What the agent did

Read-only only. No write command was run on any cluster, in Gitea or in Taskbase outside this pull request. Nothing was suspended, annotated, restarted, rerun or silenced. The steps followed the runbook.

  1. kubectl --context admin@mgmt-cluster get --raw "$AM/api/v2/alerts" (Service proxy, Read Alertmanager and Prometheus on a cluster) at 12:49:31: hetzner-mgmt HarborRegistryStorageErrors harbor active, no silencedBy. Firing, so the runbook applies.
  2. kubectl --context admin@mgmt-cluster -n harbor logs deploy/harbor-registry -c registry --since=40m | grep -iE 'level=error|s3aws': S3 503 ServiceUnavailable and 504 GatewayTimeout, no 403. This matches the runbook's Object Storage incident.
  3. kubectl --context admin@mgmt-cluster -n harbor get pods, get externalsecret, get secret harbor-registry-s3: all pods Running (registry 2/2, 13 h old, no restarts); harbor-registry-s3 SecretSynced, Ready=True. Not a credential problem.
  4. git log --since=2026-11-17 -- components/harbor cluster/hetzner-mgmt/harbor: only backup-tool image bumps (rclone, python, postgres, aws-cli, kubectl). Not a config change, so no roll back.
  5. Hetzner status feed https://status.hetzner.com/en.atom and its fsn1 entries, at 12:50 and 13:13: no entry for today. Recorded under Root cause.
  6. Prometheus query_range of the alert expression and of ALERTS{alertname="HarborRegistryStorageErrors"}, and error counts per minute from the registry log, for both waves.
  7. kubectl --context admin@mgmt-cluster get pods -A filtered for ImagePull|ErrImage|Pending|CreateContainer, at 12:49 and 13:02: none. flux --context admin@mgmt-cluster get kustomizations -A --status-selector ready=false and … helmreleases …: none. helm --kube-context admin@mgmt-cluster -n harbor history harbor: revision 17 deployed.
  8. Gitea Actions runs started 12:00–13:00 in eloro/webshop-platform, Skatzi/platform, Skatzi/taskbase and Skatzi/ci-images, and the logs of the failed jobs: the three eloro jobs under Impact failed on Harbor pulls. Runs 12920 and 12925 were still in progress, so they could not be rerun in this run.
  9. No restart of the registry, as the runbook says: a restart would only have added a pull of a Harbor image during the outage.
  10. Pull request #1611 (this report's) adds the report, its index row, and a note to the runbook. A short outage may have no status entry, and the alert outlasts the last error by up to 10 minutes.
  11. Watched the alert and the registry log from 13:02 to 13:16:31 until both waves had cleared.

Resolution and verification

  • kubectl --context admin@mgmt-cluster get --raw "$AM/api/v2/alerts" at 13:16:31: no HarborRegistryStorageErrors; ALERTS{alertname="HarborRegistryStorageErrors"}: no series since 13:10:00.
  • The alert expression: 0 % from 13:10:44 to 13:12:36.
  • kubectl --context admin@mgmt-cluster -n harbor logs deploy/harbor-registry -c registry --since-time=2026-11-19T13:01:30Z | grep -c level=error at 13:16:31: 0.
  • No active silence in Alertmanager, so the resolved state is real.

Follow-ups

  • The eloro pull requests #949 (run 12920, image) and #951 (run 12925, chart) need their failed jobs rerun once the runs end. Their owners' CI checks show the failure. Any later push reruns them.
  • Hetzner's Object Storage reliability in fsn1 is already the documented risk in Harbor: known risk. The planned fsn1 maintenance on 2026-12-02 11:00–23:00 UTC may cause "short connection interruptions" and fire this alert again.

References

Open questions

  • Hetzner didn't confirm either wave on its status page. The fsn1 cause comes from the storage's own answers (503 and 504, SlowDown, a fsn1-prod1-ceph5 request id), not from Hetzner.
  • Whether a third wave follows. The alert re-fires on its own; this incident task gets a comment if it does.