Public bug reported: Installation on RAID volume created in uefi fails with error "ValueError: devices or container for raid must be specified". Syslog contains error log with curtin:
Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring raid: raid-md127 Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: An error occured handling 'raid-md127': ValueError - devices or container for raid must be specified Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring raid: raid-md127 Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: TIMED BLOCK_META: 0.647 Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command block-meta Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Traceback (most recent call last): Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/main.py", line 202, in main Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: ret = args.func(args) Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/log.py", line 97, in wrapper Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: return log_time("TIMED %s: " % msg, func, *args, **kwargs) Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/log.py", line 79, in log_time Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: return func(*args, **kwargs) Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/block_meta.py", line 117, in block_meta Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: return meta_custom(args) Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/block_meta.py", line 2024, in meta_custom Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: handler(command, storage_config_dict) Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/block_meta.py", line 1586, in raid_handler Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: raise ValueError("devices or container for raid must be specified") Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: ValueError: devices or container for raid must be specified Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: devices or container for raid must be specified Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: builtin command failed Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: finish: cmd-install/stage-partitioning/builtin: FAIL: running 'curtin block-meta simple' Jan 20 08:58:16 ubuntu-server curtin_event.4517.3[4968]: finish: cmd-install/stage-partitioning/builtin: FAIL: running 'curtin block-meta simple' Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: builtin took 1.288 seconds Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: stage_partitioning took 1.289 seconds Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: finish: cmd-install/stage-partitioning: FAIL: configuring storage Jan 20 08:58:16 ubuntu-server curtin_event.4517.3[4968]: finish: cmd-install/stage-partitioning: FAIL: configuring storage Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: curtin: Installation failed with exception: Unexpected error while running command. Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Command: ['curtin', 'block-meta', 'simple'] Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Exit code: 3 ** Affects: curtin (Ubuntu) Importance: Undecided Status: New ** Tags: vroc ** Description changed: Installation on RAID volume created in uefi fails with error "ValueError: devices or container for raid must be specified". Syslog contains error log with curtin: + Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring raid: raid-md127 + Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: An error occured handling 'raid-md127': ValueError - devices or container for raid must be specified + Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring raid: raid-md127 + Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: TIMED BLOCK_META: 0.647 Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command block-meta Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Traceback (most recent call last): Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/main.py", line 202, in main Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: ret = args.func(args) Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/log.py", line 97, in wrapper Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: return log_time("TIMED %s: " % msg, func, *args, **kwargs) Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/log.py", line 79, in log_time Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: return func(*args, **kwargs) Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/block_meta.py", line 117, in block_meta Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: return meta_custom(args) Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/block_meta.py", line 2024, in meta_custom Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: handler(command, storage_config_dict) Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/block_meta.py", line 1586, in raid_handler Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: raise ValueError("devices or container for raid must be specified") Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: ValueError: devices or container for raid must be specified Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: devices or container for raid must be specified Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: builtin command failed Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: finish: cmd-install/stage-partitioning/builtin: FAIL: running 'curtin block-meta simple' Jan 20 08:58:16 ubuntu-server curtin_event.4517.3[4968]: finish: cmd-install/stage-partitioning/builtin: FAIL: running 'curtin block-meta simple' Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: builtin took 1.288 seconds Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: stage_partitioning took 1.289 seconds Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: finish: cmd-install/stage-partitioning: FAIL: configuring storage Jan 20 08:58:16 ubuntu-server curtin_event.4517.3[4968]: finish: cmd-install/stage-partitioning: FAIL: configuring storage Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: curtin: Installation failed with exception: Unexpected error while running command. Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Command: ['curtin', 'block-meta', 'simple'] Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Exit code: 3 - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Reason: - - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Stdout: start: cmd-install/stage-partitioning/builtin/cmd-block-meta: curtin command block-meta - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: get_path_to_storage_volume for volume partition-0({'device': 'raid-md126', 'size': 536870912, 'wipe': 'superblock', 'flag': 'boot', 'number': 1, 'preserve': False, 'grub_device': True, 'type': 'partition', 'id': 'partition-0'}) - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: get_path_to_storage_volume for volume raid-md126({'name': 'md126', 'raidlevel': 'raid1', 'devices': [], 'spare_devices': [], 'preserve': True, 'wipe': 'superblock', 'ptable': 'gpt', 'container': 'raid-md127', 'type': 'raid', 'id': 'raid-md126'}) - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Running command ['partprobe', '/dev/md126'] with allowed return codes [0, 1] (capture=False) - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: TIMED udevadm_settle(): 0.141 - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: devsync happy - path /dev/md126 now exists - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: return volume path /dev/md126 - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: get_path_to_storage_volume for volume partition-1({'device': 'raid-md126', 'size': 1073741824, 'wipe': 'superblock', 'flag': '', 'number': 2, 'preserve': False, 'grub_device': False, 'type': 'partition', 'id': 'partition-1'}) - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: get_path_to_storage_volume for volume raid-md126({'name': 'md126', 'raidlevel': 'raid1', 'devices': [], 'spare_devices': [], 'preserve': True, 'wipe': 'superblock', 'ptable': 'gpt', 'container': 'raid-md127', 'type': 'raid', 'id': 'raid-md126'}) - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Running command ['partprobe', '/dev/md126'] with allowed return codes [0, 1] (capture=False) - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: TIMED udevadm_settle(): 0.147 - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: devsync happy - path /dev/md126 now exists - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: return volume path /dev/md126 - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: get_path_to_storage_volume for volume partition-2({'device': 'raid-md126', 'size': 112415735808, 'wipe': 'superblock', 'flag': '', 'number': 3, 'preserve': False, 'grub_device': False, 'type': 'partition', 'id': 'partition-2'}) - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: get_path_to_storage_volume for volume raid-md126({'name': 'md126', 'raidlevel': 'raid1', 'devices': [], 'spare_devices': [], 'preserve': True, 'wipe': 'superblock', 'ptable': 'gpt', 'container': 'raid-md127', 'type': 'raid', 'id': 'raid-md126'}) - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Running command ['partprobe', '/dev/md126'] with allowed return codes [0, 1] (capture=False) - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: TIMED udevadm_settle(): 0.120 - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: devsync happy - path /dev/md126 now exists - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: return volume path /dev/md126 - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: block-meta: extracted devices to clear: [] - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Declared block devices: [] - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: clearing devices=[] - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: blockmeta: detected storage config, using mode=custom - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring raid: raid-md127 - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: An error occured handling 'raid-md127': ValueError - devices or container for raid must be specified - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring raid: raid-md127 - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: TIMED BLOCK_META: 0.647 - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command block-meta - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Traceback (most recent call last): - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/main.py", line 202, in main - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: ret = args.func(args) - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/log.py", line 97, in wrapper - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: return log_time("TIMED %s: " % msg, func, *args, **kwargs) - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/log.py", line 79, in log_time - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: return func(*args, **kwargs) - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/block_meta.py", line 117, in block_meta - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: return meta_custom(args) - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/block_meta.py", line 2024, in meta_custom - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: handler(command, storage_config_dict) - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/block_meta.py", line 1586, in raid_handler - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: raise ValueError("devices or container for raid must be specified") - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: ValueError: devices or container for raid must be specified - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: devices or container for raid must be specified - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Stderr: '' - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Running command ['uname', '-a'] with allowed return codes [0] (capture=True) - Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Running command ['sudo', 'lshw'] with allowed return codes [0] (capture=True) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Running command ['ip', '--oneline', 'address', 'list'] with allowed return codes [0] (capture=combine) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Running command ['ip', '--oneline', '-6', 'address', 'list'] with allowed return codes [0] (capture=combine) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Running command ['ip', '--oneline', 'route', 'list'] with allowed return codes [0] (capture=combine) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Running command ['ip', '--oneline', '-6', 'route', 'list'] with allowed return codes [0] (capture=combine) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Running command ['tar', '-cvf', '/var/log/curtin/curtin-error-logs.tar', 'curtin-logs-2022-01-20-08-58'] with allowed return codes [0] (capture=True) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Wrote: /var/log/curtin/curtin-error-logs.tar - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Copying curtin install log from /var/log/curtin/install.log to target//var/log/installer/curtin-install.log - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Skipping unmount: config disabled target unmounting - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: TIMED INSTALL_COMMAND: 3.565 - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: finish: cmd-install: FAIL: curtin command install - Jan 20 08:58:18 ubuntu-server curtin_event.4517.3[4968]: finish: cmd-install: FAIL: curtin command install - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Traceback (most recent call last): - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/main.py", line 202, in main - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: ret = args.func(args) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/log.py", line 97, in wrapper - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: return log_time("TIMED %s: " % msg, func, *args, **kwargs) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/log.py", line 79, in log_time - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: return func(*args, **kwargs) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/install.py", line 479, in cmd_install - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: raise e - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/install.py", line 464, in cmd_install - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: stage.run() - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/install.py", line 246, in run - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: raise util.ProcessExecutionError( - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: curtin.util.ProcessExecutionError: Unexpected error while running command. - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Command: ['curtin', 'block-meta', 'simple'] - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Exit code: 3 - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Reason: - - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Stdout: start: cmd-install/stage-partitioning/builtin/cmd-block-meta: curtin command block-meta - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: get_path_to_storage_volume for volume partition-0({'device': 'raid-md126', 'size': 536870912, 'wipe': 'superblock', 'flag': 'boot', 'number': 1, 'preserve': False, 'grub_device': True, 'type': 'partition', 'id': 'partition-0'}) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: get_path_to_storage_volume for volume raid-md126({'name': 'md126', 'raidlevel': 'raid1', 'devices': [], 'spare_devices': [], 'preserve': True, 'wipe': 'superblock', 'ptable': 'gpt', 'container': 'raid-md127', 'type': 'raid', 'id': 'raid-md126'}) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Running command ['partprobe', '/dev/md126'] with allowed return codes [0, 1] (capture=False) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: TIMED udevadm_settle(): 0.141 - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: devsync happy - path /dev/md126 now exists - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: return volume path /dev/md126 - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: get_path_to_storage_volume for volume partition-1({'device': 'raid-md126', 'size': 1073741824, 'wipe': 'superblock', 'flag': '', 'number': 2, 'preserve': False, 'grub_device': False, 'type': 'partition', 'id': 'partition-1'}) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: get_path_to_storage_volume for volume raid-md126({'name': 'md126', 'raidlevel': 'raid1', 'devices': [], 'spare_devices': [], 'preserve': True, 'wipe': 'superblock', 'ptable': 'gpt', 'container': 'raid-md127', 'type': 'raid', 'id': 'raid-md126'}) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Running command ['partprobe', '/dev/md126'] with allowed return codes [0, 1] (capture=False) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: TIMED udevadm_settle(): 0.147 - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: devsync happy - path /dev/md126 now exists - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: return volume path /dev/md126 - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: get_path_to_storage_volume for volume partition-2({'device': 'raid-md126', 'size': 112415735808, 'wipe': 'superblock', 'flag': '', 'number': 3, 'preserve': False, 'grub_device': False, 'type': 'partition', 'id': 'partition-2'}) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: get_path_to_storage_volume for volume raid-md126({'name': 'md126', 'raidlevel': 'raid1', 'devices': [], 'spare_devices': [], 'preserve': True, 'wipe': 'superblock', 'ptable': 'gpt', 'container': 'raid-md127', 'type': 'raid', 'id': 'raid-md126'}) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Running command ['partprobe', '/dev/md126'] with allowed return codes [0, 1] (capture=False) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: TIMED udevadm_settle(): 0.120 - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: devsync happy - path /dev/md126 now exists - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: return volume path /dev/md126 - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: block-meta: extracted devices to clear: [] - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Declared block devices: [] - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: clearing devices=[] - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: blockmeta: detected storage config, using mode=custom - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring raid: raid-md127 - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: An error occured handling 'raid-md127': ValueError - devices or container for raid must be specified - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring raid: raid-md127 - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: TIMED BLOCK_META: 0.647 - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command block-meta - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Traceback (most recent call last): - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/main.py", line 202, in main - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: ret = args.func(args) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/log.py", line 97, in wrapper - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: return log_time("TIMED %s: " % msg, func, *args, **kwargs) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/log.py", line 79, in log_time - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: return func(*args, **kwargs) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/block_meta.py", line 117, in block_meta - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: return meta_custom(args) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/block_meta.py", line 2024, in meta_custom - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: handler(command, storage_config_dict) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/block_meta.py", line 1586, in raid_handler - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: raise ValueError("devices or container for raid must be specified") - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: ValueError: devices or container for raid must be specified - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: devices or container for raid must be specified - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Stderr: '' - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Unexpected error while running command. - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Command: ['curtin', 'block-meta', 'simple'] - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Exit code: 3 - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Reason: - - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Stdout: start: cmd-install/stage-partitioning/builtin/cmd-block-meta: curtin command block-meta - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: get_path_to_storage_volume for volume partition-0({'device': 'raid-md126', 'size': 536870912, 'wipe': 'superblock', 'flag': 'boot', 'number': 1, 'preserve': False, 'grub_device': True, 'type': 'partition', 'id': 'partition-0'}) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: get_path_to_storage_volume for volume raid-md126({'name': 'md126', 'raidlevel': 'raid1', 'devices': [], 'spare_devices': [], 'preserve': True, 'wipe': 'superblock', 'ptable': 'gpt', 'container': 'raid-md127', 'type': 'raid', 'id': 'raid-md126'}) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Running command ['partprobe', '/dev/md126'] with allowed return codes [0, 1] (capture=False) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: TIMED udevadm_settle(): 0.141 - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: devsync happy - path /dev/md126 now exists - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: return volume path /dev/md126 - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: get_path_to_storage_volume for volume partition-1({'device': 'raid-md126', 'size': 1073741824, 'wipe': 'superblock', 'flag': '', 'number': 2, 'preserve': False, 'grub_device': False, 'type': 'partition', 'id': 'partition-1'}) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: get_path_to_storage_volume for volume raid-md126({'name': 'md126', 'raidlevel': 'raid1', 'devices': [], 'spare_devices': [], 'preserve': True, 'wipe': 'superblock', 'ptable': 'gpt', 'container': 'raid-md127', 'type': 'raid', 'id': 'raid-md126'}) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Running command ['partprobe', '/dev/md126'] with allowed return codes [0, 1] (capture=False) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: TIMED udevadm_settle(): 0.147 - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: devsync happy - path /dev/md126 now exists - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: return volume path /dev/md126 - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: get_path_to_storage_volume for volume partition-2({'device': 'raid-md126', 'size': 112415735808, 'wipe': 'superblock', 'flag': '', 'number': 3, 'preserve': False, 'grub_device': False, 'type': 'partition', 'id': 'partition-2'}) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: get_path_to_storage_volume for volume raid-md126({'name': 'md126', 'raidlevel': 'raid1', 'devices': [], 'spare_devices': [], 'preserve': True, 'wipe': 'superblock', 'ptable': 'gpt', 'container': 'raid-md127', 'type': 'raid', 'id': 'raid-md126'}) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Running command ['partprobe', '/dev/md126'] with allowed return codes [0, 1] (capture=False) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: TIMED udevadm_settle(): 0.120 - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: devsync happy - path /dev/md126 now exists - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: return volume path /dev/md126 - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: block-meta: extracted devices to clear: [] - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Declared block devices: [] - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: clearing devices=[] - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: blockmeta: detected storage config, using mode=custom - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring raid: raid-md127 - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: An error occured handling 'raid-md127': ValueError - devices or container for raid must be specified - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring raid: raid-md127 - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: TIMED BLOCK_META: 0.647 - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command block-meta - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Traceback (most recent call last): - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/main.py", line 202, in main - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: ret = args.func(args) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/log.py", line 97, in wrapper - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: return log_time("TIMED %s: " % msg, func, *args, **kwargs) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/log.py", line 79, in log_time - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: return func(*args, **kwargs) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/block_meta.py", line 117, in block_meta - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: return meta_custom(args) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/block_meta.py", line 2024, in meta_custom - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: handler(command, storage_config_dict) - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/block_meta.py", line 1586, in raid_handler - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: raise ValueError("devices or container for raid must be specified") - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: ValueError: devices or container for raid must be specified - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: devices or container for raid must be specified - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: - Jan 20 08:58:18 ubuntu-server subiquity_log.4517[4968]: Stderr: '' ** Package changed: linux-hwe-5.13 (Ubuntu) => curtin (Ubuntu) ** Tags removed: jammy ** Tags added: vroc -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-hwe-5.13 in Ubuntu. https://bugs.launchpad.net/bugs/1960926 Title: Installation on RAID volume fails - ubuntu 22.04 Status in curtin package in Ubuntu: New Bug description: Installation on RAID volume created in uefi fails with error "ValueError: devices or container for raid must be specified". Syslog contains error log with curtin: Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring raid: raid-md127 Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: An error occured handling 'raid-md127': ValueError - devices or container for raid must be specified Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring raid: raid-md127 Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: TIMED BLOCK_META: 0.647 Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command block-meta Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Traceback (most recent call last): Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/main.py", line 202, in main Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: ret = args.func(args) Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/log.py", line 97, in wrapper Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: return log_time("TIMED %s: " % msg, func, *args, **kwargs) Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/log.py", line 79, in log_time Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: return func(*args, **kwargs) Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/block_meta.py", line 117, in block_meta Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: return meta_custom(args) Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/block_meta.py", line 2024, in meta_custom Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: handler(command, storage_config_dict) Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: File "/snap/subiquity/2974/lib/python3.8/site-packages/curtin/commands/block_meta.py", line 1586, in raid_handler Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: raise ValueError("devices or container for raid must be specified") Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: ValueError: devices or container for raid must be specified Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: devices or container for raid must be specified Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: builtin command failed Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: finish: cmd-install/stage-partitioning/builtin: FAIL: running 'curtin block-meta simple' Jan 20 08:58:16 ubuntu-server curtin_event.4517.3[4968]: finish: cmd-install/stage-partitioning/builtin: FAIL: running 'curtin block-meta simple' Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: builtin took 1.288 seconds Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: stage_partitioning took 1.289 seconds Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: finish: cmd-install/stage-partitioning: FAIL: configuring storage Jan 20 08:58:16 ubuntu-server curtin_event.4517.3[4968]: finish: cmd-install/stage-partitioning: FAIL: configuring storage Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: curtin: Installation failed with exception: Unexpected error while running command. Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Command: ['curtin', 'block-meta', 'simple'] Jan 20 08:58:16 ubuntu-server subiquity_log.4517[4968]: Exit code: 3 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/curtin/+bug/1960926/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp