Closed askedrelic closed 2 weeks ago
The error is misleading, as the ""
is certainly a bug.
I can't reproduce the issue (disk selector seems to work fine), but the error message wrong, I'll get it fixed and backported to a stable release.
We will also add another way to match the install disk and hopefully it'd be better.
Bug Report
Trying to use machine.install.diskSelector to apply-config to Talos in maintenance mode and getting this error:
Description
I'm trying to install Talos via API on a bare-metal multi-disk machine, in a 2 step process due to not having physical access to the machine. First step, I ssh into a fresh Ubuntu 22.04 instance and write the
metal-amd64.iso
Talos installer over the existing Ubuntu disk, then reboot into Talos maintenance mode. For the 2nd step, I apply-config to install Talos with my config.I've had several failed installs I believe due to inconsistent disk naming and am trying to use disk ids or selectors to target the corect bootable disk.
Here is the Talos disks view:
Generally, I'm trying to target 480GB "boot" drive, which should be:
However, trying to use disk selectors returns the error above. Same for wwdc or uuid or other attributes.
Is there a better or different way to target this specific disk?
Logs
kernel logs from the apply-config:
controlplane.yaml, mostly default values, logging and kernel args added for the first step maintenance mode boot
Environment