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,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID',
 '/dev/sda2'] with allowed return codes [0] (capture=True)
volspec: path=/dev/sda2 type=part
An error occured handling 'mount-0': KeyError - 'DEVLINKS'
finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: 
configuring mount: mount-0
TIMED BLOCK_META: 25.187
finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin 
command block-meta
Traceback (most recent call last):
File 
"/snap/subiquity/2393/lib/python3.6/site-packages/curtin/commands/main.py", 
line 202, in main
ret = args.func(args)
File "/snap/subiquity/2393/lib/python3.6/site-packages/curtin/log.py", line 97, 
in wrapper
return log_time("TIMED %s: " % msg, func, *args, **kwargs)
File "/snap/subiquity/2393/lib/python3.6/site-packages/curtin/log.py", line 79, 
in log_time
return func(*args, **kwargs)
File 
"/snap/subiquity/2393/lib/python3.6/site-packages/curtin/commands/block_meta.py",
 line 111, in block_meta
return meta_custom(args)
File 
"/snap/subiquity/2393/lib/python3.6/site-packages/curtin/commands/block_meta.py",
 line 1961, in meta_custom
handler(command, storage_config_dict)
File 
"/snap/subiquity/2393/lib/python3.6/site-packages/curtin/commands/block_meta.py",
 line 1248, in mount_handler
target=state.get('target'), fstab=state.get('fstab'))
File 
"/snap/subiquity/2393/lib/python3.6/site-packages/curtin/commands/block_meta.py",
 line 1227, in mount_apply
util.write_file(fstab, fstab_line_for_data(fdata), omode="a")
File 
"/snap/subiquity/2393/lib/python3.6/site-packages/curtin/commands/block_meta.py",
 line 1154, in fstab_line_for_data
spec = get_volume_spec(fdata.device)
File 
"/snap/subiquity/2393/lib/python3.6/site-packages/curtin/commands/block_meta.py",
 line 1082, in get_volume_spec
LOG.debug('info[DEVLINKS] = %s', info['DEVLINKS'])
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?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1927654

Title:
  /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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1927654/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to