Public bug reported:

Using maas to install jammy to an nvidia dgx-1. Curtin fails with the
following log:

curtin: Installation started. (21.2-0ubuntu1~20.04.1)
third party drivers not installed or necessary.
start: cmd-install/stage-partitioning/builtin/cmd-block-meta: curtin command 
block-meta
get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 'sda', 
'model': 'MRROMB', 'name': 'sda', 'ptable': 'gpt', 'serial': 
'6001636002696668214e5fab86021ad8', 'type': 'disk', 'wipe': 'superblock'})
Processing serial 6001636002696668214e5fab86021ad8 via udev to 
6001636002696668214e5fab86021ad8
lookup_disks found: ['wwn-0x6001636002696668214e5fab86021ad8', 
'scsi-36001636002696668214e5fab86021ad8', 
'scsi-36001636002696668214e5fab86021ad8-part1', 
'wwn-0x6001636002696668214e5fab86021ad8-part1', 
'wwn-0x6001636002696668214e5fab86021ad8-part2', 
'scsi-36001636002696668214e5fab86021ad8-part2']
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] 
with allowed return codes [0] (capture=True)
/dev/sda is multipath device? False
Running command ['multipath', '-c', '/dev/sda'] with allowed return codes [0] 
(capture=True)
/dev/sda is multipath device member? False
block.lookup_disk() returning path /dev/sda
Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] 
(capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] 
(capture=False)
TIMED udevadm_settle(): 0.144
devsync happy - path /dev/sda now exists
return volume path /dev/sda
get_path_to_storage_volume for volume sdb({'id': 'sdb', 'model': 'MRROMB', 
'name': 'sdb', 'serial': '60016360026966682393bfeb0902038f', 'type': 'disk', 
'wipe': 'superblock'})
Processing serial 60016360026966682393bfeb0902038f via udev to 
60016360026966682393bfeb0902038f
lookup_disks found: ['wwn-0x60016360026966682393bfeb0902038f', 
'scsi-360016360026966682393bfeb0902038f']
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sdb'] 
with allowed return codes [0] (capture=True)
/dev/sdb is multipath device? False
Running command ['multipath', '-c', '/dev/sdb'] with allowed return codes [0] 
(capture=True)
/dev/sdb is multipath device member? False
block.lookup_disk() returning path /dev/sdb
Running command ['partprobe', '/dev/sdb'] with allowed return codes [0, 1] 
(capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] 
(capture=False)
TIMED udevadm_settle(): 0.056
devsync happy - path /dev/sdb now exists
return volume path /dev/sdb
get_path_to_storage_volume for volume sda-part1({'device': 'sda', 'flag': 
'boot', 'id': 'sda-part1', 'name': 'sda-part1', 'number': 1, 'offset': 
'4194304B', 'size': '536870912B', 'type': 'partition', 'uuid': 
'f906950a-1a1c-4573-ad9c-54675ed9284b', 'wipe': 'superblock'})
get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 'sda', 
'model': 'MRROMB', 'name': 'sda', 'ptable': 'gpt', 'serial': 
'6001636002696668214e5fab86021ad8', 'type': 'disk', 'wipe': 'superblock'})
Processing serial 6001636002696668214e5fab86021ad8 via udev to 
6001636002696668214e5fab86021ad8
lookup_disks found: ['wwn-0x6001636002696668214e5fab86021ad8', 
'scsi-36001636002696668214e5fab86021ad8', 
'scsi-36001636002696668214e5fab86021ad8-part1', 
'wwn-0x6001636002696668214e5fab86021ad8-part2', 
'wwn-0x6001636002696668214e5fab86021ad8-part1', 
'scsi-36001636002696668214e5fab86021ad8-part2']
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] 
with allowed return codes [0] (capture=True)
/dev/sda is multipath device? False
Running command ['multipath', '-c', '/dev/sda'] with allowed return codes [0] 
(capture=True)
/dev/sda is multipath device member? False
block.lookup_disk() returning path /dev/sda
Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] 
(capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] 
(capture=False)
TIMED udevadm_settle(): 0.140
devsync happy - path /dev/sda now exists
return volume path /dev/sda
Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] 
(capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] 
(capture=False)
TIMED udevadm_settle(): 0.140
devsync happy - path /dev/sda now exists
return volume path /dev/sda1
get_path_to_storage_volume for volume sda-part2({'device': 'sda', 'id': 
'sda-part2', 'name': 'sda-part2', 'number': 2, 'size': '479014682624B', 'type': 
'partition', 'uuid': 'a96eeb67-466e-4652-9b58-2b2d94c91d26', 'wipe': 
'superblock'})
get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 'sda', 
'model': 'MRROMB', 'name': 'sda', 'ptable': 'gpt', 'serial': 
'6001636002696668214e5fab86021ad8', 'type': 'disk', 'wipe': 'superblock'})
Processing serial 6001636002696668214e5fab86021ad8 via udev to 
6001636002696668214e5fab86021ad8
lookup_disks found: ['wwn-0x6001636002696668214e5fab86021ad8', 
'scsi-36001636002696668214e5fab86021ad8', 
'scsi-36001636002696668214e5fab86021ad8-part1', 
'wwn-0x6001636002696668214e5fab86021ad8-part2', 
'wwn-0x6001636002696668214e5fab86021ad8-part1', 
'scsi-36001636002696668214e5fab86021ad8-part2']
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] 
with allowed return codes [0] (capture=True)
/dev/sda is multipath device? False
Running command ['multipath', '-c', '/dev/sda'] with allowed return codes [0] 
(capture=True)
/dev/sda is multipath device member? False
block.lookup_disk() returning path /dev/sda
Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] 
(capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] 
(capture=False)
TIMED udevadm_settle(): 0.139
devsync happy - path /dev/sda now exists
return volume path /dev/sda
Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] 
(capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] 
(capture=False)
TIMED udevadm_settle(): 0.140
devsync happy - path /dev/sda now exists
return volume path /dev/sda2
block-meta: extracted devices to clear: ['/dev/sda', '/dev/sdb', '/dev/sda1', 
'/dev/sda2']
Declared block devices: ['/dev/sda', '/dev/sdb', '/dev/sda1', '/dev/sda2']
clearing devices=['/dev/sda', '/dev/sdb', '/dev/sda1', '/dev/sda2']
start: cmd-install/stage-partitioning/builtin/cmd-block-meta/clear-holders: 
removing previous storage devices
Running command ['mdadm', '--assemble', '--scan', '-v'] with allowed return 
codes [0, 1, 2] (capture=True)
mdadm assemble scan results:

mdadm: looking for devices for further assembly
mdadm: no recogniseable superblock on /dev/sda2
mdadm: Cannot assemble mbr metadata on /dev/sda1
mdadm: Cannot assemble mbr metadata on /dev/sda
mdadm: no recogniseable superblock on /dev/sdb
mdadm: no recogniseable superblock on /dev/loop3
mdadm: no recogniseable superblock on /dev/loop2
mdadm: no recogniseable superblock on /dev/loop1
mdadm: no recogniseable superblock on /dev/loop0
mdadm: No arrays found in config file or automatically

Running command ['mdadm', '--detail', '--scan', '-v'] with allowed return codes 
[0, 1] (capture=True)
mdadm detail scan after assemble:


Running command ['udevadm', 'settle'] with allowed return codes [0] 
(capture=False)
TIMED udevadm_settle(): 0.050
Detected multipath support, reload maps
Running command ['multipath', '-r'] with allowed return codes [0] 
(capture=False)
Verifying /dev/mapper/mpath* files are symlinks
Running command ['dmsetup', 'ls', '-o', 'blkdevname'] with allowed return codes 
[0] (capture=True)
Running command ['pvscan', '--config', 'devices{ filter = [ 
"a|/dev/mapper/mpath.*|", "r|.*|" ] }'] with allowed return codes [0] 
(capture=True)
Running command ['vgscan', '--config', 'devices{ filter = [ 
"a|/dev/mapper/mpath.*|", "r|.*|" ] }'] with allowed return codes [0] 
(capture=True)
Running command ['vgchange', '--activate=y', '--config', 'devices{ filter = [ 
"a|/dev/mapper/mpath.*|", "r|.*|" ] }'] with allowed return codes [0] 
(capture=True)
Running command ['udevadm', 'settle'] with allowed return codes [0] 
(capture=False)
TIMED udevadm_settle(): 0.027
Loading kernel module bcache via modprobe
Running command ['modprobe', '--use-blacklist', 'bcache'] with allowed return 
codes [0] (capture=False)
Generating device storage trees for path(s): ['/dev/sda', '/dev/sdb', 
'/dev/sda1', '/dev/sda2']
devname '/sys/class/block/sda' had holders: []
/dev/sda is multipath device partition? False
/dev/sda is multipath device partition? False
/dev/sda is multipath device partition? False
devname '/sys/class/block/sda2' had holders: []
devname '/sys/class/block/sda1' had holders: []
devname '/sys/class/block/sdb' had holders: []
/dev/sdb is multipath device partition? False
/dev/sdb is multipath device partition? False
/dev/sdb is multipath device partition? False
devname '/sys/class/block/sda1' had holders: []
devname '/sys/class/block/sda2' had holders: []
Current device storage tree:
sda
|-- sda2
`-- sda1
sdb
sda1
sda2
Shutdown Plan:
{'level': 3, 'device': '/sys/class/block/sda2', 'dev_type': 'partition'}
{'level': 3, 'device': '/sys/class/block/sda1', 'dev_type': 'partition'}
{'level': 1, 'device': '/sys/class/block/sda', 'dev_type': 'disk'}
{'level': 0, 'device': '/sys/class/block/sdb', 'dev_type': 'disk'}
shutdown running on holder type: 'partition' syspath: '/sys/class/block/sda2'
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/sda'] with allowed return codes [0] (capture=True)
get_blockdev_sector_size: info:
{
 "sda": {
  "ALIGNMENT": "0",
  "DISC_ALN": "0",
  "DISC_GRAN": "0",
  "DISC_MAX": "0",
  "DISC_ZERO": "0",
  "FSTYPE": "",
  "GROUP": "disk",
  "KNAME": "sda",
  "LABEL": "",
  "LOG_SEC": "512",
  "MAJ_MIN": "8:0",
  "MIN_IO": "262144",
  "MODE": "brw-rw----",
  "MODEL": "MRROMB",
  "MOUNTPOINT": "",
  "NAME": "sda",
  "OPT_IO": "262144",
  "OWNER": "root",
  "PHY_SEC": "4096",
  "RM": "0",
  "RO": "0",
  "ROTA": "1",
  "RQ_SIZE": "256",
  "SIZE": "479559942144",
  "STATE": "running",
  "TYPE": "disk",
  "UUID": "",
  "device_path": "/dev/sda"
 },
 "sda1": {
  "ALIGNMENT": "0",
  "DISC_ALN": "0",
  "DISC_GRAN": "0",
  "DISC_MAX": "0",
  "DISC_ZERO": "0",
  "FSTYPE": "vfat",
  "GROUP": "disk",
  "KNAME": "sda1",
  "LABEL": "efi",
  "LOG_SEC": "512",
  "MAJ_MIN": "8:1",
  "MIN_IO": "262144",
  "MODE": "brw-rw----",
  "MODEL": "",
  "MOUNTPOINT": "",
  "NAME": "sda1",
  "OPT_IO": "262144",
  "OWNER": "root",
  "PHY_SEC": "4096",
  "RM": "0",
  "RO": "0",
  "ROTA": "1",
  "RQ_SIZE": "256",
  "SIZE": "536870912",
  "STATE": "",
  "TYPE": "part",
  "UUID": "D275-E241",
  "device_path": "/dev/sda1"
 },
 "sda2": {
  "ALIGNMENT": "0",
  "DISC_ALN": "0",
  "DISC_GRAN": "0",
  "DISC_MAX": "0",
  "DISC_ZERO": "0",
  "FSTYPE": "ext4",
  "GROUP": "disk",
  "KNAME": "sda2",
  "LABEL": "root",
  "LOG_SEC": "512",
  "MAJ_MIN": "8:2",
  "MIN_IO": "262144",
  "MODE": "brw-rw----",
  "MODEL": "",
  "MOUNTPOINT": "",
  "NAME": "sda2",
  "OPT_IO": "262144",
  "OWNER": "root",
  "PHY_SEC": "4096",
  "RM": "0",
  "RO": "0",
  "ROTA": "1",
  "RQ_SIZE": "256",
  "SIZE": "479022005760",
  "STATE": "",
  "TYPE": "part",
  "UUID": "9f0d1bfa-a840-4e9d-a4b8-dc8959037272",
  "device_path": "/dev/sda2"
 }
}
finish: cmd-install/stage-partitioning/builtin/cmd-block-meta/clear-holders: 
FAIL: removing previous storage devices
TIMED BLOCK_META: 2.821
finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin 
command block-meta
Traceback (most recent call last):
  File "/curtin/curtin/commands/main.py", line 202, in main
    ret = args.func(args)
  File "/curtin/curtin/log.py", line 97, in wrapper
    return log_time("TIMED %s: " % msg, func, *args, **kwargs)
  File "/curtin/curtin/log.py", line 79, in log_time
    return func(*args, **kwargs)
  File "/curtin/curtin/commands/block_meta.py", line 102, in block_meta
    meta_clear(devices, state.get('report_stack_prefix', ''))
  File "/curtin/curtin/commands/block_meta.py", line 1889, in meta_clear
    clear_holders.clear_holders(devices)
  File "/curtin/curtin/block/clear_holders.py", line 639, in clear_holders
    shutdown_function(dev_info['device'])
  File "/curtin/curtin/block/clear_holders.py", line 244, in wipe_superblock
    if block.is_extended_partition(blockdev):
  File "/curtin/curtin/block/__init__.py", line 1084, in is_extended_partition
    return (get_part_table_type(parent_dev) in ['dos', 'msdos'] and
  File "/curtin/curtin/block/__init__.py", line 1026, in get_part_table_type
    return ('gpt' if check_efi_signature(device) else
  File "/curtin/curtin/block/__init__.py", line 1058, in check_efi_signature
    sector_size = get_blockdev_sector_size(devname)[0]
  File "/curtin/curtin/block/__init__.py", line 785, in get_blockdev_sector_size
    logical = info[parent]['LOG-SEC']
KeyError: 'LOG-SEC'
'LOG-SEC'
curtin: Installation failed with exception: Unexpected error while running 
command.
Command: ['curtin', 'block-meta', 'custom']
Exit code: 3
Reason: -
Stdout: start: cmd-install/stage-partitioning/builtin/cmd-block-meta: curtin 
command block-meta
        get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 
'sda', 'model': 'MRROMB', 'name': 'sda', 'ptable': 'gpt', 'serial': 
'6001636002696668214e5fab86021ad8', 'type': 'disk', 'wipe': 'superblock'})
        Processing serial 6001636002696668214e5fab86021ad8 via udev to 
6001636002696668214e5fab86021ad8
        lookup_disks found: ['wwn-0x6001636002696668214e5fab86021ad8', 
'scsi-36001636002696668214e5fab86021ad8', 
'scsi-36001636002696668214e5fab86021ad8-part1', 
'wwn-0x6001636002696668214e5fab86021ad8-part1', 
'wwn-0x6001636002696668214e5fab86021ad8-part2', 
'scsi-36001636002696668214e5fab86021ad8-part2']
        Running command ['udevadm', 'info', '--query=property', '--export', 
'/dev/sda'] with allowed return codes [0] (capture=True)
        /dev/sda is multipath device? False
        Running command ['multipath', '-c', '/dev/sda'] with allowed return 
codes [0] (capture=True)
        /dev/sda is multipath device member? False
        block.lookup_disk() returning path /dev/sda
        Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 
1] (capture=False)
        Running command ['udevadm', 'settle'] with allowed return codes [0] 
(capture=False)
        TIMED udevadm_settle(): 0.144
        devsync happy - path /dev/sda now exists
        return volume path /dev/sda
        get_path_to_storage_volume for volume sdb({'id': 'sdb', 'model': 
'MRROMB', 'name': 'sdb', 'serial': '60016360026966682393bfeb0902038f', 'type': 
'disk', 'wipe': 'superblock'})
        Processing serial 60016360026966682393bfeb0902038f via udev to 
60016360026966682393bfeb0902038f
        lookup_disks found: ['wwn-0x60016360026966682393bfeb0902038f', 
'scsi-360016360026966682393bfeb0902038f']
        Running command ['udevadm', 'info', '--query=property', '--export', 
'/dev/sdb'] with allowed return codes [0] (capture=True)
        /dev/sdb is multipath device? False
        Running command ['multipath', '-c', '/dev/sdb'] with allowed return 
codes [0] (capture=True)
        /dev/sdb is multipath device member? False
        block.lookup_disk() returning path /dev/sdb
        Running command ['partprobe', '/dev/sdb'] with allowed return codes [0, 
1] (capture=False)
        Running command ['udevadm', 'settle'] with allowed return codes [0] 
(capture=False)
        TIMED udevadm_settle(): 0.056
        devsync happy - path /dev/sdb now exists
        return volume path /dev/sdb
        get_path_to_storage_volume for volume sda-part1({'device': 'sda', 
'flag': 'boot', 'id': 'sda-part1', 'name': 'sda-part1', 'number': 1, 'offset': 
'4194304B', 'size': '536870912B', 'type': 'partition', 'uuid': 
'f906950a-1a1c-4573-ad9c-54675ed9284b', 'wipe': 'superblock'})
        get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 
'sda', 'model': 'MRROMB', 'name': 'sda', 'ptable': 'gpt', 'serial': 
'6001636002696668214e5fab86021ad8', 'type': 'disk', 'wipe': 'superblock'})
        Processing serial 6001636002696668214e5fab86021ad8 via udev to 
6001636002696668214e5fab86021ad8
        lookup_disks found: ['wwn-0x6001636002696668214e5fab86021ad8', 
'scsi-36001636002696668214e5fab86021ad8', 
'scsi-36001636002696668214e5fab86021ad8-part1', 
'wwn-0x6001636002696668214e5fab86021ad8-part2', 
'wwn-0x6001636002696668214e5fab86021ad8-part1', 
'scsi-36001636002696668214e5fab86021ad8-part2']
        Running command ['udevadm', 'info', '--query=property', '--export', 
'/dev/sda'] with allowed return codes [0] (capture=True)
        /dev/sda is multipath device? False
        Running command ['multipath', '-c', '/dev/sda'] with allowed return 
codes [0] (capture=True)
        /dev/sda is multipath device member? False
        block.lookup_disk() returning path /dev/sda
        Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 
1] (capture=False)
        Running command ['udevadm', 'settle'] with allowed return codes [0] 
(capture=False)
        TIMED udevadm_settle(): 0.140
        devsync happy - path /dev/sda now exists
        return volume path /dev/sda
        Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 
1] (capture=False)
        Running command ['udevadm', 'settle'] with allowed return codes [0] 
(capture=False)
        TIMED udevadm_settle(): 0.140
        devsync happy - path /dev/sda now exists
        return volume path /dev/sda1
        get_path_to_storage_volume for volume sda-part2({'device': 'sda', 'id': 
'sda-part2', 'name': 'sda-part2', 'number': 2, 'size': '479014682624B', 'type': 
'partition', 'uuid': 'a96eeb67-466e-4652-9b58-2b2d94c91d26', 'wipe': 
'superblock'})
        get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 
'sda', 'model': 'MRROMB', 'name': 'sda', 'ptable': 'gpt', 'serial': 
'6001636002696668214e5fab86021ad8', 'type': 'disk', 'wipe': 'superblock'})
        Processing serial 6001636002696668214e5fab86021ad8 via udev to 
6001636002696668214e5fab86021ad8
        lookup_disks found: ['wwn-0x6001636002696668214e5fab86021ad8', 
'scsi-36001636002696668214e5fab86021ad8', 
'scsi-36001636002696668214e5fab86021ad8-part1', 
'wwn-0x6001636002696668214e5fab86021ad8-part2', 
'wwn-0x6001636002696668214e5fab86021ad8-part1', 
'scsi-36001636002696668214e5fab86021ad8-part2']
        Running command ['udevadm', 'info', '--query=property', '--export', 
'/dev/sda'] with allowed return codes [0] (capture=True)
        /dev/sda is multipath device? False
        Running command ['multipath', '-c', '/dev/sda'] with allowed return 
codes [0] (capture=True)
        /dev/sda is multipath device member? False
        block.lookup_disk() returning path /dev/sda
        Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 
1] (capture=False)
        Running command ['udevadm', 'settle'] with allowed return codes [0] 
(capture=False)
        TIMED udevadm_settle(): 0.139
        devsync happy - path /dev/sda now exists
        return volume path /dev/sda
        Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 
1] (capture=False)
        Running command ['udevadm', 'settle'] with allowed return codes [0] 
(capture=False)
        TIMED udevadm_settle(): 0.140
        devsync happy - path /dev/sda now exists
        return volume path /dev/sda2
        block-meta: extracted devices to clear: ['/dev/sda', '/dev/sdb', 
'/dev/sda1', '/dev/sda2']
        Declared block devices: ['/dev/sda', '/dev/sdb', '/dev/sda1', 
'/dev/sda2']
        clearing devices=['/dev/sda', '/dev/sdb', '/dev/sda1', '/dev/sda2']
        start: 
cmd-install/stage-partitioning/builtin/cmd-block-meta/clear-holders: removing 
previous storage devices
        Running command ['mdadm', '--assemble', '--scan', '-v'] with allowed 
return codes [0, 1, 2] (capture=True)
        mdadm assemble scan results:
        
        mdadm: looking for devices for further assembly
        mdadm: no recogniseable superblock on /dev/sda2
        mdadm: Cannot assemble mbr metadata on /dev/sda1
        mdadm: Cannot assemble mbr metadata on /dev/sda
        mdadm: no recogniseable superblock on /dev/sdb
        mdadm: no recogniseable superblock on /dev/loop3
        mdadm: no recogniseable superblock on /dev/loop2
        mdadm: no recogniseable superblock on /dev/loop1
        mdadm: no recogniseable superblock on /dev/loop0
        mdadm: No arrays found in config file or automatically
        
        Running command ['mdadm', '--detail', '--scan', '-v'] with allowed 
return codes [0, 1] (capture=True)
        mdadm detail scan after assemble:
        
        
        Running command ['udevadm', 'settle'] with allowed return codes [0] 
(capture=False)
        TIMED udevadm_settle(): 0.050
        Detected multipath support, reload maps
        Running command ['multipath', '-r'] with allowed return codes [0] 
(capture=False)
        Verifying /dev/mapper/mpath* files are symlinks
        Running command ['dmsetup', 'ls', '-o', 'blkdevname'] with allowed 
return codes [0] (capture=True)
        Running command ['pvscan', '--config', 'devices{ filter = [ 
"a|/dev/mapper/mpath.*|", "r|.*|" ] }'] with allowed return codes [0] 
(capture=True)
        Running command ['vgscan', '--config', 'devices{ filter = [ 
"a|/dev/mapper/mpath.*|", "r|.*|" ] }'] with allowed return codes [0] 
(capture=True)
        Running command ['vgchange', '--activate=y', '--config', 'devices{ 
filter = [ "a|/dev/mapper/mpath.*|", "r|.*|" ] }'] with allowed return codes 
[0] (capture=True)
        Running command ['udevadm', 'settle'] with allowed return codes [0] 
(capture=False)
        TIMED udevadm_settle(): 0.027
        Loading kernel module bcache via modprobe
        Running command ['modprobe', '--use-blacklist', 'bcache'] with allowed 
return codes [0] (capture=False)
        Generating device storage trees for path(s): ['/dev/sda', '/dev/sdb', 
'/dev/sda1', '/dev/sda2']
        devname '/sys/class/block/sda' had holders: []
        /dev/sda is multipath device partition? False
        /dev/sda is multipath device partition? False
        /dev/sda is multipath device partition? False
        devname '/sys/class/block/sda2' had holders: []
        devname '/sys/class/block/sda1' had holders: []
        devname '/sys/class/block/sdb' had holders: []
        /dev/sdb is multipath device partition? False
        /dev/sdb is multipath device partition? False
        /dev/sdb is multipath device partition? False
        devname '/sys/class/block/sda1' had holders: []
        devname '/sys/class/block/sda2' had holders: []
        Current device storage tree:
        sda
        |-- sda2
        `-- sda1
        sdb
        sda1
        sda2
        Shutdown Plan:
        {'level': 3, 'device': '/sys/class/block/sda2', 'dev_type': 'partition'}
        {'level': 3, 'device': '/sys/class/block/sda1', 'dev_type': 'partition'}
        {'level': 1, 'device': '/sys/class/block/sda', 'dev_type': 'disk'}
        {'level': 0, 'device': '/sys/class/block/sdb', 'dev_type': 'disk'}
        shutdown running on holder type: 'partition' syspath: 
'/sys/class/block/sda2'
        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/sda'] with allowed return codes [0] (capture=True)
        get_blockdev_sector_size: info:
        {
         "sda": {
          "ALIGNMENT": "0",
          "DISC_ALN": "0",
          "DISC_GRAN": "0",
          "DISC_MAX": "0",
          "DISC_ZERO": "0",
          "FSTYPE": "",
          "GROUP": "disk",
          "KNAME": "sda",
          "LABEL": "",
          "LOG_SEC": "512",
          "MAJ_MIN": "8:0",
          "MIN_IO": "262144",
          "MODE": "brw-rw----",
          "MODEL": "MRROMB",
          "MOUNTPOINT": "",
          "NAME": "sda",
          "OPT_IO": "262144",
          "OWNER": "root",
          "PHY_SEC": "4096",
          "RM": "0",
          "RO": "0",
          "ROTA": "1",
          "RQ_SIZE": "256",
          "SIZE": "479559942144",
          "STATE": "running",
          "TYPE": "disk",
          "UUID": "",
          "device_path": "/dev/sda"
         },
         "sda1": {
          "ALIGNMENT": "0",
          "DISC_ALN": "0",
          "DISC_GRAN": "0",
          "DISC_MAX": "0",
          "DISC_ZERO": "0",
          "FSTYPE": "vfat",
          "GROUP": "disk",
          "KNAME": "sda1",
          "LABEL": "efi",
          "LOG_SEC": "512",
          "MAJ_MIN": "8:1",
          "MIN_IO": "262144",
          "MODE": "brw-rw----",
          "MODEL": "",
          "MOUNTPOINT": "",
          "NAME": "sda1",
          "OPT_IO": "262144",
          "OWNER": "root",
          "PHY_SEC": "4096",
          "RM": "0",
          "RO": "0",
          "ROTA": "1",
          "RQ_SIZE": "256",
          "SIZE": "536870912",
          "STATE": "",
          "TYPE": "part",
          "UUID": "D275-E241",
          "device_path": "/dev/sda1"
         },
         "sda2": {
          "ALIGNMENT": "0",
          "DISC_ALN": "0",
          "DISC_GRAN": "0",
          "DISC_MAX": "0",
          "DISC_ZERO": "0",
          "FSTYPE": "ext4",
          "GROUP": "disk",
          "KNAME": "sda2",
          "LABEL": "root",
          "LOG_SEC": "512",
          "MAJ_MIN": "8:2",
          "MIN_IO": "262144",
          "MODE": "brw-rw----",
          "MODEL": "",
          "MOUNTPOINT": "",
          "NAME": "sda2",
          "OPT_IO": "262144",
          "OWNER": "root",
          "PHY_SEC": "4096",
          "RM": "0",
          "RO": "0",
          "ROTA": "1",
          "RQ_SIZE": "256",
          "SIZE": "479022005760",
          "STATE": "",
          "TYPE": "part",
          "UUID": "9f0d1bfa-a840-4e9d-a4b8-dc8959037272",
          "device_path": "/dev/sda2"
         }
        }
        finish: 
