Comment 7 for bug 1833618

Revision history for this message
Ryan Harper (raharper) wrote : Re: failing to deploy Ubuntu Disco

I'm pretty stumped. The output you provided suggests that we found the device.

curtin.block.lookup_disk() will glob for the serial, which returns

'usb-ADATA_USB_Flash_Drive_1510615541270083-0:0'

And then we

os.path.realpath('/dev/disk/by-id/usb-ADATA_USB_Flash_Drive_1510615541270083-0:0')

And then log the link and realpath. (which we don't see in the logs)

We check udevinfo to see if it's a multipath device via checking if 'DM_UUID' is present
in the info (it's not).

Verify that the realpath exists, if not raise ValueError.

We should have returned the path to block_meta, somewhere between the call into lookup_disk
and block-meta we're getting a none-ish value.