Repository navigation
test(cni): Pin the empty egress group when no shard resolves - #1376
Conversation
When every shard of a group fails to resolve, as happens when each one matches only a default route, the group must publish no active shard, hold no standby and leave every Maglev slot empty, so tenants hit group_empty rather than a dead shard.
|
The likely cause is in the test itself: the retirement backoff is No fix exists on main yet. A suggested patch, kept out of this PR: have the test assert the first wait is between Generated by Claude Code |
Summary
Since #1372, a shard whose SID matches only a default route counts as unreachable, so a node that has lost every shard of a group now treats all of them as down at once. This adds two cases to the standby table test to pin what happens then: the group publishes no active shard, holds no NAT64 standby, and leaves every Maglev slot empty, so tenants hit group_empty instead of a dead shard. It covers a NAT64 group with a standby and a plain NAT66 group. The review on #1372 also asked for a log line, but none is added, because the existing "egress shard unreachable" warning already prints the default-route reason.
Test plan
Generated by Claude Code