Ubuntu 22.04 autoinstall failed : block probing failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity |
New
|
Undecided
|
Unassigned |
Bug Description
Hi, here are the information I repost from stackoverflow. I'm not sure this is related to how I fill in the autoinstall yaml and this might be a bug. Original post : https:/
I'm trying to autoinstall an Ubuntu 22.04 server and I'm using, for now, a rather minimalist `user-data` file, that I copied on a usb stick (created with `sudo mkfs.vfat -I -F 32 -n 'CIDATA' /dev/sdb`)
I provide below the content of the two files on the usb stick. Then I boot a live Ubuntu 22.04 server 64 bits (created with Startup disk creator within a ubuntu 20.04) and start the auto-install (adding the `autoinstall` option to the boot command line in the grub).
Unfortunately, the installer stops with some errors :
```
...
start: subiquity/
start: subiquity/
finish: subiquity/
start: subiquity/
start: subiquity/
finish: subiquity/
finish: subiquity/
finish: subiquity/
..
```
And after these finishing lines, the autoinstaller givens me access to a terminal and the install is stopped. And I do not know what I can do basically to solve this issue. Actually, I do not know if this an error from, say, subiquity and I can fill an issue, or a configuration issue on my side.
The **meta-data** and **user-data** files are given below :
**meta-data**
```
dsmode: local
instance_id: cloud-image
```
**user-data**
```
#cloud-config
autoinstall:
version: 1
identity:
hostname: myhostname
username: ubuntu
password: "$5$r3Kl6AKBqjA
keyboard:
layout: fr
ssh:
install-server: yes
allow-pw: true
network:
version: 2
wifis:
wlp2s0:
optional: true
dhcp4: true
dhcp6: true
```
Thank you for your help.
I'm not very familiar with the autoinstall. I tried to look into the `/var/log/
grepping "ERROR" in the crash file, I find few 3 errors :
```
ERROR probert.network:768 set_link_flags failed
ERROR root:37 finsih subiquity/
ERROR block-discover:596 block probing failed restrcited=False
```
Then in `/var/log/
I'm wondering if this is the origin of the failure of the autoinstaller.
In the following lines in the discover.log file, after the raised exception, I see some elements :
```
Extracted multipath maps fields: ['ok']
Failed to parse multipath maps entry: ok: __new__() missing 2 required positional arguments: 'sysfs' and 'paths'
Extracted mutlipath paths fields: ['sda', 'WD-WX91AB4DFAJV', '[orphan]', '[undef]', 'ata-1.00', '[undef]', '[unded]', '[unded]']']
...
```
and at the very end, a merged storage config where I see the sda drive, the USB , etc.. I do not know if these elements are relevant.
One more note : the computer on which I try to auto install is a laptopt Asus F200m.