Repository navigation
sled-agent: Remove direct dpd NAT entry creation in service zone startup path - #11073
Conversation
This is now handled by the dpd reconcilers running on each scrimlet.
jmpesp
left a comment
There was a problem hiding this comment.
The direction here looks good. I'm curious what it would look like if this PR was the wrong move - would it mean that something in the deleted lines is not being done by the new reconcilers? This seems unlikely! From what I can gather, if the deleted lines were adding an entry that the reconcilers were not, the reconcile logic would remove that entry, and this would result in a immediately noticed networking problem. If the deleted lines were not adding an entry and the reconcile logic was, then I'd argue that'd be a bug in the deleted logic!
Did you re-test on a racklette already?
I think all of this is right, and is phrased in a way I hadn't thought about it before (that also makes me more confident about landing this). Thanks!
I had not, but did today. The fundamental things I'm most concerned about both worked fine:
each of which exercises NAT entries to all three of the service types that need them. |
Now that the scrimlet-reconcilers shipped in R22, it's safe to remove this code path: each scrimlet is responsible for configuring NAT entries for all service zones with its own switch zone's dpd, so the individual sled-agents starting service zones no longer need to. This is one of the main goals of #10167.
Closes #9727.
I'll re-test this on a racklette before merging, but it should be good to review - it's basically all deletions.