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
Branch installer removes the sidecar return path before Worker serves it #1498
On the Worker integration branch, the CNI installer deletes the ingress sidecar's host return path every time it starts, even when Worker does not yet serve that sidecar. Worker serves a sidecar only after the cluster-wide sidecar image and controller move to the branch, but nodes move to Worker one at a time. On a node that upgrades first, replies from VPC backends to its ingress proxy are dropped until the sidecar catches up.
This blocks rolling Worker out one node at a time, and any single-node trial on an edge node that runs an ingress proxy.
Expected behavior
The installer keeps the host return path for every sidecar that Worker does not serve. It removes a sidecar's path only after Worker serves that sidecar.
Acceptance criteria
On a branch node whose sidecar still runs the main build, replies from VPC backends reach the proxy
Once Worker serves a sidecar, the installer removes that sidecar's host path and does not put it back
Moving a sidecar to Worker and back drops no established proxy flows beyond the pod replacement
Tests cover all three cases, and the Worker docs state the mixed-version rule
Confirmed on integration/galactic-worker at 4b09b200fab3fb8001db066ac0c107085ce128cc. The installer startup runs the legacy return-path prune without checking whether Worker serves the sidecar.
A privileged test in an isolated network namespace exercised the prune with a live legacy-sidecar advertisement in a fake API and routes and eBPF maps in the kernel. The retention assertions failed as expected. The route count went from one to zero and both the SRv6 VRF row and the traffic-policy interface row disappeared. The existing prune test passed. These checks cover host state. Proxy flow continuity during upgrade and rollback still needs a mixed-version lab run.
The approved fix replaces the installer startup prune with reconciliation that keeps the legacy return path until Worker has programmed the replacement for that sidecar. It coordinates the shared SRv6 VRF entry under the VPC write fence and restores the legacy path if the legacy sidecar returns during rollback. The Worker guide will document the mixed-version rule.
Verification will cover legacy traffic, takeover, and rollback with the installer regression tests and the Envoy socket lab scenario. The main risk is overlapping writers during a transition. The change uses the existing APIs and configuration.
The kernel regression opens a TCP connection through the legacy return path before running the installer reconciliation. The unchanged integration branch loses the connection's backend replies after its startup prune. The fix preserves that connection and delivers replies through Worker and after a legacy rollback. The test also checks that taking over one VPC preserves a neighbor still used by a second legacy VPC.
The shared lab reservation timed out. Verification of the complete mixed-version rollout with Envoy is still pending.
The mixed-version Envoy lab test passed. We kept the sidecar built from main running while we upgraded only the node installer. All 24 probes received backend replies and each VPC kept its existing upstream TCP connection. Worker took over both VPCs and the installer retired the legacy host paths. Rolling the sidecar back restored the paths and backend replies.
The fixture used a dedicated outbound link for the legacy sidecar's encapsulated traffic because the default Cilium path dropped it. Replies used the regular primary pod interface throughout the legacy phases.
Fixed in #1500, merged into integration/galactic-worker. All 26 mixed-version probes passed across the installer upgrade on the same two Envoy connections. Worker takeover removed the legacy return routes, and rollback restored them.
Activity
privateip commentedon Nov 24, 2026
Confirmed on
integration/galactic-workerat4b09b200fab3fb8001db066ac0c107085ce128cc. The installer startup runs the legacy return-path prune without checking whether Worker serves the sidecar.A privileged test in an isolated network namespace exercised the prune with a live legacy-sidecar advertisement in a fake API and routes and eBPF maps in the kernel. The retention assertions failed as expected. The route count went from one to zero and both the SRv6 VRF row and the traffic-policy interface row disappeared. The existing prune test passed. These checks cover host state. Proxy flow continuity during upgrade and rollback still needs a mixed-version lab run.
privateip commentedon Nov 24, 2026
The approved fix replaces the installer startup prune with reconciliation that keeps the legacy return path until Worker has programmed the replacement for that sidecar. It coordinates the shared SRv6 VRF entry under the VPC write fence and restores the legacy path if the legacy sidecar returns during rollback. The Worker guide will document the mixed-version rule.
Verification will cover legacy traffic, takeover, and rollback with the installer regression tests and the Envoy socket lab scenario. The main risk is overlapping writers during a transition. The change uses the existing APIs and configuration.
privateip commentedon Nov 24, 2026
The kernel regression opens a TCP connection through the legacy return path before running the installer reconciliation. The unchanged integration branch loses the connection's backend replies after its startup prune. The fix preserves that connection and delivers replies through Worker and after a legacy rollback. The test also checks that taking over one VPC preserves a neighbor still used by a second legacy VPC.
The shared lab reservation timed out. Verification of the complete mixed-version rollout with Envoy is still pending.
privateip commentedon Nov 24, 2026
The mixed-version Envoy lab test passed. We kept the sidecar built from main running while we upgraded only the node installer. All 24 probes received backend replies and each VPC kept its existing upstream TCP connection. Worker took over both VPCs and the installer retired the legacy host paths. Rolling the sidecar back restored the paths and backend replies.
The fixture used a dedicated outbound link for the legacy sidecar's encapsulated traffic because the default Cilium path dropped it. Replies used the regular primary pod interface throughout the legacy phases.
The lab baseline passed again after cleanup.
privateip commentedon Nov 24, 2026
The fix is ready for review in PR #1500.
fix: Preserve legacy routes before VRF promotion
privateip commentedon Nov 25, 2026
Fixed in #1500, merged into
integration/galactic-worker. All 26 mixed-version probes passed across the installer upgrade on the same two Envoy connections. Worker takeover removed the legacy return routes, and rollback restored them.fix: Preserve legacy ingress sidecar return paths
fix: Preserve legacy routes before VRF promotion
fix: Preserve legacy ingress sidecar return paths
fix: Preserve legacy routes before VRF promotion