curtin: Installation started. (19.3-56-ga6cd01f01) start: cmd-install/stage-partitioning/builtin/cmd-block-meta: curtin command block-meta get_path_to_storage_volume for volume disk-xvda({'ptable': 'gpt', 'path': '/dev/xvda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'type': 'disk', 'id': 'disk-xvda'}) Running command ['multipath', '-c', '/dev/xvda'] with allowed return codes [0] (capture=True) /dev/xvda is multipath device member? False Running command ['partprobe', '/dev/xvda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.071 devsync happy - path /dev/xvda now exists return volume path /dev/xvda get_path_to_storage_volume for volume partition-5({'device': 'disk-xvda', 'size': 4291821568, 'wipe': 'superblock', 'flag': '', 'number': 2, 'preserve': False, 'type': 'partition', 'id': 'partition-5'}) get_path_to_storage_volume for volume disk-xvda({'ptable': 'gpt', 'path': '/dev/xvda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'type': 'disk', 'id': 'disk-xvda'}) Running command ['multipath', '-c', '/dev/xvda'] with allowed return codes [0] (capture=True) /dev/xvda is multipath device member? False Running command ['partprobe', '/dev/xvda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.084 devsync happy - path /dev/xvda now exists return volume path /dev/xvda block-meta: extracted devices to clear: ['/dev/xvda'] Declared block devices: ['/dev/xvda'] clearing devices=['/dev/xvda'] 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/xvda 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: Cannot assemble mbr metadata 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.040 Detected multipath support, reload maps Running command ['multipath', '-r'] with allowed return codes [0] (capture=False) Verifying /dev/mapper/mpath* files are symlinks Running command ['dmsetup', 'ls', '-o', 'blkdevname'] with allowed return codes [0] (capture=True) Running command ['pvscan', '--config', 'devices{ filter = [ "a|/dev/mapper/mpath.*|", "r|.*|" ] }'] with allowed return codes [0] (capture=True) Running command ['vgscan', '--mknodes', '--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.029 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/xvda'] devname '/sys/class/block/xvda' had holders: [] /sys/class/block/xvda is multipath device partition? False /sys/class/block/xvda is multipath device partition? False /sys/class/block/xvda is multipath device partition? False Current device storage tree: xvda Shutdown Plan: {'level': 0, 'device': '/sys/class/block/xvda', 'dev_type': 'disk'} shutdown running on holder type: 'disk' syspath: '/sys/class/block/xvda' 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/xvda'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "xvda": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "xvda", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "202:0", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "xvda", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "4294967296", "STATE": "Connected", "TYPE": "disk", "UUID": "", "device_path": "/dev/xvda" } } get_blockdev_sector_size: (log=512, phys=512) Running command ['fdasd', '--table', '/dev/xvda'] with allowed return codes [0] (capture=False) Checking if /dev/xvda 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/xvda'] with allowed return codes [0] (capture=True) /dev/xvda is multipath device? False Running command ['multipath', '-c', '/dev/xvda'] with allowed return codes [0] (capture=True) /dev/xvda is multipath device member? False wiping superblock on /dev/xvda wiping /dev/xvda attempt 1/4 wiping 1M on /dev/xvda at offsets [0, -1048576] successfully wiped device /dev/xvda on attempt 1/4 devname '/sys/class/block/xvda' had holders: [] /sys/class/block/xvda is multipath device partition? False /sys/class/block/xvda is multipath device partition? False /sys/class/block/xvda 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-xvda get_path_to_storage_volume for volume disk-xvda({'ptable': 'gpt', 'path': '/dev/xvda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'type': 'disk', 'id': 'disk-xvda'}) Running command ['multipath', '-c', '/dev/xvda'] with allowed return codes [0] (capture=True) /dev/xvda is multipath device member? False Running command ['partprobe', '/dev/xvda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.083 devsync happy - path /dev/xvda now exists return volume path /dev/xvda wiping 1M on /dev/xvda at offsets [0, -1048576] labeling device: '/dev/xvda' with 'gpt' partition table wiping 1M on /dev/xvda at offsets [0, -1048576] devname '/dev/xvda' had holders: [] finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring disk: disk-xvda start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring partition: partition-4 get_path_to_storage_volume for volume disk-xvda({'ptable': 'gpt', 'path': '/dev/xvda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'type': 'disk', 'id': 'disk-xvda'}) Running command ['multipath', '-c', '/dev/xvda'] with allowed return codes [0] (capture=True) /dev/xvda is multipath device member? False Running command ['partprobe', '/dev/xvda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.070 devsync happy - path /dev/xvda now exists return volume path /dev/xvda 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/xvda'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "xvda": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "xvda", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "202:0", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "xvda", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "4294967296", "STATE": "Connected", "TYPE": "disk", "UUID": "", "device_path": "/dev/xvda" } } get_blockdev_sector_size: (log=512, phys=512) xvda logical_block_size_bytes: 512 adding partition 'partition-4' to disk 'disk-xvda' (ptable: 'gpt') partnum: 1 offset_sectors: 2048 length_sectors: 2047 Running command ['sgdisk', '--new', '1:2048:4095', '--typecode=1:ef02', '/dev/xvda'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'info', '--query=property', '--export', '/dev/xvda'] with allowed return codes [0] (capture=True) /dev/xvda is multipath device? False Running command ['blockdev', '--rereadpt', '/dev/xvda'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.194 TIMED udevadm_settle(exists='/dev/xvda1'): 0.000 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring partition: partition-4 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring partition: partition-5 get_path_to_storage_volume for volume disk-xvda({'ptable': 'gpt', 'path': '/dev/xvda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'type': 'disk', 'id': 'disk-xvda'}) Running command ['multipath', '-c', '/dev/xvda'] with allowed return codes [0] (capture=True) /dev/xvda is multipath device member? False Running command ['partprobe', '/dev/xvda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.124 devsync happy - path /dev/xvda now exists return volume path /dev/xvda 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/xvda'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "xvda": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "xvda", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "202:0", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "xvda", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "4294967296", "STATE": "Connected", "TYPE": "disk", "UUID": "", "device_path": "/dev/xvda" }, "xvda1": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "xvda1", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "202:1", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "xvda1", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "1048576", "STATE": "", "TYPE": "part", "UUID": "", "device_path": "/dev/xvda1" } } get_blockdev_sector_size: (log=512, phys=512) xvda logical_block_size_bytes: 512 previous partition number for 'partition-5' found to be '1' partition_kname=xvda1 previous partition: /sys/class/block/xvda/xvda1 size_sectors=2048 start_sectors=2048 adding partition 'partition-5' to disk 'disk-xvda' (ptable: 'gpt') partnum: 2 offset_sectors: 4096 length_sectors: 8382463 Preparing partition location on disk /dev/xvda Wiping 1M on /dev/xvda at offset 2097152 Running command ['sgdisk', '--new', '2:4096:8386559', '--typecode=2:8300', '/dev/xvda'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'info', '--query=property', '--export', '/dev/xvda'] with allowed return codes [0] (capture=True) /dev/xvda is multipath device? False Running command ['blockdev', '--rereadpt', '/dev/xvda'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.225 TIMED udevadm_settle(exists='/dev/xvda2'): 0.000 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring partition: partition-5 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring format: format-2 get_path_to_storage_volume for volume partition-5({'device': 'disk-xvda', 'size': 4291821568, 'wipe': 'superblock', 'flag': '', 'number': 2, 'preserve': False, 'type': 'partition', 'id': 'partition-5'}) get_path_to_storage_volume for volume disk-xvda({'ptable': 'gpt', 'path': '/dev/xvda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'type': 'disk', 'id': 'disk-xvda'}) Running command ['multipath', '-c', '/dev/xvda'] with allowed return codes [0] (capture=True) /dev/xvda is multipath device member? False Running command ['partprobe', '/dev/xvda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.199 devsync happy - path /dev/xvda now exists return volume path /dev/xvda Running command ['partprobe', '/dev/xvda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.190 devsync happy - path /dev/xvda now exists return volume path /dev/xvda2 mkfs /dev/xvda2 info: {'fstype': 'ext4', 'volume': 'partition-5', 'preserve': False, 'type': 'format', 'id': 'format-2'} 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/xvda2'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "xvda2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "0", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "xvda2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "202:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "xvda2", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "0", "RQ-SIZE": "64", "SIZE": "4291821568", "STATE": "", "TYPE": "part", "UUID": "", "device_path": "/dev/xvda2" } } get_blockdev_sector_size: (log=512, phys=512) Running command ['mkfs.ext4', '-F', '-U', 'f2f99043-5bc7-4721-9189-f8754c2e673f', '/dev/xvda2'] with allowed return codes [0] (capture=True) Formated device type: partition finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring format: format-2 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring mount: mount-2 get_path_to_storage_volume for volume partition-5({'device': 'disk-xvda', 'size': 4291821568, 'wipe': 'superblock', 'flag': '', 'number': 2, 'preserve': False, 'type': 'partition', 'id': 'partition-5'}) get_path_to_storage_volume for volume disk-xvda({'ptable': 'gpt', 'path': '/dev/xvda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'type': 'disk', 'id': 'disk-xvda'}) Running command ['multipath', '-c', '/dev/xvda'] with allowed return codes [0] (capture=True) /dev/xvda is multipath device member? False Running command ['partprobe', '/dev/xvda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.255 devsync happy - path /dev/xvda now exists return volume path /dev/xvda Running command ['partprobe', '/dev/xvda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.226 devsync happy - path /dev/xvda now exists return volume path /dev/xvda2 volume_path=/dev/xvda2 found slaves: ['xvda2'] kname_is_iscsi: no iscsi disk found for kname xvda2 kname_is_iscsi: no iscsi disk found for kname xvda2 Running command ['mount', '-t', 'ext4', '-o', 'defaults', '/dev/xvda2', '/target/'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'info', '--query=property', '--export', '/dev/xvda2'] 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/xvda2'] with allowed return codes [0] (capture=True) volspec: path=/dev/xvda2 type=part info[DEVLINKS] = ['/dev/disk/by-partuuid/ad456bdd-4c1e-430b-a865-e7bda7258fbf', '/dev/disk/by-uuid/f2f99043-5bc7-4721-9189-f8754c2e673f'] finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring mount: mount-2 TIMED BLOCK_META: 9.200 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: curtin command block-meta start: cmd-install/stage-network/builtin/cmd-net-meta: curtin command net-meta net-meta mode is 'dhcp'. devices=['eth0'] writing to file /tmp/tmpje7cg69_/state/network_config with network config: network: config: - mac_address: 46:4d:54:76:ff:f8 name: eth0 subnets: - type: dhcp4 type: physical version: 1 finish: cmd-install/stage-network/builtin/cmd-net-meta: SUCCESS: curtin command net-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/1772/usr/bin/python3 + HAS_NETWORK=true + /snap/subiquity/1772/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 {'http_proxy': 'http://kitchensink.fith.priv:3142/', 'https_proxy': 'http://kitchensink.fith.priv:3142/', 'preserve_sources_list': False, 'primary': [{'arches': ['amd64', 'i386'], 'uri': 'http://au.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://au.archive.ubuntu.com/ubuntu got security mirror: None Apt Mirror info: {'PRIMARY': 'http://au.archive.ubuntu.com/ubuntu', 'SECURITY': 'http://au.archive.ubuntu.com/ubuntu', 'MIRROR': 'http://au.archive.ubuntu.com/ubuntu'} 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 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) Renaming apt list /target/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_focal-updates_main_cnf_Commands-amd64 to /target/var/lib/apt/lists/au.archive.ubuntu.com_ubuntu_dists_focal-updates_main_cnf_Commands-amd64 Renaming apt list /target/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_focal_main_i18n_Translation-en to /target/var/lib/apt/lists/au.archive.ubuntu.com_ubuntu_dists_focal_main_i18n_Translation-en Renaming apt list /target/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_focal_main_cnf_Commands-amd64 to /target/var/lib/apt/lists/au.archive.ubuntu.com_ubuntu_dists_focal_main_cnf_Commands-amd64 Renaming apt list /target/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_focal_main_binary-amd64_Packages to /target/var/lib/apt/lists/au.archive.ubuntu.com_ubuntu_dists_focal_main_binary-amd64_Packages Renaming apt list /target/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_focal_InRelease to /target/var/lib/apt/lists/au.archive.ubuntu.com_ubuntu_dists_focal_InRelease Renaming apt list /target/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_focal-updates_InRelease to /target/var/lib/apt/lists/au.archive.ubuntu.com_ubuntu_dists_focal-updates_InRelease Renaming apt list /target/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_focal-security_main_cnf_Commands-amd64 to /target/var/lib/apt/lists/au.archive.ubuntu.com_ubuntu_dists_focal-security_main_cnf_Commands-amd64 Renaming apt list /target/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_focal-security_InRelease to /target/var/lib/apt/lists/au.archive.ubuntu.com_ubuntu_dists_focal-security_InRelease write apt proxy info to /target/etc/apt/apt.conf.d/90curtin-aptproxy Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.091 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.HiVCkdMgek + mkdir /tmp/tmp.HiVCkdMgek/work /tmp/tmp.HiVCkdMgek/upper + mount -t overlay overlay -o lowerdir=/target/etc/apt,workdir=/tmp/tmp.HiVCkdMgek/work,upperdir=/tmp/tmp.HiVCkdMgek/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/1772/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 [3352 B] Get:2 file:/cdrom focal Release [3352 B] Get:3 file:/cdrom focal Release.gpg [819 B] Get:3 file:/cdrom focal Release.gpg [819 B] Get:4 http://au.archive.ubuntu.com/ubuntu focal InRelease [265 kB] Get:5 file:/cdrom focal/main amd64 Packages [21.3 kB] Ign:5 file:/cdrom focal/main amd64 Packages Get:5 file:/cdrom focal/main amd64 Packages [21.3 kB] Get:6 http://au.archive.ubuntu.com/ubuntu focal-updates InRelease [106 kB] Get:7 http://au.archive.ubuntu.com/ubuntu focal-backports InRelease [89.2 kB] Get:8 http://au.archive.ubuntu.com/ubuntu focal-security InRelease [107 kB] Get:9 http://au.archive.ubuntu.com/ubuntu focal/main amd64 Packages [970 kB] Get:10 http://au.archive.ubuntu.com/ubuntu focal/main Translation-en [506 kB] Get:11 http://au.archive.ubuntu.com/ubuntu focal/main amd64 c-n-f Metadata [29.5 kB] Get:12 http://au.archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [22.0 kB] Get:13 http://au.archive.ubuntu.com/ubuntu focal/restricted Translation-en [6212 B] Get:14 http://au.archive.ubuntu.com/ubuntu focal/restricted amd64 c-n-f Metadata [392 B] Get:15 http://au.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8628 kB] Get:16 http://au.archive.ubuntu.com/ubuntu focal/universe Translation-en [5124 kB] Get:17 http://au.archive.ubuntu.com/ubuntu focal/universe amd64 c-n-f Metadata [265 kB] Get:18 http://au.archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [144 kB] Get:19 http://au.archive.ubuntu.com/ubuntu focal/multiverse Translation-en [104 kB] Get:20 http://au.archive.ubuntu.com/ubuntu focal/multiverse amd64 c-n-f Metadata [9136 B] Get:21 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [35.5 kB] Get:22 http://au.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [15.0 kB] Get:23 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [1232 B] Get:24 http://au.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [2948 B] Get:25 http://au.archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [936 B] Get:26 http://au.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [116 B] Get:27 http://au.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [12.3 kB] Get:28 http://au.archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [5676 B] Get:29 http://au.archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [788 B] Get:30 http://au.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [116 B] Get:31 http://au.archive.ubuntu.com/ubuntu focal-backports/main amd64 c-n-f Metadata [112 B] Get:32 http://au.archive.ubuntu.com/ubuntu focal-backports/restricted amd64 c-n-f Metadata [116 B] Get:33 http://au.archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [116 B] Get:34 http://au.archive.ubuntu.com/ubuntu focal-backports/multiverse amd64 c-n-f Metadata [116 B] Get:35 http://au.archive.ubuntu.com/ubuntu focal-security/main amd64 Packages [29.5 kB] Get:36 http://au.archive.ubuntu.com/ubuntu focal-security/main Translation-en [12.2 kB] Get:37 http://au.archive.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [928 B] Get:38 http://au.archive.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [2948 B] Get:39 http://au.archive.ubuntu.com/ubuntu focal-security/restricted Translation-en [936 B] Get:40 http://au.archive.ubuntu.com/ubuntu focal-security/restricted amd64 c-n-f Metadata [116 B] Get:41 http://au.archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages [3576 B] Get:42 http://au.archive.ubuntu.com/ubuntu focal-security/universe Translation-en [3328 B] Get:43 http://au.archive.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [492 B] Get:44 http://au.archive.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [116 B] Fetched 16.5 MB in 4s (4534 kB/s) Reading package lists... Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.022 Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/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: {'http_proxy': 'http://kitchensink.fith.priv:3142/', 'https_proxy': 'http://kitchensink.fith.priv:3142/', 'preserve_sources_list': False, 'primary': [{'arches': ['amd64', 'i386'], 'uri': 'http://au.archive.ubuntu.com/ubuntu'}, {'arches': ['default'], 'uri': 'http://ports.ubuntu.com/ubuntu-ports'}], 'debconf_selections': {'subiquity': ''}} curthooks handling apt to target /target with config {'http_proxy': 'http://kitchensink.fith.priv:3142/', 'https_proxy': 'http://kitchensink.fith.priv:3142/', 'preserve_sources_list': False, 'primary': [{'arches': ['amd64', 'i386'], 'uri': 'http://au.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://au.archive.ubuntu.com/ubuntu got security mirror: None Apt Mirror info: {'PRIMARY': 'http://au.archive.ubuntu.com/ubuntu', 'SECURITY': 'http://au.archive.ubuntu.com/ubuntu', 'MIRROR': 'http://au.archive.ubuntu.com/ubuntu'} 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://archive.ubuntu.com/ubuntu/' not found in: deb file:///cdrom focal main restricted Expected mirror 'http://security.ubuntu.com/ubuntu/' 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) write apt proxy info to /target/etc/apt/apt.conf.d/90curtin-aptproxy 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' 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) 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: ['e2fsprogs'] Skipping install of {'ifenslave', 'vlan', 'bridge-utils'}. 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 ['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/tmp808mu5ks/sources.list', '--option=Dir::Etc::sourceparts=/tmp/tmp808mu5ks/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 [3352 B] Get:2 file:/cdrom focal Release [3352 B] Hit:3 http://au.archive.ubuntu.com/ubuntu focal InRelease Hit:5 http://au.archive.ubuntu.com/ubuntu focal-updates InRelease Hit:6 http://au.archive.ubuntu.com/ubuntu focal-backports InRelease Hit:7 http://au.archive.ubuntu.com/ubuntu focal-security InRelease Reading package lists... Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.013 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: amd64-microcode crda grub-common grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common intel-microcode iucode-tool iw libdbus-glib-1-2 libfreetype6 libnl-3-200 libnl-genl-3-200 linux-firmware linux-headers-5.4.0-28 linux-headers-5.4.0-28-generic linux-headers-generic linux-image-5.4.0-28-generic linux-image-generic linux-modules-5.4.0-28-generic linux-modules-extra-5.4.0-28-generic os-prober thermald wireless-regdb Suggested packages: multiboot-doc grub-emu xorriso desktop-base fdutils linux-doc | linux-source-5.4.0 linux-tools The following NEW packages will be installed: amd64-microcode crda grub-common grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common intel-microcode iucode-tool iw libdbus-glib-1-2 libfreetype6 libnl-3-200 libnl-genl-3-200 linux-firmware linux-generic linux-headers-5.4.0-28 linux-headers-5.4.0-28-generic linux-headers-generic linux-image-5.4.0-28-generic linux-image-generic linux-modules-5.4.0-28-generic linux-modules-extra-5.4.0-28-generic os-prober thermald wireless-regdb 0 upgraded, 26 newly installed, 0 to remove and 9 not upgraded. Need to get 73.9 MB/180 MB of archives. After this operation, 919 MB of additional disk space will be used. Get:1 file:/cdrom focal/main amd64 libnl-3-200 amd64 3.4.0-1 [53.9 kB] Get:2 file:/cdrom focal/main amd64 libnl-genl-3-200 amd64 3.4.0-1 [11.1 kB] Get:3 file:/cdrom focal/main amd64 wireless-regdb all 2018.05.09-0ubuntu1 [11.0 kB] Get:4 file:/cdrom focal/main amd64 iw amd64 5.4-1 [94.0 kB] Get:5 file:/cdrom focal/main amd64 crda amd64 3.18-1build1 [63.5 kB] Get:6 file:/cdrom focal/main amd64 libfreetype6 amd64 2.10.1-2 [341 kB] Get:7 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-modules-5.4.0-28-generic amd64 5.4.0-28.32 [14.3 MB] Get:8 file:/cdrom focal/main amd64 grub-common amd64 2.04-1ubuntu26 [1853 kB] Get:9 file:/cdrom focal/main amd64 grub2-common amd64 2.04-1ubuntu26 [589 kB] Get:10 file:/cdrom focal/main amd64 grub-pc-bin amd64 2.04-1ubuntu26 [969 kB] Get:11 file:/cdrom focal/main amd64 grub-pc amd64 2.04-1ubuntu26 [125 kB] Get:12 file:/cdrom focal/main amd64 grub-gfxpayload-lists amd64 0.7 [3658 B] Get:13 file:/cdrom focal/main amd64 iucode-tool amd64 2.3.1-1 [45.6 kB] Get:14 file:/cdrom focal/main amd64 libdbus-glib-1-2 amd64 0.110-5fakssync1 [59.1 kB] Get:15 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-image-5.4.0-28-generic amd64 5.4.0-28.32 [8870 kB] Get:16 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-modules-extra-5.4.0-28-generic amd64 5.4.0-28.32 [38.6 MB] Get:17 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-image-generic amd64 5.4.0.28.33 [2716 B] Get:18 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.4.0-28 all 5.4.0-28.32 [10.9 MB] Get:19 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.4.0-28-generic amd64 5.4.0-28.32 [1222 kB] Get:20 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-generic amd64 5.4.0.28.33 [2596 B] Get:21 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-generic amd64 5.4.0.28.33 [1896 B] Get:22 file:/cdrom focal/main amd64 linux-firmware all 1.187 [98.7 MB] Get:23 file:/cdrom focal/main amd64 intel-microcode amd64 3.20191115.1ubuntu3 [2408 kB] Get:24 file:/cdrom focal/main amd64 amd64-microcode amd64 3.20191218.1ubuntu1 [31.8 kB] Get:25 file:/cdrom focal/main amd64 os-prober amd64 1.74ubuntu2 [20.1 kB] Get:26 file:/cdrom focal/main amd64 thermald amd64 1.9.1-1build1 [197 kB] Preconfiguring packages ... Fetched 73.9 MB in 2s (36.4 MB/s) E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device) Selecting previously unselected package libnl-3-200:amd64. (Reading database ... 28383 files and directories currently installed.) Preparing to unpack .../00-libnl-3-200_3.4.0-1_amd64.deb ... Unpacking libnl-3-200:amd64 (3.4.0-1) ... Selecting previously unselected package libnl-genl-3-200:amd64. Preparing to unpack .../01-libnl-genl-3-200_3.4.0-1_amd64.deb ... Unpacking libnl-genl-3-200:amd64 (3.4.0-1) ... Selecting previously unselected package wireless-regdb. Preparing to unpack .../02-wireless-regdb_2018.05.09-0ubuntu1_all.deb ... Unpacking wireless-regdb (2018.05.09-0ubuntu1) ... Selecting previously unselected package iw. Preparing to unpack .../03-iw_5.4-1_amd64.deb ... Unpacking iw (5.4-1) ... Selecting previously unselected package crda. Preparing to unpack .../04-crda_3.18-1build1_amd64.deb ... Unpacking crda (3.18-1build1) ... Selecting previously unselected package libfreetype6:amd64. Preparing to unpack .../05-libfreetype6_2.10.1-2_amd64.deb ... Unpacking libfreetype6:amd64 (2.10.1-2) ... Selecting previously unselected package grub-common. Preparing to unpack .../06-grub-common_2.04-1ubuntu26_amd64.deb ... Unpacking grub-common (2.04-1ubuntu26) ... Selecting previously unselected package grub2-common. Preparing to unpack .../07-grub2-common_2.04-1ubuntu26_amd64.deb ... Unpacking grub2-common (2.04-1ubuntu26) ... Selecting previously unselected package grub-pc-bin. Preparing to unpack .../08-grub-pc-bin_2.04-1ubuntu26_amd64.deb ... Unpacking grub-pc-bin (2.04-1ubuntu26) ... Selecting previously unselected package grub-pc. Preparing to unpack .../09-grub-pc_2.04-1ubuntu26_amd64.deb ... Unpacking grub-pc (2.04-1ubuntu26) ... Selecting previously unselected package grub-gfxpayload-lists. Preparing to unpack .../10-grub-gfxpayload-lists_0.7_amd64.deb ... Unpacking grub-gfxpayload-lists (0.7) ... Selecting previously unselected package iucode-tool. Preparing to unpack .../11-iucode-tool_2.3.1-1_amd64.deb ... Unpacking iucode-tool (2.3.1-1) ... Selecting previously unselected package libdbus-glib-1-2:amd64. Preparing to unpack .../12-libdbus-glib-1-2_0.110-5fakssync1_amd64.deb ... Unpacking libdbus-glib-1-2:amd64 (0.110-5fakssync1) ... Selecting previously unselected package linux-firmware. Preparing to unpack .../13-linux-firmware_1.187_all.deb ... Unpacking linux-firmware (1.187) ... Selecting previously unselected package linux-modules-5.4.0-28-generic. Preparing to unpack .../14-linux-modules-5.4.0-28-generic_5.4.0-28.32_amd64.deb ... Unpacking linux-modules-5.4.0-28-generic (5.4.0-28.32) ... Selecting previously unselected package linux-image-5.4.0-28-generic. Preparing to unpack .../15-linux-image-5.4.0-28-generic_5.4.0-28.32_amd64.deb ... Unpacking linux-image-5.4.0-28-generic (5.4.0-28.32) ... Selecting previously unselected package linux-modules-extra-5.4.0-28-generic. Preparing to unpack .../16-linux-modules-extra-5.4.0-28-generic_5.4.0-28.32_amd64.deb ... Unpacking linux-modules-extra-5.4.0-28-generic (5.4.0-28.32) ... Selecting previously unselected package intel-microcode. Preparing to unpack .../17-intel-microcode_3.20191115.1ubuntu3_amd64.deb ... Unpacking intel-microcode (3.20191115.1ubuntu3) ... Selecting previously unselected package amd64-microcode. Preparing to unpack .../18-amd64-microcode_3.20191218.1ubuntu1_amd64.deb ... Unpacking amd64-microcode (3.20191218.1ubuntu1) ... Selecting previously unselected package linux-image-generic. Preparing to unpack .../19-linux-image-generic_5.4.0.28.33_amd64.deb ... Unpacking linux-image-generic (5.4.0.28.33) ... Selecting previously unselected package linux-headers-5.4.0-28. Preparing to unpack .../20-linux-headers-5.4.0-28_5.4.0-28.32_all.deb ... Unpacking linux-headers-5.4.0-28 (5.4.0-28.32) ... Selecting previously unselected package linux-headers-5.4.0-28-generic. Preparing to unpack .../21-linux-headers-5.4.0-28-generic_5.4.0-28.32_amd64.deb ... Unpacking linux-headers-5.4.0-28-generic (5.4.0-28.32) ... Selecting previously unselected package linux-headers-generic. Preparing to unpack .../22-linux-headers-generic_5.4.0.28.33_amd64.deb ... Unpacking linux-headers-generic (5.4.0.28.33) ... Selecting previously unselected package linux-generic. Preparing to unpack .../23-linux-generic_5.4.0.28.33_amd64.deb ... Unpacking linux-generic (5.4.0.28.33) ... Selecting previously unselected package os-prober. Preparing to unpack .../24-os-prober_1.74ubuntu2_amd64.deb ... Unpacking os-prober (1.74ubuntu2) ... Selecting previously unselected package thermald. Preparing to unpack .../25-thermald_1.9.1-1build1_amd64.deb ... Unpacking thermald (1.9.1-1build1) ... Setting up iucode-tool (2.3.1-1) ... Setting up linux-firmware (1.187) ... Setting up intel-microcode (3.20191115.1ubuntu3) ... intel-microcode: microcode will be updated at next boot Setting up wireless-regdb (2018.05.09-0ubuntu1) ... Setting up amd64-microcode (3.20191218.1ubuntu1) ... amd64-microcode: microcode will be updated at next boot Setting up linux-headers-5.4.0-28 (5.4.0-28.32) ... Setting up libfreetype6:amd64 (2.10.1-2) ... Setting up libdbus-glib-1-2:amd64 (0.110-5fakssync1) ... Setting up linux-modules-5.4.0-28-generic (5.4.0-28.32) ... Setting up linux-image-5.4.0-28-generic (5.4.0-28.32) ... I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.4.0-28-generic I: /boot/initrd.img.old is now a symlink to initrd.img-5.4.0-28-generic I: /boot/vmlinuz is now a symlink to vmlinuz-5.4.0-28-generic I: /boot/initrd.img is now a symlink to initrd.img-5.4.0-28-generic Setting up libnl-3-200:amd64 (3.4.0-1) ... Setting up thermald (1.9.1-1build1) ... Created symlink /etc/systemd/system/dbus-org.freedesktop.thermald.service -> /lib/systemd/system/thermald.service. Created symlink /etc/systemd/system/multi-user.target.wants/thermald.service -> /lib/systemd/system/thermald.service. Running in chroot, ignoring request: daemon-reload /usr/sbin/policy-rc.d returned 101, not running 'start thermald.service' Setting up linux-headers-5.4.0-28-generic (5.4.0-28.32) ... Setting up linux-headers-generic (5.4.0.28.33) ... Setting up grub-common (2.04-1ubuntu26) ... Created symlink /etc/systemd/system/multi-user.target.wants/grub-initrd-fallback.service -> /lib/systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/rescue.target.wants/grub-initrd-fallback.service -> /lib/systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/emergency.target.wants/grub-initrd-fallback.service -> /lib/systemd/system/grub-initrd-fallback.service. Running in chroot, ignoring request: daemon-reload /usr/sbin/policy-rc.d returned 101, not running 'start grub-initrd-fallback.service' update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults Running in chroot, ignoring request: daemon-reload Running in chroot, ignoring request. invoke-rc.d: policy-rc.d denied execution of start. Setting up os-prober (1.74ubuntu2) ... Setting up libnl-genl-3-200:amd64 (3.4.0-1) ... Setting up iw (5.4-1) ... Setting up crda (3.18-1build1) ... Setting up grub2-common (2.04-1ubuntu26) ... Setting up grub-pc-bin (2.04-1ubuntu26) ... Setting up linux-modules-extra-5.4.0-28-generic (5.4.0-28.32) ... Setting up linux-image-generic (5.4.0.28.33) ... Setting up linux-generic (5.4.0.28.33) ... Setting up grub-pc (2.04-1ubuntu26) ... Creating config file /etc/default/grub with new version Setting up grub-gfxpayload-lists (0.7) ... Processing triggers for dbus (1.12.16-2ubuntu2) ... Processing triggers for install-info (6.7.0.dfsg.2-5) ... Processing triggers for libc-bin (2.31-0ubuntu9) ... Processing triggers for systemd (245.4-4ubuntu3) ... Running in chroot, ignoring request: daemon-reload Processing triggers for man-db (2.9.1-1) ... Processing triggers for linux-image-5.4.0-28-generic (5.4.0-28.32) ... Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.094 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/installing-kernel: SUCCESS: installing kernel start: cmd-install/stage-curthooks/builtin/cmd-curthooks/setting-up-swap: setting up swap Not creating swap: suggested size was 0 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 applying network_config Checking cloud-init in target [/target] for network configuration passthrough support. Checking in-target cloud-init for feature: NETWORK_CONFIG_V2 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', '/usr/bin/cloud-init', 'features'] with allowed return codes [0] (capture=True) cloud-init feature NETWORK_CONFIG_V2 available? True Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.020 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) Passing network configuration through to target: /target Writing network config to etc/cloud/cloud.cfg.d/50-curtin-networking.cfg: /target/etc/cloud/cloud.cfg.d/50-curtin-networking.cfg Failed to find legacy network conf file /target/etc/network/interfaces.d/eth0.cfg Attempting to remove ipv6 privacy extensions Removing ipv6 privacy extension config file: /target/etc/sysctl.d/10-ipv6-privacy.conf del_file: removed /target/etc/sysctl.d/10-ipv6-privacy.conf Injecting fix for ipv6 mtu settings: /target/etc/network/if-pre-up.d/mtuipv6 Injecting fix for ipv6 mtu settings: /target/etc/network/if-up.d/mtuipv6 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/xvda2'] with allowed return codes [0] (capture=True) /dev/xvda2 is multipath device? False /dev/xvda2 is multipath device partition? False Running command ['multipath', '-c', '/dev/xvda2'] with allowed return codes [0] (capture=True) /dev/xvda2 is multipath device member? False 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 ['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', '--nodeps'] 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/loop0'] 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/loop1'] 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/loop2'] 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/loop3'] 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/loop4'] 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/loop5'] 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/loop6'] 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/xvda'] with allowed return codes [0] (capture=True) no devices found to rescan Running command ['blkid', '-o', 'full'] with allowed return codes [0] (capture=True) legacy_detect_multipath found blkid info: {'/dev/loop0': {'UUID': '2020-04-23-08-02-07-00', 'LABEL': 'Ubuntu-Server 20.04 LTS amd64', 'TYPE': 'iso9660', 'PTUUID': '36b64baf', 'PTTYPE': 'dos'}, '/dev/loop1': {'TYPE': 'squashfs'}, '/dev/loop2': {'TYPE': 'squashfs'}, '/dev/loop3': {'TYPE': 'squashfs'}, '/dev/loop4': {'TYPE': 'squashfs'}, '/dev/loop5': {'TYPE': 'squashfs'}, '/dev/loop6': {'TYPE': 'squashfs'}, '/dev/xvda1': {'PARTUUID': 'b4cba0f3-f88b-46d5-8494-e681b4824e4b'}, '/dev/xvda2': {'UUID': 'f2f99043-5bc7-4721-9189-f8754c2e673f', 'TYPE': 'ext4', 'PARTUUID': 'ad456bdd-4c1e-430b-a865-e7bda7258fbf'}} 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) target_devs: ['/dev/xvda2'] /dev/xvda2: f2f99043-5bc7-4721-9189-f8754c2e673f Multipath detection found: 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 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.019 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' Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.082 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.020 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-28-generic'] with allowed return codes [0] (capture=False) update-initramfs: Generating /boot/initrd.img-5.4.0-28-generic Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.032 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 setup grub on target /target checking: {'ptable': 'gpt', 'path': '/dev/xvda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'type': 'disk', 'id': 'disk-xvda'} get_path_to_storage_volume for volume disk-xvda({'ptable': 'gpt', 'path': '/dev/xvda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'type': 'disk', 'id': 'disk-xvda'}) Running command ['multipath', '-c', '/dev/xvda'] with allowed return codes [0] (capture=True) /dev/xvda is multipath device member? False Running command ['partprobe', '/dev/xvda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.129 devsync happy - path /dev/xvda now exists return volume path /dev/xvda install_devices: ['/dev/xvda'] Generating grub debconf_selections for devices=['/dev/xvda'] uefi=False finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: FAIL: curtin command curthooks Traceback (most recent call last): File "/snap/subiquity/1772/lib/python3.6/site-packages/curtin/commands/main.py", line 202, in main ret = args.func(args) File "/snap/subiquity/1772/lib/python3.6/site-packages/curtin/commands/curthooks.py", line 1806, in curthooks builtin_curthooks(cfg, target, state) File "/snap/subiquity/1772/lib/python3.6/site-packages/curtin/commands/curthooks.py", line 1772, in builtin_curthooks setup_grub(cfg, target, osfamily=osfamily) File "/snap/subiquity/1772/lib/python3.6/site-packages/curtin/commands/curthooks.py", line 710, in setup_grub configure_grub_debconf(instdevs, target, uefi_bootable) File "/snap/subiquity/1772/lib/python3.6/site-packages/curtin/commands/curthooks.py", line 508, in configure_grub_debconf link = block.disk_to_byid_path(dev) File "/snap/subiquity/1772/lib/python3.6/site-packages/curtin/block/__init__.py", line 850, in disk_to_byid_path mapping = get_dev_disk_byid() File "/snap/subiquity/1772/lib/python3.6/site-packages/curtin/block/__init__.py", line 842, in get_dev_disk_byid return _get_dev_disk_by_prefix('/dev/disk/by-id') File "/snap/subiquity/1772/lib/python3.6/site-packages/curtin/block/__init__.py", line 827, in _get_dev_disk_by_prefix for path in os.listdir(prefix)] FileNotFoundError: [Errno 2] No such file or directory: '/dev/disk/by-id' [Errno 2] No such file or directory: '/dev/disk/by-id' curtin: Installation failed with exception: Unexpected error while running command. Command: ['curtin', 'curthooks'] Exit code: 3 Reason: - Stdout: 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: {'http_proxy': 'http://kitchensink.fith.priv:3142/', 'https_proxy': 'http://kitchensink.fith.priv:3142/', 'preserve_sources_list': False, 'primary': [{'arches': ['amd64', 'i386'], 'uri': 'http://au.archive.ubuntu.com/ubuntu'}, {'arches': ['default'], 'uri': 'http://ports.ubuntu.com/ubuntu-ports'}], 'debconf_selections': {'subiquity': ''}} curthooks handling apt to target /target with config {'http_proxy': 'http://kitchensink.fith.priv:3142/', 'https_proxy': 'http://kitchensink.fith.priv:3142/', 'preserve_sources_list': False, 'primary': [{'arches': ['amd64', 'i386'], 'uri': 'http://au.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://au.archive.ubuntu.com/ubuntu got security mirror: None Apt Mirror info: {'PRIMARY': 'http://au.archive.ubuntu.com/ubuntu', 'SECURITY': 'http://au.archive.ubuntu.com/ubuntu', 'MIRROR': 'http://au.archive.ubuntu.com/ubuntu'} 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://archive.ubuntu.com/ubuntu/' not found in: deb file:///cdrom focal main restricted Expected mirror 'http://security.ubuntu.com/ubuntu/' 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) write apt proxy info to /target/etc/apt/apt.conf.d/90curtin-aptproxy 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' 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) 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: ['e2fsprogs'] Skipping install of {'ifenslave', 'vlan', 'bridge-utils'}. 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 ['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/tmp808mu5ks/sources.list', '--option=Dir::Etc::sourceparts=/tmp/tmp808mu5ks/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 [3352 B] Get:2 file:/cdrom focal Release [3352 B] Hit:3 http://au.archive.ubuntu.com/ubuntu focal InRelease Hit:5 http://au.archive.ubuntu.com/ubuntu focal-updates InRelease Hit:6 http://au.archive.ubuntu.com/ubuntu focal-backports InRelease Hit:7 http://au.archive.ubuntu.com/ubuntu focal-security InRelease Reading package lists... Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.013 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: amd64-microcode crda grub-common grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common intel-microcode iucode-tool iw libdbus-glib-1-2 libfreetype6 libnl-3-200 libnl-genl-3-200 linux-firmware linux-headers-5.4.0-28 linux-headers-5.4.0-28-generic linux-headers-generic linux-image-5.4.0-28-generic linux-image-generic linux-modules-5.4.0-28-generic linux-modules-extra-5.4.0-28-generic os-prober thermald wireless-regdb Suggested packages: multiboot-doc grub-emu xorriso desktop-base fdutils linux-doc | linux-source-5.4.0 linux-tools The following NEW packages will be installed: amd64-microcode crda grub-common grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common intel-microcode iucode-tool iw libdbus-glib-1-2 libfreetype6 libnl-3-200 libnl-genl-3-200 linux-firmware linux-generic linux-headers-5.4.0-28 linux-headers-5.4.0-28-generic linux-headers-generic linux-image-5.4.0-28-generic linux-image-generic linux-modules-5.4.0-28-generic linux-modules-extra-5.4.0-28-generic os-prober thermald wireless-regdb 0 upgraded, 26 newly installed, 0 to remove and 9 not upgraded. Need to get 73.9 MB/180 MB of archives. After this operation, 919 MB of additional disk space will be used. Get:1 file:/cdrom focal/main amd64 libnl-3-200 amd64 3.4.0-1 [53.9 kB] Get:2 file:/cdrom focal/main amd64 libnl-genl-3-200 amd64 3.4.0-1 [11.1 kB] Get:3 file:/cdrom focal/main amd64 wireless-regdb all 2018.05.09-0ubuntu1 [11.0 kB] Get:4 file:/cdrom focal/main amd64 iw amd64 5.4-1 [94.0 kB] Get:5 file:/cdrom focal/main amd64 crda amd64 3.18-1build1 [63.5 kB] Get:6 file:/cdrom focal/main amd64 libfreetype6 amd64 2.10.1-2 [341 kB] Get:7 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-modules-5.4.0-28-generic amd64 5.4.0-28.32 [14.3 MB] Get:8 file:/cdrom focal/main amd64 grub-common amd64 2.04-1ubuntu26 [1853 kB] Get:9 file:/cdrom focal/main amd64 grub2-common amd64 2.04-1ubuntu26 [589 kB] Get:10 file:/cdrom focal/main amd64 grub-pc-bin amd64 2.04-1ubuntu26 [969 kB] Get:11 file:/cdrom focal/main amd64 grub-pc amd64 2.04-1ubuntu26 [125 kB] Get:12 file:/cdrom focal/main amd64 grub-gfxpayload-lists amd64 0.7 [3658 B] Get:13 file:/cdrom focal/main amd64 iucode-tool amd64 2.3.1-1 [45.6 kB] Get:14 file:/cdrom focal/main amd64 libdbus-glib-1-2 amd64 0.110-5fakssync1 [59.1 kB] Get:15 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-image-5.4.0-28-generic amd64 5.4.0-28.32 [8870 kB] Get:16 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-modules-extra-5.4.0-28-generic amd64 5.4.0-28.32 [38.6 MB] Get:17 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-image-generic amd64 5.4.0.28.33 [2716 B] Get:18 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.4.0-28 all 5.4.0-28.32 [10.9 MB] Get:19 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.4.0-28-generic amd64 5.4.0-28.32 [1222 kB] Get:20 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-generic amd64 5.4.0.28.33 [2596 B] Get:21 http://au.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-generic amd64 5.4.0.28.33 [1896 B] Get:22 file:/cdrom focal/main amd64 linux-firmware all 1.187 [98.7 MB] Get:23 file:/cdrom focal/main amd64 intel-microcode amd64 3.20191115.1ubuntu3 [2408 kB] Get:24 file:/cdrom focal/main amd64 amd64-microcode amd64 3.20191218.1ubuntu1 [31.8 kB] Get:25 file:/cdrom focal/main amd64 os-prober amd64 1.74ubuntu2 [20.1 kB] Get:26 file:/cdrom focal/main amd64 thermald amd64 1.9.1-1build1 [197 kB] Preconfiguring packages ... Fetched 73.9 MB in 2s (36.4 MB/s) E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device) Selecting previously unselected package libnl-3-200:amd64. (Reading database ... 28383 files and directories currently installed.) Preparing to unpack .../00-libnl-3-200_3.4.0-1_amd64.deb ... Unpacking libnl-3-200:amd64 (3.4.0-1) ... Selecting previously unselected package libnl-genl-3-200:amd64. Preparing to unpack .../01-libnl-genl-3-200_3.4.0-1_amd64.deb ... Unpacking libnl-genl-3-200:amd64 (3.4.0-1) ... Selecting previously unselected package wireless-regdb. Preparing to unpack .../02-wireless-regdb_2018.05.09-0ubuntu1_all.deb ... Unpacking wireless-regdb (2018.05.09-0ubuntu1) ... Selecting previously unselected package iw. Preparing to unpack .../03-iw_5.4-1_amd64.deb ... Unpacking iw (5.4-1) ... Selecting previously unselected package crda. Preparing to unpack .../04-crda_3.18-1build1_amd64.deb ... Unpacking crda (3.18-1build1) ... Selecting previously unselected package libfreetype6:amd64. Preparing to unpack .../05-libfreetype6_2.10.1-2_amd64.deb ... Unpacking libfreetype6:amd64 (2.10.1-2) ... Selecting previously unselected package grub-common. Preparing to unpack .../06-grub-common_2.04-1ubuntu26_amd64.deb ... Unpacking grub-common (2.04-1ubuntu26) ... Selecting previously unselected package grub2-common. Preparing to unpack .../07-grub2-common_2.04-1ubuntu26_amd64.deb ... Unpacking grub2-common (2.04-1ubuntu26) ... Selecting previously unselected package grub-pc-bin. Preparing to unpack .../08-grub-pc-bin_2.04-1ubuntu26_amd64.deb ... Unpacking grub-pc-bin (2.04-1ubuntu26) ... Selecting previously unselected package grub-pc. Preparing to unpack .../09-grub-pc_2.04-1ubuntu26_amd64.deb ... Unpacking grub-pc (2.04-1ubuntu26) ... Selecting previously unselected package grub-gfxpayload-lists. Preparing to unpack .../10-grub-gfxpayload-lists_0.7_amd64.deb ... Unpacking grub-gfxpayload-lists (0.7) ... Selecting previously unselected package iucode-tool. Preparing to unpack .../11-iucode-tool_2.3.1-1_amd64.deb ... Unpacking iucode-tool (2.3.1-1) ... Selecting previously unselected package libdbus-glib-1-2:amd64. Preparing to unpack .../12-libdbus-glib-1-2_0.110-5fakssync1_amd64.deb ... Unpacking libdbus-glib-1-2:amd64 (0.110-5fakssync1) ... Selecting previously unselected package linux-firmware. Preparing to unpack .../13-linux-firmware_1.187_all.deb ... Unpacking linux-firmware (1.187) ... Selecting previously unselected package linux-modules-5.4.0-28-generic. Preparing to unpack .../14-linux-modules-5.4.0-28-generic_5.4.0-28.32_amd64.deb ... Unpacking linux-modules-5.4.0-28-generic (5.4.0-28.32) ... Selecting previously unselected package linux-image-5.4.0-28-generic. Preparing to unpack .../15-linux-image-5.4.0-28-generic_5.4.0-28.32_amd64.deb ... Unpacking linux-image-5.4.0-28-generic (5.4.0-28.32) ... Selecting previously unselected package linux-modules-extra-5.4.0-28-generic. Preparing to unpack .../16-linux-modules-extra-5.4.0-28-generic_5.4.0-28.32_amd64.deb ... Unpacking linux-modules-extra-5.4.0-28-generic (5.4.0-28.32) ... Selecting previously unselected package intel-microcode. Preparing to unpack .../17-intel-microcode_3.20191115.1ubuntu3_amd64.deb ... Unpacking intel-microcode (3.20191115.1ubuntu3) ... Selecting previously unselected package amd64-microcode. Preparing to unpack .../18-amd64-microcode_3.20191218.1ubuntu1_amd64.deb ... Unpacking amd64-microcode (3.20191218.1ubuntu1) ... Selecting previously unselected package linux-image-generic. Preparing to unpack .../19-linux-image-generic_5.4.0.28.33_amd64.deb ... Unpacking linux-image-generic (5.4.0.28.33) ... Selecting previously unselected package linux-headers-5.4.0-28. Preparing to unpack .../20-linux-headers-5.4.0-28_5.4.0-28.32_all.deb ... Unpacking linux-headers-5.4.0-28 (5.4.0-28.32) ... Selecting previously unselected package linux-headers-5.4.0-28-generic. Preparing to unpack .../21-linux-headers-5.4.0-28-generic_5.4.0-28.32_amd64.deb ... Unpacking linux-headers-5.4.0-28-generic (5.4.0-28.32) ... Selecting previously unselected package linux-headers-generic. Preparing to unpack .../22-linux-headers-generic_5.4.0.28.33_amd64.deb ... Unpacking linux-headers-generic (5.4.0.28.33) ... Selecting previously unselected package linux-generic. Preparing to unpack .../23-linux-generic_5.4.0.28.33_amd64.deb ... Unpacking linux-generic (5.4.0.28.33) ... Selecting previously unselected package os-prober. Preparing to unpack .../24-os-prober_1.74ubuntu2_amd64.deb ... Unpacking os-prober (1.74ubuntu2) ... Selecting previously unselected package thermald. Preparing to unpack .../25-thermald_1.9.1-1build1_amd64.deb ... Unpacking thermald (1.9.1-1build1) ... Setting up iucode-tool (2.3.1-1) ... Setting up linux-firmware (1.187) ... Setting up intel-microcode (3.20191115.1ubuntu3) ... intel-microcode: microcode will be updated at next boot Setting up wireless-regdb (2018.05.09-0ubuntu1) ... Setting up amd64-microcode (3.20191218.1ubuntu1) ... amd64-microcode: microcode will be updated at next boot Setting up linux-headers-5.4.0-28 (5.4.0-28.32) ... Setting up libfreetype6:amd64 (2.10.1-2) ... Setting up libdbus-glib-1-2:amd64 (0.110-5fakssync1) ... Setting up linux-modules-5.4.0-28-generic (5.4.0-28.32) ... Setting up linux-image-5.4.0-28-generic (5.4.0-28.32) ... I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.4.0-28-generic I: /boot/initrd.img.old is now a symlink to initrd.img-5.4.0-28-generic I: /boot/vmlinuz is now a symlink to vmlinuz-5.4.0-28-generic I: /boot/initrd.img is now a symlink to initrd.img-5.4.0-28-generic Setting up libnl-3-200:amd64 (3.4.0-1) ... Setting up thermald (1.9.1-1build1) ... Created symlink /etc/systemd/system/dbus-org.freedesktop.thermald.service -> /lib/systemd/system/thermald.service. Created symlink /etc/systemd/system/multi-user.target.wants/thermald.service -> /lib/systemd/system/thermald.service. Running in chroot, ignoring request: daemon-reload /usr/sbin/policy-rc.d returned 101, not running 'start thermald.service' Setting up linux-headers-5.4.0-28-generic (5.4.0-28.32) ... Setting up linux-headers-generic (5.4.0.28.33) ... Setting up grub-common (2.04-1ubuntu26) ... Created symlink /etc/systemd/system/multi-user.target.wants/grub-initrd-fallback.service -> /lib/systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/rescue.target.wants/grub-initrd-fallback.service -> /lib/systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/emergency.target.wants/grub-initrd-fallback.service -> /lib/systemd/system/grub-initrd-fallback.service. Running in chroot, ignoring request: daemon-reload /usr/sbin/policy-rc.d returned 101, not running 'start grub-initrd-fallback.service' update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults Running in chroot, ignoring request: daemon-reload Running in chroot, ignoring request. invoke-rc.d: policy-rc.d denied execution of start. Setting up os-prober (1.74ubuntu2) ... Setting up libnl-genl-3-200:amd64 (3.4.0-1) ... Setting up iw (5.4-1) ... Setting up crda (3.18-1build1) ... Setting up grub2-common (2.04-1ubuntu26) ... Setting up grub-pc-bin (2.04-1ubuntu26) ... Setting up linux-modules-extra-5.4.0-28-generic (5.4.0-28.32) ... Setting up linux-image-generic (5.4.0.28.33) ... Setting up linux-generic (5.4.0.28.33) ... Setting up grub-pc (2.04-1ubuntu26) ... Creating config file /etc/default/grub with new version Setting up grub-gfxpayload-lists (0.7) ... Processing triggers for dbus (1.12.16-2ubuntu2) ... Processing triggers for install-info (6.7.0.dfsg.2-5) ... Processing triggers for libc-bin (2.31-0ubuntu9) ... Processing triggers for systemd (245.4-4ubuntu3) ... Running in chroot, ignoring request: daemon-reload Processing triggers for man-db (2.9.1-1) ... Processing triggers for linux-image-5.4.0-28-generic (5.4.0-28.32) ... Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.094 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/installing-kernel: SUCCESS: installing kernel start: cmd-install/stage-curthooks/builtin/cmd-curthooks/setting-up-swap: setting up swap Not creating swap: suggested size was 0 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 applying network_config Checking cloud-init in target [/target] for network configuration passthrough support. Checking in-target cloud-init for feature: NETWORK_CONFIG_V2 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', '/usr/bin/cloud-init', 'features'] with allowed return codes [0] (capture=True) cloud-init feature NETWORK_CONFIG_V2 available? True Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.020 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) Passing network configuration through to target: /target Writing network config to etc/cloud/cloud.cfg.d/50-curtin-networking.cfg: /target/etc/cloud/cloud.cfg.d/50-curtin-networking.cfg Failed to find legacy network conf file /target/etc/network/interfaces.d/eth0.cfg Attempting to remove ipv6 privacy extensions Removing ipv6 privacy extension config file: /target/etc/sysctl.d/10-ipv6-privacy.conf del_file: removed /target/etc/sysctl.d/10-ipv6-privacy.conf Injecting fix for ipv6 mtu settings: /target/etc/network/if-pre-up.d/mtuipv6 Injecting fix for ipv6 mtu settings: /target/etc/network/if-up.d/mtuipv6 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/xvda2'] with allowed return codes [0] (capture=True) /dev/xvda2 is multipath device? False /dev/xvda2 is multipath device partition? False Running command ['multipath', '-c', '/dev/xvda2'] with allowed return codes [0] (capture=True) /dev/xvda2 is multipath device member? False 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 ['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', '--nodeps'] 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/loop0'] 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/loop1'] 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/loop2'] 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/loop3'] 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/loop4'] 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/loop5'] 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/loop6'] 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/xvda'] with allowed return codes [0] (capture=True) no devices found to rescan Running command ['blkid', '-o', 'full'] with allowed return codes [0] (capture=True) legacy_detect_multipath found blkid info: {'/dev/loop0': {'UUID': '2020-04-23-08-02-07-00', 'LABEL': 'Ubuntu-Server 20.04 LTS amd64', 'TYPE': 'iso9660', 'PTUUID': '36b64baf', 'PTTYPE': 'dos'}, '/dev/loop1': {'TYPE': 'squashfs'}, '/dev/loop2': {'TYPE': 'squashfs'}, '/dev/loop3': {'TYPE': 'squashfs'}, '/dev/loop4': {'TYPE': 'squashfs'}, '/dev/loop5': {'TYPE': 'squashfs'}, '/dev/loop6': {'TYPE': 'squashfs'}, '/dev/xvda1': {'PARTUUID': 'b4cba0f3-f88b-46d5-8494-e681b4824e4b'}, '/dev/xvda2': {'UUID': 'f2f99043-5bc7-4721-9189-f8754c2e673f', 'TYPE': 'ext4', 'PARTUUID': 'ad456bdd-4c1e-430b-a865-e7bda7258fbf'}} 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) target_devs: ['/dev/xvda2'] /dev/xvda2: f2f99043-5bc7-4721-9189-f8754c2e673f Multipath detection found: 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 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.019 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' Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.082 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.020 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-28-generic'] with allowed return codes [0] (capture=False) update-initramfs: Generating /boot/initrd.img-5.4.0-28-generic Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.032 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 setup grub on target /target checking: {'ptable': 'gpt', 'path': '/dev/xvda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'type': 'disk', 'id': 'disk-xvda'} get_path_to_storage_volume for volume disk-xvda({'ptable': 'gpt', 'path': '/dev/xvda', 'wipe': 'superblock-recursive', 'preserve': False, 'name': '', 'grub_device': True, 'type': 'disk', 'id': 'disk-xvda'}) Running command ['multipath', '-c', '/dev/xvda'] with allowed return codes [0] (capture=True) /dev/xvda is multipath device member? False Running command ['partprobe', '/dev/xvda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.129 devsync happy - path /dev/xvda now exists return volume path /dev/xvda install_devices: ['/dev/xvda'] Generating grub debconf_selections for devices=['/dev/xvda'] uefi=False finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: FAIL: curtin command curthooks Traceback (most recent call last): File "/snap/subiquity/1772/lib/python3.6/site-packages/curtin/commands/main.py", line 202, in main ret = args.func(args) File "/snap/subiquity/1772/lib/python3.6/site-packages/curtin/commands/curthooks.py", line 1806, in curthooks builtin_curthooks(cfg, target, state) File "/snap/subiquity/1772/lib/python3.6/site-packages/curtin/commands/curthooks.py", line 1772, in builtin_curthooks setup_grub(cfg, target, osfamily=osfamily) File "/snap/subiquity/1772/lib/python3.6/site-packages/curtin/commands/curthooks.py", line 710, in setup_grub configure_grub_debconf(instdevs, target, uefi_bootable) File "/snap/subiquity/1772/lib/python3.6/site-packages/curtin/commands/curthooks.py", line 508, in configure_grub_debconf link = block.disk_to_byid_path(dev) File "/snap/subiquity/1772/lib/python3.6/site-packages/curtin/block/__init__.py", line 850, in disk_to_byid_path mapping = get_dev_disk_byid() File "/snap/subiquity/1772/lib/python3.6/site-packages/curtin/block/__init__.py", line 842, in get_dev_disk_byid return _get_dev_disk_by_prefix('/dev/disk/by-id') File "/snap/subiquity/1772/lib/python3.6/site-packages/curtin/block/__init__.py", line 827, in _get_dev_disk_by_prefix for path in os.listdir(prefix)] FileNotFoundError: [Errno 2] No such file or directory: '/dev/disk/by-id' [Errno 2] No such file or directory: '/dev/disk/by-id' Stderr: ''