-
Notifications
You must be signed in to change notification settings - Fork 21.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to setup selfhosted build agent on arm32v7 #80763
Comments
Hello @FinitelyFailed thank you for your question! Can you clarify better what step in the documentation is failing for you? Thanks! |
Hello @FinitelyFailed I have edited your initial question as it was hiding the reference to the similar issue: Azure/azure-cli#14135 I have checked the blog and it mentions that you can install Azure CLI on Linux Manually. Can you confirm what is your Hardware and OS Version where you are trying to setup the Self-hosted Linux agent ? From both Azure CLI and DevOps prerequisites it looks like we are testing it mainly in Debian 9 (Stretch) and Ubuntu 18.04. Thank you for your time so far @FinitelyFailed ! |
The process to install Azure CLI on arm32v7 machine is the same as installing on arm64v8, which is tracked in Azure/azure-cli#7368. |
@kgremban I am assigning this issue to you so we can evaluate the need to add a note in the documentation mentioning that currently there is a bug when installing azure-cli on arm64v8 and arm32v7. Thanks! |
@asergaz, this is not really a bug. Azure CLI's packages are not released for ARM architecture. Any document should explicitly call out that installing Azure CLI with native package installer like Our doc explicitly says that: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt#overview
|
Thank you for your help on this issue @jiasli. As Jiasli mentioned in one of the linked issues,
It would be more appropriate to clarify the CLI installation doc to point ARM64 users to the correct installation steps than to add a note in our documentation. I'm going to close this issue, but will suggest an improvement on the CLI docs to help future users. Thank you #please-close |
*Moved ARM64 line into its own Note box for easier scanability *Added a recommendation for installing CLI on ARM64 based on conversations in Azure/azure-cli#7368 and MicrosoftDocs/azure-docs#80763
The documentation links to this guide: https://devblogs.microsoft.com/iotdev/setup-azure-iot-edge-ci-cd-pipeline-with-arm-agent/
However when trying to run azure-cli ("az --version" or similar) after a successful install you will get
"/usr/bin/az: line 3: /usr/bin/../../opt/az/bin/python3: cannot execute binary file: Exec format error"
which leads one to find this:Azure/azure-cli#14135
I.e. azure-cli is required for a self hosted linux build agent to work, but I can't get azure-cli to work on arm32v7.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: