Skip to content

sled agent: Mechanics of applying host OS update #2383

@smklein

Description

@smklein

The Sled Agent needs to be capable of applying the host OS image to an m.2 when instructed by Nexus.

As mentioned in the 2/17 control plane huddle, the sled agent should write to the "other" m.2 than the one which was originally booted. @jclulow mentioned that pilot has a mechanism for parsing libdevinfo to make this determination, which we should probably steal here.

Anyway, here's what we need to do:

  • Expose an API for nexus to call, to transfer a host OS image to the sled
  • Observe libdevinfo to see both m.2s, and pick the one we did not boot from
  • dd (or moral equivalent) to actually write the image out

Metadata

Metadata

Assignees

No one assigned

    Labels

    Sled AgentRelated to the Per-Sled Configuration and ManagementUpdate SystemReplacing old bits with newer, cooler bits

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions