I am facing datasource not found issue after the server got deployed in the final reboot. Not always but randomly. What is the root cause and what will be the fix for it.
It’s usually due to environment issues such as network instability or DNS. You should look into the logs and try to find something related.
Do you have multi-homed or bonded setup ?
I configured bond with 2 200g interfaces
After I faced no datasource found error and, once i rebooted the server manually server is going into deployed state.
I am trying on H100 server (HPE Cray SC XD670 DLC). After I faced no datasource found error and, once i rebooted the server manually server is going into deployed state. Note: This issue is happening only on h100 server that too only via API. When I deploy manually I can able to deploy it without issues
Hello @r00ta /All.
Just want to check if you can help me this out. Been stuck for a week or so…
Let me elaborate more on this,
We have various model of servers where we are trying to use MaaS as the provisioning tool. All of them are going through except this particular hardware as mentioned earlier Cray Xd670.
I have run against 2 of the xd670 servers and both of them are having issues. I am not suspecting the network at this point of time because other server’s node installation is going through without any issues…
below is the output of the logs of Both nodes after deployment is initiated,
For both the nodes we see the idrac console output as provided below.
I have rebooted One of the node “node2” manually and i see it is getting deployed.
I am wondering what are all the steps MaaS after deployment so that we can concentrate on fixing the issues. Currently i am troubleshooting by shooting the arrows in the dark not knowing where exactly the issue is…
Should we introduce some delay after the reboot is initiated by MaaS once the node installation is completed??
NOTE: This issue happens only via API
Please guide, Thank you in advance.
Node1 Maas Logs:
Mon, 29 Sep. 2025 07:54:20 TFTP Request - /grub/grub.cfg-5c:25:73:d5:7f:d8
Mon, 29 Sep. 2025 07:54:20 TFTP Request - /grub/grub.cfg
Mon, 29 Sep. 2025 07:54:20 TFTP Request - /grub/x86_64-efi/terminal.lst
Mon, 29 Sep. 2025 07:54:20 TFTP Request - /grub/x86_64-efi/crypto.lst
Mon, 29 Sep. 2025 07:54:20 TFTP Request - /grub/x86_64-efi/fs.lst
Mon, 29 Sep. 2025 07:54:20 TFTP Request - /grub/x86_64-efi/command.lst
Mon, 29 Sep. 2025 07:54:19 TFTP Request - grubx64.efi
Mon, 29 Sep. 2025 07:54:19 TFTP Request - bootx64.efi
Mon, 29 Sep. 2025 07:54:18 TFTP Request - bootx64.efi
Node2 MaaS logs:
Mon, 29 Sep. 2025 07:44:04 Released
Mon, 29 Sep. 2025 07:44:04 Node changed status - From 'Releasing' to 'Ready'
Mon, 29 Sep. 2025 07:43:50 Node - Started releasing 'Node22'.
Mon, 29 Sep. 2025 07:43:50 Releasing
Mon, 29 Sep. 2025 07:43:50 Node changed status - From 'Deploying' to 'Releasing'
Mon, 29 Sep. 2025 07:43:50 User releasing node - (maasadmin)
Mon, 29 Sep. 2025 06:36:48 Node installation - 'cloudinit' running config-final_message with frequency always
Mon, 29 Sep. 2025 06:36:48 Node installation - 'cloudinit' running config-power_state_change with frequency once-per-instance
Mon, 29 Sep. 2025 06:36:48 Node installation - 'cloudinit' running config-install_hotplug with frequency once-per-instance
Mon, 29 Sep. 2025 06:36:48 Node installation - 'cloudinit' running config-keys_to_console with frequency once-per-instance
Mon, 29 Sep. 2025 06:36:48 Node installation - 'cloudinit' running config-ssh_authkey_fingerprints with frequency once-per-instance
Mon, 29 Sep. 2025 06:36:48 Rebooting
Error in the idrac console
Authorized users only. All activity may be monitored and reported.
[ 310.534523] cloud-init[ 14466]: cloud-init[14466]: Cannot apply stage final, no datasource found! Likely bad things to come!
[ 310.534826] cloud-init[ 14466]: Traceback (most recent call last):
[ 310.534924] cloud-init[ 14466]: File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 728, in main_modules
[ 310.535046] cloud-init[ 14466]: init.fetch_existing("trust")
[ 310.535139] cloud-init[ 14466]: File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 552, in fetch
[ 310.535241] cloud-init[ 14466]: return self._get_data_source(existing)
[ 310.535332] cloud-init[ 14466]: File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 403, in _get_data_source
[ 310.535423] cloud-init[ 14466]: raise e
[ 310.535514] cloud-init[ 14466]: File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 390, in _get_data_source
[ 310.535605] cloud-init[ 14466]: dsname = sources.find_source(sources, existing)
[ 310.535696] cloud-init[ 14466]: File "/usr/lib/python3/dist-packages/cloudinit/sources/__init__.py", line 1084, in find_source
[ 310.535787] cloud-init[ 14466]: raise DataSourceNotFoundException(msg)
[ 310.535878] cloud-init[ 14466]: cloudinit.sources.DataSourceNotFoundException: Did not find any data source, searched classes: ( )
can you extract the “installation logs” for that machine from the UI and share it?
Hi @r00ta find the attached installation logs & Event logs
curtin: Installation started. (23.1.1-1120-g650b4ee8-0ubuntu1~ubuntu24.04.1)
start: cmd-install/stage-partitioning/builtin/cmd-block-meta: curtin command block-meta
get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 'sda', 'model': 'GBT3816-iMR', 'name': 'sda', 'ptable': 'gpt', 'serial': '6001485000b672903060f6f22d6cb21d', 'type': 'disk', 'wipe': 'superblock'})
Processing serial 6001485000b672903060f6f22d6cb21d via udev to 6001485000b672903060f6f22d6cb21d
lookup_disks found: ['scsi-36001485000b672903060f6f22d6cb21d', 'wwn-0x6001485000b672903060f6f22d6cb21d', 'wwn-0x6001485000b672903060f6f22d6cb21d-part4', 'scsi-36001485000b672903060f6f22d6cb21d-part4', 'wwn-0x6001485000b672903060f6f22d6cb21d-part1', 'scsi-36001485000b672903060f6f22d6cb21d-part1', 'scsi-36001485000b672903060f6f22d6cb21d-part3', 'wwn-0x6001485000b672903060f6f22d6cb21d-part3', 'scsi-36001485000b672903060f6f22d6cb21d-part2', 'wwn-0x6001485000b672903060f6f22d6cb21d-part2']
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device member? False
block.lookup_disk() returning path /dev/sda
Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.072
devsync happy - path /dev/sda now exists
return volume path /dev/sda
get_path_to_storage_volume for volume sda-part1({'device': 'sda', 'id': 'sda-part1', 'name': 'sda-part1', 'number': 1, 'offset': '4194304B', 'size': '1073741824B', 'type': 'partition', 'uuid': '1d225534-e0cd-4bbb-a5ea-58e943d7e280', 'wipe': 'superblock'})
get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 'sda', 'model': 'GBT3816-iMR', 'name': 'sda', 'ptable': 'gpt', 'serial': '6001485000b672903060f6f22d6cb21d', 'type': 'disk', 'wipe': 'superblock'})
Processing serial 6001485000b672903060f6f22d6cb21d via udev to 6001485000b672903060f6f22d6cb21d
lookup_disks found: ['scsi-36001485000b672903060f6f22d6cb21d', 'wwn-0x6001485000b672903060f6f22d6cb21d', 'wwn-0x6001485000b672903060f6f22d6cb21d-part4', 'scsi-36001485000b672903060f6f22d6cb21d-part4', 'wwn-0x6001485000b672903060f6f22d6cb21d-part1', 'scsi-36001485000b672903060f6f22d6cb21d-part1', 'scsi-36001485000b672903060f6f22d6cb21d-part3', 'wwn-0x6001485000b672903060f6f22d6cb21d-part3', 'scsi-36001485000b672903060f6f22d6cb21d-part2', 'wwn-0x6001485000b672903060f6f22d6cb21d-part2']
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device member? False
block.lookup_disk() returning path /dev/sda
Running command ['partprobe', '/dev/sda'] 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/sda now exists
return volume path /dev/sda
Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.074
devsync happy - path /dev/sda now exists
return volume path /dev/sda1
get_path_to_storage_volume for volume sda-part2({'device': 'sda', 'id': 'sda-part2', 'name': 'sda-part2', 'number': 2, 'size': '2147483648B', 'type': 'partition', 'uuid': '0e283f40-ec89-422e-8f9d-9fcab13fb794', 'wipe': 'superblock'})
get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 'sda', 'model': 'GBT3816-iMR', 'name': 'sda', 'ptable': 'gpt', 'serial': '6001485000b672903060f6f22d6cb21d', 'type': 'disk', 'wipe': 'superblock'})
Processing serial 6001485000b672903060f6f22d6cb21d via udev to 6001485000b672903060f6f22d6cb21d
lookup_disks found: ['scsi-36001485000b672903060f6f22d6cb21d', 'wwn-0x6001485000b672903060f6f22d6cb21d', 'wwn-0x6001485000b672903060f6f22d6cb21d-part4', 'scsi-36001485000b672903060f6f22d6cb21d-part4', 'wwn-0x6001485000b672903060f6f22d6cb21d-part1', 'scsi-36001485000b672903060f6f22d6cb21d-part1', 'scsi-36001485000b672903060f6f22d6cb21d-part3', 'wwn-0x6001485000b672903060f6f22d6cb21d-part3', 'scsi-36001485000b672903060f6f22d6cb21d-part2', 'wwn-0x6001485000b672903060f6f22d6cb21d-part2']
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device member? False
block.lookup_disk() returning path /dev/sda
Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.078
devsync happy - path /dev/sda now exists
return volume path /dev/sda
Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.076
devsync happy - path /dev/sda now exists
return volume path /dev/sda2
get_path_to_storage_volume for volume sda-part3({'device': 'sda', 'id': 'sda-part3', 'name': 'sda-part3', 'number': 3, 'size': '53687091200B', 'type': 'partition', 'uuid': '3b473e4e-9636-484e-b98e-91cda83debd8', 'wipe': 'superblock'})
get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 'sda', 'model': 'GBT3816-iMR', 'name': 'sda', 'ptable': 'gpt', 'serial': '6001485000b672903060f6f22d6cb21d', 'type': 'disk', 'wipe': 'superblock'})
Processing serial 6001485000b672903060f6f22d6cb21d via udev to 6001485000b672903060f6f22d6cb21d
lookup_disks found: ['scsi-36001485000b672903060f6f22d6cb21d', 'wwn-0x6001485000b672903060f6f22d6cb21d', 'wwn-0x6001485000b672903060f6f22d6cb21d-part4', 'scsi-36001485000b672903060f6f22d6cb21d-part4', 'wwn-0x6001485000b672903060f6f22d6cb21d-part1', 'scsi-36001485000b672903060f6f22d6cb21d-part1', 'scsi-36001485000b672903060f6f22d6cb21d-part3', 'wwn-0x6001485000b672903060f6f22d6cb21d-part3', 'scsi-36001485000b672903060f6f22d6cb21d-part2', 'wwn-0x6001485000b672903060f6f22d6cb21d-part2']
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device member? False
block.lookup_disk() returning path /dev/sda
Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.076
devsync happy - path /dev/sda now exists
return volume path /dev/sda
Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.080
devsync happy - path /dev/sda now exists
return volume path /dev/sda3
get_path_to_storage_volume for volume sda-part4({'device': 'sda', 'id': 'sda-part4', 'name': 'sda-part4', 'number': 4, 'size': '107374182400B', 'type': 'partition', 'uuid': 'dc55d5e3-ede8-4b72-bd7f-2b31638abfab', 'wipe': 'superblock'})
get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 'sda', 'model': 'GBT3816-iMR', 'name': 'sda', 'ptable': 'gpt', 'serial': '6001485000b672903060f6f22d6cb21d', 'type': 'disk', 'wipe': 'superblock'})
Processing serial 6001485000b672903060f6f22d6cb21d via udev to 6001485000b672903060f6f22d6cb21d
lookup_disks found: ['scsi-36001485000b672903060f6f22d6cb21d', 'wwn-0x6001485000b672903060f6f22d6cb21d', 'wwn-0x6001485000b672903060f6f22d6cb21d-part4', 'scsi-36001485000b672903060f6f22d6cb21d-part4', 'wwn-0x6001485000b672903060f6f22d6cb21d-part1', 'scsi-36001485000b672903060f6f22d6cb21d-part1', 'scsi-36001485000b672903060f6f22d6cb21d-part3', 'wwn-0x6001485000b672903060f6f22d6cb21d-part3', 'scsi-36001485000b672903060f6f22d6cb21d-part2', 'wwn-0x6001485000b672903060f6f22d6cb21d-part2']
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device member? False
block.lookup_disk() returning path /dev/sda
Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.077
devsync happy - path /dev/sda now exists
return volume path /dev/sda
Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.077
devsync happy - path /dev/sda now exists
return volume path /dev/sda4
block-meta: extracted devices to clear: ['/dev/sda', '/dev/sda1', '/dev/sda2', '/dev/sda3', '/dev/sda4']
Declared block devices: ['/dev/sda', '/dev/sda1', '/dev/sda2', '/dev/sda3', '/dev/sda4']
clearing devices=['/dev/sda', '/dev/sda1', '/dev/sda2', '/dev/sda3', '/dev/sda4']
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/nvme3n1
mdadm: no recogniseable superblock on /dev/nvme0n1
mdadm: no recogniseable superblock on /dev/nvme1n1
mdadm: no recogniseable superblock on /dev/nvme4n1
mdadm: no recogniseable superblock on /dev/nvme7n1
mdadm: no recogniseable superblock on /dev/nvme2n1
mdadm: no recogniseable superblock on /dev/nvme6n1
mdadm: no recogniseable superblock on /dev/nvme5n1
mdadm: no recogniseable superblock on /dev/dm-0
mdadm: no recogniseable superblock on /dev/sda4
mdadm: no recogniseable superblock on /dev/sda3
mdadm: no recogniseable superblock on /dev/sda2
mdadm: Cannot assemble mbr metadata on /dev/sda1
mdadm: Cannot assemble mbr metadata on /dev/sda
mdadm: no recogniseable superblock on /dev/loop0
mdadm: No arrays found in config file or automatically
Running command ['mdadm', '--detail', '--scan', '-v'] with allowed return codes [0, 1] (capture=True)
mdadm detail scan after assemble:
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.008
Detected multipath support, reload maps
Running command ['multipath', '-r'] with allowed return codes [0] (capture=False)
Verifying /dev/mapper/mpath* files are symlinks
Running command ['dmsetup', 'ls', '-o', 'blkdevname'] with allowed return codes [0] (capture=True)
multipath: dmsetup ls output:
vg--root-lv--root (dm-0)
Running command ['pvscan', '--config', 'devices{ filter = [ "a|/dev/mapper/mpath.*|", "a|/dev/mapper/dm_crypt-.*|", "r|.*|" ] }'] with allowed return codes [0] (capture=True)
Running command ['vgscan', '--config', 'devices{ filter = [ "a|/dev/mapper/mpath.*|", "a|/dev/mapper/dm_crypt-.*|", "r|.*|" ] }'] with allowed return codes [0] (capture=True)
Running command ['vgchange', '--activate=y', '--config', 'devices{ filter = [ "a|/dev/mapper/mpath.*|", "a|/dev/mapper/dm_crypt-.*|", "r|.*|" ] }'] with allowed return codes [0] (capture=True)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.008
Loading kernel module bcache via modprobe
Running command ['modprobe', '--use-blacklist', 'bcache'] with allowed return codes [0] (capture=False)
Generating device storage trees for path(s): ['/dev/sda', '/dev/sda1', '/dev/sda2', '/dev/sda3', '/dev/sda4']
devname '/sys/class/block/sda' had holders: []
/dev/sda is multipath device partition? False
/dev/sda is multipath device partition? False
/dev/sda is multipath device partition? False
devname '/sys/class/block/sda4' had holders: ['dm-0']
devname '/sys/class/block/dm-0' had holders: []
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True)
/dev/dm-0 is multipath device partition? False
Running command ['dmsetup', 'info', '/dev/dm-0', '-C', '-o', 'uuid', '--noheadings'] with allowed return codes [0] (capture=True)
devname '/sys/class/block/sda2' had holders: []
devname '/sys/class/block/sda3' had holders: []
devname '/sys/class/block/sda1' had holders: []
devname '/sys/class/block/sda1' had holders: []
devname '/sys/class/block/sda2' had holders: []
devname '/sys/class/block/sda3' had holders: []
devname '/sys/class/block/sda4' had holders: ['dm-0']
devname '/sys/class/block/dm-0' had holders: []
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True)
/dev/dm-0 is multipath device partition? False
Running command ['dmsetup', 'info', '/dev/dm-0', '-C', '-o', 'uuid', '--noheadings'] with allowed return codes [0] (capture=True)
Current device storage tree:
sda
|-- sda4
| `-- dm-0
|-- sda2
|-- sda3
`-- sda1
sda1
sda2
sda3
sda4
`-- dm-0
Shutdown Plan:
{'level': 6, 'device': '/sys/class/block/dm-0', 'dev_type': 'lvm'}
{'level': 4, 'device': '/sys/class/block/sda4', 'dev_type': 'partition'}
{'level': 4, 'device': '/sys/class/block/sda2', 'dev_type': 'partition'}
{'level': 4, 'device': '/sys/class/block/sda3', 'dev_type': 'partition'}
{'level': 4, 'device': '/sys/class/block/sda1', 'dev_type': 'partition'}
{'level': 2, 'device': '/sys/class/block/sda', 'dev_type': 'disk'}
shutdown running on holder type: 'lvm' syspath: '/sys/class/block/dm-0'
Running command ['dmsetup', 'splitname', 'vg--root-lv--root', '-c', '--noheadings', '--separator', '=', '-o', 'vg_name,lv_name'] with allowed return codes [0] (capture=True)
Wiping lvm logical volume: /dev/vg-root/lv-root
Running command ['wipefs', '--all', '--force', '/dev/vg-root/lv-root'] with allowed return codes [0] (capture=False)
/dev/vg-root/lv-root: 2 bytes were erased at offset 0x00000438 (ext4): 53 ef
wiping 1M on /dev/vg-root/lv-root at offsets [0, -1048576]
using "lvremove" on vg-root/lv-root
Running command ['lvremove', '--force', '--force', 'vg-root/lv-root'] with allowed return codes [0] (capture=False)
Logical volume "lv-root" successfully removed.
Running command ['lvdisplay', '-C', '--separator', '=', '--noheadings', '-o', 'vg_name,lv_name'] with allowed return codes [0] (capture=True)
Running command ['pvdisplay', '-C', '--separator', '=', '--noheadings', '-o', 'vg_name,pv_name'] with allowed return codes [0] (capture=True)
Running command ['vgremove', '--force', '--force', 'vg-root'] with allowed return codes [0, 5] (capture=False)
Volume group "vg-root" successfully removed
Wiping lvm physical volume: /dev/sda4
Running command ['wipefs', '--all', '--force', '/dev/sda4'] with allowed return codes [0] (capture=False)
/dev/sda4: 8 bytes were erased at offset 0x00000218 (LVM2_member): 4c 56 4d 32 20 30 30 31
wiping 1M on /dev/sda4 at offsets [0, -1048576]
Running command ['pvscan'] with allowed return codes [0] (capture=True)
Running command ['vgscan'] with allowed return codes [0] (capture=True)
shutdown running on holder type: 'partition' syspath: '/sys/class/block/sda4'
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-
8263680K ........ ........ ........ ........ ........ ..... 100% 109M=1m56s
2025-09-30 05:12:12 (69.4 MB/s) - written to stdout [8464996916/8464996916]
finish: cmd-install/stage-extract/builtin/cmd-extract: SUCCESS: acquiring and extracting image from http://maasip:5248/images/d537fc4/custom/amd64/generic/cloudimgOFED_STD_UBUNTU_24.04_01SEP2025/uploaded/root.tgz
Applying write_files from config.
finish: cmd-install/stage-extract/builtin/cmd-extract: SUCCESS: curtin command extract
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 {'grub2': 'grub2 grub2/update_nvram boolean false', 'maas': 'cloud-init cloud-init/datasources multiselect MAAS\ncloud-init-base cloud-init-base/datasources multiselect MAAS\ncloud-init cloud-init/maas-metadata-url string http://maasip:5248/MAAS/metadata/\ncloud-init-base cloud-init-base/maas-metadata-url string http://maasip:5248/MAAS/metadata/\ncloud-init cloud-init/maas-metadata-credentials string oauth_consumer_key=ZAkkQxjMJCIizeeJCx&oauth_token_key=kS5QbhRu3gFSfZjcyV&oauth_token_secret=WxTAo9fY8FILO5Zsltu9oaK6g2j3b22u\ncloud-init-base cloud-init-base/maas-metadata-credentials string oauth_consumer_key=ZAkkQxjMJCIizeeJCx&oauth_token_key=kS5QbhRu3gFSfZjcyV&oauth_token_secret=WxTAo9fY8FILO5Zsltu9oaK6g2j3b22u\ncloud-init cloud-init/local-cloud-config string manage_etc_hosts: true\\nmanual_cache_clean: true\\nreporting:\\n maas:\\n consumer_key: ZAkkQxjMJCIizeeJCx\\n endpoint: http://maasip:5248/MAAS/metadata/status/n6d7fg\\n token_key: kS5QbhRu3gFSfZjcyV\\n token_secret: WxTAo9fY8FILO5Zsltu9oaK6g2j3b22u\\n type: webhook\\n\ncloud-init-base cloud-init-base/local-cloud-config string manage_etc_hosts: true\\nmanual_cache_clean: true\\nreporting:\\n maas:\\n consumer_key: ZAkkQxjMJCIizeeJCx\\n endpoint: http://maasip:5248/MAAS/metadata/status/n6d7fg\\n token_key: kS5QbhRu3gFSfZjcyV\\n token_secret: WxTAo9fY8FILO5Zsltu9oaK6g2j3b22u\\n type: webhook\\n\n'} into new format: {'preserve_sources_list': False, 'proxy': 'http://maasip:8000/', 'sources_list': 'deb http://archive.ubuntu.com/ubuntu $RELEASE multiverse universe restricted main\n# deb-src http://archive.ubuntu.com/ubuntu $RELEASE multiverse universe restricted main\ndeb http://archive.ubuntu.com/ubuntu $RELEASE-updates multiverse universe restricted main\n# deb-src http://archive.ubuntu.com/ubuntu $RELEASE-updates multiverse universe restricted main\ndeb http://archive.ubuntu.com/ubuntu $RELEASE-security multiverse universe restricted main\n# deb-src http://archive.ubuntu.com/ubuntu $RELEASE-security multiverse universe restricted main\ndeb http://archive.ubuntu.com/ubuntu $RELEASE-backports multiverse universe restricted main\n# deb-src http://archive.ubuntu.com/ubuntu $RELEASE-backports multiverse universe restricted main\n', 'debconf_selections': {'grub2': 'grub2 grub2/update_nvram boolean false', 'maas': 'cloud-init cloud-init/datasources multiselect MAAS\ncloud-init-base cloud-init-base/datasources multiselect MAAS\ncloud-init cloud-init/maas-metadata-url string http://maasip:5248/MAAS/metadata/\ncloud-init-base cloud-init-base/maas-metadata-url string http://maasip:5248/MAAS/metadata/\ncloud-init cloud-init/maas-metadata-credentials string oauth_consumer_key=ZAkkQxjMJCIizeeJCx&oauth_token_key=kS5QbhRu3gFSfZjcyV&oauth_token_secret=WxTAo9fY8FILO5Zsltu9oaK6g2j3b22u\ncloud-init-base cloud-init-base/maas-metadata-credentials string oauth_consumer_key=ZAkkQxjMJCIizeeJCx&oauth_token_key=kS5QbhRu3gFSfZjcyV&oauth_token_secret=WxTAo9fY8FILO5Zsltu9oaK6g2j3b22u\ncloud-init cloud-init/local-cloud-config string manage_etc_hosts: true\\nmanual_cache_clean: true\\nreporting:\\n maas:\\n consumer_key: ZAkkQxjMJCIizeeJCx\\n endpoint: http://maasip:5248/MAAS/metadata/status/n6d7fg\\n token_key: kS5QbhRu3gFSfZjcyV\\n token_secret: WxTAo9fY8FILO5Zsltu9oaK6g2j3b22u\\n type: webhook\\n\ncloud-init-base cloud-init-base/local-cloud-config string manage_etc_hosts: true\\nmanual_cache_clean: true\\nreporting:\\n maas:\\n consumer_key: ZAkkQxjMJCIizeeJCx\\n endpoint: http://maasip:5248/MAAS/metadata/status/n6d7fg\\n token_key: kS5QbhRu3gFSfZjcyV\\n token_secret: WxTAo9fY8FILO5Zsltu9oaK6g2j3b22u\\n type: webhook\\n\n'}}
curthooks handling apt to target /tmp/tmp56mi2870/target with config {'preserve_sources_list': False, 'proxy': 'http://maasip:8000/', 'sources_list': 'deb http://archive.ubuntu.com/ubuntu $RELEASE multiverse universe restricted main\n# deb-src http://archive.ubuntu.com/ubuntu $RELEASE multiverse universe restricted main\ndeb http://archive.ubuntu.com/ubuntu $RELEASE-updates multiverse universe restricted main\n# deb-src http://archive.ubuntu.com/ubuntu $RELEASE-updates multiverse universe restricted main\ndeb http://archive.ubuntu.com/ubuntu $RELEASE-security multiverse universe restricted main\n# deb-src http://archive.ubuntu.com/ubuntu $RELEASE-security multiverse universe restricted main\ndeb http://archive.ubuntu.com/ubuntu $RELEASE-backports multiverse universe restricted main\n# deb-src http://archive.ubuntu.com/ubuntu $RELEASE-backports multiverse universe restricted main\n', 'debconf_selections': {'grub2': 'grub2 grub2/update_nvram boolean false', 'maas': 'cloud-init cloud-init/datasources multiselect MAAS\ncloud-init-base cloud-init-base/datasources multiselect MAAS\ncloud-init cloud-init/maas-metadata-url string http://maasip:5248/MAAS/metadata/\ncloud-init-base cloud-init-base/maas-metadata-url string http://maasip:5248/MAAS/metadata/\ncloud-init cloud-init/maas-metadata-credentials string oauth_consumer_key=ZAkkQxjMJCIizeeJCx&oauth_token_key=kS5QbhRu3gFSfZjcyV&oauth_token_secret=WxTAo9fY8FILO5Zsltu9oaK6g2j3b22u\ncloud-init-base cloud-init-base/maas-metadata-credentials string oauth_consumer_key=ZAkkQxjMJCIizeeJCx&oauth_token_key=kS5QbhRu3gFSfZjcyV&oauth_token_secret=WxTAo9fY8FILO5Zsltu9oaK6g2j3b22u\ncloud-init cloud-init/local-cloud-config string manage_etc_hosts: true\\nmanual_cache_clean: true\\nreporting:\\n maas:\\n consumer_key: ZAkkQxjMJCIizeeJCx\\n endpoint: http://maasip:5248/MAAS/metadata/status/n6d7fg\\n token_key: kS5QbhRu3gFSfZjcyV\\n token_secret: WxTAo9fY8FILO5Zsltu9oaK6g2j3b22u\\n type: webhook\\n\ncloud-init-base cloud-init-base/local-cloud-config string manage_etc_hosts: true\\nmanual_cache_clean: true\\nreporting:\\n maas:\\n consumer_key: ZAkkQxjMJCIizeeJCx\\n endpoint: http://maasip:5248/MAAS/metadata/status/n6d7fg\\n token_key: kS5QbhRu3gFSfZjcyV\\n token_secret: WxTAo9fY8FILO5Zsltu9oaK6g2j3b22u\\n type: webhook\\n\n'}}
Running command ['unshare', '--help'] with allowed return codes [0] (capture=True)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'lsb_release', '--all'] with allowed return codes [0] (capture=True)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'dpkg', '--print-architecture'] with allowed return codes [0] (capture=True)
got primary mirror: None
got security mirror: None
Apt Mirror info: {'PRIMARY': 'http://archive.ubuntu.com/ubuntu/', 'SECURITY': 'http://security.ubuntu.com/ubuntu/', 'MIRROR': 'http://archive.ubuntu.com/ubuntu/'}
Applying debconf selections
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'debconf-set-selections'] with allowed return codes [0] (capture=True)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'dpkg-query', '--list'] with allowed return codes [0] (capture=True)
unconfiguring cloud-init
cleaning cloud-init config from: ['/tmp/tmp56mi2870/target/etc/cloud/cloud.cfg.d/90_dpkg.cfg']
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'dpkg-reconfigure', '--frontend=noninteractive', 'cloud-init'] with allowed return codes [0] (capture=True)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/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', '/tmp/tmp56mi2870/target', 'dpkg', '--print-architecture'] with allowed return codes [0] (capture=True)
write apt proxy info to /tmp/tmp56mi2870/target/etc/apt/apt.conf.d/90curtin-aptproxy
renaming /tmp/tmp56mi2870/target/etc/overlayroot.local.conf to /tmp/tmp56mi2870/target/etc/overlayroot.local.conf.old
Running command ['mount', '--bind', '/dev', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Diverting original update-initramfs in target.
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/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.010
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/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', '/tmp/tmp56mi2870/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', '/tmp/tmp56mi2870/target', 'dpkg-query', '--list'] with allowed return codes [0] (capture=True)
Curtin config dependencies requires additional packages: ['lvm2', 'lvm2', 'e2fsprogs', 'ifenslave']
Running command ['dpkg', '--print-architecture'] with allowed return codes [0] (capture=True)
Running command ['apt-cache', 'pkgnames'] with allowed return codes [0] (capture=True)
Running command ['apt-cache', 'pkgnames'] with allowed return codes [0] (capture=True)
Skipping install of {'vlan', 'bridge-utils', 'grub-efi-amd64', 'ifenslave'}. Not needed on netplan system.
start: cmd-install/stage-curthooks/builtin/cmd-curthooks: Installing packages on target system: ['grub-efi-amd64']
Running command ['mount', '--bind', '/dev', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'apt-get', '--quiet', '--option=Acquire::Languages=none', '--option=Dir::Etc::sourcelist=/tmp/tmpfeo4c13a/sources.list', '--option=Dir::Etc::sourceparts=/tmp/tmpfeo4c13a/sources.list.d', 'update'] with allowed return codes [0] (capture=False)
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
Get:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Get:3 http://archive.ubuntu.com/ubuntu noble-security InRelease [126 kB]
Get:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
Get:5 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Components [940 B]
Get:6 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1485 kB]
Get:7 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Components [377 kB]
Get:8 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 c-n-f Metadata [31.1 kB]
Get:9 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Components [212 B]
Get:10 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1443 kB]
Get:11 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Components [175 kB]
Get:12 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 c-n-f Metadata [15.3 kB]
Get:13 http://archive.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [28.0 kB]
Get:14 http://archive.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [212 B]
Get:15 http://archive.ubuntu.com/ubuntu noble-security/multiverse amd64 c-n-f Metadata [384 B]
Get:16 http://archive.ubuntu.com/ubuntu noble-security/universe amd64 Packages [880 kB]
Get:17 http://archive.ubuntu.com/ubuntu noble-security/universe amd64 Components [52.3 kB]
Get:18 http://archive.ubuntu.com/ubuntu noble-security/universe amd64 c-n-f Metadata [18.0 kB]
Get:19 http://archive.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [1872 kB]
Get:20 http://archive.ubuntu.com/ubuntu noble-security/restricted amd64 Components [212 B]
Get:21 http://archive.ubuntu.com/ubuntu noble-security/restricted amd64 c-n-f Metadata [520 B]
Get:22 http://archive.ubuntu.com/ubuntu noble-security/main amd64 Packages [1171 kB]
Get:23 http://archive.ubuntu.com/ubuntu noble-security/main amd64 Components [21.6 kB]
Get:24 http://archive.ubuntu.com/ubuntu noble-security/main amd64 c-n-f Metadata [8744 B]
Get:25 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Components [212 B]
Get:26 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Components [11.0 kB]
Get:27 http://archive.ubuntu.com/ubuntu noble-backports/restricted amd64 Components [216 B]
Get:28 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Components [7132 B]
Ign:29 https://repo.download.nvidia.com/baseos/ubuntu/jammy/x86_64 jammy InRelease
Ign:30 https://repo.zabbix.com/zabbix/7.4/stable/ubuntu noble InRelease
Ign:31 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 InRelease
Ign:32 https://linux.mellanox.com/public/repo/mlnx_ofed/latest/ubuntu22.04/x86_64 ./ InRelease
Ign:33 https://repo.download.nvidia.com/baseos/ubuntu/jammy/x86_64 jammy-updates InRelease
Ign:34 https://repo.zabbix.com/zabbix-tools/debian-ubuntu noble InRelease
Ign:32 https://linux.mellanox.com/public/repo/mlnx_ofed/latest/ubuntu22.04/x86_64 ./ InRelease
Ign:31 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 InRelease
Ign:35 https://repo.zabbix.com/zabbix/7.4/release/ubuntu noble InRelease
Ign:30 https://repo.zabbix.com/zabbix/7.4/stable/ubuntu noble InRelease
Ign:29 https://repo.download.nvidia.com/baseos/ubuntu/jammy/x86_64 jammy InRelease
Ign:32 https://linux.mellanox.com/public/repo/mlnx_ofed/latest/ubuntu22.04/x86_64 ./ InRelease
Ign:31 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 InRelease
Ign:34 https://repo.zabbix.com/zabbix-tools/debian-ubuntu noble InRelease
Ign:33 https://repo.download.nvidia.com/baseos/ubuntu/jammy/x86_64 jammy-updates InRelease
Err:32 https://linux.mellanox.com/public/repo/mlnx_ofed/latest/ubuntu22.04/x86_64 ./ InRelease
Reading from proxy failed - select (115: Operation now in progress) [IP: maasip 8000]
Err:31 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 InRelease
Reading from proxy failed - select (115: Operation now in progress) [IP: maasip 8000]
Ign:35 https://repo.zabbix.com/zabbix/7.4/release/ubuntu noble InRelease
Ign:29 https://repo.download.nvidia.com/baseos/ubuntu/jammy/x86_64 jammy InRelease
Ign:30 https://repo.zabbix.com/zabbix/7.4/stable/ubuntu noble InRelease
Ign:33 https://repo.download.nvidia.com/baseos/ubuntu/jammy/x86_64 jammy-updates InRelease
Ign:34 https://repo.zabbix.com/zabbix-tools/debian-ubuntu noble InRelease
Err:29 https://repo.download.nvidia.com/baseos/ubuntu/jammy/x86_64 jammy InRelease
Reading from proxy failed - select (115: Operation now in progress) [IP: maasip 8000]
Err:33 https://repo.download.nvidia.com/baseos/ubuntu/jammy/x86_64 jammy-updates InRelease
Reading from proxy failed - select (115: Operation now in progress) [IP: maasip 8000]
Ign:35 https://repo.zabbix.com/zabbix/7.4/release/ubuntu noble InRelease
Err:30 https://repo.zabbix.com/zabbix/7.4/stable/ubuntu noble InRelease
Reading from proxy failed - select (115: Operation now in progress) [IP: maasip 8000]
Err:34 https://repo.zabbix.com/zabbix-tools/debian-ubuntu noble InRelease
Reading from proxy failed - select (115: Operation now in progress) [IP: maasip 8000]
Err:35 https://repo.zabbix.com/zabbix/7.4/release/ubuntu noble InRelease
Reading from proxy failed - select (115: Operation now in progress) [IP: maasip 8000]
Fetched 7978 kB in 5min 30s (24.1 kB/s)
Reading package lists...
W: Failed to fetch https://repo.download.nvidia.com/baseos/ubuntu/jammy/x86_64/dists/jammy/InRelease Reading from proxy failed - select (115: Operation now in progress) [IP: maasip 8000]
W: Failed to fetch https://repo.download.nvidia.com/baseos/ubuntu/jammy/x86_64/dists/jammy-updates/InRelease Reading from proxy failed - select (115: Operation now in progress) [IP: maasip 8000]
W: Failed to fetch https://repo.zabbix.com/zabbix/7.4/stable/ubuntu/dists/noble/InRelease Reading from proxy failed - select (115: Operation now in progress) [IP: maasip 8000]
W: Failed to fetch https://repo.zabbix.com/zabbix-tools/debian-ubuntu/dists/noble/InRelease Reading from proxy failed - select (115: Operation now in progress) [IP: maasip 8000]
W: Failed to fetch https://repo.zabbix.com/zabbix/7.4/release/ubuntu/dists/noble/InRelease Reading from proxy failed - select (115: Operation now in progress) [IP: maasip 8000]
W: Failed to fetch https://linux.mellanox.com/public/repo/mlnx_ofed/latest/ubuntu22.04/x86_64/./InRelease Reading from proxy failed - select (115: Operation now in progress) [IP: maasip 8000]
W: Failed to fetch https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/InRelease Reading from proxy failed - select (115: Operation now in progress) [IP: maasip 8000]
W: Some index files failed to download. They have been ignored, or old ones used instead.
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.006
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/dev', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', '--download-only', 'grub-efi-amd64'] with allowed return codes [0] (capture=False)
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
grub-pc-bin
Use 'apt autoremove' to remove it.
The following packages will be REMOVED:
grub-gfxpayload-lists grub-pc
The following NEW packages will be installed:
grub-efi-amd64
0 upgraded, 1 newly installed, 2 to remove and 40 not upgraded.
Need to get 52.8 kB of archives.
After this operation, 406 kB disk space will be freed.
Get:1 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 grub-efi-amd64 amd64 2.12-1ubuntu7.3 [52.8 kB]
Fetched 52.8 kB in 0s (108 kB/s)
Download complete and in download only mode
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', 'grub-efi-amd64'] with allowed return codes [0] (capture=False)
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
grub-pc-bin
Use 'apt autoremove' to remove it.
The following packages will be REMOVED:
grub-gfxpayload-lists grub-pc
The following NEW packages will be installed:
grub-efi-amd64
Preconfiguring packages ...
0 upgraded, 1 newly installed, 2 to remove and 40 not upgraded.
Need to get 0 B/52.8 kB of archives.
After this operation, 406 kB disk space will be freed.
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
(Reading database ... 145100 files and directories currently installed.)
Removing grub-gfxpayload-lists (0.7build2) ...
dpkg: grub-pc: dependency problems, but removing anyway as you requested:
grub-efi-amd64-signed depends on grub-efi-amd64 | grub-pc; however:
Package grub-efi-amd64 is not installed.
Package grub-pc is to be removed.
Removing grub-pc (2.12-1ubuntu7.3) ...
Selecting previously unselected package grub-efi-amd64.
(Reading database ... 145080 files and directories currently installed.)
Preparing to unpack .../grub-efi-amd64_2.12-1ubuntu7.3_amd64.deb ...
Unpacking grub-efi-amd64 (2.12-1ubuntu7.3) ...
Setting up grub-efi-amd64 (2.12-1ubuntu7.3) ...
Installing for x86_64-efi platform.
Installation finished. No error reported.
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.8.0-84-generic
Found initrd image: /boot/initrd.img-6.8.0-84-generic
Found linux image: /boot/vmlinuz-6.8.0-71-generic
Found initrd image: /boot/initrd.img-6.8.0-71-generic
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for shim-signed (1.58+15.8-0ubuntu1) ...
Secure Boot not enabled on this system.
The processor microcode seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.009
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/dev', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'apt-get', 'clean'] with allowed return codes [0] (capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.008
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: SUCCESS: Installing packages on target system: ['grub-efi-amd64']
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', '/tmp/tmp56mi2870/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 ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'lsb_release', '--codename', '--short'] with allowed return codes [0] (capture=True)
Couldn't detect kernel package to install for 6.8.0-83-generic.
Running command ['mount', '--bind', '/dev', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', '--download-only', 'linux-generic'] with allowed return codes [0] (capture=False)
Reading package lists...
Building dependency tree...
Reading state information...
linux-generic is already the newest version (6.8.0-84.84).
The following package was automatically installed and is no longer required:
grub-pc-bin
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 40 not upgraded.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (restricted/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (restricted/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (multiverse/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (multiverse/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (restricted/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (restricted/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (multiverse/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (multiverse/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (restricted/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (restricted/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (multiverse/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target DEP-11 (multiverse/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/ubuntu.sources:1
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', '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...
linux-generic is already the newest version (6.8.0-84.84).
The following package was automatically installed and is no longer required:
grub-pc-bin
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 40 not upgraded.
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.009
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/dev', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'apt-get', 'clean'] with allowed return codes [0] (capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.005
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/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
Running command ['findmnt', '--noheading', '--target', '/tmp/tmp56mi2870/target/', '-o', 'FSTYPE'] with allowed return codes [0] (capture=True)
Running command ['sh', '-c', 'rm -f "$1" && umask 0066 && truncate -s 0 "$1" && { chattr +C "$1" || true; } && fallocate -l "${2}M" "$1" && mkswap "$1" || { r=$?; rm -f "$1"; exit $r; }', 'setup_swap', '/tmp/tmp56mi2870/target//swap.img', '8192'] with allowed return codes [0] (capture=False)
chattr: Operation not supported while setting flags on /tmp/tmp56mi2870/target//swap.img
Setting up swapspace version 1, size = 8 GiB (8589930496 bytes)
no label, UUID=ad41a8e3-d238-4129-8c73-805a5dc60501
creating swapfile '/swap.img' of 8192MB took 0.045 seconds
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/setting-up-swap: SUCCESS: setting up swap
cloudconfig ignoring 'path' key in config
cloudconfig ignoring 'path' key in config
cloudconfig ignoring 'path' key in config
cloudconfig ignoring 'path' key in config
Calling write_files with cloudconfig @ /tmp/tmp56mi2870/target/etc/cloud/cloud.cfg.d
Injecting cloud-config:
{'maas-cloud-config': {'content': '#cloud-config\ndatasource:\n MAAS:\n consumer_key: ZAkkQxjMJCIizeeJCx\n metadata_url: http://maasip:5248/MAAS/metadata/\n token_key: kS5QbhRu3gFSfZjcyV\n token_secret: WxTAo9fY8FILO5Zsltu9oaK6g2j3b22u\n', 'path': '95-cloudconfig-maas-cloud-config.cfg'}, 'maas-datasource': {'content': 'datasource_list: [ MAAS ]', 'path': '95-cloudconfig-maas-datasource.cfg'}, 'maas-reporting': {'content': '#cloud-config\nreporting:\n maas:\n consumer_key: ZAkkQxjMJCIizeeJCx\n endpoint: http://maasip:5248/MAAS/metadata/status/n6d7fg\n token_key: kS5QbhRu3gFSfZjcyV\n token_secret: WxTAo9fY8FILO5Zsltu9oaK6g2j3b22u\n type: webhook\n', 'path': '95-cloudconfig-maas-reporting.cfg'}, 'maas-ubuntu-sso': {'content': '#cloud-config\nsnap:\n email: gsmc.se@tatacommunications.com\n', 'path': '95-cloudconfig-maas-ubuntu-sso.cfg'}}
start: cmd-install/stage-curthooks/builtin/cmd-curthooks/apply-networking-config: apply networking config
applying network_config
Checking cloud-init in target [/tmp/tmp56mi2870/target] for network configuration passthrough support.
Checking in-target cloud-init for feature: NETWORK_CONFIG_V2
Running command ['mount', '--bind', '/dev', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/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.009
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Passing network configuration through to target: /tmp/tmp56mi2870/target
Writing network config to etc/cloud/cloud.cfg.d/50-curtin-networking.cfg: /tmp/tmp56mi2870/target/etc/cloud/cloud.cfg.d/50-curtin-networking.cfg
Failed to find legacy network conf file /tmp/tmp56mi2870/target/etc/network/interfaces.d/eth0.cfg
Attempting to remove ipv6 privacy extensions
Removing ipv6 privacy extension config file: /tmp/tmp56mi2870/target/etc/sysctl.d/10-ipv6-privacy.conf
del_file: removed /tmp/tmp56mi2870/target/etc/sysctl.d/10-ipv6-privacy.conf
Injecting fix for ipv6 mtu settings: /tmp/tmp56mi2870/target/etc/network/if-pre-up.d/mtuipv6
Injecting fix for ipv6 mtu settings: /tmp/tmp56mi2870/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 ['udevadm', 'info', '--query=property', '--export', '/dev/loop0'] with allowed return codes [0] (capture=True)
/dev/loop0 is multipath device member? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True)
/dev/dm-0 is multipath device? False
/dev/dm-0 is multipath device partition? False
Running command ['pvdisplay', '-C', '--separator', '=', '--noheadings', '-o', 'vg_name,pv_name'] with allowed return codes [0] (capture=True)
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda4'] with allowed return codes [0] (capture=True)
/dev/sda4 is multipath device member? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/dm-0'] with allowed return codes [0] (capture=True)
/dev/dm-0 is multipath device member? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda2'] with allowed return codes [0] (capture=True)
/dev/sda2 is multipath device? False
/dev/sda2 is multipath device partition? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda2'] with allowed return codes [0] (capture=True)
/dev/sda2 is multipath device member? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda1'] with allowed return codes [0] (capture=True)
/dev/sda1 is multipath device? False
/dev/sda1 is multipath device partition? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda1'] with allowed return codes [0] (capture=True)
/dev/sda1 is multipath device member? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda3'] with allowed return codes [0] (capture=True)
/dev/sda3 is multipath device? False
/dev/sda3 is multipath device partition? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda3'] with allowed return codes [0] (capture=True)
/dev/sda3 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/sda'] 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/nvme5n1'] 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/nvme6n1'] 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/nvme2n1'] 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/nvme7n1'] 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/nvme4n1'] 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/nvme1n1'] 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/nvme0n1'] 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/nvme3n1'] with allowed return codes [0] (capture=True)
Running command ['blockdev', '--rereadpt', '/dev/nvme5n1', '/dev/nvme6n1', '/dev/nvme2n1', '/dev/nvme7n1', '/dev/nvme4n1', '/dev/nvme1n1', '/dev/nvme0n1', '/dev/nvme3n1'] with allowed return codes [0] (capture=True)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.006
Running command ['blkid', '-o', 'full'] with allowed return codes [0] (capture=True)
legacy_detect_multipath found blkid info: {'/dev/loop0': {'BLOCK_SIZE': '131072', 'TYPE': 'squashfs'}, '/dev/mapper/vg--root-lv--root': {'UUID': '6166f93c-3787-42fe-b265-5cf9cac527eb', 'BLOCK_SIZE': '4096', 'TYPE': 'ext4'}, '/dev/sda4': {'UUID': 'mcPVZG-7HWj-ZeJw-RQpc-JYB2-jbro-1Fdvck', 'TYPE': 'LVM2_member', 'PARTUUID': '20cd6ee6-8dac-40d8-bcf8-c30c9e6a2687'}, '/dev/sda2': {'UUID': '61881f17-40ab-4761-b2a9-d7f06e1d993c', 'BLOCK_SIZE': '4096', 'TYPE': 'ext4', 'PARTUUID': '6949bf91-e60a-4a8c-a099-487bc8be6dc6'}, '/dev/sda3': {'UUID': '54d4dc7c-a717-44c8-b6da-6d42774c48a2', 'BLOCK_SIZE': '4096', 'TYPE': 'ext4', 'PARTUUID': 'f668e4d5-614e-47ca-b755-91b8d07b4cf7'}, '/dev/sda1': {'UUID': '6343-16B4', 'BLOCK_SIZE': '512', 'TYPE': 'vfat', 'PARTUUID': 'adb337d6-5325-489b-880d-9232e634c277'}}
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/dm-0']
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/configuring-kernel-crash-dumps: configuring kernel crash dumps settings
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'dpkg-query', '--list'] with allowed return codes [0] (capture=True)
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-kernel-crash-dumps: SUCCESS: configuring kernel crash dumps settings
start: cmd-install/stage-curthooks/builtin/cmd-curthooks/updating-initramfs-configuration: updating initramfs configuration
Running command ['mount', '--bind', '/dev', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/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.008
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/dev', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Restoring update-initramfs in target for initrd updates.
del_file: removed /tmp/tmp56mi2870/target/usr/sbin/update-initramfs
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/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.009
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/dev', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/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.009
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/dev', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'update-initramfs', '-u', '-k', '6.8.0-71-generic'] with allowed return codes [0] (capture=False)
update-initramfs: Generating /boot/initrd.img-6.8.0-71-generic
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.010
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/dev', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'update-initramfs', '-u', '-k', '6.8.0-84-generic'] with allowed return codes [0] (capture=False)
update-initramfs: Generating /boot/initrd.img-6.8.0-84-generic
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.011
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/updating-initramfs-configuration: SUCCESS: updating initramfs configuration
start: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-bootloader: configuring target system bootloader
start: cmd-install/stage-curthooks/builtin/cmd-curthooks/install-grub: installing grub to target devices
setup grub on target /tmp/tmp56mi2870/target
Found primary UEFI ESP: sda-part1
Found UEFI ESP(s) for grub install: ['sda-part1']
get_path_to_storage_volume for volume sda-part1({'device': 'sda', 'id': 'sda-part1', 'name': 'sda-part1', 'number': 1, 'offset': '4194304B', 'size': '1073741824B', 'type': 'partition', 'uuid': '1d225534-e0cd-4bbb-a5ea-58e943d7e280', 'wipe': 'superblock'})
get_path_to_storage_volume for volume sda({'grub_device': True, 'id': 'sda', 'model': 'GBT3816-iMR', 'name': 'sda', 'ptable': 'gpt', 'serial': '6001485000b672903060f6f22d6cb21d', 'type': 'disk', 'wipe': 'superblock'})
Processing serial 6001485000b672903060f6f22d6cb21d via udev to 6001485000b672903060f6f22d6cb21d
lookup_disks found: ['scsi-36001485000b672903060f6f22d6cb21d', 'wwn-0x6001485000b672903060f6f22d6cb21d', 'wwn-0x6001485000b672903060f6f22d6cb21d-part3', 'scsi-36001485000b672903060f6f22d6cb21d-part3', 'scsi-36001485000b672903060f6f22d6cb21d-part4', 'wwn-0x6001485000b672903060f6f22d6cb21d-part4', 'wwn-0x6001485000b672903060f6f22d6cb21d-part2', 'scsi-36001485000b672903060f6f22d6cb21d-part2', 'scsi-36001485000b672903060f6f22d6cb21d-part1', 'wwn-0x6001485000b672903060f6f22d6cb21d-part1']
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device? False
Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True)
/dev/sda is multipath device member? False
block.lookup_disk() returning path /dev/sda
Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.079
devsync happy - path /dev/sda now exists
return volume path /dev/sda
Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED udevadm_settle(): 0.079
devsync happy - path /dev/sda now exists
return volume path /dev/sda1
install_devices: ['/dev/sda1']
Generating grub debconf_selections for devices=['/dev/sda1'] uefi=True
Applying grub debconf_selections config:
{'debconf_selections': {'grub': 'grub-pc grub-efi/install_devices multiselect /dev/disk/by-id/wwn-0x6001485000b672903060f6f22d6cb21d-part1'}}
Applying debconf selections
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'debconf-set-selections'] with allowed return codes [0] (capture=True)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'dpkg-query', '--list'] with allowed return codes [0] (capture=True)
Running command ['mount', '--bind', '/dev', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'efibootmgr', '-v'] with allowed return codes [0] (capture=True)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.010
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/dev', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'efibootmgr', '-v'] with allowed return codes [0] (capture=True)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.008
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
UEFI remove old olders efi output:
{'current': '0008', 'timeout': '1 seconds', 'order': ['0008', '0002', '0003', '0007', '0006', '0005', '0009', '0004', '000A', '000B', '000C', '000D', '000E', '0001'], 'entries': {'0000': {'name': 'Ubuntu', 'path': 'HD(1,GPT,9be25a58-b395-40ca-bd5b-11035d4452a0,0x800,0x200000)/File(\\EFI\\ubuntu\\shimx64.efi)'}, '0001': {'name': 'UEFI: Built-in EFI Shell', 'path': 'VenMedia(5023b95c-db26-429b-a648-bd47664c8012)0000424f'}, '0002': {'name': 'UEFI: PXE IPv4 Intel(R) Ethernet Controller X710 for 10GBASE-T servermac', 'path': 'PciRoot(0x0)/Pci(0x1a,0x0)/Pci(0x0,0x0)/MAC(74563cbcc587,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}, '0003': {'name': 'UEFI: PXE IPv4 Intel(R) Ethernet Controller X710 for 10GBASE-T servermac', 'path': 'PciRoot(0x0)/Pci(0x1a,0x0)/Pci(0x0,0x1)/MAC(74563cbcc588,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}, '0004': {'name': 'UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:40:BA A0:88:C2:6E:40:BA', 'path': 'PciRoot(0x10)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e40ba,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}, '0005': {'name': 'UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:36:74 A0:88:C2:6E:36:74', 'path': 'PciRoot(0x10)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0xc,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e3674,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}, '0006': {'name': 'UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:40:D2 A0:88:C2:6E:40:D2', 'path': 'PciRoot(0x20)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e40d2,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}, '0007': {'name': 'UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:40:AE A0:88:C2:6E:40:AE', 'path': 'PciRoot(0x20)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0xc,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e40ae,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}, '0008': {'name': 'UEFI: PXE IPv4 Nvidia Network Adapter - servermac servermac', 'path': 'PciRoot(0x30)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(5c2573d59a6a,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}, '0009': {'name': 'UEFI: PXE IPv4 Nvidia Network Adapter - servermac servermac', 'path': 'PciRoot(0x30)/Pci(0x1,0x0)/Pci(0x0,0x1)/MAC(5c2573d59a6b,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}, '000A': {'name': 'UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:40:C4 A0:88:C2:6E:40:C4', 'path': 'PciRoot(0x110)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e40c4,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}, '000B': {'name': 'UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:36:86 A0:88:C2:6E:36:86', 'path': 'PciRoot(0x110)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0xc,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e3686,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}, '000C': {'name': 'UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:36:B4 A0:88:C2:6E:36:B4', 'path': 'PciRoot(0x120)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e36b4,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}, '000D': {'name': 'UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:40:D0 A0:88:C2:6E:40:D0', 'path': 'PciRoot(0x120)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0xc,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e40d0,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}, '000E': {'name': 'ubuntu (SCSI Hard Drive, Partition 1)', 'path': 'HD(1,GPT,9be25a58-b395-40ca-bd5b-11035d4452a0,0x800,0x200000)/File(\\EFI\\ubuntu\\shimx64.efi) File(.)'}}}
Running command ['mount', '--bind', '/dev', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
removing old UEFI entry: Ubuntu
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'efibootmgr', '-B', '-b', '0000'] with allowed return codes [0] (capture=True)
removing old UEFI entry: ubuntu (SCSI Hard Drive, Partition 1)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'efibootmgr', '-B', '-b', '000E'] with allowed return codes [0] (capture=True)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.009
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
installing grub to target=/tmp/tmp56mi2870/target devices=['/dev/sda1'] [replace_defaults=None]
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'dpkg', '--print-architecture'] with allowed return codes [0] (capture=True)
grub: moved /tmp/tmp56mi2870/target/etc/default/grub.d/50-cloudimg-settings.cfg out of the way
updated /tmp/tmp56mi2870/target/etc/default/grub to set: GRUB_CMDLINE_LINUX_DEFAULT=""
Using grub install command: /usr/lib/grub/grub-multi-install
Grub install cmds:
[['efibootmgr', '-v'], ['dpkg-reconfigure', 'grub-efi-amd64'], ['update-grub'], ['/usr/lib/grub/grub-multi-install'], ['efibootmgr', '-v']]
Running command ['mount', '--bind', '/dev', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'efibootmgr', '-v'] with allowed return codes [0] (capture=True)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'dpkg-reconfigure', 'grub-efi-amd64'] with allowed return codes [0] (capture=True)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'update-grub'] with allowed return codes [0] (capture=True)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', '/usr/lib/grub/grub-multi-install'] with allowed return codes [0] (capture=True)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'efibootmgr', '-v'] with allowed return codes [0] (capture=True)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.009
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/dev', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'efibootmgr', '-v'] with allowed return codes [0] (capture=True)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.010
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
UEFI efibootmgr output after install:
{'current': '0008', 'timeout': '1 seconds', 'order': ['0000', '0008', '0002', '0003', '0007', '0006', '0005', '0009', '0004', '000A', '000B', '000C', '000D', '0001'], 'entries': {'0000': {'name': 'Ubuntu', 'path': 'HD(1,GPT,adb337d6-5325-489b-880d-9232e634c277,0x800,0x200000)/File(\\EFI\\ubuntu\\shimx64.efi)'}, '0001': {'name': 'UEFI: Built-in EFI Shell', 'path': 'VenMedia(5023b95c-db26-429b-a648-bd47664c8012)0000424f'}, '0002': {'name': 'UEFI: PXE IPv4 Intel(R) Ethernet Controller X710 for 10GBASE-T servermac', 'path': 'PciRoot(0x0)/Pci(0x1a,0x0)/Pci(0x0,0x0)/MAC(74563cbcc587,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}, '0003': {'name': 'UEFI: PXE IPv4 Intel(R) Ethernet Controller X710 for 10GBASE-T servermac', 'path': 'PciRoot(0x0)/Pci(0x1a,0x0)/Pci(0x0,0x1)/MAC(74563cbcc588,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}, '0004': {'name': 'UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:40:BA A0:88:C2:6E:40:BA', 'path': 'PciRoot(0x10)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e40ba,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}, '0005': {'name': 'UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:36:74 A0:88:C2:6E:36:74', 'path': 'PciRoot(0x10)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0xc,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e3674,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}, '0006': {'name': 'UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:40:D2 A0:88:C2:6E:40:D2', 'path': 'PciRoot(0x20)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e40d2,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}, '0007': {'name': 'UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:40:AE A0:88:C2:6E:40:AE', 'path': 'PciRoot(0x20)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0xc,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e40ae,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}, '0008': {'name': 'UEFI: PXE IPv4 Nvidia Network Adapter - servermac servermac', 'path': 'PciRoot(0x30)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(5c2573d59a6a,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}, '0009': {'name': 'UEFI: PXE IPv4 Nvidia Network Adapter - servermac servermac', 'path': 'PciRoot(0x30)/Pci(0x1,0x0)/Pci(0x0,0x1)/MAC(5c2573d59a6b,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}, '000A': {'name': 'UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:40:C4 A0:88:C2:6E:40:C4', 'path': 'PciRoot(0x110)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e40c4,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}, '000B': {'name': 'UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:36:86 A0:88:C2:6E:36:86', 'path': 'PciRoot(0x110)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0xc,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e3686,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}, '000C': {'name': 'UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:36:B4 A0:88:C2:6E:36:B4', 'path': 'PciRoot(0x120)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e36b4,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}, '000D': {'name': 'UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:40:D0 A0:88:C2:6E:40:D0', 'path': 'PciRoot(0x120)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0xc,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e40d0,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'}}}
Setting currently booted 0008 as the first UEFI loader.
New UEFI boot order: 0008,0000,0002,0003,0007,0006,0005,0009,0004,000A,000B,000C,000D,0001
Running command ['mount', '--bind', '/dev', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'efibootmgr', '-o', '0008,0000,0002,0003,0007,0006,0005,0009,0004,000A,000B,000C,000D,0001'] with allowed return codes [0] (capture=False)
BootCurrent: 0008
Timeout: 1 seconds
BootOrder: 0008,0000,0002,0003,0007,0006,0005,0009,0004,000A,000B,000C,000D,0001
Boot0000* Ubuntu HD(1,GPT,adb337d6-5325-489b-880d-9232e634c277,0x800,0x200000)/File(\EFI\ubuntu\shimx64.efi)
Boot0001* UEFI: Built-in EFI Shell VenMedia(5023b95c-db26-429b-a648-bd47664c8012)0000424f
Boot0002* UEFI: PXE IPv4 Intel(R) Ethernet Controller X710 for 10GBASE-T servermac PciRoot(0x0)/Pci(0x1a,0x0)/Pci(0x0,0x0)/MAC(74563cbcc587,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f
Boot0003* UEFI: PXE IPv4 Intel(R) Ethernet Controller X710 for 10GBASE-T servermac PciRoot(0x0)/Pci(0x1a,0x0)/Pci(0x0,0x1)/MAC(74563cbcc588,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f
Boot0004* UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:40:BA A0:88:C2:6E:40:BA PciRoot(0x10)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e40ba,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f
Boot0005* UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:36:74 A0:88:C2:6E:36:74 PciRoot(0x10)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0xc,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e3674,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f
Boot0006* UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:40:D2 A0:88:C2:6E:40:D2 PciRoot(0x20)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e40d2,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f
Boot0007* UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:40:AE A0:88:C2:6E:40:AE PciRoot(0x20)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0xc,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e40ae,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f
Boot0008* UEFI: PXE IPv4 Nvidia Network Adapter - servermac servermac PciRoot(0x30)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(5c2573d59a6a,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f
Boot0009* UEFI: PXE IPv4 Nvidia Network Adapter - servermac servermac PciRoot(0x30)/Pci(0x1,0x0)/Pci(0x0,0x1)/MAC(5c2573d59a6b,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f
Boot000A* UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:40:C4 A0:88:C2:6E:40:C4 PciRoot(0x110)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e40c4,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f
Boot000B* UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:36:86 A0:88:C2:6E:36:86 PciRoot(0x110)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0xc,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e3686,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f
Boot000C* UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:36:B4 A0:88:C2:6E:36:B4 PciRoot(0x120)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e36b4,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f
Boot000D* UEFI: PXE IPv4 Nvidia Network Adapter - A0:88:C2:6E:40:D0 A0:88:C2:6E:40:D0 PciRoot(0x120)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0xc,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/MAC(a088c26e40d0,1)/IPv4(0.0.0.00.0.0.0,0,0)0000424f
MirroredPercentageAbove4G: 0.00
MirrorMemoryBelow4GB: false
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.011
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/dev', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'efibootmgr', '-v'] with allowed return codes [0] (capture=True)
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.009
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/install-grub: SUCCESS: installing grub to target devices
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-bootloader: SUCCESS: configuring target system bootloader
finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: SUCCESS: curtin command curthooks
start: cmd-install/stage-hook/builtin/cmd-hook: curtin command hook
Finalizing /tmp/tmp56mi2870/target
finish: cmd-install/stage-hook/builtin/cmd-hook: SUCCESS: curtin command hook
start: cmd-install/stage-late/98-validate-custom-image-has-cloud-init/cmd-in-target: curtin command in-target
Running command ['mount', '--bind', '/dev', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--help'] with allowed return codes [0] (capture=True)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'bash', '-c', 'cloud-init --version || (echo "cloud-init not detected, MAAS will not be able to configure this machine properly" && exit 1)'] with allowed return codes [0] (capture=False)
/usr/bin/cloud-init 25.1.4-0ubuntu0~24.04.1
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.010
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
finish: cmd-install/stage-late/98-validate-custom-image-has-cloud-init/cmd-in-target: SUCCESS: curtin command in-target
start: cmd-install/stage-late/99-validate-custom-image-has-netplan/cmd-in-target: curtin command in-target
Running command ['mount', '--bind', '/dev', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/proc', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/run', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['unshare', '--help'] with allowed return codes [0] (capture=True)
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'bash', '-c', 'netplan info || (echo "netplan not detected, MAAS will not be able to configure this machine properly" && exit 1)'] with allowed return codes [0] (capture=False)
netplan.io:
website: "https://netplan.io/"
features:
- dhcp-use-domains
- auth-phase2
- ipv6-mtu
- modems
- sriov
- openvswitch
- activation-mode
- eswitch-mode
- infiniband
- regdom
- vrf
- vxlan
- virtual-ethernet
- dbus-config
- generate-just-in-time
- generated-supplicant
- default-routes
Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
TIMED subp(['udevadm', 'settle']): 0.011
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/sys'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/run'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/proc'] with allowed return codes [0] (capture=False)
Running command ['mount', '--make-private', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
Running command ['umount', '/tmp/tmp56mi2870/target/dev'] with allowed return codes [0] (capture=False)
finish: cmd-install/stage-late/99-validate-custom-image-has-netplan/cmd-in-target: SUCCESS: curtin command in-target
--2025-09-30 05:18:32-- http://maasip:5248/MAAS/metadata/latest/by-id/n6d7fg/
Connecting to maasip:5248... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2 [text/plain]
Saving to: ‘/dev/null’
0K 100% 156K=0s
2025-09-30 05:18:32 (156 KB/s) - ‘/dev/null’ saved [2/2]
curtin: Installation finished.
Event logs:
Tue, 30 Sep. 2025 05:18:35 Node installation - 'cloudinit' running config-power_state_change with frequency once-per-instance
Tue, 30 Sep. 2025 05:18:35 Node installation - 'cloudinit' running config-keys_to_console with frequency once-per-instance
Tue, 30 Sep. 2025 05:18:35 Node installation - 'cloudinit' running config-final_message with frequency always
Tue, 30 Sep. 2025 05:18:35 Node installation - 'cloudinit' running config-install_hotplug with frequency once-per-instance
Tue, 30 Sep. 2025 05:18:35 Node installation - 'cloudinit' running config-ssh_authkey_fingerprints with frequency once-per-instance
Tue, 30 Sep. 2025 05:18:35 Rebooting
Tue, 30 Sep. 2025 05:18:35 Script result - /tmp/install.log changed status from 'Running' to 'Passed'
Tue, 30 Sep. 2025 05:18:32 Node installation - 'curtin' running 'wget --no-proxy http://XXX.XXX.XXX.XXX:5248/MAAS/metadata/latest/by-id/n6d7fg/ --post-data op=netboot_off -O /dev/null'
Tue, 30 Sep. 2025 05:18:32 Node installation - 'curtin' curtin command in-target
Tue, 30 Sep. 2025 05:18:32 Installation complete - Node disabled netboot
Tue, 30 Sep. 2025 05:18:31 Node installation - 'curtin' running 'curtin in-target -- bash -c netplan info || (echo "netplan not detected, MAAS will not be able to configure this machine properly" && exit 1)'
Tue, 30 Sep. 2025 05:18:31 Node installation - 'curtin' curtin command in-target
Tue, 30 Sep. 2025 05:18:30 Node installation - 'curtin' running 'curtin in-target -- bash -c cloud-init --version || (echo "cloud-init not detected, MAAS will not be able to configure this machine properly" && exit 1)'
Tue, 30 Sep. 2025 05:18:30 Node installation - 'curtin' running 'curtin hook'
Tue, 30 Sep. 2025 05:18:30 Node installation - 'curtin' finalizing installation
Tue, 30 Sep. 2025 05:18:30 Node installation - 'curtin' curtin command hook
Tue, 30 Sep. 2025 05:18:30 Node installation - 'curtin' executing late commands
Tue, 30 Sep. 2025 05:18:24 Node installation - 'curtin' installing grub to target devices
Tue, 30 Sep. 2025 05:18:24 Node installation - 'curtin' configuring target system bootloader
Tue, 30 Sep. 2025 05:18:05 Node installation - 'curtin' updating initramfs configuration
Tue, 30 Sep. 2025 05:18:05 Node installation - 'curtin' updating packages on target system
Tue, 30 Sep. 2025 05:18:05 Node installation - 'curtin' configuring kernel crash dumps settings
Tue, 30 Sep. 2025 05:18:05 Node installation - 'curtin' configuring pollinate user-agent on target
Tue, 30 Sep. 2025 05:18:04 Node installation - 'curtin' apply networking config
Tue, 30 Sep. 2025 05:18:04 Node installation - 'curtin' configuring multipath
Tue, 30 Sep. 2025 05:18:04 Node installation - 'curtin' writing etc/fstab
Tue, 30 Sep. 2025 05:18:04 Node installation - 'curtin' setting up swap
Tue, 30 Sep. 2025 05:18:00 Node installation - 'curtin' configuring raid (mdadm) service
Tue, 30 Sep. 2025 05:18:00 Node installation - 'curtin' configuring iscsi service
Tue, 30 Sep. 2025 05:18:00 Node installation - 'curtin' installing kernel
Tue, 30 Sep. 2025 05:12:18 Node installation - 'curtin' Installing packages on target system: ['grub-efi-amd64']
Tue, 30 Sep. 2025 05:12:15 Node installation - 'curtin' installing missing packages
Tue, 30 Sep. 2025 05:12:13 Node installation - 'curtin' curtin command curthooks
Tue, 30 Sep. 2025 05:12:13 Node installation - 'curtin' configuring apt configuring apt
Tue, 30 Sep. 2025 05:12:12 Node installation - 'curtin' running 'curtin curthooks'
Tue, 30 Sep. 2025 05:12:12 Node installation - 'curtin' configuring installed system
Tue, 30 Sep. 2025 05:12:12 Configuring OS
Tue, 30 Sep. 2025 05:10:16 Node installation - 'curtin' acquiring and extracting image from http://XXX.XXX.XXX.XXX:5248/images/d537fc4/custom/amd64/generic/cloudimgOFED_STD_UBUNTU_24.04_01SEP2025/uploaded/root.tgz
Tue, 30 Sep. 2025 05:10:16 Node installation - 'curtin' curtin command extract
Tue, 30 Sep. 2025 05:10:16 HTTP Request - /images/d537fc4/custom/amd64/generic/cloudimgOFED_STD_UBUNTU_24.04_01SEP2025/uploaded/root.tgz
Tue, 30 Sep. 2025 05:10:15 Node installation - 'curtin' running 'curtin extract'
Tue, 30 Sep. 2025 05:10:15 Node installation - 'curtin' curtin command net-meta
Tue, 30 Sep. 2025 05:10:15 Node installation - 'curtin' running 'curtin net-meta custom'
Tue, 30 Sep. 2025 05:10:15 Node installation - 'curtin' configuring network
Tue, 30 Sep. 2025 05:10:15 Node installation - 'curtin' writing install sources to disk
Tue, 30 Sep. 2025 05:10:15 Installing OS
Tue, 30 Sep. 2025 05:10:14 Node installation - 'curtin' configuring mount: sda-part3_mount
Tue, 30 Sep. 2025 05:10:14 Node installation - 'curtin' configuring mount: sda-part2_mount
Tue, 30 Sep. 2025 05:10:14 Node installation - 'curtin' configuring mount: sda-part1_mount
Tue, 30 Sep. 2025 05:10:14 Node installation - 'curtin' configuring mount: vg-root-lv-root_mount
Tue, 30 Sep. 2025 05:10:13 Node installation - 'curtin' configuring format: vg-root-lv-root_format
Tue, 30 Sep. 2025 05:10:12 Node installation - 'curtin' configuring format: sda-part3_format
Tue, 30 Sep. 2025 05:10:12 Node installation - 'curtin' configuring format: sda-part2_format
Tue, 30 Sep. 2025 05:10:11 Node installation - 'curtin' configuring lvm_partition: vg-root-lv-root
Tue, 30 Sep. 2025 05:10:11 Node installation - 'curtin' configuring format: sda-part1_format
Tue, 30 Sep. 2025 05:10:10 Node installation - 'curtin' configuring lvm_volgroup: vg-root
Tue, 30 Sep. 2025 05:10:09 Node installation - 'curtin' configuring partition: sda-part4
Tue, 30 Sep. 2025 05:10:07 Node installation - 'curtin' configuring partition: sda-part3
Tue, 30 Sep. 2025 05:10:05 Node installation - 'curtin' configuring partition: sda-part2
Tue, 30 Sep. 2025 05:10:03 Node installation - 'curtin' configuring disk: sda
Tue, 30 Sep. 2025 05:10:03 Node installation - 'curtin' configuring partition: sda-part1
Tue, 30 Sep. 2025 05:10:02 Node installation - 'curtin' removing previous storage devices
Tue, 30 Sep. 2025 05:10:01 Node installation - 'curtin' curtin command block-meta
Tue, 30 Sep. 2025 05:10:00 Node installation - 'curtin' running 'curtin block-meta custom'
Tue, 30 Sep. 2025 05:10:00 Node installation - 'curtin' configuring storage
Tue, 30 Sep. 2025 05:10:00 Configuring storage
Tue, 30 Sep. 2025 05:10:00 Node installation - 'curtin' preparing for installation
Tue, 30 Sep. 2025 05:10:00 Script result - /tmp/install.log changed status from 'Pending' to 'Running'
Tue, 30 Sep. 2025 05:10:00 Node installation - 'curtin' curtin command install
Tue, 30 Sep. 2025 05:09:33 Node installation - 'cloudinit' running config-scripts_user with frequency once-per-instance
Tue, 30 Sep. 2025 05:09:33 Node installation - 'cloudinit' running config-scripts_per_boot with frequency always
Tue, 30 Sep. 2025 05:09:33 Node installation - 'cloudinit' running config-scripts_per_once with frequency once
Tue, 30 Sep. 2025 05:09:33 Node installation - 'cloudinit' running config-reset_rmc with frequency once-per-instance
Tue, 30 Sep. 2025 05:09:33 Node installation - 'cloudinit' running config-scripts_per_instance with frequency once-per-instance
Tue, 30 Sep. 2025 05:09:33 Node installation - 'cloudinit' running config-scripts_vendor with frequency once-per-instance
Tue, 30 Sep. 2025 05:09:32 Node installation - 'cloudinit' running config-apt_configure with frequency once-per-instance
Tue, 30 Sep. 2025 05:09:32 Node installation - 'cloudinit' running config-locale with frequency once-per-instance
Tue, 30 Sep. 2025 05:09:32 Node installation - 'cloudinit' running config-byobu with frequency once-per-instance
Tue, 30 Sep. 2025 05:09:32 Node installation - 'cloudinit' running config-grub_dpkg with frequency once-per-instance
Tue, 30 Sep. 2025 05:09:32 Node installation - 'cloudinit' running config-ssh_import_id with frequency once-per-instance
Tue, 30 Sep. 2025 05:08:50 Node installation - 'cloudinit' running config-snap with frequency once-per-instance
Tue, 30 Sep. 2025 05:08:48 Node installation - 'cloudinit' running config-set_passwords with frequency once-per-instance
Tue, 30 Sep. 2025 05:08:48 Node installation - 'cloudinit' running config-users_groups with frequency once-per-instance
Tue, 30 Sep. 2025 05:08:48 Node installation - 'cloudinit' running config-update_etc_hosts with frequency always
Tue, 30 Sep. 2025 05:08:48 Node installation - 'cloudinit' running config-update_hostname with frequency always
Tue, 30 Sep. 2025 05:08:48 Node installation - 'cloudinit' running config-set_hostname with frequency once-per-instance
Tue, 30 Sep. 2025 05:08:48 Node installation - 'cloudinit' running config-resizefs with frequency always
Tue, 30 Sep. 2025 05:08:48 Node installation - 'cloudinit' running config-ssh with frequency once-per-instance
Tue, 30 Sep. 2025 05:08:48 Node installation - 'cloudinit' running config-rsyslog with frequency once-per-instance
Tue, 30 Sep. 2025 05:08:48 Node installation - 'cloudinit' reading and applying vendor-data2
Tue, 30 Sep. 2025 05:08:48 Node installation - 'cloudinit' activating datasource
Tue, 30 Sep. 2025 05:08:48 Node installation - 'cloudinit' reading and applying user-data
Tue, 30 Sep. 2025 05:08:48 Node installation - 'cloudinit' running config-mounts with frequency once-per-instance
Tue, 30 Sep. 2025 05:08:48 Node installation - 'cloudinit' running config-growpart with frequency always
Tue, 30 Sep. 2025 05:08:48 Node installation - 'cloudinit' running config-seed_random with frequency once-per-instance
Tue, 30 Sep. 2025 05:08:48 Node installation - 'cloudinit' reading and applying vendor-data
Tue, 30 Sep. 2025 05:08:46 Node installation - 'cloudinit' searching for network data from DataSourceMAAS
Tue, 30 Sep. 2025 05:08:46 Node installation - 'cloudinit' attempting to read from cache [trust]
Tue, 30 Sep. 2025 05:07:38 HTTP Request - /images/fa185d1/ubuntu/amd64/ga-24.04/noble/stable/boot-initrd
Tue, 30 Sep. 2025 05:07:35 Performing PXE boot
Tue, 30 Sep. 2025 05:07:35 PXE Request - installation
Tue, 30 Sep. 2025 05:04:04 Deploying
Tue, 30 Sep. 2025 05:04:04 Node changed status - From 'Allocated' to 'Deploying'
Tue, 30 Sep. 2025 05:04:04 User starting deployment - (maasadmin)
Tue, 30 Sep. 2025 05:04:03 Node changed status - From 'Ready' to 'Allocated' (to maasadmin)
Tue, 30 Sep. 2025 05:04:03 User acquiring node - (maasadmin)
Mon, 29 Sep. 2025 17:47:33 Released
curl -sS -X POST
-H “Authorization: OAuth oauth_version=1.0, oauth_signature_method=PLAINTEXT, oauth_consumer_key=$CK, oauth_token=$TK, oauth_signature=&$SK, oauth_nonce=$(uuidgen), oauth_timestamp=$(date +%s)”
“$MAAS_URL/MAAS/api/2.0/machines/$SYSID/?op=deploy”
-d distro_series=“custom/cloudimgcustomos”
-d hostname=“$HOSTNAME”
This is the API we pass, we tested through GUI, CLI but only through api we get datasource error.
Is there some extra parameters that we need to pass onto API calls? Is there any difference between CLI and API that is causing the data source error specifically in hardware such Cray XD670 where GPU init happens?
Pls guide.
Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmp56mi2870/target', 'bash', '-c', 'netplan info || (echo "netplan not detected, MAAS will not be able to configure this machine properly" && exit 1)'] with allowed return codes [0] (capture=False)
Apparently the network is not being configured at all on the machine. If you deploy a custom image that is named custom
then it should be ubuntu and should have netplan. If you use other operating systems you should name them accordingly (follow the packer-maas READMEs)
I am using ubuntu 24 custom image only. If it is the case…can I get to know why this happens only through api? The same image I can able to successfully deploy via cli and gui.
what’s the CLI command you are using?
Here is the cli command I used
maas maasadmin machine deploy $Sysid distro_series=custom/cloudimgcustomubuntu
Do you make the API call as part of an automation where you do some other operation on the machine (such as configuring the network)?
Yes…we do all the network configurations through api only.
Yes, we make extensive API calls as part of our automation that performs multiple operations on the machine, including network and storage configuration. Here’s our complete workflow which replicates the GUI flow
Our Automation Sequence
Our deployment process involves three main stages, all orchestrated through the MAAS API:
1. Network Configuration Stage
Before deployment, we programmatically configure the network with the following API calls:
a) Pre-check - Ensure machine is in Ready state
GET /MAAS/api/2.0/machines/{system_id}/
Response: Check status
field
b) Release machine if not in Ready state
POST /MAAS/api/2.0/machines/{system_id}/
Payload:
{
"op": "release"
}
c) Get all network interfaces
GET /MAAS/api/2.0/nodes/{system_id}/interfaces/
Response: List of interfaces with mac_address
, id
, name
d) Remove existing bonds (if any)
DELETE /MAAS/api/2.0/nodes/{system_id}/interfaces/{bond_id}/
e) Attach each interface to fabric
POST /MAAS/api/2.0/nodes/{system_id}/interfaces/{interface_id}/
Payload:
{
"op": "attach_fabric",
"fabric": "{fabric_id}"
}
f) Set VLAN on interface
PUT /MAAS/api/2.0/nodes/{system_id}/interfaces/{interface_id}/
Payload:
{
"vlan": "/MAAS/api/2.0/vlans/{vlan_id}/"
}
g) Link interface to subnet (AUTO mode first)
POST /MAAS/api/2.0/nodes/{system_id}/interfaces/{interface_id}/
Payload:
{
"op": "link_subnet",
"mode": "AUTO",
"subnet": "{subnet_cidr}"
}
h) Create network bond
POST /MAAS/api/2.0/nodes/{system_id}/interfaces/
Payload:
{
"op": "create_bond",
"name": "bond0",
"parents": [interface_id_1, interface_id_2],
"bond_mode": "802.3ad",
"bond_miimon": 10,
"bond_updelay": 10,
"bond_downdelay": 10
}
Response: Returns bond with bond_id
i) Assign static IP to bond
POST /MAAS/api/2.0/nodes/{system_id}/interfaces/{bond_id}/
Payload:
{
"op": "link_subnet",
"mode": "STATIC",
"subnet": "{subnet_cidr}",
"ip_address": "{static_ip}"
}
Example values used:
-
subnet_cidr
: “10.x.x.x/23” -
static_ip
: “10.x.x.x” -
2 interfaces bonded as bond0
2. Storage Configuration Stage
Next, we configure custom storage layouts:
a) Clear existing storage layout
POST /MAAS/api/2.0/machines/{system_id}/
Payload:
{
"op": "set_storage_layout",
"storage_layout": "blank"
}
b) Get block devices
GET /MAAS/api/2.0/nodes/{system_id}/blockdevices/
Response: List of block devices with id
, name
, size
, partitions
c) Unformat existing partitions (if cleanup needed)
POST /MAAS/api/2.0/nodes/{system_id}/blockdevices/{device_id}/partitions/{partition_id}/
Payload:
{
"op": "unformat"
}
d) Delete existing volume groups (if any)
DELETE /MAAS/api/2.0/nodes/{system_id}/volume-groups/{vg_id}/
e) Delete existing partitions
DELETE /MAAS/api/2.0/nodes/{system_id}/blockdevices/{device_id}/partitions/{partition_id}/
f) Create EFI partition (if needed)
POST /MAAS/api/2.0/nodes/{system_id}/blockdevices/{device_id}/partition/
Payload:
{
"size": 1073741824
}
Size: 1GB in bytes
Response: Returns partition_id
Format EFI partition:
POST /MAAS/api/2.0/nodes/{system_id}/blockdevices/{device_id}/partitions/{partition_id}/
Payload:
{
"op": "format",
"fstype": "fat32"
}
Mount EFI partition:
POST /MAAS/api/2.0/nodes/{system_id}/blockdevices/{device_id}/partitions/{partition_id}/
Payload:
{
"op": "mount",
"mount_point": "/boot/efi"
}
g) Create /boot partition
POST /MAAS/api/2.0/nodes/{system_id}/blockdevices/{device_id}/partition/
Payload:
{
"size": 2147483648
}
Size: 2GB in bytes
Format as ext4:
POST /MAAS/api/2.0/nodes/{system_id}/blockdevices/{device_id}/partitions/{partition_id}/
Payload:
{
"op": "format",
"fstype": "ext4"
}
Mount /boot:
POST /MAAS/api/2.0/nodes/{system_id}/blockdevices/{device_id}/partitions/{partition_id}/
Payload:
{
"op": "mount",
"mount_point": "/boot"
}
h) Create /usr partition
POST /MAAS/api/2.0/nodes/{system_id}/blockdevices/{device_id}/partition/
Payload:
{
"size": 53687091200
}
Size: 50GB in bytes
Format as ext4:
POST /MAAS/api/2.0/nodes/{system_id}/blockdevices/{device_id}/partitions/{partition_id}/
Payload:
{
"op": "format",
"fstype": "ext4"
}
Mount /usr:
POST /MAAS/api/2.0/nodes/{system_id}/blockdevices/{device_id}/partitions/{partition_id}/
Payload:
{
"op": "mount",
"mount_point": "/usr"
}
i) Create LVM volume group on remaining space
Create partition for physical volume:
POST /MAAS/api/2.0/nodes/{system_id}/blockdevices/{device_id}/partition/
Payload:
{
"size": "{remaining_space}"
}
All remaining space
Response: Returns partition_id
for PV
Create volume group:
POST /MAAS/api/2.0/nodes/{system_id}/volume-groups/
Payload:
{
"name": "vg_root",
"block_devices": [],
"partitions": [partition_id]
}
Response: Returns vg_id
j) Create root logical volume
POST /MAAS/api/2.0/nodes/{system_id}/volume-groups/{vg_id}/
Payload:
{
"op": "create_logical_volume",
"name": "lv_root",
"size": 107374182400
}
Size: 100GB in bytes
Response: Returns logical_volume_id
Format logical volume:
POST /MAAS/api/2.0/nodes/{system_id}/volume-groups/{vg_id}/logical-volumes/{lv_id}/
Payload:
{
"op": "format",
"fstype": "ext4"
}
Mount root:
POST /MAAS/api/2.0/nodes/{system_id}/volume-groups/{vg_id}/logical-volumes/{lv_id}/
Payload:
{
"op": "mount",
"mount_point": "/"
}
Final Storage Layout Created:
-
EFI: 1GB (fat32, /boot/efi)
-
boot: 2GB (ext4, /boot)
-
usr: 50GB (ext4, /usr)
-
root: 100GB (ext4 on LVM, /)
3. Deployment Stage
Finally, we deploy with additional configurations:
a) Apply HPE Gen11 power workaround (for specific hardware)
PUT /MAAS/api/2.0/nodes/{system_id}/
Payload:
{
"power_type": "ipmi",
"power_parameters": {
"power_boot_type": "auto",
"cipher_suite_id": "17",
"privilege_level": "OPERATOR",
"power_driver": "LAN_2_0",
"workaround_flags": ["opensesspriv", "nochecksumcheck"]
}
}
b) Deploy the machine
POST /MAAS/api/2.0/machines/{system_id}/
Payload:
{
"op": "deploy",
"distro_series": "ubuntu/jammy",
"hostname": "node-hostname",
"user_data": "#cloud-config\nusers:\n - name: {username}\n hashed_passwd: {hashed_password}\n lock_passwd: false\n sudo: ALL=(ALL) NOPASSWD:ALL\n shell: /bin/bash\n"
}
c) Monitor deployment status
GET /MAAS/api/2.0/machines/{system_id}/
Response: Check status_name
field
Expected flow: “Deploying” → “Deployed”
d) Get deployment events (if issues occur)
GET /MAAS/api/2.0/events/?op=query&id={system_id}&limit=10
Response: List of events with type
, description
, timestamp
The Problem We’re Experiencing
After completing all the above API calls and during the final deployment stage, we intermittently encounter:
cloud-init[14466]: Cannot apply stage final, no datasource found! Likely bad things to come!
Key Observations
-
This error occurs randomly - not every deployment fails
-
It happens during the final reboot after deployment
-
Manual reboot of the server resolves it, and machine transitions to ‘Deployed’ state
-
This occurs only with API automation - manual UI deployments work fine
-
Specific to HPE Cray SC XD670 DLC servers
What’s the MAAS version you are using? Also, how big is your subnet and how many free IPs do you have?
Hi @r00ta
MaaS Version: 3.6.1
Subnet: /27
Usable free IP’s: 24
No. of IP’s reserved for dhcp: 2
Note: We are getting issue on deployment stage only so it uses the static ip given from the Usable free IP’s.
You might try to enlarge a bit the subnet, probably you are running out of IPs from time to time