installing on NVMe fails no disk with serial
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Incomplete
|
Undecided
|
Unassigned | ||
subiquity (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
While installing Ubuntu Server 18.04.2: curtin seems to compose the serial (id) for my NVMe storage incorrectly.
Right after I give the installer the go-ahead to perform the installation (with nothing but default values) the command: ['curtin', 'block-meta', 'simple'] fails. The tracedump says:
ValueError: no disk with serial 'THNSN5512GPU7_
Under '/dev/disk/by-id' there indeed is no "nvme-THNSN5512
Workaround:
Rebooting back to the installer, and before doing anything else, switch to a different terminal and manually create a symlink with the name curtis expects to find: cd /dev/disk/by_id ; ln -s ../../nvme0n1 nvme-THNSN5512G
After that the installation goes fine.
Thanks for the report.
I suspect subiquity may need to validate the serial value with what's present in /dev/disk/by-id to ensure that curtin finds the same device here.