Repository navigation
Cannot get extension installed on Ubuntu 22.04 ARM64 #173
Copy link
Copy link
Open
Description
Is there a way to get the extension installed on Ubuntu ARM64?
I have just moved to Azure Update Manager. We have Ubuntu 22.04 on ARM64 .
Image reference:
Publisher: Canonical
Offer: 0001-com-ubuntu-server-jammy
SKU: 22_04-lts-arm64
Version: 22.04.202405010
When I try to install with the following command:
az vm extension set --resource-group ***** --vm-name ***** --name ConfigurationForLinux --publisher Microsoft.GuestConfiguration
I get the below output:
A ConfigurationForLinux extension with name AzurePolicyforLinux already exists. Updating it with your settings...
(VMExtensionHandlerNonTransientError) The handler for VM extension type 'Microsoft.GuestConfiguration.ConfigurationforLinux' has reported terminal failure for VM extension 'AzurePolicyforLinux' with error message: '[ExtensionOperationError] Non-zero exit code: 126, /var/lib/waagent/Microsoft.GuestConfiguration.ConfigurationforLinux-1.26.72/bin/guest-configuration-shim install
[stdout]
Linux distribution version is 22.04.
Linux distribution is Ubuntu.
+ /var/lib/waagent/Microsoft.GuestConfiguration.ConfigurationforLinux-1.26.72/bin/guest-configuration-extension install
/var/lib/waagent/Microsoft.GuestConfiguration.ConfigurationforLinux-1.26.72/bin/guest-configuration-shim: line 211: /var/lib/waagent/Microsoft.GuestConfiguration.ConfigurationforLinux-1.26.72/bin/guest-configuration-extension: cannot execute binary file: Exec format error
[stderr]
'.
'Install handler failed for the extension. More information on troubleshooting is available at https://aka.ms/vmextensionlinuxtroubleshoot'
Code: VMExtensionHandlerNonTransientError
Message: The handler for VM extension type 'Microsoft.GuestConfiguration.ConfigurationforLinux' has reported terminal failure for VM extension 'AzurePolicyforLinux' with error message: '[ExtensionOperationError] Non-zero exit code: 126, /var/lib/waagent/Microsoft.GuestConfiguration.ConfigurationforLinux-1.26.72/bin/guest-configuration-shim install
[stdout]
Linux distribution version is 22.04.
Linux distribution is Ubuntu.
+ /var/lib/waagent/Microsoft.GuestConfiguration.ConfigurationforLinux-1.26.72/bin/guest-configuration-extension install
/var/lib/waagent/Microsoft.GuestConfiguration.ConfigurationforLinux-1.26.72/bin/guest-configuration-shim: line 211: /var/lib/waagent/Microsoft.GuestConfiguration.ConfigurationforLinux-1.26.72/bin/guest-configuration-extension: cannot execute binary file: Exec format error
[stderr]
'.
'Install handler failed for the extension. More information on troubleshooting is available at https://aka.ms/vmextensionlinuxtroubleshoot'
Any ideas?
Regards,
Tomek A.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
[-]Cannot get extenstion installed on Ubuntu 22.04 ARM64[/-][+]Cannot get extension installed on Ubuntu 22.04 ARM64[/+]LoopedBard3 commentedon Oct 28, 2024
Bumping this issue as we are hitting the same thing trying to install the GuestConfiguration on Linux ARM64 Ubuntu machines.
LoopedBard3 commentedon Oct 29, 2024
iabdulqa bump
iabdulqa commentedon Oct 30, 2024
Hi Parker Bibus (@LoopedBard3) and Fiury (@Fiury00) We do not currently support Arm64, but if there is interest in it we can consider it.
LoopedBard3 commentedon Oct 30, 2024
It would be great if Arm64 for Linux could be supported. I know we have a handful of Arm64 VMs currently and will probably be adding more in the future.
bufnitza commentedon Nov 1, 2024
Bump on this as well, we wanted to install GuestConfiguration our arm64 VM farm and ran into this. Would be appreciated if an arm64 build is made available, especially with Microsoft making such strides with its new Cobalt CPUs.