Skip to content

[sled-agent] Re-construct Zone management state within sled agent after reboot #725

@smklein

Description

@smklein

Note: This issue tracks a follow-up from #686

Problem

Sled Agent should re-initialize in-memory state for managing Zones on boot, including:

  • Identifying Omicron-owned zones
  • Identifying their VNICs and other attached devices
  • Creating in-memory structures to accurately represent their state (e.g. "RunningZone") such that they can be handled within the context of other Zones, and cleaned up accordingly.

Current workaround

As the Sled Agent "deletes all zones on initialization", we can punt on this issue slightly.

When this'll be a bigger problem

If we want to cope with Sled Agent itself crashing (without taking out all other software on the sled), this issue will become blocking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Sled AgentRelated to the Per-Sled Configuration and Management

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions