You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
spire/xds: the originating-client SDS version gauges change on every svc roll (~260/8h) — they cannot be read as SVID rotation #992
Found while answering #846 item 2. envoy_sds_spiffe_aether_internal_ns_<ns>_sa_<sa>_version per node is bimodal over an 8 h soak: secrets of ORIGINATING-client identities (aether_agent, prober, mp_dialer, default, authz_canary, uds_client) change 258–283 times, in bursts of ~12 at every aether-test svc roll; every other identity's secret changes 5–18 times = its real rotations (≈ every 1 h 50 m) plus one per proxy roll (e.g. echo on w02: 11 = 5 rotations + 6 proxy rolls). Likely cause (inferred, not proven): the per-identity SotW cert-selector SDS stream from #842 (meshCertSelectorSDSSource, agent/internal/xds/proxy/transportsocket.go) shares the stat name with the ADS-delivered secret and re-versions on any node-level secret-set change.
Consequences: the envoy_sds_*_version "rotation signal" recorded in the soak notes is only valid for non-originating identities; any dashboard or gate that counts changes() on an originator's gauge over-reads by ~50×. The trustworthy rotation signal is aether_agent_spire_svid_updates_total{aether_spire_update="rotated"} (summed per agent generation) — it matched the "pod SVID rotated" log lines exactly (240/240 on 09-26, 89/89 on 09-27).
To do: confirm the cause from the selector stream's version bumps, and either give the selector stream its own stat name or document that the originator gauges are not a rotation signal (soak README + runbook).
Activity
docs(soak): the SVID-rotation signal is the agent's rotated counter, …
Merge origin/main into fix/993-node-svid-unchanged