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 nvme0n1({'grub_device': True, 'id': 'nvme0n1', 'model': 'Asgard AN3 2TNVMe-M.2/80', 'name': 'nvme0n1', 'ptable': 'gpt', 'serial': '202101260446', 'type': 'disk', 'wipe': 'superblock'}) Processing serial 202101260446 via udev to 202101260446 get_path_to_storage_volume for volume nvme0n1-part1({'device': 'nvme0n1', 'flag': 'boot', 'id': 'nvme0n1-part1', 'name': 'nvme0n1-part1', 'number': 1, 'offset': '4194304B', 'size': '536870912B', 'type': 'partition', 'uuid': 'f39aa474-31d5-4c81-a644-b0b1df2b24c2', 'wipe': 'superblock'}) get_path_to_storage_volume for volume nvme0n1({'grub_device': True, 'id': 'nvme0n1', 'model': 'Asgard AN3 2TNVMe-M.2/80', 'name': 'nvme0n1', 'ptable': 'gpt', 'serial': '202101260446', 'type': 'disk', 'wipe': 'superblock'}) Processing serial 202101260446 via udev to 202101260446 get_path_to_storage_volume for volume nvme0n1-part2({'device': 'nvme0n1', 'id': 'nvme0n1-part2', 'name': 'nvme0n1-part2', 'number': 2, 'size': '2047864733696B', 'type': 'partition', 'uuid': '5fdfb5df-cf41-498d-a74a-d0780a17dd7f', 'wipe': 'superblock'}) get_path_to_storage_volume for volume nvme0n1({'grub_device': True, 'id': 'nvme0n1', 'model': 'Asgard AN3 2TNVMe-M.2/80', 'name': 'nvme0n1', 'ptable': 'gpt', 'serial': '202101260446', 'type': 'disk', 'wipe': 'superblock'}) Processing serial 202101260446 via udev to 202101260446 block-meta: extracted devices to clear: [] Declared block devices: [] clearing devices=[] 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/nvme0n1 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.010 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.015 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): [] Current device storage tree: Shutdown Plan: finish: cmd-install/stage-partitioning/builtin/cmd-block-meta/clear-holders: SUCCESS: removing previous storage devices blockmeta: detected storage config, using mode=custom start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring disk: nvme0n1 get_path_to_storage_volume for volume nvme0n1({'grub_device': True, 'id': 'nvme0n1', 'model': 'Asgard AN3 2TNVMe-M.2/80', 'name': 'nvme0n1', 'ptable': 'gpt', 'serial': '202101260446', 'type': 'disk', 'wipe': 'superblock'}) Processing serial 202101260446 via udev to 202101260446 An error occured handling 'nvme0n1': ValueError - Failed to find storage volume id='nvme0n1' config: {'grub_device': True, 'id': 'nvme0n1', 'model': 'Asgard AN3 2TNVMe-M.2/80', 'name': 'nvme0n1', 'ptable': 'gpt', 'serial': '202101260446', 'type': 'disk', 'wipe': 'superblock'} finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring disk: nvme0n1 TIMED BLOCK_META: 0.272 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 111, in block_meta return meta_custom(args) File "/curtin/curtin/commands/block_meta.py", line 1935, in meta_custom handler(command, storage_config_dict) File "/curtin/curtin/commands/block_meta.py", line 585, in disk_handler disk = get_path_to_storage_volume(info.get('id'), storage_config) File "/curtin/curtin/commands/block_meta.py", line 476, in get_path_to_storage_volume raise ValueError("Failed to find storage volume id='%s' config: %s" ValueError: Failed to find storage volume id='nvme0n1' config: {'grub_device': True, 'id': 'nvme0n1', 'model': 'Asgard AN3 2TNVMe-M.2/80', 'name': 'nvme0n1', 'ptable': 'gpt', 'serial': '202101260446', 'type': 'disk', 'wipe': 'superblock'} Failed to find storage volume id='nvme0n1' config: {'grub_device': True, 'id': 'nvme0n1', 'model': 'Asgard AN3 2TNVMe-M.2/80', 'name': 'nvme0n1', 'ptable': 'gpt', 'serial': '202101260446', 'type': 'disk', 'wipe': 'superblock'} 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 nvme0n1({'grub_device': True, 'id': 'nvme0n1', 'model': 'Asgard AN3 2TNVMe-M.2/80', 'name': 'nvme0n1', 'ptable': 'gpt', 'serial': '202101260446', 'type': 'disk', 'wipe': 'superblock'}) Processing serial 202101260446 via udev to 202101260446 get_path_to_storage_volume for volume nvme0n1-part1({'device': 'nvme0n1', 'flag': 'boot', 'id': 'nvme0n1-part1', 'name': 'nvme0n1-part1', 'number': 1, 'offset': '4194304B', 'size': '536870912B', 'type': 'partition', 'uuid': 'f39aa474-31d5-4c81-a644-b0b1df2b24c2', 'wipe': 'superblock'}) get_path_to_storage_volume for volume nvme0n1({'grub_device': True, 'id': 'nvme0n1', 'model': 'Asgard AN3 2TNVMe-M.2/80', 'name': 'nvme0n1', 'ptable': 'gpt', 'serial': '202101260446', 'type': 'disk', 'wipe': 'superblock'}) Processing serial 202101260446 via udev to 202101260446 get_path_to_storage_volume for volume nvme0n1-part2({'device': 'nvme0n1', 'id': 'nvme0n1-part2', 'name': 'nvme0n1-part2', 'number': 2, 'size': '2047864733696B', 'type': 'partition', 'uuid': '5fdfb5df-cf41-498d-a74a-d0780a17dd7f', 'wipe': 'superblock'}) get_path_to_storage_volume for volume nvme0n1({'grub_device': True, 'id': 'nvme0n1', 'model': 'Asgard AN3 2TNVMe-M.2/80', 'name': 'nvme0n1', 'ptable': 'gpt', 'serial': '202101260446', 'type': 'disk', 'wipe': 'superblock'}) Processing serial 202101260446 via udev to 202101260446 block-meta: extracted devices to clear: [] Declared block devices: [] clearing devices=[] 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/nvme0n1 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.010 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.015 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): [] Current device storage tree: Shutdown Plan: finish: cmd-install/stage-partitioning/builtin/cmd-block-meta/clear-holders: SUCCESS: removing previous storage devices blockmeta: detected storage config, using mode=custom start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring disk: nvme0n1 get_path_to_storage_volume for volume nvme0n1({'grub_device': True, 'id': 'nvme0n1', 'model': 'Asgard AN3 2TNVMe-M.2/80', 'name': 'nvme0n1', 'ptable': 'gpt', 'serial': '202101260446', 'type': 'disk', 'wipe': 'superblock'}) Processing serial 202101260446 via udev to 202101260446 An error occured handling 'nvme0n1': ValueError - Failed to find storage volume id='nvme0n1' config: {'grub_device': True, 'id': 'nvme0n1', 'model': 'Asgard AN3 2TNVMe-M.2/80', 'name': 'nvme0n1', 'ptable': 'gpt', 'serial': '202101260446', 'type': 'disk', 'wipe': 'superblock'} finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring disk: nvme0n1 TIMED BLOCK_META: 0.272 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 111, in block_meta return meta_custom(args) File "/curtin/curtin/commands/block_meta.py", line 1935, in meta_custom handler(command, storage_config_dict) File "/curtin/curtin/commands/block_meta.py", line 585, in disk_handler disk = get_path_to_storage_volume(info.get('id'), storage_config) File "/curtin/curtin/commands/block_meta.py", line 476, in get_path_to_storage_volume raise ValueError("Failed to find storage volume id='%s' config: %s" ValueError: Failed to find storage volume id='nvme0n1' config: {'grub_device': True, 'id': 'nvme0n1', 'model': 'Asgard AN3 2TNVMe-M.2/80', 'name': 'nvme0n1', 'ptable': 'gpt', 'serial': '202101260446', 'type': 'disk', 'wipe': 'superblock'} Failed to find storage volume id='nvme0n1' config: {'grub_device': True, 'id': 'nvme0n1', 'model': 'Asgard AN3 2TNVMe-M.2/80', 'name': 'nvme0n1', 'ptable': 'gpt', 'serial': '202101260446', 'type': 'disk', 'wipe': 'superblock'} Stderr: ''