when installing with curtin, disks can be specified via the 'path' key
or 'serial'.

When specifying 'serial', curtin will attempt to locate the target disk
by glob;ing in /dev/disk/by-id/*serial* to find the disk that matches
the specified serial number.

In this instance, the virtio disk was not provided with a serial number,
probert appears to have provided a serial number of 'Unknown_Serial'
which was not found in /dev/disk/by-id/ on the install source machine.

subiquity likely needs to determine if it can use 'serial' or 'path'
based on the probert information.  Probert may need to omit serial
value, or use a 'none' value instead of 'Unknown_Serial'.

If we're feeling lucky, we could also file a qemu bug to see if upstream
is interested in having virtio disks have a default serial number like
IDE devices do (as well as network devices which get a default mac
address).

** Also affects: curtin
   Importance: Undecided
       Status: New

** Changed in: curtin
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1743631

Title:
  Install with virtio disk fails due to unknown serial

To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/1743631/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to