[VROC] Installation is available on spare disk, but it fails
This bug report was marked for expiration 218 days ago. (find out why)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Found on Ubuntu 22.04.1
Steps to reproduce:
1. Create container in OS with one disk (to mark its state as spare)
#mdadm --create /dev/md/imsm0 --metadata=imsm --raid-devices=1 /dev/nvmeXn1 –run
2. Verify that target disk is marked as spare. Get its metadata by executing command:
#mdadm --examine /dev/nvmeXn1
and check its state in output. Expected data:
State : spare
3. Reboot to target OS installer.
Note: Use VMD replacement driver if exists in tested build.
4. Check if spare disk cannot be chosen as installation destination
Expected result:
Spare disk cannot be chosen as installation destination.
Actual result:
Spare disk can be chosen as installation destination.
Additional info:
Installation on chosen spare disk can be started, but error occurs few seconds after installation starts.
Install log contains an error:
mdadm: successfully stopped /dev/md127 after 1 attempt(s)
Wiping mdadm member devices: ['/dev/nvme3n1']
Running command ['mdadm', '--examine', '/dev/nvme3n1'] with allowed return codes [0] (capture=True)
finish: cmd-install/
TIMED BLOCK_META: 1.765
finish: cmd-install/
Traceback (most recent call last):
File "/snap/
ret = args.func(args)
File "/snap/
return log_time("TIMED %s: " % msg, func, *args, **kwargs)
File "/snap/
return func(*args, **kwargs)
File "/snap/
File "/snap/
File "/snap/
File "/snap/
File "/snap/
File "/snap/
data = __mdadm_
File "/snap/
raise ValueError(
ValueError: Duplicate key in mdadm regex parsing: state
Duplicate key in mdadm regex parsing: state
We fixed something similar sounding, would you retest with the beta version?
In the installation environment, you can get to a shell from the Help Menu -> Enter shell. At that terminal, would you do:
sudo snap refresh --beta subiquity
and see if things get better?