/snap/subiquity/2393/usr/bin/subiquity-server:KeyError:main:wrapper:log_time:block_meta:meta_custom:mount_handler:mount_apply:fstab_line_for_data:get_volume_spec
Bug #1927654 reported by
errors.ubuntu.com bug bridge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The Ubuntu Error Tracker has been receiving reports about a problem regarding subiquity. This problem was most recently seen with package version 2393, the problem page at https:/
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://
tags: | added: fr-1347 |
To post a comment you must log in.
The curtin log tail is this:
Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output= ALIGNMENT, DISC-ALN, DISC-GRAN, DISC-MAX, DISC-ZERO, FSTYPE, GROUP,KNAME, LABEL,LOG- SEC,MAJ: MIN,MIN- IO,MODE, MODEL,MOUNTPOIN T,NAME, OPT-IO, OWNER,PHY- SEC,RM, RO,ROTA, RQ-SIZE, SIZE,STATE, TYPE,UUID' , '/dev/sda2'] with allowed return codes [0] (capture=True) stage-partition ing/builtin/ cmd-block- meta: FAIL: configuring mount: mount-0 stage-partition ing/builtin/ cmd-block- meta: FAIL: curtin command block-meta subiquity/ 2393/lib/ python3. 6/site- packages/ curtin/ commands/ main.py" , line 202, in main subiquity/ 2393/lib/ python3. 6/site- packages/ curtin/ log.py" , line 97, in wrapper subiquity/ 2393/lib/ python3. 6/site- packages/ curtin/ log.py" , line 79, in log_time subiquity/ 2393/lib/ python3. 6/site- packages/ curtin/ commands/ block_meta. py", line 111, in block_meta subiquity/ 2393/lib/ python3. 6/site- packages/ curtin/ commands/ block_meta. py", line 1961, in meta_custom config_ dict) subiquity/ 2393/lib/ python3. 6/site- packages/ curtin/ commands/ block_meta. py", line 1248, in mount_handler state.get( 'target' ), fstab=state. get('fstab' )) subiquity/ 2393/lib/ python3. 6/site- packages/ curtin/ commands/ block_meta. py", line 1227, in mount_apply file(fstab, fstab_line_ for_data( fdata), omode="a") subiquity/ 2393/lib/ python3. 6/site- packages/ curtin/ commands/ block_meta. py", line 1154, in fstab_line_for_data spec(fdata. device) subiquity/ 2393/lib/ python3. 6/site- packages/ curtin/ commands/ block_meta. py", line 1082, in get_volume_spec 'info[DEVLINKS] = %s', info['DEVLINKS'])
volspec: path=/dev/sda2 type=part
An error occured handling 'mount-0': KeyError - 'DEVLINKS'
finish: cmd-install/
TIMED BLOCK_META: 25.187
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/
handler(command, storage_
File "/snap/
target=
File "/snap/
util.write_
File "/snap/
spec = get_volume_
File "/snap/
LOG.debug(
KeyError: 'DEVLINKS'
'DEVLINKS'
which is strange -- maybe we are racing with udev and reading the partition's udev data while it is still being constructed somehow?