Skip to content

feat(adopt): discover install disks from the unprovisioned node, not a free-text guess #63

Description

@Bugs5382

What

The adopt wizard takes the install disk as free text (defaulting /dev/sda), so the operator has to guess the device path. On NVMe hardware the guess is wrong (/dev/nvme0n1), and a wrong disk is a silent, destructive footgun.

Instead, the manager should query the unprovisioned maintenance node for its available block devices (size/model/path) during Preview/adopt and present them as a selectable list, so the operator picks a real disk that exists on that node. No guessing.

Scope

  • cryptos: a maintenance-mode node RPC to enumerate candidate install disks (path, size, model, removable).
  • api: the RPC + message.
  • manager: surface the disk list (fold into PreviewAdoption or a dedicated ListInstallDisks).
  • web: replace the free-text disk field with a dropdown populated from the node; keep manual entry as a fallback.

Why

Removes a guess that has repeatedly picked the wrong device in testing; a v1.0.0 adopt-UX and safety fix.

Part of #24.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions