-
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
Storage commands failling on Fedora 35 when Python 3.6 is not present #22235
Comments
This error is a blocker to my workflow so I started to roll back through the versions of To summarize:
To further confirm, removing python3.6 causes the commands to again fail:
|
Storage |
@dem4gus, it actually meets my expectation that the el8 package doesn't work for Fedora 35! 😂 We don't really have official support for fedora 35. The doc https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=dnf is somehow outdated. Before we dive into this issue, you may install with Please let us know if it works for you. |
The problem is that why
There are the build logs for
|
Root causeI manually binary-searched all builds on
By comparing 20220309.2 with previous build 20220308.33, I noticed - wrapt-1.11.2
+ wrapt-1.14.0 Then by backtracking PRs before 0781972, I saw #21557 removed the limitation on
To DoThere is only To completely solve this problem, we should use Fedora 35 to build an RPM and install that RPM on Fedora 35 (#22278). ReferencesRegarding
An old similar issue: |
A workaround (credit to @bebound. Thanks!) is to specify
On Fedora 35:
On CentOS 7:
Since Python 3.6 is now deprecated, the better solution is to build RPMs with the latest Fedora. See |
Debug log shows why some import failed:
This is because Python 3.10 is used to import Python 3.6 libraries which are not compatible. |
I hit similar error as well az storage account list --debug cli.azure.cli.core.profiles._shared: Traceback (most recent call last): cli.azure.cli.core.profiles._shared: Traceback (most recent call last): cli.azure.cli.core.profiles._shared: Traceback (most recent call last): cli.azure.cli.core.profiles._shared: Traceback (most recent call last): cli.azure.cli.core.azclierror: Traceback (most recent call last): cli.azure.cli.core.azclierror: The command failed with an unexpected error. Here is the traceback: |
Describe the bug
Any
az storage
commands fail on Fedora 35Command Name
az storage account list
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
docker run -it index.docker.io/library/fedora:35
rpm --import https://packages.microsoft.com/keys/microsoft.asc
dnf install -y https://packages.microsoft.com/config/rhel/8/packages-microsoft-prod.rpm
dnf install azure-cli
az login --use-device-code
az storage account list
Expected Behavior
Available storage accounts in the subscription will be listed, or command will fail gracefully.
Environment Summary
Additional Context
The same command with the same account succeeds when run from a container using
mcr.microsoft.com/azure-cli
.The text was updated successfully, but these errors were encountered: