azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

az aks get-credentials giving error

Open siva273 opened this issue 6 years ago • 3 comments

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az aks get-credentials

Errors:

dlopen(/usr/local/Cellar/azure-cli/2.0.71/libexec/lib/python3.7/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so, 2): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /usr/local/Cellar/azure-cli/2.0.71/libexec/lib/python3.7/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so
  Reason: image not found
Traceback (most recent call last):
python3.7/site-packages/knack/cli.py, ln 206, in invoke
    cmd_result = self.invocation.execute(args)
...
ImportError: dlopen(/usr/local/Cellar/azure-cli/2.0.71/libexec/lib/python3.7/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so, 2): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /usr/local/Cellar/azure-cli/2.0.71/libexec/lib/python3.7/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so
  Reason: image not found

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az aks get-credentials --resource-group {} --name {}

Expected Behavior

Environment Summary

Darwin-19.4.0-x86_64-i386-64bit
Python 3.7.7
Shell: bash

azure-cli 2.0.71 *

Extensions:
dev-spaces 1.0.3

Additional Context

siva273 avatar Jun 26 '20 12:06 siva273

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm.

ghost avatar Jun 26 '20 14:06 ghost

aks

yonzhan avatar Jun 26 '20 14:06 yonzhan

Hello! Please try again with the latest Azure CLI version. Feel free to reopen an issue if it still doesn't work.

https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest

Jen7714 avatar Jul 06 '20 17:07 Jen7714