Skip to content

sync_switch_configuration: Don't allow dueling Nexuses based on a stale blueprint#10336

Open
jgallagher wants to merge 7 commits intojohn/bp-external-networking-genfrom
john/bootstore-external-networking-gen
Open

sync_switch_configuration: Don't allow dueling Nexuses based on a stale blueprint#10336
jgallagher wants to merge 7 commits intojohn/bp-external-networking-genfrom
john/bootstore-external-networking-gen

Conversation

@jgallagher
Copy link
Copy Markdown
Contributor

This commit has two primary changes:

  • Change the bootstore's SystemNetworkingConfig type to have an extra generation number inside it attached to the service NAT entries. This is a copy of the blueprint's external_networking_generation number from the blueprint where the NAT entries were extracted. (This requires bumping the sled-agent API and all the extra machinery for changing the bootstore type; this is a little noisy but very mechanical.)
  • Change the sync_switch_configuration bg task to inspect this generation number and skip updating the bootstore if its currently-loaded blueprint has an older external_networking_generation (i.e., is stale).

Fixes #10320. Staged on top of #10331.

@rcgoodfellow rcgoodfellow added the networking Related to the networking. label Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

networking Related to the networking.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants