Skip to content

TRIPLE-window liveness anomaly: 2-for-2 across consecutive soaks, different mechanism each time #629

Closed

Description

@bpalermo

Two consecutive 8h soaks now show a small, self-resolving liveness anomaly confined to the concurrent-TRIPLE window, with a different mechanism each time:

  • 2026-08-02 (rev185): +9 connection_error, single prober on main-worker-01 (the hot-spot node absorbing all three concurrent restarts), 85–140s post-TRIPLE, flat after.
  • 2026-08-03 (rev186): connection_error flat, but a brand-new timeout class appeared at +2 in the TRIPLE-adjacent hour (counter had never existed in 5+ prior hours; 0.000273% of window traffic).

Every prior soak in the record held liveness at literally zero through its TRIPLE. Two consecutive non-zeros with disjoint mechanisms reads as structural-leaning: the concurrent agent+proxy+svc restart produces a brief real availability dent that single rolls do not, likely amplified by worker-01's scheduling density (echo + controller + both registrars + now the whole UDS fleet).

Suggested next steps

  1. Spread main-worker-01: move aether-controller, one aether-registrar replica, and part of the UDS fleet off it (this node is now implicated in three consecutive runs' only blemishes).
  2. After spreading, one more TRIPLE observation: zero = density was the mechanism; non-zero = the concurrent-restart path itself needs a look (e.g. capture/redirect window during simultaneous agent+proxy handoff).

Sized in perspective: 11 errors total across 32M+ probes over two nights. This is a pattern-tracking issue, not an incident.

🤖 Filed from the soak grading session.

Activity

  1. added
    alert
    on Aug 3, 2026
  2. bpalermo commented on Aug 8, 2026

    @bpalermo
    OwnerAuthor

    Phase 1 (spreading) is deployed — PR #635, live on talos as aether 0.91.0 (rev 187) + udsecho 0.2.0 (rev 2), 2026-08-08 ~15:55Z.

    Placement before → after:

    component before after
    controller worker-01 worker-04
    registrar ×2 worker-01, worker-01 worker-02, worker-05
    edge ×2 worker-01, worker-01 worker-04, worker-05
    uds-echo ×2 worker-01, worker-01 worker-02, worker-04
    uds-cr-echo ×2 worker-01, worker-01 worker-02, worker-04

    worker-01 now carries only the uds-client, the DaemonSets, and its share of the soak services — the density mechanism is gone. Mechanisms: soft hostname topologySpreadConstraints (registrar/edge/udsecho) + preferred podAntiAffinity vs the registrars (controller); all soft so single-node kind e2e keeps scheduling. Expected UDS promotion transient (~26s of 503s on freshly rolled echo pods, delegated-liveness by design) observed and recovered; zero restarts.

    Phase 2 is armed: the next soak's TRIPLE window is the discriminator — zero liveness anomaly ⇒ density was the mechanism, close this; non-zero ⇒ investigate the concurrent agent+proxy+svc handoff path itself. Bonus for #628: worker-01's standing heap plateau (306Mi) should now decay toward the 130–172Mi fleet norm on its next proxy roll, and the next soak can sample whether under-load growth plateaus on the de-densified node.

  3. bpalermo commented on Aug 9, 2026

    @bpalermo
    OwnerAuthor

    Phase-2 verdict from the 2026-08-09 soak (spread topology, 0.91.0 rev 187)

    Recommendation: close #629. Density is confirmed as the mechanism for the liveness tier; the residual TRIPLE behaviour is a distinct defect and is handed to #638.

    The decisive read

    TRIPLE fired 05:04:30Z (agent + proxy + svc-3 concurrent, confirmed in the churn log between CONCURRENT triple begin/done).

    08-02 (stacked) 08-03 (stacked) 08-09 (spread)
    TRIPLE-adjacent liveness +9 connection_error +2 timeout (new class) 0

    Full-window liveness delta, T0 00:04:30Z → 08:04:30Z: success +723,465, connection_error delta 0 (9→9), timeout delta +1 (2→3). Both error series live on prober-52jqq (main-worker-01) only; the other four probers carry no liveness error series at all.

    The single timeout did not occur at the TRIPLE — 15s-resolution range query puts the step between 06:05:45Z and 06:06:00Z, ~1m15s after an unrelated svc-1 roll at 06:04:30Z, and before the 06:07:00Z dependency prune. Liveness was still 2 at the 05:20:42Z post-TRIPLE check.

    New-series hunt (the 08-03 failure mode): none. Distinct (tier,target,result) combinations = 11, identical to T0. No new result class, no new label combination.

    Independent corroboration: the k6 error concentration moved with the tenants

    This is the strongest evidence, and it is not the liveness counter. Per-runner http_req_failed (each ~1,655,900 requests):

    node failures note
    main-worker-04 199 gained controller, edge, uds-echo, uds-cr-echo
    main-worker-02 196 gained registrar, edge, uds-echo, uds-cr-echo
    main-worker-03 118 unchanged
    main-worker-01 72 lost registrars, controller, edge, UDS backends
    main-worker-05 6 unchanged

    On 08-02 and 08-03, worker-01 carried the k6 error concentration. Tonight it is second-lowest, and the errors appear on precisely the two nodes that received the relocated workloads. The errors followed the tenants, not the node. That is a much harder result to explain by anything other than co-location density.

    The honest caveat, and why it does not block closing

    worker-01 was only partially de-densified: the spread constraints covered registrar/edge/udsecho/controller only, and worker-01 still hosts echo, client, svc-a, tcp-echo×4, rogue, plus most of the o11y stack (grafana, grafana-mcp, pyroscope, victorialogs, otel-scraper, alertmanager-github-receiver). So "we removed enough" and "the removed tenants were never the ones that mattered" are not distinguishable from the liveness counter alone.

    The k6 table above resolves this: the failures did not merely decrease on worker-01, they appeared on the destination nodes in proportion. That is the signature of a transferable density effect, not of an incidental improvement.

    What is NOT closed: the anomaly moved tiers

    The TRIPLE was not clean — it produced a 4.25-second, 61-event mTLS SAN-validation burst on worker-01's proxy (05:05:10.381Z → 05:05:14.629Z), visible in the prober counters as mesh_dns http_error +10 on each target. It hit the k6 runner (41), the prober (19) and the UDS client (1), against echo/svc-1/svc-2/svc-3/svc-4/uds-echo, with 57 of 61 presenting spiffe://aether.internal/ns/aether-test/sa/svc-3. Verified (field syntax response_flags:"URX", negatives control-tested) to be completely confined to that one window — zero URX events across the rest of the 8 hours.

    So the concurrent-handoff path is still doing something wrong under a simultaneous agent+proxy+svc roll; it just no longer manifests as liveness loss. That behaviour is #638's, not #629's — different tier, different mechanism, and it reproduces on the de-densified topology where the #629 signature does not.

    Disposition

    Close #629 as: density/co-location confirmed as the mechanism for the TRIPLE-adjacent liveness anomaly; eliminated on the spread topology across a full 8h soak with 31/31 rolls. Track the remaining concurrent-roll defect in #638. Re-open only if a TRIPLE-adjacent liveness error recurs on the spread topology.

  4. bpalermo commented on Sep 5, 2026

    @bpalermo
    OwnerAuthor

    Closing on the evidence the last comment asked for and three more consecutive soaks have now supplied. Liveness through the TRIPLE window: 08-09 1/723,466 (not TRIPLE-related), 09-03 0/719,723, 09-04 0/719,727, 09-05 0/714,703 — five consecutive runs with zero TRIPLE-window liveness errors since the spread topology, and the worker-01 hot-spot model itself was falsified by profiling on 09-04/09-05 (w01 is now the lowest or mid-ranked node; the ranking rotates per roll with tenant placement). The "2-for-2 anomaly" was density; the residual TRIPLE-window behaviour is #638 (mTLS identity mis-binding), which is instrumented (#686) and tracked there.

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

    alert

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions