oxidecomputer / omicron

Omicron: Oxide control plane
Mozilla Public License 2.0
244 stars 36 forks source link

Restoring dendrite state on scrimlet cold boot. #3631

Closed rcgoodfellow closed 9 months ago

rcgoodfellow commented 1 year ago

When a scrimlet restarts, the switch zone restarts, or Dendrite restarts, Dendrite state needs to be repopulated.

When Dendrite comes up, it sends a Nexus a message saying it's up. This means that whatever state Nexus thought Dendrite had is now gone. So at this point, Nexus needs to calculate all the state that needs to be on that switch and use the Dendrite API to repopulate the state.

rcgoodfellow commented 1 year ago

From the call:

We want to add a new specific omicron internal endpoint for this. Similar to sled_agent_put but for dendrite.

morlandi7 commented 9 months ago

Closing this one as remaining related work is outlined in #4715