-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Adding connectedk8s extension failing with Pip failed with status code 1 on 2.55.0 #28004
Comments
Thank you for opening this issue, we will look into it. |
It seems like an issue with pycryptodome, found other issues which has issues with pycryptodome and revert to 2.53 is the solution. Ref: #27866 (comment) |
This issue is caused by this change #27567.
|
Is this a temporary or permanent solution? The thing is that I'm running mcr.microsoft.com/azure-cli inside Kubernetes which denies runAsRoot and I'm unable to use apk as non root.
Can you publish a full flavor which includes the devel packages? Or can you modify the filesystem permissions that I'm able to use apk as non root out of the box? |
The easiest solution I come up with is to build a custom image based on our image. |
I guess the easiest solution is revert #27567 which avoids that a lot of user has to build a custom image. |
Hi, the error still exists with 2.56 |
same error here PS C:\PROJECTS\git> az connectedk8s proxy -g clustername -n kube-dev
Unable to load extension 'connectedk8s: No module named 'azure.graphrbac''. Use --debug for more information.
The command requires the extension connectedk8s. Do you want to install it now? The command will continue to run after the extension is installed. (Y/n): n
The command requires the latest version of extension connectedk8s. To install, run 'az extension add --upgrade -n connectedk8s'.
PS C:\PROJECTS\git> az extension add --upgrade -n connectedk8s
Extension 'connectedk8s' 1.6.3 is already installed.
It will be overridden with version 1.10.3.
An error occurred whilst updating.
An error occurred. Pip failed with status code 3221225477. Use --debug for more information.
Failed to update. Rolled connectedk8s back to 1.6.3. |
I was facing the same problem, to solve the issues unistall the python 3.12 , and install the latest version of python (3.13) and reset the PATH variable. And it working fine |
This is the issue with multiple versions of Python 3.12.x for installing other az extensions too. Works fine on Python v3.11.9. |
Describe the bug
We´re using mcr.microsoft.com/azure-cli and trying to install connectedk8s. This gives the following error:
docker run --rm -it mcr.microsoft.com/azure-cli:2.55.0 az extension add --name connectedk8s
❌ An error occurred. Pip failed with status code 1. Use --debug for more information.
Related command
docker run --rm -it mcr.microsoft.com/azure-cli:2.55.0 az extension add --name connectedk8s
Errors
An error occurred. Pip failed with status code 1
Issue script & Debug output
docker run --rm -it mcr.microsoft.com/azure-cli:2.55.0 az extension add --name connectedk8s --debug
(full ouput too big for github)
Expected behavior
Succeeding to install extension connectedk8s
Environment Summary
azure-cli 2.55.0
Additional context
We´ve tested it with 2.53.1 and there it´s working. 2.54.0 is also not working.
Tested on Mac M1 and Linux/AMD
The text was updated successfully, but these errors were encountered: