-
Notifications
You must be signed in to change notification settings - Fork 3k
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
az extension add fail / WSL2 / Ubuntu 20.04 #14777
Comments
installing |
@haroldrandom or @fengzhou-msft, could you have take a look? |
HI @johnwildes, Sorry I couldn't reprod your situation. It worked for me. If that's case, could you give it a try for Azure CLI 2.11.0? Or try it again because it might be a network problem |
@haroldrandom Recently updated to az cli 2.11.1 condition is the same. Not sure how network factors into this. |
@johnwildes Could you post the log trying to install BTW, Have you installed another older Azure CLI via MSI ? If so, try to remove it first. |
@haroldrandom I ran the cmd you posted above and attached is the output. It worked successfully. The AZCLI isn't installed via MSI, I ran the
|
@johnwildes From the original log you posted, I noticed that there is an error There are some related issues like you said you could refer to Azure/azure-cli-extensions#65. You might get some ideas from there. As for |
@haroldrandom thanks for the info. WRT the MSI installed AZ CLI, there is none. I only use CLI in WSL. I'm just going to destroy this image and start over again. Thanks. |
Describe the bug*
az extension add
failsWhen installing the extension for
azure-firewall
I run the cmdaz extension add -n azure-firewall
and get a failure messageAn error occurred. Pip failed with status code 1. Use --debug for more information.
I re-ran the cmd with
--debug
and receive an error, which has pertinent information snipped belowTo Reproduce
attempt to add extension
azure-firewall
to clirun command
az extension add -n azure-firewall
Expected behavior
azure-firewall
extension should install and returnThe installed extension 'azure-firewall' is in preview.
Environment summary
Additional context
I was able to run the install cmd to get az cli installed without issues on a clean 20.04 WSL image
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
The text was updated successfully, but these errors were encountered: