When setting up RAID installation, curtin failed on/after wiping RAID block device backed by IMSM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
New
|
Undecided
|
Unassigned | ||
subiquity |
New
|
Undecided
|
Unassigned | ||
curtin (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
subiquity (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The following error in curtin is captured when using ubuntu-
Running command ['partprobe', '/dev/md127'] with allowed return codes [0, 1] (capture=False)
Warning: Error fsyncing/closing /dev/md127: Input/output error
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.002
devsync happy - path /dev/md127 now exists
return volume path /dev/md127
RAID validation: name=/dev/md126 raidlevel=raid1 devices=[] spares=[] container=
Running command ['mdadm', '--query', '--detail', '--export', '/dev/md126'] with allowed return codes [0] (capture=True)
Running command ['mdadm', '--query', '--detail', '--export', '/dev/md126'] with allowed return codes [0] (capture=True)
RAID array OK: /dev/md126
Verified /dev/md126 raid composition, raid is OK
raid /dev/md126 already present, skipping create
Wiping raid device /dev/md126 mode=superblock
Running command ['wipefs', '--all', '--force', '/dev/md126'] with allowed return codes [0] (capture=False)
/dev/md126: 8 bytes were erased at offset 0x00000200 (gpt): 45 46 49 20 50 41 52 54
/dev/md126: 8 bytes were erased at offset 0x3b9dc7ffe00 (gpt): 45 46 49 20 50 41 52 54
/dev/md126: 2 bytes were erased at offset 0x000001fe (PMBR): 55 aa
An error occured handling 'raid-md126': KeyError - 'partition'
finish: cmd-install/
TIMED BLOCK_META: 1.442
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/
return meta_custom(args)
File "/snap/
File "/snap/
File "/snap/
File "/snap/
ptdata = sysfs_partition
File "/snap/
KeyError: 'partition'
'partition'
All logs attached in the attachment.
summary: |
- When setting up RAID installation, curtin tried to run partprobe on imsm - container and failed + When setting up RAID installation, curtin failed to wipe imsm RAID block + device |
summary: |
- When setting up RAID installation, curtin failed to wipe imsm RAID block - device + When setting up RAID installation, curtin failed on/after wiping RAID + block device backed by IMSM |
tags: | added: foundations-todo |