cmd-install/stage-partitioning/builtin/cmd-block-meta/clear-holders: FAIL: 
removing previous storage devices
        TIMED BLOCK_META: 2.821
        finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: 
curtin command block-meta
        Traceback (most recent call last):
          File "/curtin/curtin/commands/main.py", line 202, in main
            ret = args.func(args)
          File "/curtin/curtin/log.py", line 97, in wrapper
            return log_time("TIMED %s: " % msg, func, *args, **kwargs)
          File "/curtin/curtin/log.py", line 79, in log_time
            return func(*args, **kwargs)
          File "/curtin/curtin/commands/block_meta.py", line 102, in block_meta
            meta_clear(devices, state.get('report_stack_prefix', ''))
          File "/curtin/curtin/commands/block_meta.py", line 1889, in meta_clear
            clear_holders.clear_holders(devices)
          File "/curtin/curtin/block/clear_holders.py", line 639, in 
clear_holders
            shutdown_function(dev_info['device'])
          File "/curtin/curtin/block/clear_holders.py", line 244, in 
wipe_superblock
            if block.is_extended_partition(blockdev):
          File "/curtin/curtin/block/__init__.py", line 1084, in 
is_extended_partition
            return (get_part_table_type(parent_dev) in ['dos', 'msdos'] and
          File "/curtin/curtin/block/__init__.py", line 1026, in 
get_part_table_type
            return ('gpt' if check_efi_signature(device) else
          File "/curtin/curtin/block/__init__.py", line 1058, in 
check_efi_signature
            sector_size = get_blockdev_sector_size(devname)[0]
          File "/curtin/curtin/block/__init__.py", line 785, in 
get_blockdev_sector_size
            logical = info[parent]['LOG-SEC']
        KeyError: 'LOG-SEC'
        'LOG-SEC'
        
Stderr: ''

** Affects: curtin (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  jammy fails to install due to "KeyError: 'LOG-SEC'"

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


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

Reply via email to