curtin: Installation started. (21.2-0-gd3a86fe93) start: cmd-install/stage-partitioning/builtin/cmd-block-meta: curtin command block-meta get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': '36005076306ffd6b6000000000000260a', 'wwn': '0x6005076306ffd6b6000000000000260a', 'multipath': 'mpathb', 'path': '/dev/sda', 'wipe': 'superblock', 'preserve': False, 'name': '', 'grub_device': False, 'type': 'disk', 'id': 'disk-sda'}) Processing serial 0x6005076306ffd6b6000000000000260a via udev to 0x6005076306ffd6b6000000000000260a lookup_disks found: ['wwn-0x6005076306ffd6b6000000000000260a', 'wwn-0x6005076306ffd6b6000000000000260a-part1', 'wwn-0x6005076306ffd6b6000000000000260a-part2'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) /dev/dm-1 is multipath device? True Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) block.lookup_disk() returning path /dev/mapper/mpathb Running command ['partprobe', '/dev/mapper/mpathb'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpathb1 part1-mpath-36005076306ffd6b6000000000000260a failed: Device or resource busy device-mapper: create ioctl on mpathb2 part2-mpath-36005076306ffd6b6000000000000260a failed: Device or resource busy Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.089 devsync happy - path /dev/mapper/mpathb now exists return volume path /dev/mapper/mpathb get_path_to_storage_volume for volume partition-0({'device': 'disk-sda', 'size': 1073741824, 'wipe': 'superblock', 'flag': '', 'number': 1, 'preserve': False, 'grub_device': False, 'type': 'partition', 'id': 'partition-0'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': '36005076306ffd6b6000000000000260a', 'wwn': '0x6005076306ffd6b6000000000000260a', 'multipath': 'mpathb', 'path': '/dev/sda', 'wipe': 'superblock', 'preserve': False, 'name': '', 'grub_device': False, 'type': 'disk', 'id': 'disk-sda'}) Processing serial 0x6005076306ffd6b6000000000000260a via udev to 0x6005076306ffd6b6000000000000260a lookup_disks found: ['wwn-0x6005076306ffd6b6000000000000260a', 'wwn-0x6005076306ffd6b6000000000000260a-part1', 'wwn-0x6005076306ffd6b6000000000000260a-part2'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) /dev/dm-1 is multipath device? True Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) block.lookup_disk() returning path /dev/mapper/mpathb Running command ['partprobe', '/dev/mapper/mpathb'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpathb1 part1-mpath-36005076306ffd6b6000000000000260a failed: Device or resource busy device-mapper: create ioctl on mpathb2 part2-mpath-36005076306ffd6b6000000000000260a failed: Device or resource busy Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.139 devsync happy - path /dev/mapper/mpathb now exists return volume path /dev/mapper/mpathb Running command ['partprobe', '/dev/mapper/mpathb'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpathb1 part1-mpath-36005076306ffd6b6000000000000260a failed: Device or resource busy device-mapper: create ioctl on mpathb2 part2-mpath-36005076306ffd6b6000000000000260a failed: Device or resource busy Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.150 devsync happy - path /dev/mapper/mpathb now exists return volume path /dev/mapper/mpathb-part1 get_path_to_storage_volume for volume partition-1({'device': 'disk-sda', 'size': 67643637760, 'wipe': 'superblock', 'flag': '', 'number': 2, 'preserve': False, 'grub_device': False, 'type': 'partition', 'id': 'partition-1'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': '36005076306ffd6b6000000000000260a', 'wwn': '0x6005076306ffd6b6000000000000260a', 'multipath': 'mpathb', 'path': '/dev/sda', 'wipe': 'superblock', 'preserve': False, 'name': '', 'grub_device': False, 'type': 'disk', 'id': 'disk-sda'}) Processing serial 0x6005076306ffd6b6000000000000260a via udev to 0x6005076306ffd6b6000000000000260a lookup_disks found: ['wwn-0x6005076306ffd6b6000000000000260a', 'wwn-0x6005076306ffd6b6000000000000260a-part1', 'wwn-0x6005076306ffd6b6000000000000260a-part2'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) /dev/dm-1 is multipath device? True Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) block.lookup_disk() returning path /dev/mapper/mpathb Running command ['partprobe', '/dev/mapper/mpathb'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpathb1 part1-mpath-36005076306ffd6b6000000000000260a failed: Device or resource busy device-mapper: create ioctl on mpathb2 part2-mpath-36005076306ffd6b6000000000000260a 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/mpathb now exists return volume path /dev/mapper/mpathb Running command ['partprobe', '/dev/mapper/mpathb'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpathb1 part1-mpath-36005076306ffd6b6000000000000260a failed: Device or resource busy device-mapper: create ioctl on mpathb2 part2-mpath-36005076306ffd6b6000000000000260a failed: Device or resource busy Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.129 devsync happy - path /dev/mapper/mpathb now exists return volume path /dev/mapper/mpathb-part2 block-meta: extracted devices to clear: ['/dev/mapper/mpathb', '/dev/mapper/mpathb-part1', '/dev/mapper/mpathb-part2'] Declared block devices: ['/dev/mapper/mpathb', '/dev/mapper/mpathb-part1', '/dev/mapper/mpathb-part2'] clearing devices=['/dev/mapper/mpathb', '/dev/mapper/mpathb-part1', '/dev/mapper/mpathb-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: no recogniseable superblock on /dev/sdh mdadm: no recogniseable superblock on /dev/sdg2 mdadm: no recogniseable superblock on /dev/sdg1 mdadm: Cannot assemble mbr metadata on /dev/sdg mdadm: no recogniseable superblock on /dev/sdf mdadm: no recogniseable superblock on /dev/sde2 mdadm: no recogniseable superblock on /dev/sde1 mdadm: Cannot assemble mbr metadata on /dev/sde mdadm: no recogniseable superblock on /dev/dm-3 mdadm: no recogniseable superblock on /dev/dm-2 mdadm: Cannot assemble mbr metadata on /dev/dm-1 mdadm: no recogniseable superblock on /dev/dm-0 mdadm: no recogniseable superblock on /dev/sdc2 mdadm: no recogniseable superblock on /dev/sdc1 mdadm: Cannot assemble mbr metadata on /dev/sdc mdadm: no recogniseable superblock on /dev/sdd mdadm: no recogniseable superblock on /dev/sda2 mdadm: no recogniseable superblock on /dev/sda1 mdadm: Cannot assemble mbr metadata on /dev/sda mdadm: no recogniseable superblock on /dev/sdb 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.013 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: mpathb (dm-1) mpatha (dm-0) mpathb-part2 (dm-3) mpathb-part1 (dm-2) 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.019 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/mpathb', '/dev/mapper/mpathb-part1', '/dev/mapper/mpathb-part2'] devname '/sys/class/block/dm-1' had holders: ['dm-2', 'dm-3'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] 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 partition? False Running command ['dmsetup', 'info', '/dev/dm-1', '-C', '-o', 'uuid', '--noheadings'] with allowed return codes [0] (capture=True) Running command ['dmsetup', 'info', '/dev/dm-1', '-C', '-o', 'uuid', '--noheadings'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] 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 partition? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] 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 partition? False 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) 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-3' had holders: [] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-3'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-3'] with allowed return codes [0] (capture=True) /dev/dm-3 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) 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-3' had holders: [] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-3'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-3'] with allowed return codes [0] (capture=True) /dev/dm-3 is multipath device partition? True Current device storage tree: dm-1 |-- dm-2 `-- dm-3 dm-2 dm-3 Shutdown Plan: {'level': 3, 'device': '/sys/class/block/dm-2', 'dev_type': 'partition'} {'level': 3, 'device': '/sys/class/block/dm-3', 'dev_type': 'partition'} {'level': 1, 'device': '/sys/class/block/dm-1', 'dev_type': 'disk'} 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-1'] 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": "mpathb", "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-1" }, "dm-2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "ext4", "GROUP": "disk", "KNAME": "dm-2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "253:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "mpathb-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": "1bbfd63f-5ce4-4fb1-8f11-bc77783896f4", "device_path": "/dev/dm-2" }, "dm-3": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "crypto_LUKS", "GROUP": "disk", "KNAME": "dm-3", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "253:3", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "mpathb-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": "4bb47900-3ad5-4989-acb2-adeff406fc55", "device_path": "/dev/dm-3" } } 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 ['multipath', '-c', '/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: 'partition' syspath: '/sys/class/block/dm-3' Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-3'] 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-1'] 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": "mpathb", "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-1" }, "dm-2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "ext4", "GROUP": "disk", "KNAME": "dm-2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "253:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "mpathb-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": "1bbfd63f-5ce4-4fb1-8f11-bc77783896f4", "device_path": "/dev/dm-2" }, "dm-3": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "crypto_LUKS", "GROUP": "disk", "KNAME": "dm-3", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "253:3", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "mpathb-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": "4bb47900-3ad5-4989-acb2-adeff406fc55", "device_path": "/dev/dm-3" } } get_blockdev_sector_size: (log=512, phys=512) Checking if /dev/dm-3 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-3'] with allowed return codes [0] (capture=True) /dev/dm-3 is multipath device? False Running command ['multipath', '-c', '/dev/dm-3'] with allowed return codes [0] (capture=True) /dev/dm-3 is multipath device member? False wiping superblock on /dev/dm-3 wiping /dev/dm-3 attempt 1/4 wiping 1M on /dev/dm-3 at offsets [0, -1048576] successfully wiped device /dev/dm-3 on attempt 1/4 shutdown running on holder type: 'disk' 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-1'] 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": "mpathb", "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-1" }, "dm-2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "dm-2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "253:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "mpathb-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": "1bbfd63f-5ce4-4fb1-8f11-bc77783896f4", "device_path": "/dev/dm-2" }, "dm-3": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "crypto_LUKS", "GROUP": "disk", "KNAME": "dm-3", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "253:3", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "mpathb-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": "4bb47900-3ad5-4989-acb2-adeff406fc55", "device_path": "/dev/dm-3" } } 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? True Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) Running command ['dmsetup', 'ls', '-o', 'blkdevname'] with allowed return codes [0] (capture=True) multipath: dmsetup ls output: mpathb (dm-1) mpatha (dm-0) mpathb-part2 (dm-3) mpathb-part1 (dm-2) multipath: removing multipath partition: mpathb-part2 Running command ['dmsetup', 'remove', '--force', '--retry', 'mpathb-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: mpathb-part1 Running command ['dmsetup', 'remove', '--force', '--retry', 'mpathb-part1'] with allowed return codes [0] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.020 Running command ['multipath', '-c', '/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 block.sys_block_path: devname /dev/mapper/mpathb-part1 does not exist block.sys_block_path: devname /dev/mapper/mpathb-part2 does not exist 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) Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) /dev/dm-1 is multipath device partition? False Running command ['dmsetup', 'info', '/dev/dm-1', '-C', '-o', 'uuid', '--noheadings'] with allowed return codes [0] (capture=True) Running command ['dmsetup', 'info', '/dev/dm-1', '-C', '-o', 'uuid', '--noheadings'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] 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 partition? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] 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 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: disk-sda get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': '36005076306ffd6b6000000000000260a', 'wwn': '0x6005076306ffd6b6000000000000260a', 'multipath': 'mpathb', 'path': '/dev/sda', 'wipe': 'superblock', 'preserve': False, 'name': '', 'grub_device': False, 'type': 'disk', 'id': 'disk-sda'}) Processing serial 0x6005076306ffd6b6000000000000260a via udev to 0x6005076306ffd6b6000000000000260a lookup_disks found: ['wwn-0x6005076306ffd6b6000000000000260a', 'wwn-0x6005076306ffd6b6000000000000260a-part1', 'wwn-0x6005076306ffd6b6000000000000260a-part2'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) /dev/dm-1 is multipath device? True Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) block.lookup_disk() returning path /dev/mapper/mpathb Running command ['partprobe', '/dev/mapper/mpathb'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.049 devsync happy - path /dev/mapper/mpathb now exists return volume path /dev/mapper/mpathb wiping 1M on /dev/mapper/mpathb at offsets [0, -1048576] labeling device: '/dev/mapper/mpathb' with 'gpt' partition table wiping 1M on /dev/mapper/mpathb at offsets [0, -1048576] devname '/dev/mapper/mpathb' had holders: [] finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring disk: disk-sda start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring partition: partition-0 get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': '36005076306ffd6b6000000000000260a', 'wwn': '0x6005076306ffd6b6000000000000260a', 'multipath': 'mpathb', 'path': '/dev/sda', 'wipe': 'superblock', 'preserve': False, 'name': '', 'grub_device': False, 'type': 'disk', 'id': 'disk-sda'}) Processing serial 0x6005076306ffd6b6000000000000260a via udev to 0x6005076306ffd6b6000000000000260a lookup_disks found: ['wwn-0x6005076306ffd6b6000000000000260a', 'wwn-0x6005076306ffd6b6000000000000260a-part1', 'wwn-0x6005076306ffd6b6000000000000260a-part2'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) /dev/dm-1 is multipath device? True Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) block.lookup_disk() returning path /dev/mapper/mpathb Running command ['partprobe', '/dev/mapper/mpathb'] 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/mpathb now exists return volume path /dev/mapper/mpathb 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/mpathb'] 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": "mpathb", "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-1" } } get_blockdev_sector_size: (log=512, phys=512) dm-1 logical_block_size_bytes: 512 adding partition 'partition-0' to disk 'disk-sda' (ptable: 'gpt') partnum: 1 offset_sectors: 2048 length_sectors: 2097151 Preparing partition location on disk /dev/mapper/mpathb Wiping 1M on /dev/mapper/mpathb at offset 1048576 Running command ['sgdisk', '--new', '1:2048:2099199', '--typecode=1:8300', '/dev/mapper/mpathb'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'info', '--query=property', '--export', '/dev/mapper/mpathb'] with allowed return codes [0] (capture=True) /dev/mapper/mpathb is multipath device? True Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.013 Running command ['kpartx', '-v', '-a', '-s', '-p', '-part', '/dev/mapper/mpathb'] with allowed return codes [0] (capture=False) add map mpathb-part1 (253:2): 0 2097152 linear 253:1 2048 TIMED udevadm_settle(exists='/dev/mapper/mpathb-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': 'disk-sda', 'size': 1073741824, 'wipe': 'superblock', 'flag': '', 'number': 1, 'preserve': False, 'grub_device': False, 'type': 'partition', 'id': 'partition-0'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': '36005076306ffd6b6000000000000260a', 'wwn': '0x6005076306ffd6b6000000000000260a', 'multipath': 'mpathb', 'path': '/dev/sda', 'wipe': 'superblock', 'preserve': False, 'name': '', 'grub_device': False, 'type': 'disk', 'id': 'disk-sda'}) Processing serial 0x6005076306ffd6b6000000000000260a via udev to 0x6005076306ffd6b6000000000000260a lookup_disks found: ['wwn-0x6005076306ffd6b6000000000000260a', 'wwn-0x6005076306ffd6b6000000000000260a-part1', 'wwn-0x6005076306ffd6b6000000000000260a-part2'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) /dev/dm-1 is multipath device? True Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) block.lookup_disk() returning path /dev/mapper/mpathb Running command ['partprobe', '/dev/mapper/mpathb'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpathb1 part1-mpath-36005076306ffd6b6000000000000260a failed: Device or resource busy Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.109 devsync happy - path /dev/mapper/mpathb now exists return volume path /dev/mapper/mpathb Running command ['partprobe', '/dev/mapper/mpathb'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpathb1 part1-mpath-36005076306ffd6b6000000000000260a 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/mpathb now exists return volume path /dev/mapper/mpathb-part1 mkfs /dev/mapper/mpathb-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/mpathb-part1'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "dm-2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "dm-2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "253:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "mpathb-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-2" } } get_blockdev_sector_size: (log=512, phys=512) Running command ['mkfs.ext4', '-F', '-U', '1996c31a-e597-4e80-a637-4f2a779508da', '/dev/mapper/mpathb-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 disk-sda({'ptable': 'gpt', 'serial': '36005076306ffd6b6000000000000260a', 'wwn': '0x6005076306ffd6b6000000000000260a', 'multipath': 'mpathb', 'path': '/dev/sda', 'wipe': 'superblock', 'preserve': False, 'name': '', 'grub_device': False, 'type': 'disk', 'id': 'disk-sda'}) Processing serial 0x6005076306ffd6b6000000000000260a via udev to 0x6005076306ffd6b6000000000000260a lookup_disks found: ['wwn-0x6005076306ffd6b6000000000000260a', 'wwn-0x6005076306ffd6b6000000000000260a-part1', 'wwn-0x6005076306ffd6b6000000000000260a-part2'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) /dev/dm-1 is multipath device? True Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) block.lookup_disk() returning path /dev/mapper/mpathb Running command ['partprobe', '/dev/mapper/mpathb'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpathb1 part1-mpath-36005076306ffd6b6000000000000260a failed: Device or resource busy Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.089 devsync happy - path /dev/mapper/mpathb now exists return volume path /dev/mapper/mpathb 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/mpathb'] 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": "mpathb", "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-1" }, "dm-2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "ext4", "GROUP": "disk", "KNAME": "dm-2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "253:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "mpathb-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": "1996c31a-e597-4e80-a637-4f2a779508da", "device_path": "/dev/dm-2" } } get_blockdev_sector_size: (log=512, phys=512) dm-1 logical_block_size_bytes: 512 previous partition number for 'partition-1' found to be '1' Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) partition_kname=dm-2 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) 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 Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-2'] with allowed return codes [0] (capture=True) Running command ['dmsetup', 'table', '--target', 'linear', 'mpathb-part1'] with allowed return codes [0] (capture=True) calc_partition_info: dm-2 size_sectors=2097152 start_sectors=2048 adding partition 'partition-1' to disk 'disk-sda' (ptable: 'gpt') partnum: 2 offset_sectors: 2099200 length_sectors: 132116479 Preparing partition location on disk /dev/mapper/mpathb Wiping 1M on /dev/mapper/mpathb at offset 1074790400 Running command ['sgdisk', '--new', '2:2099200:134215679', '--typecode=2:8300', '/dev/mapper/mpathb'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'info', '--query=property', '--export', '/dev/mapper/mpathb'] with allowed return codes [0] (capture=True) /dev/mapper/mpathb is multipath device? True Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.023 Running command ['kpartx', '-v', '-a', '-s', '-p', '-part', '/dev/mapper/mpathb'] with allowed return codes [0] (capture=False) add map mpathb-part1 (253:2): 0 2097152 linear 253:1 2048 add map mpathb-part2 (253:3): 0 132116480 linear 253:1 2099200 TIMED udevadm_settle(exists='/dev/mapper/mpathb-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': 'disk-sda', 'size': 67643637760, 'wipe': 'superblock', 'flag': '', 'number': 2, 'preserve': False, 'grub_device': False, 'type': 'partition', 'id': 'partition-1'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': '36005076306ffd6b6000000000000260a', 'wwn': '0x6005076306ffd6b6000000000000260a', 'multipath': 'mpathb', 'path': '/dev/sda', 'wipe': 'superblock', 'preserve': False, 'name': '', 'grub_device': False, 'type': 'disk', 'id': 'disk-sda'}) Processing serial 0x6005076306ffd6b6000000000000260a via udev to 0x6005076306ffd6b6000000000000260a lookup_disks found: ['wwn-0x6005076306ffd6b6000000000000260a', 'wwn-0x6005076306ffd6b6000000000000260a-part2', 'wwn-0x6005076306ffd6b6000000000000260a-part1'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) /dev/dm-1 is multipath device? True Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) block.lookup_disk() returning path /dev/mapper/mpathb Running command ['partprobe', '/dev/mapper/mpathb'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpathb1 part1-mpath-36005076306ffd6b6000000000000260a failed: Device or resource busy device-mapper: create ioctl on mpathb2 part2-mpath-36005076306ffd6b6000000000000260a failed: Device or resource busy Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.150 devsync happy - path /dev/mapper/mpathb now exists return volume path /dev/mapper/mpathb Running command ['partprobe', '/dev/mapper/mpathb'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpathb1 part1-mpath-36005076306ffd6b6000000000000260a failed: Device or resource busy device-mapper: create ioctl on mpathb2 part2-mpath-36005076306ffd6b6000000000000260a 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/mpathb now exists return volume path /dev/mapper/mpathb-part2 Checking if zkey encryption is supported... Skipping kernel module load, pkey already loaded Running command ['zkey', 'generate', '/tmp/tmpnt45d59m'] with allowed return codes [0] (capture=True) zkey not supported Using cryptsetup on /dev/mapper/mpathb-part2 Running command ['cryptsetup', 'luksFormat', '/dev/mapper/mpathb-part2', '/tmp/luks-key-e55vy3v3'] with allowed return codes [0] (capture=False) Running command ['cryptsetup', 'open', '--type', 'luks', '/dev/mapper/mpathb-part2', 'dm_crypt-0', '--key-file', '/tmp/luks-key-e55vy3v3'] with allowed return codes [0] (capture=False) Running command ['blkid', '-o', 'export', '/dev/mapper/mpathb-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-e55vy3v3', '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.049 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', '--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', '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.039 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', '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.039 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', '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.039 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-5": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "dm-5", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "253:5", "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-5" } } get_blockdev_sector_size: (log=512, phys=512) Running command ['mkfs.ext4', '-F', '-U', '288689a9-116a-4867-93a2-75a963062c61', '/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', '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: ['sdg', 'sde', 'sdc', 'sda'] kname_is_iscsi: no iscsi disk found for kname dm-5 kname_is_iscsi: no iscsi disk found for kname sdg kname_is_iscsi: no iscsi disk found for kname sde 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-uuid/288689a9-116a-4867-93a2-75a963062c61', '/dev/mapper/ubuntu--vg-ubuntu--lv', '/dev/ubuntu-vg/ubuntu-lv', '/dev/disk/by-id/dm-uuid-LVM-wZilMCEJKlgdikVkEQdHhMiC8wYpJXVuDn9HuJvMYqYZu5DCbwb7nmGjMthndwJE', '/dev/disk/by-id/dm-name-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': 'disk-sda', 'size': 1073741824, 'wipe': 'superblock', 'flag': '', 'number': 1, 'preserve': False, 'grub_device': False, 'type': 'partition', 'id': 'partition-0'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'gpt', 'serial': '36005076306ffd6b6000000000000260a', 'wwn': '0x6005076306ffd6b6000000000000260a', 'multipath': 'mpathb', 'path': '/dev/sda', 'wipe': 'superblock', 'preserve': False, 'name': '', 'grub_device': False, 'type': 'disk', 'id': 'disk-sda'}) Processing serial 0x6005076306ffd6b6000000000000260a via udev to 0x6005076306ffd6b6000000000000260a lookup_disks found: ['wwn-0x6005076306ffd6b6000000000000260a', 'wwn-0x6005076306ffd6b6000000000000260a-part2', 'wwn-0x6005076306ffd6b6000000000000260a-part1'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) /dev/dm-1 is multipath device? True Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-1'] with allowed return codes [0] (capture=True) block.lookup_disk() returning path /dev/mapper/mpathb Running command ['partprobe', '/dev/mapper/mpathb'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpathb1 part1-mpath-36005076306ffd6b6000000000000260a failed: Device or resource busy device-mapper: create ioctl on mpathb2 part2-mpath-36005076306ffd6b6000000000000260a 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/mpathb now exists return volume path /dev/mapper/mpathb Running command ['partprobe', '/dev/mapper/mpathb'] with allowed return codes [0, 1] (capture=False) device-mapper: create ioctl on mpathb1 part1-mpath-36005076306ffd6b6000000000000260a failed: Device or resource busy device-mapper: create ioctl on mpathb2 part2-mpath-36005076306ffd6b6000000000000260a failed: Device or resource busy Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.150 devsync happy - path /dev/mapper/mpathb now exists return volume path /dev/mapper/mpathb-part1 volume_path=/dev/mapper/mpathb-part1 found slaves: ['sdg', 'sde', 'sdc', 'sda'] kname_is_iscsi: no iscsi disk found for kname dm-2 kname_is_iscsi: no iscsi disk found for kname sdg kname_is_iscsi: no iscsi disk found for kname sde 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/mpathb-part1', '/target/boot'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'info', '--query=property', '--export', '/dev/mapper/mpathb-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/mpathb-part1'] with allowed return codes [0] (capture=True) volspec: path=/dev/mapper/mpathb-part1 type=part info[DEVLINKS] = ['/dev/disk/by-partuuid/ca1fd1ac-f705-4096-954d-7a1b07ab3891', '/dev/disk/by-id/dm-uuid-part1-mpath-36005076306ffd6b6000000000000260a', '/dev/disk/by-uuid/1996c31a-e597-4e80-a637-4f2a779508da', '/dev/mapper/mpathb-part1', '/dev/disk/by-id/dm-name-mpathb-part1', '/dev/disk/by-id/wwn-0x6005076306ffd6b6000000000000260a-part1'] finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring mount: mount-0 TIMED BLOCK_META: 21.542 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 + mount --bind /run /target/run + '[' -z /target ']' + PY=/snap/subiquity/2278/usr/bin/python3 + HAS_NETWORK=true + /snap/subiquity/2278/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', '/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/ focal main restricted # deb-src $MIRROR/ focal main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb $MIRROR/ focal-updates main restricted # deb-src $MIRROR/ focal-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/ focal universe # deb-src $MIRROR/ focal universe deb $MIRROR/ focal-updates universe # deb-src $MIRROR/ focal-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/ focal multiverse # deb-src $MIRROR/ focal multiverse deb $MIRROR/ focal-updates multiverse # deb-src $MIRROR/ focal-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/ focal-backports main restricted universe multiverse # deb-src $MIRROR/ focal-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 focal partner # deb-src http://archive.canonical.com/ubuntu focal partner deb $MIRROR/ focal-security main restricted # deb-src $MIRROR/ focal-security main restricted deb $MIRROR/ focal-security universe # deb-src $MIRROR/ focal-security universe deb $MIRROR/ focal-security multiverse # deb-src $MIRROR/ focal-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.031 Running command ['umount', '/target/sys'] 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.kUfrNItpYK + mkdir /tmp/tmp.kUfrNItpYK/work /tmp/tmp.kUfrNItpYK/upper + mount -t overlay overlay -o lowerdir=/target/etc/apt,workdir=/tmp/tmp.kUfrNItpYK/work,upperdir=/tmp/tmp.kUfrNItpYK/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/2278/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', '/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 focal InRelease Ign:1 file:/cdrom focal InRelease Get:2 file:/cdrom focal Release [853 B] Get:2 file:/cdrom focal Release [853 B] Get:3 file:/cdrom focal Release.gpg [833 B] Get:3 file:/cdrom focal Release.gpg [833 B] Get:4 file:/cdrom focal/main s390x Packages [12.6 kB] Ign:4 file:/cdrom focal/main s390x Packages Get:4 file:/cdrom focal/main s390x Packages [12.6 kB] Hit:5 http://ports.ubuntu.com/ubuntu-ports focal InRelease Get:6 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [114 kB] Get:7 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease [101 kB] Get:8 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease [114 kB] Get:9 http://ports.ubuntu.com/ubuntu-ports focal/restricted s390x Packages [1300 B] Get:10 http://ports.ubuntu.com/ubuntu-ports focal/restricted Translation-en [6212 B] Get:11 http://ports.ubuntu.com/ubuntu-ports focal/restricted s390x c-n-f Metadata [108 B] Get:12 http://ports.ubuntu.com/ubuntu-ports focal/universe s390x Packages [8224 kB] Get:13 http://ports.ubuntu.com/ubuntu-ports focal/universe Translation-en [5124 kB] Get:14 http://ports.ubuntu.com/ubuntu-ports focal/universe s390x c-n-f Metadata [243 kB] Get:15 http://ports.ubuntu.com/ubuntu-ports focal/multiverse s390x Packages [112 kB] Get:16 http://ports.ubuntu.com/ubuntu-ports focal/multiverse Translation-en [104 kB] Get:17 http://ports.ubuntu.com/ubuntu-ports focal/multiverse s390x c-n-f Metadata [7872 B] Get:18 http://ports.ubuntu.com/ubuntu-ports focal-updates/main s390x Packages [705 kB] Get:19 http://ports.ubuntu.com/ubuntu-ports focal-updates/main Translation-en [245 kB] Get:20 http://ports.ubuntu.com/ubuntu-ports focal-updates/main s390x c-n-f Metadata [13.0 kB] Get:21 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted s390x Packages [2824 B] Get:22 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted Translation-en [52.9 kB] Get:23 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted s390x c-n-f Metadata [116 B] Get:24 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe s390x Packages [657 kB] Get:25 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe Translation-en [176 kB] Get:26 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe s390x c-n-f Metadata [12.4 kB] Get:27 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse s390x Packages [4648 B] Get:28 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse Translation-en [6876 B] Get:29 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse s390x c-n-f Metadata [188 B] Get:30 http://ports.ubuntu.com/ubuntu-ports focal-backports/main s390x Packages [2580 B] Get:31 http://ports.ubuntu.com/ubuntu-ports focal-backports/main Translation-en [1120 B] Get:32 http://ports.ubuntu.com/ubuntu-ports focal-backports/main s390x c-n-f Metadata [400 B] Get:33 http://ports.ubuntu.com/ubuntu-ports focal-backports/restricted s390x c-n-f Metadata [116 B] Get:34 http://ports.ubuntu.com/ubuntu-ports focal-backports/universe s390x Packages [5816 B] Get:35 http://ports.ubuntu.com/ubuntu-ports focal-backports/universe Translation-en [2068 B] Get:36 http://ports.ubuntu.com/ubuntu-ports focal-backports/universe s390x c-n-f Metadata [288 B] Get:37 http://ports.ubuntu.com/ubuntu-ports focal-backports/multiverse s390x c-n-f Metadata [116 B] Get:38 http://ports.ubuntu.com/ubuntu-ports focal-security/main s390x Packages [407 kB] Get:39 http://ports.ubuntu.com/ubuntu-ports focal-security/main Translation-en [155 kB] Get:40 http://ports.ubuntu.com/ubuntu-ports focal-security/main s390x c-n-f Metadata [7332 B] Get:41 http://ports.ubuntu.com/ubuntu-ports focal-security/restricted s390x Packages [2632 B] Get:42 http://ports.ubuntu.com/ubuntu-ports focal-security/restricted Translation-en [47.6 kB] Get:43 http://ports.ubuntu.com/ubuntu-ports focal-security/restricted s390x c-n-f Metadata [116 B] Get:44 http://ports.ubuntu.com/ubuntu-ports focal-security/universe s390x Packages [457 kB] Get:45 http://ports.ubuntu.com/ubuntu-ports focal-security/universe Translation-en [97.8 kB] Get:46 http://ports.ubuntu.com/ubuntu-ports focal-security/universe s390x c-n-f Metadata [6148 B] Get:47 http://ports.ubuntu.com/ubuntu-ports focal-security/multiverse s390x Packages [3052 B] Get:48 http://ports.ubuntu.com/ubuntu-ports focal-security/multiverse Translation-en [5072 B] Get:49 http://ports.ubuntu.com/ubuntu-ports focal-security/multiverse s390x c-n-f Metadata [116 B] Fetched 17.2 MB in 3s (6189 kB/s) Reading package lists... Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.024 Running command ['umount', '/target/sys'] 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 file:///cdrom focal main restricted Expected mirror 'http://ports.ubuntu.com/ubuntu-ports' not found in: deb file:///cdrom focal 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', '/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.025 Running command ['umount', '/target/sys'] 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 {'vlan', 'bridge-utils', 'ifenslave'}. 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 ['blkid', '-o', 'export', '/dev/dm-5'] 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 ['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', '/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/tmpkyu6fmhb/sources.list', '--option=Dir::Etc::sourceparts=/tmp/tmpkyu6fmhb/sources.list.d', 'update'] with allowed return codes [0] (capture=False) Get:1 file:/cdrom focal InRelease Ign:1 file:/cdrom focal InRelease Get:2 file:/cdrom focal Release [853 B] Hit:3 http://ports.ubuntu.com/ubuntu-ports focal InRelease Hit:4 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease Hit:5 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease Hit:6 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease Get:2 file:/cdrom focal Release [853 B] Reading package lists... 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/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', '/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 libnl-3-200 libnl-genl-3-200 linux-headers-5.4.0-80 linux-headers-5.4.0-80-generic linux-headers-generic linux-image-5.4.0-80-generic linux-image-generic linux-modules-5.4.0-80-generic linux-modules-extra-5.4.0-80-generic wireless-regdb Suggested packages: fdutils linux-doc | linux-source-5.4.0 linux-tools The following NEW packages will be installed: crda iw libnl-3-200 libnl-genl-3-200 linux-generic linux-headers-5.4.0-80 linux-headers-5.4.0-80-generic linux-headers-generic linux-image-5.4.0-80-generic linux-image-generic linux-modules-5.4.0-80-generic linux-modules-extra-5.4.0-80-generic wireless-regdb 0 upgraded, 13 newly installed, 0 to remove and 113 not upgraded. Need to get 33.6 MB/33.9 MB of archives. After this operation, 160 MB of additional disk space will be used. Get:1 file:/cdrom focal/main s390x libnl-3-200 s390x 3.4.0-1 [50.3 kB] Get:2 file:/cdrom focal/main s390x libnl-genl-3-200 s390x 3.4.0-1 [10.7 kB] Get:3 file:/cdrom focal/main s390x wireless-regdb all 2020.11.20-0ubuntu1~20.04.1 [10.3 kB] Get:4 file:/cdrom focal/main s390x iw s390x 5.4-1 [87.4 kB] Get:5 http://ports.ubuntu.com/ubuntu-ports focal-updates/main s390x linux-modules-5.4.0-80-generic s390x 5.4.0-80.90 [9415 kB] Get:6 file:/cdrom focal/main s390x crda s390x 3.18-1build1 [63.0 kB] Get:7 http://ports.ubuntu.com/ubuntu-ports focal-updates/main s390x linux-image-5.4.0-80-generic s390x 5.4.0-80.90 [6462 kB] Get:8 http://ports.ubuntu.com/ubuntu-ports focal-updates/main s390x linux-modules-extra-5.4.0-80-generic s390x 5.4.0-80.90 [6183 kB] Get:9 http://ports.ubuntu.com/ubuntu-ports focal-updates/main s390x linux-image-generic s390x 5.4.0.80.84 [2532 B] Get:10 http://ports.ubuntu.com/ubuntu-ports focal-updates/main s390x linux-headers-5.4.0-80 all 5.4.0-80.90 [11.0 MB] Get:11 http://ports.ubuntu.com/ubuntu-ports focal-updates/main s390x linux-headers-5.4.0-80-generic s390x 5.4.0-80.90 [579 kB] Get:12 http://ports.ubuntu.com/ubuntu-ports focal-updates/main s390x linux-headers-generic s390x 5.4.0.80.84 [2436 B] Get:13 http://ports.ubuntu.com/ubuntu-ports focal-updates/main s390x linux-generic s390x 5.4.0.80.84 [1900 B] Fetched 33.6 MB in 1s (59.9 MB/s) E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device) Selecting previously unselected package libnl-3-200:s390x. (Reading database ... 28469 files and directories currently installed.) Preparing to unpack .../00-libnl-3-200_3.4.0-1_s390x.deb ... Unpacking libnl-3-200:s390x (3.4.0-1) ... Selecting previously unselected package libnl-genl-3-200:s390x. Preparing to unpack .../01-libnl-genl-3-200_3.4.0-1_s390x.deb ... Unpacking libnl-genl-3-200:s390x (3.4.0-1) ... Selecting previously unselected package wireless-regdb. Preparing to unpack .../02-wireless-regdb_2020.11.20-0ubuntu1~20.04.1_all.deb ... Unpacking wireless-regdb (2020.11.20-0ubuntu1~20.04.1) ... Selecting previously unselected package iw. Preparing to unpack .../03-iw_5.4-1_s390x.deb ... Unpacking iw (5.4-1) ... Selecting previously unselected package crda. Preparing to unpack .../04-crda_3.18-1build1_s390x.deb ... Unpacking crda (3.18-1build1) ... Selecting previously unselected package linux-modules-5.4.0-80-generic. Preparing to unpack .../05-linux-modules-5.4.0-80-generic_5.4.0-80.90_s390x.deb ... Unpacking linux-modules-5.4.0-80-generic (5.4.0-80.90) ... Selecting previously unselected package linux-image-5.4.0-80-generic. Preparing to unpack .../06-linux-image-5.4.0-80-generic_5.4.0-80.90_s390x.deb ... Unpacking linux-image-5.4.0-80-generic (5.4.0-80.90) ... Selecting previously unselected package linux-modules-extra-5.4.0-80-generic. Preparing to unpack .../07-linux-modules-extra-5.4.0-80-generic_5.4.0-80.90_s390x.deb ... Unpacking linux-modules-extra-5.4.0-80-generic (5.4.0-80.90) ... Selecting previously unselected package linux-image-generic. Preparing to unpack .../08-linux-image-generic_5.4.0.80.84_s390x.deb ... Unpacking linux-image-generic (5.4.0.80.84) ... Selecting previously unselected package linux-headers-5.4.0-80. Preparing to unpack .../09-linux-headers-5.4.0-80_5.4.0-80.90_all.deb ... Unpacking linux-headers-5.4.0-80 (5.4.0-80.90) ... Selecting previously unselected package linux-headers-5.4.0-80-generic. Preparing to unpack .../10-linux-headers-5.4.0-80-generic_5.4.0-80.90_s390x.deb ... Unpacking linux-headers-5.4.0-80-generic (5.4.0-80.90) ... Selecting previously unselected package linux-headers-generic. Preparing to unpack .../11-linux-headers-generic_5.4.0.80.84_s390x.deb ... Unpacking linux-headers-generic (5.4.0.80.84) ... Selecting previously unselected package linux-generic. Preparing to unpack .../12-linux-generic_5.4.0.80.84_s390x.deb ... Unpacking linux-generic (5.4.0.80.84) ... Setting up wireless-regdb (2020.11.20-0ubuntu1~20.04.1) ... Setting up linux-modules-5.4.0-80-generic (5.4.0-80.90) ... Setting up libnl-3-200:s390x (3.4.0-1) ... Setting up linux-headers-5.4.0-80 (5.4.0-80.90) ... Setting up linux-image-5.4.0-80-generic (5.4.0-80.90) ... I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.4.0-80-generic I: /boot/initrd.img.old is now a symlink to initrd.img-5.4.0-80-generic I: /boot/vmlinuz is now a symlink to vmlinuz-5.4.0-80-generic I: /boot/initrd.img is now a symlink to initrd.img-5.4.0-80-generic Setting up linux-headers-5.4.0-80-generic (5.4.0-80.90) ... Setting up libnl-genl-3-200:s390x (3.4.0-1) ... Setting up iw (5.4-1) ... Setting up crda (3.18-1build1) ... Setting up linux-modules-extra-5.4.0-80-generic (5.4.0-80.90) ... Setting up linux-image-generic (5.4.0.80.84) ... Setting up linux-headers-generic (5.4.0.80.84) ... Setting up linux-generic (5.4.0.80.84) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for libc-bin (2.31-0ubuntu9.2) ... Processing triggers for linux-image-5.4.0-80-generic (5.4.0-80.90) ... /etc/kernel/postinst.d/zz-zipl: Not invoking zipl: initrd doesn't exist yet 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.014 Running command ['umount', '/target/sys'] 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', '/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.021 Running command ['umount', '/target/sys'] 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', '4096'] with allowed return codes [0] (capture=False) chattr: Operation not supported while setting flags on /target//swap.img Setting up swapspace version 1, size = 4 GiB (4294963200 bytes) no label, UUID=917e9951-27a6-477e-b567-97a34bfb18fe creating swap file '/swap.img' of 4096MB took 0.013 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 ['multipath', '-c', '/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 ['multipath', '-c', '/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 ['multipath', '-c', '/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 ['multipath', '-c', '/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 ['multipath', '-c', '/dev/loop4'] with allowed return codes [0] (capture=True) /dev/loop4 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 ['multipath', '-c', '/dev/loop5'] with allowed return codes [0] (capture=True) /dev/loop5 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 ['multipath', '-c', '/dev/loop6'] with allowed return codes [0] (capture=True) /dev/loop6 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 ['multipath', '-c', '/dev/loop7'] with allowed return codes [0] (capture=True) /dev/loop7 is multipath device member? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-5'] with allowed return codes [0] (capture=True) /dev/dm-5 is multipath device? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-5'] with allowed return codes [0] (capture=True) /dev/dm-5 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 ['multipath', '-c', '/dev/mapper/dm_crypt-0'] with allowed return codes [0] (capture=True) /dev/mapper/dm_crypt-0 is multipath device member? False Running command ['multipath', '-c', '/dev/dm-5'] with allowed return codes [0] (capture=True) /dev/dm-5 is multipath device member? False 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 partition? True Multipath detection found: /dev/dm-2 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', '/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-boot The following NEW packages will be installed: kpartx-boot multipath-tools-boot 0 upgraded, 2 newly installed, 0 to remove and 113 not upgraded. Need to get 0 B/14.4 kB of archives. After this operation, 111 kB of additional disk space will be used. Get:1 file:/cdrom focal/main s390x kpartx-boot all 0.8.3-1ubuntu2 [6256 B] Get:2 file:/cdrom focal/main s390x multipath-tools-boot all 0.8.3-1ubuntu2 [8112 B] Preconfiguring packages ... E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device) Selecting previously unselected package kpartx-boot. (Reading database ... 51348 files and directories currently installed.) Preparing to unpack .../kpartx-boot_0.8.3-1ubuntu2_all.deb ... Unpacking kpartx-boot (0.8.3-1ubuntu2) ... Selecting previously unselected package multipath-tools-boot. Preparing to unpack .../multipath-tools-boot_0.8.3-1ubuntu2_all.deb ... Unpacking multipath-tools-boot (0.8.3-1ubuntu2) ... Setting up kpartx-boot (0.8.3-1ubuntu2) ... Setting up multipath-tools-boot (0.8.3-1ubuntu2) ... Running in chroot, ignoring request: daemon-reload Running in chroot, ignoring request. invoke-rc.d: policy-rc.d denied execution of start. Processing triggers for systemd (245.4-4ubuntu3.4) ... Running in chroot, ignoring request: daemon-reload 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.022 Running command ['umount', '/target/sys'] 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': 3, 'extra': None, 'raw': '0.8.3-1ubuntu2', 'upstream': '0.8.3', 'name': 'multipath-tools', 'semantic_version': 803} multipath version is 803 (major=0 minor=8 micro=3) 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-5', '--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-5', '--replace-whitespace'] Exit code: 1 Reason: - Stdout: '' Stderr: '' Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-5'] with allowed return codes [0] (capture=True) 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) 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 Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-2'] with allowed return codes [0] (capture=True) configuring multipath for root=/dev/mapper/mpathb-part1 wwid=None mpname=mpathb-part1 Adding multipath filter ( # Modified by curtin for multipath device mpathb-part1 filter = [ "a|/dev/disk/by-id/dm-uuid-.*mpath-.*|", "r|.*|" ]) to lvm.conf 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', '/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.017 Running command ['umount', '/target/sys'] 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', '/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.014 Running command ['umount', '/target/sys'] 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', '/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/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', '/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.021 Running command ['umount', '/target/sys'] 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', '/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.024 Running command ['umount', '/target/sys'] 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', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'update-initramfs', '-c', '-k', '5.4.0-80-generic'] with allowed return codes [0] (capture=False) update-initramfs: Generating /boot/initrd.img-5.4.0-80-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-1. Done. 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/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.