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.
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_151061554 1270083- 0:0'
And then we
os.path. realpath( '/dev/disk/ by-id/usb- ADATA_USB_ Flash_Drive_ 151061554127008 3-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.