Skip to content

Cannot get extension installed on Ubuntu 22.04 ARM64 #173

Open

Description

@Fiury00

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.

Activity

  1. changed the title [-]Cannot get extenstion installed on Ubuntu 22.04 ARM64[/-] [+]Cannot get extension installed on Ubuntu 22.04 ARM64[/+] on Jul 19, 2024
  2. LoopedBard3 commented on Oct 28, 2024

    @LoopedBard3

    Bumping this issue as we are hitting the same thing trying to install the GuestConfiguration on Linux ARM64 Ubuntu machines.

  3. LoopedBard3 commented on Oct 29, 2024

    @LoopedBard3
  4. iabdulqa commented on Oct 30, 2024

    @iabdulqa
    Contributor

    Hi Parker Bibus (@LoopedBard3) and Fiury (@Fiury00) We do not currently support Arm64, but if there is interest in it we can consider it.

  5. LoopedBard3 commented on Oct 30, 2024

    @LoopedBard3

    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.

  6. bufnitza commented on Nov 1, 2024

    @bufnitza

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions