microsoft / vsts-azurevm-extension

MIT License
13 stars 6 forks source link

Support ARM64/aarch64 #230

Open lareeth opened 9 months ago

lareeth commented 9 months ago

When enable Azure DevOps to use a VMSS pool configured with an ARM64 image, the deployment fails due to the following error

The current CPU architecture is not supported. Deployment agent requires x64 architecture.

https://github.com/microsoft/vsts-azurevm-extension/blob/f1b3ace497d1413fa0aa11d4ede646053a244cda/ExtensionHandler/Linux/src/AzureRM.py#L165-L171

What's the reason for the limitation, and are there plans to support ARM64 deployments?

I have also tried replacing the image that gets passed into the deployment

{
...
  "agentDownloadUrl": "https://vstsagentpackage.azureedge.net/agent/3.225.0/vsts-agent-linux-arm64-3.225.0.tar.gz",
...
}

But it appears the extensions throws the error before it tries to run the agent

timarcher commented 8 months ago

This would be extremely useful to have working for my projects as well. Use case is to build arm64 docker images that can be deployed through Azure IoT to Jetsons and raspberry pi's. Having vmss support would ease management of the build server.

stfnzl commented 8 months ago

Yes please, we are really looking forward for this to be fixed!

MarianSWA commented 5 months ago

How is this still being ignored when it's 2024 and ARM is everywhere?? We've been wanting to switch to ADO for more than 2 years now and this is the one single blocker! I expected that after all this time this would already be ready to use but every time I come back to check I am once again disappointed that it's still being ignored.

stefanegg commented 5 months ago

Same here; out-of-the-box support for ARM64 would be highly appreciated

vinodMS commented 4 months ago

+1 on this, can we please get this moving please.

arcilli commented 4 months ago

Any updates on this one?

lareeth commented 1 month ago

I would suggest emailing opensource@microsoft.com with something to the effect of


Dear Microsoft Open Source,

Please can you provide some support in prioritising a feature request for Azure DevOps, this feature request provides support for VMSS pools using ARM64 architecture. This is a important feature especially with Azure's support for ARM64 based instances, and the announcement of Server 2025 supporting ARM64.

Please can you respond to the feature request: 
Issue: https://github.com/microsoft/vsts-azurevm-extension/issues/230
Pull Request: https://github.com/microsoft/vsts-azurevm-extension/pull/232

Regards,

<Name>
kaiyuanlim commented 1 week ago

Hi,

Can we have this fixed? We are moving our pipeline from Jenkins to AzureDevops and the current workaround to make this work is not that great.