Skip to content

2026-11-09: Incident storm on webshop, the demo shop's synthetic checkout refused by the gateway

Kind: reference (incident report)

Severity: critical · Status: resolved · Resolved by: eloro/webshop-platform PR #684 (eloro #2757), after two policy fixes (eloro/webshop-platform PR #664, #2753; PR #678, #2766) did not help; handed to the owner by the operator agent (#2758) · Duration: 15 h 15 min from detection (alerts firing from 17:38:01 and 17:39:01 until 08:53 on 11-10; fault from 17:37:50) · Taskbase task: #2758

Summary

eloro/webshop-platform PR #661 (#2271) turned on the demo shop's synthetic checkout check. Every 5 minutes worker in shop-demo requests https://demo.eloro.dk like a customer. Each check failed at its first step with GET /: status 403, so ShopSyntheticCheckoutFailing and ShopErrorBudgetBurnFast fired, both critical. More than five incidents were already open on webshop, so Taskbase listed them on the umbrella #2758. From inside the cluster the shop's address is the Cilium Gateway. The Gateway's Envoy checked worker's egress against the ingress entity, which the policy did not allow. The shop itself served customers normally. PR #664 allowed the ingress entity, and the owner's decision #2765 (option A, PR #678) also allowed the host entity, because on webshop the Gateway's address is the node's own. Both rolled out, and the gateway's Envoy still answers 403: after PR #678 it refuses the request at a second check, from reserved:ingress to reserved:host, which no rule in the shop's policy reaches. The incident is open with the owner (decision #2784).

Impact

  • Services: the synthetic checkout check of shop-demo (shop_synthetic_checkout_success 0 since its first run). The storefront answered 200 from outside, and the shop's own requests in shop_http_requests_total over 15 minutes were 200 and 201 only.
  • Users: none. The demo shop is the staging shop, and only the in-cluster check was refused. The check's alerts can't show a real checkout failure on shop-demo until the fix rolls out.
  • Data: none
  • Duration: fault from 17:37:50 UTC (the first check), alerts active from 17:38:01 (ShopErrorBudgetBurnFast, and ShopErrorBudgetBurnSlow) and 17:39:01 (ShopSyntheticCheckoutFailing). Still firing at 18:17:50, when the run's last check failed the same way, and on 11-10 at 07:37, after both fixes.

Timeline

All times UTC, 2026-11-09.

Time Event Source
17:32:33 eloro/webshop-platform PR #661 merged (85279a1): Stripe test key, syntheticCheck.enabled, networkPolicy.egress.ownAddress for the demo shop Git
17:37:40 Helm release shop-demo/shop revision 165 deployed, chart webshop-0.1.0+85279a186405 helm history shop -n shop-demo
17:37:50 First check fails: synthetic checkout failed, GET /: status 403 worker log
17:38:01 ShopErrorBudgetBurnFast and ShopErrorBudgetBurnSlow active for shop-demo Alertmanager startsAt
17:39:01 ShopSyntheticCheckoutFailing active (after one failed check, see #2760 below) Alertmanager startsAt
17:39:02 Taskbase umbrella #2758 "Incident storm on webshop" lists both critical alerts Taskbase
17:57:44 PR #664 opened by the operator run of #2753, which found the same 403 Gitea
18:09 The operator run of #2758 starts Taskbase
18:12:50 Hubble: http-request DROPPED (HTTP/1.1 GET https://demo.eloro.dk/) at gateway-system/cilium-gateway-shared-gateway, answered 403 0ms hubble observe
18:17:50 Hubble JSON of the next check: verdict DROPPED, direction EGRESS, identity reserved:ingress hubble observe -o json
21:05:44 PR #664 (toEntities: [ingress], merge 1161c22) rolled out, Helm revision 169 #2759, #2765
21:10:54 The check still fails with 403; Hubble shows the worker (endpoint 1459) dropped towards destination identity 1 (reserved:host), because the Gateway's address 167.233.187.133 is bound on the node's eth0 #2765
21:24 Decision #2765 asked of the owner (A: allow host on 443 under ownAddress; B: an LB address not on the node; C: check through the in-cluster Service) Taskbase
11-10 06:30 The owner answers A; #2766 implements it Taskbase
11-10 07:24:03 PR #678 merged (ae79617) Git
11-10 07:24:45 Helm release shop-demo/shop revision 172 deployed, chart webshop-0.1.0+ae79617375ae; webshop-egress has toEntities: [ingress, host] on 443 helm history, kubectl get cnp
11-10 07:29:54 The first check after the rollout still fails, GET /: status 403; again at 07:34:54 worker log
11-10 07:34:54 Hubble L7 flow: source identity 8 (reserved:ingress) from the worker's IP 10.244.0.93, destination identity 1 (reserved:host, reserved:kube-apiserver) at 167.233.187.133, DROPPED, answered 403 0ms hubble observe -o json
11-10 07:37:27 Control: a GET from the Alertmanager pod, which has no egress policy, goes through the same Gateway and gets 200; Envoy records it as reserved:ingress to the frontend-primary pod wget, hubble observe
11-10 07:40:29 Handed to the owner as decision #2784 by the operator run of #2758 Taskbase

Root cause

The chart's CiliumNetworkPolicy webshop-egress gives worker its own address with networkPolicy.egress.ownAddress as a toFQDNs rule for route.domain on 443 (chart/webshop/templates/network-policy.yaml in eloro/webshop-platform). demo.eloro.dk resolves to shared-gateway's address 167.233.187.133, which Cilium serves in the cluster. Cilium sends a pod's connection to that address into the Gateway's Envoy. Envoy checks the client's egress policy there against the ingress entity, not the FQDN's address. worker's rules allowed no ingress entity, so Envoy dropped the request at L7 and answered 403 itself, in 0 ms, before the frontend saw it. A check from outside the cluster (curl https://demo.eloro.dk/) got 200.

PR #661's description had flagged this path as untested ("whether worker reaches https://demo.eloro.dk from inside the cluster through the toFQDNs rule"). Its live proof was

2753, which hit the failure and fixed it in PR #664.

That was only the first of three layers, each seen once the one before was allowed:

  1. Worker → ingress entity (until PR #664). Fixed by toEntities: [ingress].
  2. Worker → host entity (until PR #678). On webshop, which has one node, the Gateway's LoadBalancer address 167.233.187.133 is bound on the node's eth0, so Cilium's ipcache gives it identity 1 (reserved:host, which here also carries reserved:kube-apiserver). Envoy checked the worker's egress against that identity. On hetzner-mgmt the Gateway's address is a separate address with a CIDR identity, so PR #664's comparison with mgmt did not carry over. Fixed by toEntities: [host] on 443 (decision #2765, option A). The worker endpoint's BPF policy map now shows Allow Egress reserved:host 443/TCP.
  3. reserved:ingress → reserved:host (still failing). After PR #678, Envoy records the refused request with source identity 8 (reserved:ingress) and destination identity 1 at the original address, before it picks a backend, and answers 403. A request from a pod with no egress policy (the Alertmanager pod) is recorded as reserved:ingress to the backend pod and gets 200. So the refusal applies only to a client whose egress policy is enforced, and to a Gateway address that is the node's own. The endpoints of both reserved:ingress and reserved:host have policy enforcement Disabled; host firewall is off (enable-host-firewall=false) and there is no CiliumClusterwideNetworkPolicy. So no rule in the cluster explains the deny. Which policy Envoy evaluates at this step (Cilium 1.20.3, external Envoy) is not established.

What the agent did

First run of #2758 (2026-11-09, from 18:09)

The run made no write to the cluster.

  1. Port-forwards to localhost:9093 and localhost:9090 were used at first. Both answered, but from older port-forwards without --context, which reach mgmt-cluster, and showed neither alert. The run's own forward had not started. The run noticed because Prometheus there had no shop-alerts group, though shop-demo has the rule. It then used its own forwards with --context webshop on 29093 and 29090.
  2. amtool-equivalent GET /api/v2/alerts?filter=alertname="ShopErrorBudgetBurnFast" and …ShopSyntheticCheckoutFailing on webshop: both active, not silenced, no active silences.
  3. Prometheus: shop_synthetic_checkout_success{namespace="shop-demo"} 0 at every point since 17:39. HTTP requests over 15 minutes were 200 and 201 only, so both alerts came from the synthetic check alone. One cause, no other alert in the storm.
  4. kubectl -n shop-demo logs deploy/worker | grep synthetic: every check since 17:37:50 failed with GET /: status 403. curl https://demo.eloro.dk/ from outside: 200, server: envoy.
  5. kubectl -n shop-demo get ciliumnetworkpolicy webshop-egress -o json: worker's egress has toFQDNs: demo.eloro.dk on 443 and no toEntities.
  6. kubectl -n kube-system exec ds/cilium -c cilium-agent -- hubble observe --pod shop-demo/worker-… -o compact and -o json: the drop above.
  7. A fix (toEntities: [ingress] on 443 under ownAddress) was written and passed the chart tests. A server-side dry run of the patched policy (kubectl apply --dry-run=server) was accepted. Then the run found PR #664 with the same fix, already open, so it deleted its own branch without a pull request. No live patch: the storefront was serving, and the lasting fix is in Git.

Second run of #2758 (2026-11-10, from 07:22)

The run made no write to the cluster. Every command used --context webshop.

  1. GET /api/v2/alerts through a port-forward to svc/alertmanager-operated: ShopErrorBudgetBurnFast, ShopErrorBudgetBurnSlow and ShopSyntheticCheckoutFailing active for shop-demo, none silenced.
  2. flux get sources all -A, kubectl get kustomization shop-demo: Flux still at 163bce4; PR #678 had merged at 07:24:03. The run waited (polling, no forced reconcile) until the GitRepository had ae79617 (07:24:51), and the Kustomization and HelmRelease were Ready at it (07:25:58).
  3. helm history shop -n shop-demo: revision 172 deployed, chart webshop-0.1.0+ae79617375ae. kubectl get cnp webshop-egress -o yaml: toEntities: [ingress, host] on 443.
  4. Worker log at 07:29:54 and 07:34:54: synthetic checkout failed, GET /: status 403.
  5. cilium-dbg bpf policy get of the worker endpoint: Allow Egress reserved:host 443/TCP and reserved:ingress 443/TCP. hubble observe --follow --ip 167.233.187.133 --port 443 -o json: the third refusal above.
  6. cilium-dbg status, cilium-config, cilium-dbg endpoint list, kubectl get ccnp,netpol -A: host firewall disabled, no cluster-wide policy, the ingress and host endpoints without policy enforcement.
  7. kubectl exec into the Alertmanager pod, wget https://demo.eloro.dk/: 200 OK, with the Hubble capture above (the control).
  8. Prometheus: max(1 - avg_over_time(shop_synthetic_checkout_success{namespace="shop-demo"}[5m])) 1, the latency branch of the burn rule 0, the Stripe branch empty: the synthetic check alone drives all three alerts.

Resolution and verification

Resolved: PR #684 let the worker reach the shop's own web and frontend backend pods and was live at 08:39:41 on 11-10; the check passed from 08:40, and ShopSyntheticCheckoutFailing last fired from the fault at 08:53. The report of the synthetic checkout 403 (#2797) has the cause and the recovery. The rest of this section is the state when this report was written.

Not resolved. PR #664 and PR #678 are both live, and the check is still refused at the third check. The owner decides the next step (the decision task linked from #2758). The incident is resolved when the worker's check gets past GET /, shop_synthetic_checkout_success{namespace="shop-demo"} is 1, and ShopSyntheticCheckoutFailing and both burn-rate alerts resolve.

Follow-ups

  • eloro/webshop-platform PR #664 (#2753): allow the ingress entity (merged, not sufficient)
  • eloro/webshop-platform PR #678 (#2766): allow the host entity, decision #2765 A (merged, not sufficient)
  • 2784 — the owner's decision on the next fix (B: an LB address not on the node; C: check through the in-cluster Service; D: investigate first; E: stopgap). Whichever way is chosen, the runbook

    docs/runbooks/shopsyntheticcheckoutfailing.md in eloro/webshop-platform must stop saying that networkPolicy.egress.ownAddress "allows both"
  • 2759: verify after the rollout, then the alert drill

  • 2760: make ShopSyntheticCheckoutFailing wait for three failed checks, not three scrapes (it fired

    60 s after the first failure)

References

Open questions

  • Whether the check passes its later steps (cart, shipping, Stripe Checkout) once GET / gets through.
  • Which policy the Gateway's Envoy evaluates for reserved:ingress → reserved:host when the client pod has egress enforcement, and why it denies when neither endpoint enforces policy (Cilium 1.20.3). Whether reserved:kube-apiserver on identity 1 plays a part.