Topic: I Cannot Deploy Windows Image on MAAS
Description:
I am experiencing issues deploying a Windows image on MAAS. I followed the official guide for creating and uploading a Windows image on MAAS: Official Guide.
The process of creating and uploading the image works fine.
However, the deployment fails.
Deployment Log:
Tue, 23 Jul. 2024 07:12:26 Marking node failed - Missing boot image windows/amd64/ga-22.04/windows-server-2022.
Tue, 23 Jul. 2024 07:12:26 Performing PXE boot
Tue, 23 Jul. 2024 07:12:26 PXE Request - power off
Tue, 23 Jul. 2024 07:11:49 Node status event - 'cloudinit' running config-power_state_change with frequency once-per-instance
Tue, 23 Jul. 2024 07:11:49 Node status event - 'cloudinit' running config-install_hotplug with frequency once-per-instance
Tue, 23 Jul. 2024 07:11:49 Node status event - 'cloudinit' running config-keys_to_console with frequency once-per-instance
Tue, 23 Jul. 2024 07:11:49 Node status event - 'cloudinit' running config-final_message with frequency always
Tue, 23 Jul. 2024 07:11:49 Node status event - 'cloudinit' running config-ssh_authkey_fingerprints with frequency once-per-instance
Tue, 23 Jul. 2024 07:11:49 Node status event - 'cloudinit' running config-scripts_user with frequency once-per-instance
Tue, 23 Jul. 2024 07:11:49 Node status event - 'cloudinit' running modules for final
Tue, 23 Jul. 2024 07:11:48 Node status event - 'curtin' running 'curtin block-meta custom'
Tue, 23 Jul. 2024 07:11:48 Node status event - 'curtin' curtin command block-meta
Tue, 23 Jul. 2024 07:11:48 Node status event - 'curtin' configuring storage
Tue, 23 Jul. 2024 07:11:48 Node changed status - From 'Deploying' to 'Failed deployment'
*Tue, 23 Jul. 2024 07:11:48 Marking node failed - Installation failed (refer to the installation log for more information).*
Tue, 23 Jul. 2024 07:11:48 Script - /tmp/curtin-logs.tar failed
Tue, 23 Jul. 2024 07:11:48 Script - /tmp/install.log failed
Tue, 23 Jul. 2024 07:11:48 Node installation failure - 'curtin' curtin command install
Tue, 23 Jul. 2024 07:11:46 Node status event - 'curtin' curtin command block-meta
Tue, 23 Jul. 2024 07:11:46 Node status event - 'curtin' running 'curtin block-meta custom'
Tue, 23 Jul. 2024 07:11:46 Node status event - 'curtin' removing previous storage devices
Tue, 23 Jul. 2024 07:11:46 Node installation - 'curtin' configuring storage
Tue, 23 Jul. 2024 07:11:46 Configuring storage
Tue, 23 Jul. 2024 07:11:45 Node installation - 'curtin' preparing for installation
Tue, 23 Jul. 2024 07:11:45 Script result - /tmp/install.log changed status from 'Pending' to 'Running'
Tue, 23 Jul. 2024 07:11:45 Node installation - 'curtin' curtin command install
Tue, 23 Jul. 2024 07:11:30 Node installation - 'cloudinit' running config-scripts_user with frequency once-per-instance
Tue, 23 Jul. 2024 07:11:30 Node installation - 'cloudinit' running config-scripts_per_once with frequency once
Tue, 23 Jul. 2024 07:11:30 Node installation - 'cloudinit' running config-byobu with frequency once-per-instance
Tue, 23 Jul. 2024 07:11:30 Node installation - 'cloudinit' running config-apt_configure with frequency once-per-instance
Tue, 23 Jul. 2024 07:11:30 Node installation - 'cloudinit' running config-set_passwords with frequency once-per-instance
Tue, 23 Jul. 2024 07:11:30 Node installation - 'cloudinit' running config-ssh_import_id with frequency once-per-instance
Tue, 23 Jul. 2024 07:11:30 Node installation - 'cloudinit' running config-scripts_per_boot with frequency always
Tue, 23 Jul. 2024 07:11:30 Node installation - 'cloudinit' running config-scripts_vendor with frequency once-per-instance
Tue, 23 Jul. 2024 07:11:30 Node installation - 'cloudinit' running config-ntp with frequency once-per-instance
Tue, 23 Jul. 2024 07:11:30 Node installation - 'cloudinit' running config-grub_dpkg with frequency once-per-instance
Tue, 23 Jul. 2024 07:11:30 Node installation - 'cloudinit' running config-locale with frequency once-per-instance
Tue, 23 Jul. 2024 07:11:30 Node installation - 'cloudinit' running config-reset_rmc with frequency once-per-instance
Tue, 23 Jul. 2024 07:11:30 Node installation - 'cloudinit' running config-scripts_per_instance with frequency once-per-instance
Tue, 23 Jul. 2024 07:11:23 Node installation - 'cloudinit' reading and applying vendor-data2
Tue, 23 Jul. 2024 07:11:23 Node installation - 'cloudinit' activating datasource
Tue, 23 Jul. 2024 07:11:23 Node installation - 'cloudinit' running config-ssh with frequency once-per-instance
Tue, 23 Jul. 2024 07:11:23 Node installation - 'cloudinit' running config-users_groups with frequency once-per-instance
Tue, 23 Jul. 2024 07:11:23 Node installation - 'cloudinit' running config-rsyslog with frequency once-per-instance
Tue, 23 Jul. 2024 07:11:23 Node installation - 'cloudinit' running config-update_hostname with frequency always
Tue, 23 Jul. 2024 07:11:23 Node installation - 'cloudinit' running config-mounts with frequency once-per-instance
Tue, 23 Jul. 2024 07:11:23 Node installation - 'cloudinit' running config-growpart with frequency always
Tue, 23 Jul. 2024 07:11:23 Node installation - 'cloudinit' running config-update_etc_hosts with frequency always
Tue, 23 Jul. 2024 07:11:23 Node installation - 'cloudinit' running config-set_hostname with frequency once-per-instance
Tue, 23 Jul. 2024 07:11:23 Node installation - 'cloudinit' running config-resizefs with frequency always
Tue, 23 Jul. 2024 07:11:23 Node installation - 'cloudinit' running config-seed_random with frequency once-per-instance
Tue, 23 Jul. 2024 07:11:22 Node installation - 'cloudinit' setting up datasource
Tue, 23 Jul. 2024 07:11:22 Node installation - 'cloudinit' reading and applying user-data
Tue, 23 Jul. 2024 07:11:22 Node installation - 'cloudinit' attempting to read from cache [trust]
Tue, 23 Jul. 2024 07:11:22 Node installation - 'cloudinit' reading and applying vendor-data
Tue, 23 Jul. 2024 07:11:19 Node installation - 'cloudinit' attempting to read from cache [check]
Tue, 23 Jul. 2024 07:11:19 Node installation - 'cloudinit' searching for local data from DataSourceMAASLocal
Tue, 23 Jul. 2024 07:10:30 Performing PXE boot
Tue, 23 Jul. 2024 07:10:30 PXE Request - installation
Tue, 23 Jul. 2024 07:10:06 Node - Started deploying 'gr04-ws22-mo'.
Tue, 23 Jul. 2024 07:10:06 Deploying
Tue, 23 Jul. 2024 07:10:06 Node changed status - From 'Allocated' to 'Deploying'
Issue Description:
The deployment fails with the message:
Marking node failed - Missing boot image windows/amd64/ga-22.04/windows-server-2022.
It seems the deployment process is looking for a boot image in a path that does not exist:
/images/windows/amd64/ga-22.04/windows-server-2022/no-such-image/boot-kernel
However, the image was uploaded (with maas-cli tool) to:
/images/windows/amd64/generic/windows-server-2022/uploaded/root-dd
Rackd Log:
2024-07-23 07:11:47 provisioningserver.rackdservices.http: [info] /images/windows/amd64/generic/windows-server-2022/uploaded/root-dd requested by 10.1.64.225
2024-07-23 07:11:54 ClusterClient,client: [info] ClusterClient connection lost (HOST:IPv6Address(type='TCP', host='::ffff:192.168.199.25', port=46694, flowInfo=0, scopeID=0) PEER:IPv6Address(type='TCP', host='::ffff:192.168.199.25', port=5250, flowInfo=0, scopeID=0))
2024-07-23 07:12:14 provisioningserver.rackdservices.tftp: [info] bootx64.efi requested by 10.1.64.225
2024-07-23 07:12:14 provisioningserver.rackdservices.tftp: [info] bootx64.efi requested by 10.1.64.225
2024-07-23 07:12:16 provisioningserver.rackdservices.tftp: [info] grubx64.efi requested by 10.1.64.225
2024-07-23 07:12:24 ClusterClient,client: [info] ClusterClient connection lost (HOST:IPv6Address(type='TCP', host='::ffff:192.168.199.25', port=33714, flowInfo=0, scopeID=0) PEER:IPv6Address(type='TCP', host='::ffff:192.168.199.25', port=5250, flowInfo=0, scopeID=0))
2024-07-23 07:12:25 provisioningserver.rackdservices.tftp: [info] /grub/x86_64-efi/command.lst requested by 10.1.64.225
2024-07-23 07:12:25 provisioningserver.rackdservices.tftp: [info] /grub/x86_64-efi/fs.lst requested by 10.1.64.225
2024-07-23 07:12:25 provisioningserver.rackdservices.tftp: [info] /grub/x86_64-efi/crypto.lst requested by 10.1.64.225
2024-07-23 07:12:25 provisioningserver.rackdservices.tftp: [info] /grub/x86_64-efi/terminal.lst requested by 10.1.64.225
2024-07-23 07:12:25 provisioningserver.rackdservices.tftp: [info] /grub/grub.cfg requested by 10.1.64.225
2024-07-23 07:12:25 provisioningserver.rackdservices.tftp: [info] /grub/grub.cfg-70:85:c2:a2:fe:d2 requested by 10.1.64.225
2024-07-23 07:12:26 provisioningserver.rackdservices.http: [info] /images/windows/amd64/ga-22.04/windows-server-2022/no-such-image/boot-kernel requested by 10.1.64.225
2024-07-23 07:12:44 provisioningserver.rackdservices.http: [info] /images/windows/amd64/ga-22.04/windows-server-2022/no-such-image/boot-kernel requested by 10.1.64.225
Question:
Has anyone successfully deployed a Windows image on MAAS and encountered a similar issue? Any guidance on how to resolve would be greatly appreciated.
Thank you!