curtin: Installation started. (21.2-7-gd49d35bc6) start: cmd-install/stage-partitioning/builtin/cmd-block-meta: curtin command block-meta get_path_to_storage_volume for volume mpath-disk-mpatha({'ptable': 'gpt', 'wwn': '0x6005076306ffd6b60000000000002603', 'multipath': 'mpatha', 'path': '/dev/dm-0', 'wipe': 'superblock', 'preserve': False, 'name': '', 'grub_device': False, 'type': 'disk', 'id': 'mpath-disk-mpatha'}) Processing serial 0x6005076306ffd6b60000000000002603 via udev to 0x6005076306ffd6b60000000000002603 lookup_disks found: ['wwn-0x6005076306ffd6b60000000000002603', 'wwn-0x6005076306ffd6b60000000000002603-part2', 'wwn-0x6005076306ffd6b60000000000002603-part1'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) /dev/dm-0 is multipath device? True Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) block.lookup_disk() returning path /dev/mapper/mpatha Running command ['partprobe', '/dev/mapper/mpatha'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpatha1 part1-mpath-36005076306ffd6b60000000000002603 failed: Device or resource busy device-mapper: create ioctl on mpatha2 part2-mpath-36005076306ffd6b60000000000002603 failed: Device or resource busy Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.099 devsync happy - path /dev/mapper/mpatha now exists return volume path /dev/mapper/mpatha get_path_to_storage_volume for volume partition-0({'device': 'mpath-disk-mpatha', 'size': 1073741824, 'wipe': 'superblock', 'flag': '', 'number': 1, 'preserve': False, 'grub_device': False, 'type': 'partition', 'id': 'partition-0'}) get_path_to_storage_volume for volume mpath-disk-mpatha({'ptable': 'gpt', 'wwn': '0x6005076306ffd6b60000000000002603', 'multipath': 'mpatha', 'path': '/dev/dm-0', 'wipe': 'superblock', 'preserve': False, 'name': '', 'grub_device': False, 'type': 'disk', 'id': 'mpath-disk-mpatha'}) Processing serial 0x6005076306ffd6b60000000000002603 via udev to 0x6005076306ffd6b60000000000002603 lookup_disks found: ['wwn-0x6005076306ffd6b60000000000002603', 'wwn-0x6005076306ffd6b60000000000002603-part2', 'wwn-0x6005076306ffd6b60000000000002603-part1'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) /dev/dm-0 is multipath device? True Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) block.lookup_disk() returning path /dev/mapper/mpatha Running command ['partprobe', '/dev/mapper/mpatha'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpatha1 part1-mpath-36005076306ffd6b60000000000002603 failed: Device or resource busy device-mapper: create ioctl on mpatha2 part2-mpath-36005076306ffd6b60000000000002603 failed: Device or resource busy Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.149 devsync happy - path /dev/mapper/mpatha now exists return volume path /dev/mapper/mpatha Running command ['partprobe', '/dev/mapper/mpatha'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpatha1 part1-mpath-36005076306ffd6b60000000000002603 failed: Device or resource busy device-mapper: create ioctl on mpatha2 part2-mpath-36005076306ffd6b60000000000002603 failed: Device or resource busy Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.140 devsync happy - path /dev/mapper/mpatha now exists return volume path /dev/mapper/mpatha-part1 get_path_to_storage_volume for volume partition-1({'device': 'mpath-disk-mpatha', 'size': 67643637760, 'wipe': 'superblock', 'flag': '', 'number': 2, 'preserve': False, 'grub_device': False, 'type': 'partition', 'id': 'partition-1'}) get_path_to_storage_volume for volume mpath-disk-mpatha({'ptable': 'gpt', 'wwn': '0x6005076306ffd6b60000000000002603', 'multipath': 'mpatha', 'path': '/dev/dm-0', 'wipe': 'superblock', 'preserve': False, 'name': '', 'grub_device': False, 'type': 'disk', 'id': 'mpath-disk-mpatha'}) Processing serial 0x6005076306ffd6b60000000000002603 via udev to 0x6005076306ffd6b60000000000002603 lookup_disks found: ['wwn-0x6005076306ffd6b60000000000002603', 'wwn-0x6005076306ffd6b60000000000002603-part2', 'wwn-0x6005076306ffd6b60000000000002603-part1'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) /dev/dm-0 is multipath device? True Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) block.lookup_disk() returning path /dev/mapper/mpatha Running command ['partprobe', '/dev/mapper/mpatha'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpatha1 part1-mpath-36005076306ffd6b60000000000002603 failed: Device or resource busy device-mapper: create ioctl on mpatha2 part2-mpath-36005076306ffd6b60000000000002603 failed: Device or resource busy Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.180 devsync happy - path /dev/mapper/mpatha now exists return volume path /dev/mapper/mpatha Running command ['partprobe', '/dev/mapper/mpatha'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpatha1 part1-mpath-36005076306ffd6b60000000000002603 failed: Device or resource busy device-mapper: create ioctl on mpatha2 part2-mpath-36005076306ffd6b60000000000002603 failed: Device or resource busy Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.119 devsync happy - path /dev/mapper/mpatha now exists return volume path /dev/mapper/mpatha-part2 block-meta: extracted devices to clear: ['/dev/mapper/mpatha', '/dev/mapper/mpatha-part1', '/dev/mapper/mpatha-part2'] Declared block devices: ['/dev/mapper/mpatha', '/dev/mapper/mpatha-part1', '/dev/mapper/mpatha-part2'] clearing devices=['/dev/mapper/mpatha', '/dev/mapper/mpatha-part1', '/dev/mapper/mpatha-part2'] 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: Cannot assemble mbr metadata on /dev/sdd mdadm: Cannot assemble mbr metadata on /dev/sdc mdadm: no recogniseable superblock on /dev/dm-2 mdadm: no recogniseable superblock on /dev/dm-1 mdadm: Cannot assemble mbr metadata on /dev/dm-0 mdadm: Cannot assemble mbr metadata on /dev/sdb mdadm: Cannot assemble mbr metadata on /dev/sda mdadm: no recogniseable superblock on /dev/loop8 mdadm: no recogniseable superblock on /dev/loop7 mdadm: no recogniseable superblock on /dev/loop6 mdadm: no recogniseable superblock on /dev/loop5 mdadm: no recogniseable superblock on /dev/loop4 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.032 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) multipath: dmsetup ls output: mpatha (dm-0) mpatha-part2 (dm-2) mpatha-part1 (dm-1) 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.028 Loading kernel module bcache via modprobe Running command ['modprobe', '--use-blacklist', 'bcache'] with allowed return codes [0] (capture=False) Loading kernel module zfs via modprobe Running command ['modprobe', '--use-blacklist', 'zfs'] with allowed return codes [0] (capture=False) zfs filesystem is not supported in this environment Generating device storage trees for path(s): ['/dev/mapper/mpatha', '/dev/mapper/mpatha-part1', '/dev/mapper/mpatha-part2'] devname '/sys/class/block/dm-0' had holders: ['dm-1', 'dm-2'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) /dev/dm-0 is multipath device partition? False Running command ['dmsetup', 'info', '/dev/dm-0', '-C', '-o', 'uuid', '--noheadings'] with allowed return codes [0] (capture=True) Running command ['dmsetup', 'info', '/dev/dm-0', '-C', '-o', 'uuid', '--noheadings'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) /dev/dm-0 is multipath device partition? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) /dev/dm-0 is multipath device partition? False devname '/sys/class/block/dm-1' had holders: [] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) /dev/dm-1 is multipath device partition? True devname '/sys/class/block/dm-2' had holders: [] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-2'] with allowed return codes [0] (capture=True) /dev/dm-2 is multipath device partition? True devname '/sys/class/block/dm-1' had holders: [] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) /dev/dm-1 is multipath device partition? True devname '/sys/class/block/dm-2' had holders: [] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-2'] with allowed return codes [0] (capture=True) /dev/dm-2 is multipath device partition? True Current device storage tree: dm-0 |-- dm-1 `-- dm-2 dm-1 dm-2 Shutdown Plan: {'level': 3, 'device': '/sys/class/block/dm-1', 'dev_type': 'partition'} {'level': 3, 'device': '/sys/class/block/dm-2', 'dev_type': 'partition'} {'level': 1, 'device': '/sys/class/block/dm-0', 'dev_type': 'disk'} shutdown running on holder type: 'partition' syspath: '/sys/class/block/dm-1' Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) 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/dm-0'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "dm-0": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "dm-0", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "253:0", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "mpatha", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "256", "SIZE": "68719476736", "STATE": "running", "TYPE": "mpath", "UUID": "", "device_path": "/dev/dm-0" }, "dm-1": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "ext4", "GROUP": "disk", "KNAME": "dm-1", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "253:1", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "mpatha-part1", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "128", "SIZE": "1073741824", "STATE": "running", "TYPE": "part", "UUID": "f5e747f3-78f8-4c65-b553-1f28d1f06144", "device_path": "/dev/dm-1" }, "dm-2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "crypto_LUKS", "GROUP": "disk", "KNAME": "dm-2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "253:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "mpatha-part2", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "128", "SIZE": "67643637760", "STATE": "running", "TYPE": "part", "UUID": "4a18f162-2011-48d6-8760-7c178a06f13c", "device_path": "/dev/dm-2" } } get_blockdev_sector_size: (log=512, phys=512) Checking if /dev/dm-1 is a swap device Found swap magic: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) /dev/dm-1 is multipath device? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) /dev/dm-1 is multipath device member? False wiping superblock on /dev/dm-1 wiping /dev/dm-1 attempt 1/4 wiping 1M on /dev/dm-1 at offsets [0, -1048576] successfully wiped device /dev/dm-1 on attempt 1/4 shutdown running on holder type: 'partition' syspath: '/sys/class/block/dm-2' Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-2'] with allowed return codes [0] (capture=True) 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/dm-0'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "dm-0": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "dm-0", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "253:0", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "mpatha", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "256", "SIZE": "68719476736", "STATE": "running", "TYPE": "mpath", "UUID": "", "device_path": "/dev/dm-0" }, "dm-1": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "ext4", "GROUP": "disk", "KNAME": "dm-1", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "253:1", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "mpatha-part1", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "128", "SIZE": "1073741824", "STATE": "running", "TYPE": "part", "UUID": "f5e747f3-78f8-4c65-b553-1f28d1f06144", "device_path": "/dev/dm-1" }, "dm-2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "crypto_LUKS", "GROUP": "disk", "KNAME": "dm-2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "253:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "mpatha-part2", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "128", "SIZE": "67643637760", "STATE": "running", "TYPE": "part", "UUID": "4a18f162-2011-48d6-8760-7c178a06f13c", "device_path": "/dev/dm-2" } } get_blockdev_sector_size: (log=512, phys=512) Checking if /dev/dm-2 is a swap device Found swap magic: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-2'] with allowed return codes [0] (capture=True) /dev/dm-2 is multipath device? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-2'] with allowed return codes [0] (capture=True) /dev/dm-2 is multipath device member? False wiping superblock on /dev/dm-2 wiping /dev/dm-2 attempt 1/4 wiping 1M on /dev/dm-2 at offsets [0, -1048576] successfully wiped device /dev/dm-2 on attempt 1/4 shutdown running on holder type: 'disk' syspath: '/sys/class/block/dm-0' Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) 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/dm-0'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "dm-0": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "dm-0", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "253:0", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "mpatha", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "256", "SIZE": "68719476736", "STATE": "running", "TYPE": "mpath", "UUID": "", "device_path": "/dev/dm-0" }, "dm-1": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "dm-1", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "253:1", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "mpatha-part1", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "128", "SIZE": "1073741824", "STATE": "running", "TYPE": "part", "UUID": "f5e747f3-78f8-4c65-b553-1f28d1f06144", "device_path": "/dev/dm-1" }, "dm-2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "crypto_LUKS", "GROUP": "disk", "KNAME": "dm-2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "253:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "mpatha-part2", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "128", "SIZE": "67643637760", "STATE": "running", "TYPE": "part", "UUID": "4a18f162-2011-48d6-8760-7c178a06f13c", "device_path": "/dev/dm-2" } } get_blockdev_sector_size: (log=512, phys=512) Checking if /dev/dm-0 is a swap device Found swap magic: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) /dev/dm-0 is multipath device? True Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) Running command ['dmsetup', 'ls', '-o', 'blkdevname'] with allowed return codes [0] (capture=True) multipath: dmsetup ls output: mpatha (dm-0) mpatha-part2 (dm-2) mpatha-part1 (dm-1) multipath: removing multipath partition: mpatha-part2 Running command ['dmsetup', 'remove', '--force', '--retry', 'mpatha-part2'] with allowed return codes [0] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.020 multipath: removing multipath partition: mpatha-part1 Running command ['dmsetup', 'remove', '--force', '--retry', 'mpatha-part1'] with allowed return codes [0] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.030 Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) /dev/dm-0 is multipath device member? False wiping superblock on /dev/dm-0 wiping /dev/dm-0 attempt 1/4 wiping 1M on /dev/dm-0 at offsets [0, -1048576] successfully wiped device /dev/dm-0 on attempt 1/4 block.sys_block_path: devname /dev/mapper/mpatha-part1 does not exist block.sys_block_path: devname /dev/mapper/mpatha-part2 does not exist devname '/sys/class/block/dm-0' had holders: [] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) /dev/dm-0 is multipath device partition? False Running command ['dmsetup', 'info', '/dev/dm-0', '-C', '-o', 'uuid', '--noheadings'] with allowed return codes [0] (capture=True) Running command ['dmsetup', 'info', '/dev/dm-0', '-C', '-o', 'uuid', '--noheadings'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) /dev/dm-0 is multipath device partition? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) /dev/dm-0 is multipath device partition? False 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: mpath-disk-mpatha get_path_to_storage_volume for volume mpath-disk-mpatha({'ptable': 'gpt', 'wwn': '0x6005076306ffd6b60000000000002603', 'multipath': 'mpatha', 'path': '/dev/dm-0', 'wipe': 'superblock', 'preserve': False, 'name': '', 'grub_device': False, 'type': 'disk', 'id': 'mpath-disk-mpatha'}) Processing serial 0x6005076306ffd6b60000000000002603 via udev to 0x6005076306ffd6b60000000000002603 lookup_disks found: ['wwn-0x6005076306ffd6b60000000000002603'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) /dev/dm-0 is multipath device? True Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) block.lookup_disk() returning path /dev/mapper/mpatha Running command ['partprobe', '/dev/mapper/mpatha'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.060 devsync happy - path /dev/mapper/mpatha now exists return volume path /dev/mapper/mpatha wiping 1M on /dev/mapper/mpatha at offsets [0, -1048576] labeling device: '/dev/mapper/mpatha' with 'gpt' partition table wiping 1M on /dev/mapper/mpatha at offsets [0, -1048576] devname '/dev/mapper/mpatha' had holders: [] finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring disk: mpath-disk-mpatha start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring partition: partition-0 get_path_to_storage_volume for volume mpath-disk-mpatha({'ptable': 'gpt', 'wwn': '0x6005076306ffd6b60000000000002603', 'multipath': 'mpatha', 'path': '/dev/dm-0', 'wipe': 'superblock', 'preserve': False, 'name': '', 'grub_device': False, 'type': 'disk', 'id': 'mpath-disk-mpatha'}) Processing serial 0x6005076306ffd6b60000000000002603 via udev to 0x6005076306ffd6b60000000000002603 lookup_disks found: ['wwn-0x6005076306ffd6b60000000000002603'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) /dev/dm-0 is multipath device? True Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) block.lookup_disk() returning path /dev/mapper/mpatha Running command ['partprobe', '/dev/mapper/mpatha'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.059 devsync happy - path /dev/mapper/mpatha now exists return volume path /dev/mapper/mpatha 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/mapper/mpatha'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "dm-0": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "dm-0", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "253:0", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "mpatha", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "256", "SIZE": "68719476736", "STATE": "running", "TYPE": "mpath", "UUID": "", "device_path": "/dev/dm-0" } } get_blockdev_sector_size: (log=512, phys=512) dm-0 logical_block_size_bytes: 512 adding partition 'partition-0' to disk 'mpath-disk-mpatha' (ptable: 'gpt') partnum: 1 offset_sectors: 2048 length_sectors: 2097151 Preparing partition location on disk /dev/mapper/mpatha Wiping 1M on /dev/mapper/mpatha at offset 1048576 Running command ['sgdisk', '--new', '1:2048:2099199', '--typecode=1:8300', '/dev/mapper/mpatha'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'info', '--query=property', '--export', '/dev/mapper/mpatha'] with allowed return codes [0] (capture=True) /dev/mapper/mpatha is multipath device? True Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.029 Running command ['kpartx', '-v', '-a', '-s', '-p', '-part', '/dev/mapper/mpatha'] with allowed return codes [0] (capture=False) add map mpatha-part1 (253:1): 0 2097152 linear 253:0 2048 TIMED udevadm_settle(exists='/dev/mapper/mpatha-part1'): 0.000 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring partition: partition-0 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring format: format-0 get_path_to_storage_volume for volume partition-0({'device': 'mpath-disk-mpatha', 'size': 1073741824, 'wipe': 'superblock', 'flag': '', 'number': 1, 'preserve': False, 'grub_device': False, 'type': 'partition', 'id': 'partition-0'}) get_path_to_storage_volume for volume mpath-disk-mpatha({'ptable': 'gpt', 'wwn': '0x6005076306ffd6b60000000000002603', 'multipath': 'mpatha', 'path': '/dev/dm-0', 'wipe': 'superblock', 'preserve': False, 'name': '', 'grub_device': False, 'type': 'disk', 'id': 'mpath-disk-mpatha'}) Processing serial 0x6005076306ffd6b60000000000002603 via udev to 0x6005076306ffd6b60000000000002603 lookup_disks found: ['wwn-0x6005076306ffd6b60000000000002603', 'wwn-0x6005076306ffd6b60000000000002603-part1'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) /dev/dm-0 is multipath device? True Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) block.lookup_disk() returning path /dev/mapper/mpatha Running command ['partprobe', '/dev/mapper/mpatha'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpatha1 part1-mpath-36005076306ffd6b60000000000002603 failed: Device or resource busy Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.130 devsync happy - path /dev/mapper/mpatha now exists return volume path /dev/mapper/mpatha Running command ['partprobe', '/dev/mapper/mpatha'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpatha1 part1-mpath-36005076306ffd6b60000000000002603 failed: Device or resource busy Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.110 devsync happy - path /dev/mapper/mpatha now exists return volume path /dev/mapper/mpatha-part1 mkfs /dev/mapper/mpatha-part1 info: {'fstype': 'ext4', 'volume': 'partition-0', 'preserve': False, 'type': 'format', 'id': 'format-0'} 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/mapper/mpatha-part1'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "dm-1": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "dm-1", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "253:1", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "mpatha-part1", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "128", "SIZE": "1073741824", "STATE": "running", "TYPE": "part", "UUID": "", "device_path": "/dev/dm-1" } } get_blockdev_sector_size: (log=512, phys=512) Running command ['mkfs.ext4', '-F', '-U', 'eaf307d7-4e1d-4d2a-8fe8-f23243683404', '/dev/mapper/mpatha-part1'] with allowed return codes [0] (capture=True) Formated device type: partition finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring format: format-0 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring partition: partition-1 get_path_to_storage_volume for volume mpath-disk-mpatha({'ptable': 'gpt', 'wwn': '0x6005076306ffd6b60000000000002603', 'multipath': 'mpatha', 'path': '/dev/dm-0', 'wipe': 'superblock', 'preserve': False, 'name': '', 'grub_device': False, 'type': 'disk', 'id': 'mpath-disk-mpatha'}) Processing serial 0x6005076306ffd6b60000000000002603 via udev to 0x6005076306ffd6b60000000000002603 lookup_disks found: ['wwn-0x6005076306ffd6b60000000000002603', 'wwn-0x6005076306ffd6b60000000000002603-part1'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) /dev/dm-0 is multipath device? True Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) block.lookup_disk() returning path /dev/mapper/mpatha Running command ['partprobe', '/dev/mapper/mpatha'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpatha1 part1-mpath-36005076306ffd6b60000000000002603 failed: Device or resource busy Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.099 devsync happy - path /dev/mapper/mpatha now exists return volume path /dev/mapper/mpatha 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/mapper/mpatha'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "dm-0": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "dm-0", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "253:0", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "mpatha", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "256", "SIZE": "68719476736", "STATE": "running", "TYPE": "mpath", "UUID": "", "device_path": "/dev/dm-0" }, "dm-1": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "ext4", "GROUP": "disk", "KNAME": "dm-1", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "253:1", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "mpatha-part1", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "128", "SIZE": "1073741824", "STATE": "running", "TYPE": "part", "UUID": "eaf307d7-4e1d-4d2a-8fe8-f23243683404", "device_path": "/dev/dm-1" } } get_blockdev_sector_size: (log=512, phys=512) dm-0 logical_block_size_bytes: 512 previous partition number for 'partition-1' found to be '1' Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) partition_kname=dm-1 Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) /dev/dm-1 is multipath device? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) /dev/dm-1 is multipath device partition? True Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) Running command ['dmsetup', 'table', '--target', 'linear', 'mpatha-part1'] with allowed return codes [0] (capture=True) calc_partition_info: dm-1 size_sectors=2097152 start_sectors=2048 adding partition 'partition-1' to disk 'mpath-disk-mpatha' (ptable: 'gpt') partnum: 2 offset_sectors: 2099200 length_sectors: 132116479 Preparing partition location on disk /dev/mapper/mpatha Wiping 1M on /dev/mapper/mpatha at offset 1074790400 Running command ['sgdisk', '--new', '2:2099200:134215679', '--typecode=2:8300', '/dev/mapper/mpatha'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'info', '--query=property', '--export', '/dev/mapper/mpatha'] with allowed return codes [0] (capture=True) /dev/mapper/mpatha is multipath device? True Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.017 Running command ['kpartx', '-v', '-a', '-s', '-p', '-part', '/dev/mapper/mpatha'] with allowed return codes [0] (capture=False) add map mpatha-part1 (253:1): 0 2097152 linear 253:0 2048 add map mpatha-part2 (253:2): 0 132116480 linear 253:0 2099200 TIMED udevadm_settle(exists='/dev/mapper/mpatha-part2'): 0.000 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring partition: partition-1 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring dm_crypt: dm_crypt-0 get_path_to_storage_volume for volume partition-1({'device': 'mpath-disk-mpatha', 'size': 67643637760, 'wipe': 'superblock', 'flag': '', 'number': 2, 'preserve': False, 'grub_device': False, 'type': 'partition', 'id': 'partition-1'}) get_path_to_storage_volume for volume mpath-disk-mpatha({'ptable': 'gpt', 'wwn': '0x6005076306ffd6b60000000000002603', 'multipath': 'mpatha', 'path': '/dev/dm-0', 'wipe': 'superblock', 'preserve': False, 'name': '', 'grub_device': False, 'type': 'disk', 'id': 'mpath-disk-mpatha'}) Processing serial 0x6005076306ffd6b60000000000002603 via udev to 0x6005076306ffd6b60000000000002603 lookup_disks found: ['wwn-0x6005076306ffd6b60000000000002603', 'wwn-0x6005076306ffd6b60000000000002603-part2', 'wwn-0x6005076306ffd6b60000000000002603-part1'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) /dev/dm-0 is multipath device? True Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) block.lookup_disk() returning path /dev/mapper/mpatha Running command ['partprobe', '/dev/mapper/mpatha'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpatha1 part1-mpath-36005076306ffd6b60000000000002603 failed: Device or resource busy device-mapper: create ioctl on mpatha2 part2-mpath-36005076306ffd6b60000000000002603 failed: Device or resource busy Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.160 devsync happy - path /dev/mapper/mpatha now exists return volume path /dev/mapper/mpatha Running command ['partprobe', '/dev/mapper/mpatha'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpatha1 part1-mpath-36005076306ffd6b60000000000002603 failed: Device or resource busy device-mapper: create ioctl on mpatha2 part2-mpath-36005076306ffd6b60000000000002603 failed: Device or resource busy Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.170 devsync happy - path /dev/mapper/mpatha now exists return volume path /dev/mapper/mpatha-part2 Checking if zkey encryption is supported... Skipping kernel module load, pkey already loaded Running command ['zkey', 'generate', '/tmp/tmp5ortqgw5'] with allowed return codes [0] (capture=True) zkey encryption supported. Attempting to setup zkey for None:dm_crypt-0 Running command ['zkey', 'generate', '--xts', '--volume-type', 'luks2', '--sector-size', '4096', '--name', 'dm_crypt-0', '--description', 'curtin generated zkey for None:dm_crypt-0', '--volumes', 'None:dm_crypt-0'] with allowed return codes [0] (capture=True) Unexpected error while running command. Command: ['zkey', 'generate', '--xts', '--volume-type', 'luks2', '--sector-size', '4096', '--name', 'dm_crypt-0', '--description', 'curtin generated zkey for None:dm_crypt-0', '--volumes', 'None:dm_crypt-0'] Exit code: 1 Reason: - Stdout: '' Stderr: zkey: Volume 'None' is not a block device or is not available Traceback (most recent call last): File "/snap/subiquity/2499/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 1445, in dm_crypt_handler util.subp(gen_cmd, capture=True) File "/snap/subiquity/2499/lib/python3.6/site-packages/curtin/util.py", line 275, in subp return _subp(*args, **kwargs) File "/snap/subiquity/2499/lib/python3.6/site-packages/curtin/util.py", line 141, in _subp cmd=args) curtin.util.ProcessExecutionError: Unexpected error while running command. Command: ['zkey', 'generate', '--xts', '--volume-type', 'luks2', '--sector-size', '4096', '--name', 'dm_crypt-0', '--description', 'curtin generated zkey for None:dm_crypt-0', '--volumes', 'None:dm_crypt-0'] Exit code: 1 Reason: - Stdout: '' Stderr: zkey: Volume 'None' is not a block device or is not available Setup of zkey on /dev/mapper/mpatha-part2 failed, fallback to cryptsetup. Using cryptsetup on /dev/mapper/mpatha-part2 Running command ['cryptsetup', 'luksFormat', '/dev/mapper/mpatha-part2', '/tmp/luks-key-pbmir09h'] with allowed return codes [0] (capture=False) Running command ['cryptsetup', 'open', '--type', 'luks', '/dev/mapper/mpatha-part2', 'dm_crypt-0', '--key-file', '/tmp/luks-key-pbmir09h'] with allowed return codes [0] (capture=False) Running command ['blkid', '-o', 'export', '/dev/mapper/mpatha-part2'] with allowed return codes [0] (capture=True) finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring dm_crypt: dm_crypt-0 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring lvm_volgroup: lvm_volgroup-0 get_path_to_storage_volume for volume dm_crypt-0({'volume': 'partition-1', 'keyfile': '/tmp/luks-key-pbmir09h', 'preserve': False, 'type': 'dm_crypt', 'id': 'dm_crypt-0'}) Running command ['partprobe', '/dev/mapper/dm_crypt-0'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.040 devsync happy - path /dev/mapper/dm_crypt-0 now exists return volume path /dev/mapper/dm_crypt-0 Running command ['vgcreate', '--force', '--zero=y', '--yes', 'ubuntu-vg', '/dev/mapper/dm_crypt-0'] with allowed return codes [0] (capture=True) Running command ['pvscan'] with allowed return codes [0] (capture=True) Running command ['vgscan'] with allowed return codes [0] (capture=True) finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring lvm_volgroup: lvm_volgroup-0 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring lvm_partition: lvm_partition-0 Running command ['lvcreate', 'ubuntu-vg', '--name', 'ubuntu-lv', '--zero=y', '--wipesignatures=y', '--yes', '--size', '33812381696.0B'] with allowed return codes [0] (capture=False) Rounding up size to full physical extent 31.49 GiB Logical volume "ubuntu-lv" created. Running command ['pvscan'] with allowed return codes [0] (capture=True) Running command ['vgscan'] with allowed return codes [0] (capture=True) get_path_to_storage_volume for volume lvm_partition-0({'name': 'ubuntu-lv', 'volgroup': 'lvm_volgroup-0', 'size': '33812381696B', 'wipe': 'superblock', 'preserve': False, 'type': 'lvm_partition', 'id': 'lvm_partition-0'}) Running command ['partprobe', '/dev/ubuntu-vg/ubuntu-lv'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.050 devsync happy - path /dev/ubuntu-vg/ubuntu-lv now exists return volume path /dev/ubuntu-vg/ubuntu-lv Wiping logical volume /dev/ubuntu-vg/ubuntu-lv mode=superblock wiping 1M on /dev/ubuntu-vg/ubuntu-lv at offsets [0, -1048576] get_path_to_storage_volume for volume lvm_partition-0({'name': 'ubuntu-lv', 'volgroup': 'lvm_volgroup-0', 'size': '33812381696B', 'wipe': 'superblock', 'preserve': False, 'type': 'lvm_partition', 'id': 'lvm_partition-0'}) Running command ['partprobe', '/dev/ubuntu-vg/ubuntu-lv'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.040 devsync happy - path /dev/ubuntu-vg/ubuntu-lv now exists return volume path /dev/ubuntu-vg/ubuntu-lv Running command ['udevadm', 'info', '--query=property', '--export', '/dev/ubuntu-vg/ubuntu-lv'] with allowed return codes [0] (capture=True) Creating dname udev rule '['SUBSYSTEM=="block"', 'ACTION=="add|change"', 'ENV{DM_NAME}=="ubuntu--vg-ubuntu--lv"', 'SYMLINK+="disk/by-dname/ubuntu--vg-ubuntu--lv"\n']' finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring lvm_partition: lvm_partition-0 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring format: format-1 get_path_to_storage_volume for volume lvm_partition-0({'name': 'ubuntu-lv', 'volgroup': 'lvm_volgroup-0', 'size': '33812381696B', 'wipe': 'superblock', 'preserve': False, 'type': 'lvm_partition', 'id': 'lvm_partition-0'}) Running command ['partprobe', '/dev/ubuntu-vg/ubuntu-lv'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.040 devsync happy - path /dev/ubuntu-vg/ubuntu-lv now exists return volume path /dev/ubuntu-vg/ubuntu-lv mkfs /dev/ubuntu-vg/ubuntu-lv info: {'fstype': 'ext4', 'volume': 'lvm_partition-0', 'preserve': False, 'type': 'format', 'id': 'format-1'} 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/ubuntu-vg/ubuntu-lv'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "dm-4": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "dm-4", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "253:4", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "ubuntu--vg-ubuntu--lv", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "128", "SIZE": "33814478848", "STATE": "running", "TYPE": "lvm", "UUID": "", "device_path": "/dev/dm-4" } } get_blockdev_sector_size: (log=512, phys=512) Running command ['mkfs.ext4', '-F', '-U', '8e1922d2-b0ab-43a0-a4ac-1f75b4956525', '/dev/ubuntu-vg/ubuntu-lv'] with allowed return codes [0] (capture=True) Formated device type: lvm_partition finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring format: format-1 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring mount: mount-1 get_path_to_storage_volume for volume lvm_partition-0({'name': 'ubuntu-lv', 'volgroup': 'lvm_volgroup-0', 'size': '33812381696B', 'wipe': 'superblock', 'preserve': False, 'type': 'lvm_partition', 'id': 'lvm_partition-0'}) Running command ['partprobe', '/dev/ubuntu-vg/ubuntu-lv'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.029 devsync happy - path /dev/ubuntu-vg/ubuntu-lv now exists return volume path /dev/ubuntu-vg/ubuntu-lv volume_path=/dev/ubuntu-vg/ubuntu-lv found slaves: ['sdd', 'sdb', 'sdc', 'sda'] kname_is_iscsi: no iscsi disk found for kname dm-4 kname_is_iscsi: no iscsi disk found for kname sdd kname_is_iscsi: no iscsi disk found for kname sdb kname_is_iscsi: no iscsi disk found for kname sdc kname_is_iscsi: no iscsi disk found for kname sda Running command ['mount', '-t', 'ext4', '-o', 'defaults', '/dev/ubuntu-vg/ubuntu-lv', '/target/'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'info', '--query=property', '--export', '/dev/ubuntu-vg/ubuntu-lv'] with allowed return codes [0] (capture=True) 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/ubuntu-vg/ubuntu-lv'] with allowed return codes [0] (capture=True) volspec: path=/dev/ubuntu-vg/ubuntu-lv type=lvm info[DEVLINKS] = ['/dev/disk/by-id/dm-name-ubuntu--vg-ubuntu--lv', '/dev/ubuntu-vg/ubuntu-lv', '/dev/disk/by-id/dm-uuid-LVM-pKOP5UHW0yE40i2HxlMDHh50fjFU3vvgL9cchI7x7XZxQDo97bvb1VTcGsI03ZS3', '/dev/disk/by-uuid/8e1922d2-b0ab-43a0-a4ac-1f75b4956525', '/dev/mapper/ubuntu--vg-ubuntu--lv'] finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring mount: mount-1 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring mount: mount-0 get_path_to_storage_volume for volume partition-0({'device': 'mpath-disk-mpatha', 'size': 1073741824, 'wipe': 'superblock', 'flag': '', 'number': 1, 'preserve': False, 'grub_device': False, 'type': 'partition', 'id': 'partition-0'}) get_path_to_storage_volume for volume mpath-disk-mpatha({'ptable': 'gpt', 'wwn': '0x6005076306ffd6b60000000000002603', 'multipath': 'mpatha', 'path': '/dev/dm-0', 'wipe': 'superblock', 'preserve': False, 'name': '', 'grub_device': False, 'type': 'disk', 'id': 'mpath-disk-mpatha'}) Processing serial 0x6005076306ffd6b60000000000002603 via udev to 0x6005076306ffd6b60000000000002603 lookup_disks found: ['wwn-0x6005076306ffd6b60000000000002603', 'wwn-0x6005076306ffd6b60000000000002603-part2', 'wwn-0x6005076306ffd6b60000000000002603-part1'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) /dev/dm-0 is multipath device? True Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True) block.lookup_disk() returning path /dev/mapper/mpatha Running command ['partprobe', '/dev/mapper/mpatha'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpatha1 part1-mpath-36005076306ffd6b60000000000002603 failed: Device or resource busy device-mapper: create ioctl on mpatha2 part2-mpath-36005076306ffd6b60000000000002603 failed: Device or resource busy Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.140 devsync happy - path /dev/mapper/mpatha now exists return volume path /dev/mapper/mpatha Running command ['partprobe', '/dev/mapper/mpatha'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpatha1 part1-mpath-36005076306ffd6b60000000000002603 failed: Device or resource busy device-mapper: create ioctl on mpatha2 part2-mpath-36005076306ffd6b60000000000002603 failed: Device or resource busy Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.160 devsync happy - path /dev/mapper/mpatha now exists return volume path /dev/mapper/mpatha-part1 volume_path=/dev/mapper/mpatha-part1 found slaves: ['sdd', 'sdb', 'sdc', 'sda'] kname_is_iscsi: no iscsi disk found for kname dm-1 kname_is_iscsi: no iscsi disk found for kname sdd kname_is_iscsi: no iscsi disk found for kname sdb kname_is_iscsi: no iscsi disk found for kname sdc kname_is_iscsi: no iscsi disk found for kname sda Running command ['mount', '-t', 'ext4', '-o', 'defaults', '/dev/mapper/mpatha-part1', '/target/boot'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'info', '--query=property', '--export', '/dev/mapper/mpatha-part1'] with allowed return codes [0] (capture=True) 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/mapper/mpatha-part1'] with allowed return codes [0] (capture=True) volspec: path=/dev/mapper/mpatha-part1 type=part info[DEVLINKS] = ['/dev/mapper/mpatha-part1', '/dev/disk/by-id/wwn-0x6005076306ffd6b60000000000002603-part1', '/dev/disk/by-id/dm-uuid-part1-mpath-36005076306ffd6b60000000000002603', '/dev/disk/by-id/dm-name-mpatha-part1', '/dev/disk/by-uuid/eaf307d7-4e1d-4d2a-8fe8-f23243683404', '/dev/disk/by-partuuid/26b3b25d-983d-4853-9b1d-8dac7c6a9612'] finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring mount: mount-0 TIMED BLOCK_META: 19.228 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: curtin command block-meta start: cmd-install/stage-extract/builtin/cmd-extract: curtin command extract unknown type for url 'cp:///media/filesystem', assuming type 'tgz' Installing sources: [{'type': 'tgz', 'uri': 'cp:///media/filesystem'}] to target at /target start: cmd-install/stage-extract/builtin/cmd-extract: acquiring and extracting image from cp:///media/filesystem Running command ['sh', '-c', 'mkdir -p "$2" && cd "$2" && rsync -aXHAS --one-file-system "$1/" .', '--', '/media/filesystem', '/target'] with allowed return codes [0] (capture=False) finish: cmd-install/stage-extract/builtin/cmd-extract: SUCCESS: acquiring and extracting image from cp:///media/filesystem Applying write_files from config. finish: cmd-install/stage-extract/builtin/cmd-extract: SUCCESS: curtin command extract + '[' -z /target ']' + PY=/snap/subiquity/2499/usr/bin/python3 + HAS_NETWORK=true + /snap/subiquity/2499/usr/bin/python3 -m curtin apt-config start: cmd-install/stage-curthooks/001-configure-apt/cmd-apt-config: curtin command apt-config Handling apt to target /target with config {'preserve_sources_list': False, 'primary': [{'arches': ['amd64', 'i386'], 'uri': 'http://archive.ubuntu.com/ubuntu'}, {'arches': ['default'], 'uri': 'http://ports.ubuntu.com/ubuntu-ports'}]} Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['unshare', '--help'] with allowed return codes [0] (capture=True) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'lsb_release', '--all'] with allowed return codes [0] (capture=True) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg', '--print-architecture'] with allowed return codes [0] (capture=True) got primary mirror: http://ports.ubuntu.com/ubuntu-ports got security mirror: None Apt Mirror info: {'PRIMARY': 'http://ports.ubuntu.com/ubuntu-ports', 'SECURITY': 'http://ports.ubuntu.com/ubuntu-ports', 'MIRROR': 'http://ports.ubuntu.com/ubuntu-ports'} debconf_selections was not set in config Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg', '--print-architecture'] with allowed return codes [0] (capture=True) No custom template provided, fall back to modifymirrors in /etc/apt/sources.list on the target system Expected mirror 'http://ports.ubuntu.com/ubuntu-ports' not found in: # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb $MIRROR/ impish main restricted # deb-src $MIRROR/ impish main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb $MIRROR/ impish-updates main restricted # deb-src $MIRROR/ impish-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb $MIRROR/ impish universe # deb-src $MIRROR/ impish universe deb $MIRROR/ impish-updates universe # deb-src $MIRROR/ impish-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb $MIRROR/ impish multiverse # deb-src $MIRROR/ impish multiverse deb $MIRROR/ impish-updates multiverse # deb-src $MIRROR/ impish-updates multiverse ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb $MIRROR/ impish-backports main restricted universe multiverse # deb-src $MIRROR/ impish-backports main restricted universe multiverse ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. # deb http://archive.canonical.com/ubuntu impish partner # deb-src http://archive.canonical.com/ubuntu impish partner deb $MIRROR/ impish-security main restricted # deb-src $MIRROR/ impish-security main restricted deb $MIRROR/ impish-security universe # deb-src $MIRROR/ impish-security universe deb $MIRROR/ impish-security multiverse # deb-src $MIRROR/ impish-security multiverse Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg-query', '--show', '--showformat', '${Version}', 'cloud-init'] with allowed return codes [0] (capture=True) Set preserve_sources_list to True in /etc/cloud/cloud.cfg.d/curtin-preserve-sources.cfg with: {'apt': {'preserve_sources_list': True}} Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg', '--print-architecture'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.015 Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) finish: cmd-install/stage-curthooks/001-configure-apt/cmd-apt-config: SUCCESS: curtin command apt-config + setup_overlay /target/etc/apt + local dir=/target/etc/apt ++ mktemp -d + local t=/tmp/tmp.Bb1uGkduXL + mkdir /tmp/tmp.Bb1uGkduXL/work /tmp/tmp.Bb1uGkduXL/upper + mount -t overlay overlay -o lowerdir=/target/etc/apt,workdir=/tmp/tmp.Bb1uGkduXL/work,upperdir=/tmp/tmp.Bb1uGkduXL/upper /target/etc/apt + mkdir -p /target/cdrom + mount --bind /cdrom /target/cdrom + '[' true = true ']' + mv /target/etc/apt/sources.list /target/etc/apt/sources.list.d/original.list + cat ++ lsb_release -sc + /snap/subiquity/2499/usr/bin/python3 -m curtin in-target -- apt-get update start: cmd-install/stage-curthooks/001-configure-apt/cmd-in-target: curtin command in-target Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['unshare', '--help'] with allowed return codes [0] (capture=True) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'apt-get', 'update'] with allowed return codes [0] (capture=False) Get:1 file:/cdrom impish InRelease Ign:1 file:/cdrom impish InRelease Get:2 file:/cdrom impish Release [856 B] Get:3 http://ports.ubuntu.com/ubuntu-ports impish InRelease [269 kB] Get:2 file:/cdrom impish Release [856 B] Get:4 file:/cdrom impish Release.gpg [833 B] Get:4 file:/cdrom impish Release.gpg [833 B] Hit:5 http://ports.ubuntu.com/ubuntu-ports impish-updates InRelease Get:6 http://ports.ubuntu.com/ubuntu-ports impish-backports InRelease [90.7 kB] Hit:7 http://ports.ubuntu.com/ubuntu-ports impish-security InRelease Get:8 file:/cdrom impish/main s390x Packages [19.4 kB] Ign:8 file:/cdrom impish/main s390x Packages Get:8 file:/cdrom impish/main s390x Packages [19.4 kB] Get:9 http://ports.ubuntu.com/ubuntu-ports impish/main s390x Packages [1342 kB] Get:10 http://ports.ubuntu.com/ubuntu-ports impish/main Translation-en [513 kB] Get:11 http://ports.ubuntu.com/ubuntu-ports impish/restricted s390x Packages [3744 B] Get:12 http://ports.ubuntu.com/ubuntu-ports impish/restricted Translation-en [12.4 kB] Get:13 http://ports.ubuntu.com/ubuntu-ports impish/restricted s390x c-n-f Metadata [108 B] Get:14 http://ports.ubuntu.com/ubuntu-ports impish/universe s390x Packages [12.5 MB] Get:15 http://ports.ubuntu.com/ubuntu-ports impish/universe Translation-en [5466 kB] Get:16 http://ports.ubuntu.com/ubuntu-ports impish/universe s390x c-n-f Metadata [256 kB] Get:17 http://ports.ubuntu.com/ubuntu-ports impish/multiverse s390x Packages [158 kB] Get:18 http://ports.ubuntu.com/ubuntu-ports impish/multiverse Translation-en [110 kB] Get:19 http://ports.ubuntu.com/ubuntu-ports impish/multiverse s390x c-n-f Metadata [6000 B] Get:20 http://ports.ubuntu.com/ubuntu-ports impish-updates/restricted s390x c-n-f Metadata [116 B] Get:21 http://ports.ubuntu.com/ubuntu-ports impish-updates/universe s390x c-n-f Metadata [112 B] Get:22 http://ports.ubuntu.com/ubuntu-ports impish-updates/multiverse s390x c-n-f Metadata [116 B] Get:23 http://ports.ubuntu.com/ubuntu-ports impish-backports/main s390x c-n-f Metadata [112 B] Get:24 http://ports.ubuntu.com/ubuntu-ports impish-backports/restricted s390x c-n-f Metadata [116 B] Get:25 http://ports.ubuntu.com/ubuntu-ports impish-backports/universe s390x c-n-f Metadata [116 B] Get:26 http://ports.ubuntu.com/ubuntu-ports impish-backports/multiverse s390x c-n-f Metadata [116 B] Get:27 http://ports.ubuntu.com/ubuntu-ports impish-security/restricted s390x c-n-f Metadata [116 B] Get:28 http://ports.ubuntu.com/ubuntu-ports impish-security/universe s390x c-n-f Metadata [116 B] Get:29 http://ports.ubuntu.com/ubuntu-ports impish-security/multiverse s390x c-n-f Metadata [116 B] Fetched 20.7 MB in 3s (6915 kB/s) Reading package lists... Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.022 Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) finish: cmd-install/stage-curthooks/001-configure-apt/cmd-in-target: SUCCESS: curtin command in-target start: cmd-install/stage-curthooks/builtin/cmd-curthooks: curtin command curthooks Running curtin builtin curthooks Configuring target system for distro: ubuntu osfamily: debian start: cmd-install/stage-curthooks/builtin/cmd-curthooks/writing-apt-config: configuring apt configuring apt Transferred {'subiquity': ''} into new format: {'preserve_sources_list': False, 'primary': [{'arches': ['amd64', 'i386'], 'uri': 'http://archive.ubuntu.com/ubuntu'}, {'arches': ['default'], 'uri': 'http://ports.ubuntu.com/ubuntu-ports'}], 'debconf_selections': {'subiquity': ''}} curthooks handling apt to target /target with config {'preserve_sources_list': False, 'primary': [{'arches': ['amd64', 'i386'], 'uri': 'http://archive.ubuntu.com/ubuntu'}, {'arches': ['default'], 'uri': 'http://ports.ubuntu.com/ubuntu-ports'}], 'debconf_selections': {'subiquity': ''}} Running command ['unshare', '--help'] with allowed return codes [0] (capture=True) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'lsb_release', '--all'] with allowed return codes [0] (capture=True) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg', '--print-architecture'] with allowed return codes [0] (capture=True) got primary mirror: http://ports.ubuntu.com/ubuntu-ports got security mirror: None Apt Mirror info: {'PRIMARY': 'http://ports.ubuntu.com/ubuntu-ports', 'SECURITY': 'http://ports.ubuntu.com/ubuntu-ports', 'MIRROR': 'http://ports.ubuntu.com/ubuntu-ports'} Applying debconf selections Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'debconf-set-selections'] with allowed return codes [0] (capture=True) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg-query', '--list'] with allowed return codes [0] (capture=True) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg', '--print-architecture'] with allowed return codes [0] (capture=True) No custom template provided, fall back to modifymirrors in /etc/apt/sources.list on the target system Expected mirror 'http://ports.ubuntu.com/ubuntu-ports' not found in: deb [check-date=no] file:///cdrom impish main restricted Expected mirror 'http://ports.ubuntu.com/ubuntu-ports' not found in: deb [check-date=no] file:///cdrom impish main restricted Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg-query', '--show', '--showformat', '${Version}', 'cloud-init'] with allowed return codes [0] (capture=True) Set preserve_sources_list to True in /etc/cloud/cloud.cfg.d/curtin-preserve-sources.cfg with: {'apt': {'preserve_sources_list': True}} Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg', '--print-architecture'] with allowed return codes [0] (capture=True) Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Diverting original update-initramfs in target. Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg-divert', '--add', '--rename', '--divert', '/usr/sbin/update-initramfs.curtin-disabled', '/usr/sbin/update-initramfs'] with allowed return codes [0] (capture=False) Adding 'local diversion of /usr/sbin/update-initramfs to /usr/sbin/update-initramfs.curtin-disabled' Diverting original zipl in target. Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg-divert', '--add', '--rename', '--divert', '/usr/sbin/zipl.curtin-disabled', '/usr/sbin/zipl'] with allowed return codes [0] (capture=False) Adding 'local diversion of /usr/sbin/zipl to /usr/sbin/zipl.curtin-disabled' Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.027 Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/writing-apt-config: SUCCESS: configuring apt configuring apt Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'lsb_release', '--all'] with allowed return codes [0] (capture=True) start: cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-missing-packages: installing missing packages Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg-query', '--list'] with allowed return codes [0] (capture=True) Curtin config dependencies requires additional packages: ['lvm2', 'lvm2', 'e2fsprogs'] Skipping install of {'bridge-utils', 'ifenslave', 'vlan'}. Not needed on netplan system. finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-missing-packages: SUCCESS: installing missing packages start: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-iscsi-service: configuring iscsi service finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-iscsi-service: SUCCESS: configuring iscsi service start: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-mdadm-service: configuring raid (mdadm) service finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-mdadm-service: SUCCESS: configuring raid (mdadm) service start: cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-kernel: installing kernel 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'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-4'] with allowed return codes [0] (capture=True) 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/dm-4'] with allowed return codes [0] (capture=True) volspec: path=/dev/dm-4 type=lvm info[DEVLINKS] = ['/dev/disk/by-uuid/8e1922d2-b0ab-43a0-a4ac-1f75b4956525', '/dev/disk/by-id/dm-uuid-LVM-pKOP5UHW0yE40i2HxlMDHh50fjFU3vvgL9cchI7x7XZxQDo97bvb1VTcGsI03ZS3', '/dev/disk/by-id/dm-name-ubuntu--vg-ubuntu--lv', '/dev/mapper/ubuntu--vg-ubuntu--lv', '/dev/ubuntu-vg/ubuntu-lv'] Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'lsb_release', '--all'] with allowed return codes [0] (capture=True) Running command ['dpkg', '--print-architecture'] with allowed return codes [0] (capture=True) Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'apt-get', '--quiet', '--option=Acquire::Languages=none', '--option=Dir::Etc::sourcelist=/tmp/tmp19h16wdq/sources.list', '--option=Dir::Etc::sourceparts=/tmp/tmp19h16wdq/sources.list.d', 'update'] with allowed return codes [0] (capture=False) Get:1 file:/cdrom impish InRelease Ign:1 file:/cdrom impish InRelease Get:2 file:/cdrom impish Release [856 B] Hit:3 http://ports.ubuntu.com/ubuntu-ports impish InRelease Hit:4 http://ports.ubuntu.com/ubuntu-ports impish-updates InRelease Hit:5 http://ports.ubuntu.com/ubuntu-ports impish-backports InRelease Hit:6 http://ports.ubuntu.com/ubuntu-ports impish-security InRelease Get:2 file:/cdrom impish Release [856 B] Reading package lists... Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.015 Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'eatmydata', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', 'linux-generic'] with allowed return codes [0] (capture=False) Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: crda iw linux-headers-5.11.0-20 linux-headers-5.11.0-20-generic linux-headers-generic linux-image-5.11.0-20-generic linux-image-generic linux-modules-5.11.0-20-generic linux-modules-extra-5.11.0-20-generic wireless-regdb Suggested packages: fdutils linux-doc | linux-source-5.11.0 linux-tools The following NEW packages will be installed: crda iw linux-generic linux-headers-5.11.0-20 linux-headers-5.11.0-20-generic linux-headers-generic linux-image-5.11.0-20-generic linux-image-generic linux-modules-5.11.0-20-generic linux-modules-extra-5.11.0-20-generic wireless-regdb 0 upgraded, 11 newly installed, 0 to remove and 120 not upgraded. Need to get 10.8 kB/42.1 MB of archives. After this operation, 205 MB of additional disk space will be used. Get:1 file:/cdrom impish/main s390x iw s390x 5.9-3 [92.7 kB] Get:2 file:/cdrom impish/main s390x crda s390x 4.14+git20191112.9856751-1 [63.9 kB] Get:3 http://ports.ubuntu.com/ubuntu-ports impish/main s390x wireless-regdb all 2021.07.14-0ubuntu1 [10.8 kB] Get:4 file:/cdrom impish/main s390x linux-modules-5.11.0-20-generic s390x 5.11.0-20.21+21.10.1 [12.0 MB] Get:5 file:/cdrom impish/main s390x linux-image-5.11.0-20-generic s390x 5.11.0-20.21+21.10.1 [9430 kB] Get:6 file:/cdrom impish/main s390x linux-modules-extra-5.11.0-20-generic s390x 5.11.0-20.21+21.10.1 [7247 kB] Get:7 file:/cdrom impish/main s390x linux-image-generic s390x 5.11.0.20.21+21.10.1 [2580 B] Get:8 file:/cdrom impish/main s390x linux-headers-5.11.0-20 all 5.11.0-20.21+21.10.1 [11.6 MB] Get:9 file:/cdrom impish/main s390x linux-headers-5.11.0-20-generic s390x 5.11.0-20.21+21.10.1 [1666 kB] Get:10 file:/cdrom impish/main s390x linux-headers-generic s390x 5.11.0.20.21+21.10.1 [2512 B] Get:11 file:/cdrom impish/main s390x linux-generic s390x 5.11.0.20.21+21.10.1 [1904 B] Fetched 10.8 kB in 1s (17.6 kB/s) E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device) Selecting previously unselected package wireless-regdb. (Reading database ... 29482 files and directories currently installed.) Preparing to unpack .../00-wireless-regdb_2021.07.14-0ubuntu1_all.deb ... Unpacking wireless-regdb (2021.07.14-0ubuntu1) ... Selecting previously unselected package iw. Preparing to unpack .../01-iw_5.9-3_s390x.deb ... Unpacking iw (5.9-3) ... Selecting previously unselected package crda. Preparing to unpack .../02-crda_4.14+git20191112.9856751-1_s390x.deb ... Unpacking crda (4.14+git20191112.9856751-1) ... Selecting previously unselected package linux-modules-5.11.0-20-generic. Preparing to unpack .../03-linux-modules-5.11.0-20-generic_5.11.0-20.21+21.10.1_s390x.deb ... Unpacking linux-modules-5.11.0-20-generic (5.11.0-20.21+21.10.1) ... Selecting previously unselected package linux-image-5.11.0-20-generic. Preparing to unpack .../04-linux-image-5.11.0-20-generic_5.11.0-20.21+21.10.1_s390x.deb ... Unpacking linux-image-5.11.0-20-generic (5.11.0-20.21+21.10.1) ... Selecting previously unselected package linux-modules-extra-5.11.0-20-generic. Preparing to unpack .../05-linux-modules-extra-5.11.0-20-generic_5.11.0-20.21+21.10.1_s390x.deb ... Unpacking linux-modules-extra-5.11.0-20-generic (5.11.0-20.21+21.10.1) ... Selecting previously unselected package linux-image-generic. Preparing to unpack .../06-linux-image-generic_5.11.0.20.21+21.10.1_s390x.deb ... Unpacking linux-image-generic (5.11.0.20.21+21.10.1) ... Selecting previously unselected package linux-headers-5.11.0-20. Preparing to unpack .../07-linux-headers-5.11.0-20_5.11.0-20.21+21.10.1_all.deb ... Unpacking linux-headers-5.11.0-20 (5.11.0-20.21+21.10.1) ... Selecting previously unselected package linux-headers-5.11.0-20-generic. Preparing to unpack .../08-linux-headers-5.11.0-20-generic_5.11.0-20.21+21.10.1_s390x.deb ... Unpacking linux-headers-5.11.0-20-generic (5.11.0-20.21+21.10.1) ... Selecting previously unselected package linux-headers-generic. Preparing to unpack .../09-linux-headers-generic_5.11.0.20.21+21.10.1_s390x.deb ... Unpacking linux-headers-generic (5.11.0.20.21+21.10.1) ... Selecting previously unselected package linux-generic. Preparing to unpack .../10-linux-generic_5.11.0.20.21+21.10.1_s390x.deb ... Unpacking linux-generic (5.11.0.20.21+21.10.1) ... Setting up wireless-regdb (2021.07.14-0ubuntu1) ... Setting up linux-headers-5.11.0-20 (5.11.0-20.21+21.10.1) ... Setting up iw (5.9-3) ... Setting up crda (4.14+git20191112.9856751-1) ... Setting up linux-headers-5.11.0-20-generic (5.11.0-20.21+21.10.1) ... Setting up linux-headers-generic (5.11.0.20.21+21.10.1) ... Setting up linux-image-5.11.0-20-generic (5.11.0-20.21+21.10.1) ... I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.11.0-20-generic I: /boot/initrd.img.old is now a symlink to initrd.img-5.11.0-20-generic I: /boot/vmlinuz is now a symlink to vmlinuz-5.11.0-20-generic I: /boot/initrd.img is now a symlink to initrd.img-5.11.0-20-generic Setting up linux-modules-5.11.0-20-generic (5.11.0-20.21+21.10.1) ... Setting up linux-modules-extra-5.11.0-20-generic (5.11.0-20.21+21.10.1) ... Setting up linux-image-generic (5.11.0.20.21+21.10.1) ... Setting up linux-generic (5.11.0.20.21+21.10.1) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for linux-image-5.11.0-20-generic (5.11.0-20.21+21.10.1) ... /etc/kernel/postinst.d/zz-zipl: Not invoking zipl: initrd doesn't exist yet NEEDRESTART-VER: 3.5 NEEDRESTART-KCUR: 5.11.0-20-generic NEEDRESTART-KEXP: %s NEEDRESTART-KSTA: 3 NEEDRESTART-UCSTA: 0 Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'apt-get', 'clean'] with allowed return codes [0] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.015 Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'zipl'] with allowed return codes [0] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.017 Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) Persisting zdevice configuration in target Running command ['chzdev', '--quiet', '--active', '--online', '--export', '-'] with allowed return codes [0] (capture=True) Running command ['chzdev', '--quiet', '--persistent', '--no-root-update', '--base', '/etc=/target/etc', '--import', '-'] with allowed return codes [0] (capture=True) finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-kernel: SUCCESS: installing kernel start: cmd-install/stage-curthooks/builtin/cmd-curthooks/setting-up-swap: setting up swap Running command ['findmnt', '--noheading', '--target', '/target/', '-o', 'FSTYPE'] with allowed return codes [0] (capture=True) Running command ['sh', '-c', 'rm -f "$1" && umask 0066 && truncate -s 0 "$1" && { chattr +C "$1" || true; } && fallocate -l "${2}M" "$1" && mkswap "$1" || { r=$?; rm -f "$1"; exit $r; }', 'setup_swap', '/target//swap.img', '7592'] with allowed return codes [0] (capture=False) chattr: Operation not supported while setting flags on /target//swap.img Setting up swapspace version 1, size = 7.4 GiB (7960784896 bytes) no label, UUID=619346b5-76d7-4ed1-8f99-12b352153d10 creating swap file '/swap.img' of 7592MB took 0.021 seconds finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/setting-up-swap: SUCCESS: setting up swap start: cmd-install/stage-curthooks/builtin/cmd-curthooks/apply-networking-config: apply networking config copying interfaces finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/apply-networking-config: SUCCESS: apply networking config start: cmd-install/stage-curthooks/builtin/cmd-curthooks/writing-etc-fstab: writing etc/fstab finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/writing-etc-fstab: SUCCESS: writing etc/fstab start: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-multipath: configuring multipath Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop0'] with allowed return codes [0] (capture=True) /dev/loop0 is multipath device? False /dev/loop0 is multipath device partition? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop0'] with allowed return codes [0] (capture=True) /dev/loop0 is multipath device member? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop1'] with allowed return codes [0] (capture=True) /dev/loop1 is multipath device? False /dev/loop1 is multipath device partition? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop1'] with allowed return codes [0] (capture=True) /dev/loop1 is multipath device member? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop3'] with allowed return codes [0] (capture=True) /dev/loop3 is multipath device? False /dev/loop3 is multipath device partition? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop3'] with allowed return codes [0] (capture=True) /dev/loop3 is multipath device member? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop1'] with allowed return codes [0] (capture=True) /dev/loop1 is multipath device? False /dev/loop1 is multipath device partition? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop1'] with allowed return codes [0] (capture=True) /dev/loop1 is multipath device member? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop4'] with allowed return codes [0] (capture=True) /dev/loop4 is multipath device? False /dev/loop4 is multipath device partition? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop4'] with allowed return codes [0] (capture=True) /dev/loop4 is multipath device member? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop6'] with allowed return codes [0] (capture=True) /dev/loop6 is multipath device? False /dev/loop6 is multipath device partition? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop6'] with allowed return codes [0] (capture=True) /dev/loop6 is multipath device member? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop5'] with allowed return codes [0] (capture=True) /dev/loop5 is multipath device? False /dev/loop5 is multipath device partition? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop5'] with allowed return codes [0] (capture=True) /dev/loop5 is multipath device member? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop7'] with allowed return codes [0] (capture=True) /dev/loop7 is multipath device? False /dev/loop7 is multipath device partition? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop7'] with allowed return codes [0] (capture=True) /dev/loop7 is multipath device member? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop8'] with allowed return codes [0] (capture=True) /dev/loop8 is multipath device? False /dev/loop8 is multipath device partition? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/loop8'] with allowed return codes [0] (capture=True) /dev/loop8 is multipath device member? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-4'] with allowed return codes [0] (capture=True) /dev/dm-4 is multipath device? False /dev/dm-4 is multipath device partition? False Running command ['pvdisplay', '-C', '--separator', '=', '--noheadings', '-o', 'vg_name,pv_name'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'info', '--query=property', '--export', '/dev/mapper/dm_crypt-0'] with allowed return codes [0] (capture=True) /dev/mapper/dm_crypt-0 is multipath device member? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-4'] with allowed return codes [0] (capture=True) /dev/dm-4 is multipath device member? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) /dev/dm-1 is multipath device? False /dev/dm-1 is multipath device partition? True Multipath detection found: /dev/dm-1 Detected multipath device. Installing support via ['multipath-tools-boot'] Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg-query', '--list'] with allowed return codes [0] (capture=True) Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'eatmydata', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', 'multipath-tools-boot'] with allowed return codes [0] (capture=False) Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: kpartx kpartx-boot multipath-tools The following NEW packages will be installed: kpartx-boot multipath-tools-boot The following packages will be upgraded: kpartx multipath-tools 2 upgraded, 2 newly installed, 0 to remove and 118 not upgraded. Need to get 373 kB of archives. After this operation, 102 kB of additional disk space will be used. Get:1 http://ports.ubuntu.com/ubuntu-ports impish/main s390x kpartx s390x 0.8.5-2ubuntu2 [30.7 kB] Get:2 http://ports.ubuntu.com/ubuntu-ports impish/main s390x kpartx-boot all 0.8.5-2ubuntu2 [6624 B] Get:3 http://ports.ubuntu.com/ubuntu-ports impish/main s390x multipath-tools s390x 0.8.5-2ubuntu2 [328 kB] Get:4 http://ports.ubuntu.com/ubuntu-ports impish/main s390x multipath-tools-boot all 0.8.5-2ubuntu2 [8026 B] Preconfiguring packages ... Fetched 373 kB in 0s (20.9 MB/s) E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device) (Reading database ... 53370 files and directories currently installed.) Preparing to unpack .../kpartx_0.8.5-2ubuntu2_s390x.deb ... Unpacking kpartx (0.8.5-2ubuntu2) over (0.8.5-1ubuntu6) ... Selecting previously unselected package kpartx-boot. Preparing to unpack .../kpartx-boot_0.8.5-2ubuntu2_all.deb ... Unpacking kpartx-boot (0.8.5-2ubuntu2) ... Preparing to unpack .../multipath-tools_0.8.5-2ubuntu2_s390x.deb ... /usr/sbin/policy-rc.d returned 101, not running 'stop multipathd.socket' Unpacking multipath-tools (0.8.5-2ubuntu2) over (0.8.5-1ubuntu6) ... Selecting previously unselected package multipath-tools-boot. Preparing to unpack .../multipath-tools-boot_0.8.5-2ubuntu2_all.deb ... Unpacking multipath-tools-boot (0.8.5-2ubuntu2) ... Setting up kpartx (0.8.5-2ubuntu2) ... Setting up kpartx-boot (0.8.5-2ubuntu2) ... Setting up multipath-tools (0.8.5-2ubuntu2) ... Running in chroot, ignoring command 'daemon-reload' /usr/sbin/policy-rc.d returned 101, not running 'start multipathd.socket' Running in chroot, ignoring command 'daemon-reload' Running in chroot, ignoring request. invoke-rc.d: policy-rc.d denied execution of restart. Setting up multipath-tools-boot (0.8.5-2ubuntu2) ... Running in chroot, ignoring command 'daemon-reload' Running in chroot, ignoring request. invoke-rc.d: policy-rc.d denied execution of start. Processing triggers for man-db (2.9.4-2) ... Processing triggers for libc-bin (2.33-0ubuntu7) ... NEEDRESTART-VER: 3.5 NEEDRESTART-KCUR: 5.11.0-20-generic NEEDRESTART-KEXP: %s NEEDRESTART-KSTA: 3 NEEDRESTART-UCSTA: 0 Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'apt-get', 'clean'] with allowed return codes [0] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.025 Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg-query', '--show', '--showformat', '${Version}', 'multipath-tools'] with allowed return codes [0] (capture=True) get_package_version: {'epoch': 0, 'major': 0, 'minor': 8, 'micro': 5, 'extra': None, 'raw': '0.8.5-2ubuntu2', 'upstream': '0.8.5', 'name': 'multipath-tools', 'semantic_version': 805} multipath version is 805 (major=0 minor=8 micro=5) 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'] with allowed return codes [0] (capture=True) Running command ['/lib/udev/scsi_id', '--whitelisted', '--device=/dev/dm-4', '--replace-whitespace'] with allowed return codes [0] (capture=True) Failed to get WWID: Unexpected error while running command. Command: ['/lib/udev/scsi_id', '--whitelisted', '--device=/dev/dm-4', '--replace-whitespace'] Exit code: 1 Reason: - Stdout: '' Stderr: '' Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-4'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) /dev/dm-1 is multipath device? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) /dev/dm-1 is multipath device partition? True Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) configuring multipath for root=/dev/mapper/mpatha-part1 wwid=None mpname=mpatha-part1 Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg-divert', '--list'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.022 Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-multipath: SUCCESS: configuring multipath start: cmd-install/stage-curthooks/builtin/cmd-curthooks/system-upgrade: updating packages on target system system_upgrade disabled by config. finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/system-upgrade: SUCCESS: updating packages on target system start: cmd-install/stage-curthooks/builtin/cmd-curthooks/pollinate-user-agent: configuring pollinate user-agent on target finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/pollinate-user-agent: SUCCESS: configuring pollinate user-agent on target Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg-divert', '--list'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.025 Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) start: cmd-install/stage-curthooks/builtin/cmd-curthooks/updating-initramfs-configuration: updating initramfs configuration Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg-divert', '--list'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.021 Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Restoring update-initramfs in target for initrd updates. del_file: removed /target/usr/sbin/update-initramfs Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg-divert', '--rename', '--remove', '/usr/sbin/update-initramfs'] with allowed return codes [0] (capture=False) Removing 'local diversion of /usr/sbin/update-initramfs to /usr/sbin/update-initramfs.curtin-disabled' Restoring zipl in target for initrd updates. del_file: removed /target/usr/sbin/zipl Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg-divert', '--rename', '--remove', '/usr/sbin/zipl'] with allowed return codes [0] (capture=False) Removing 'local diversion of /usr/sbin/zipl to /usr/sbin/zipl.curtin-disabled' Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.022 Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg-divert', '--list'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.030 Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'update-initramfs', '-c', '-k', '5.11.0-20-generic'] with allowed return codes [0] (capture=False) update-initramfs: Generating /boot/initrd.img-5.11.0-20-generic Using config file '/etc/zipl.conf' Run /lib/s390-tools/zipl_helper.device-mapper /boot Building bootmap in '/boot' Adding IPL section 'ubuntu' (default) Preparing boot device: dm-0. Done. Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.025 Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/updating-initramfs-configuration: SUCCESS: updating initramfs configuration start: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-bootloader: configuring target system bootloader finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-bootloader: SUCCESS: configuring target system bootloader finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: SUCCESS: curtin command curthooks start: cmd-install/stage-hook/builtin/cmd-hook: curtin command hook Finalizing /target finish: cmd-install/stage-hook/builtin/cmd-hook: SUCCESS: curtin command hook curtin: Installation finished.