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

Unable to get the credentials

Open raipra opened this issue 6 years ago • 4 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.70/libexec/lib/python3.7/lib-dynload/_ssl.cpython-37m-darwin.so, 2): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /usr/local/Cellar/azure-cli/2.0.70/libexec/lib/python3.7/lib-dynload/_ssl.cpython-37m-darwin.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.70/libexec/lib/python3.7/lib-dynload/_ssl.cpython-37m-darwin.so, 2): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /usr/local/Cellar/azure-cli/2.0.70/libexec/lib/python3.7/lib-dynload/_ssl.cpython-37m-darwin.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.3.0-x86_64-i386-64bit
Python 3.7.4
Shell: bash

azure-cli 2.0.70

Additional Context

raipra avatar Apr 02 '20 10:04 raipra

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

ghost avatar Apr 02 '20 11:04 ghost

aks

yonzhan avatar Apr 02 '20 11:04 yonzhan

@raipra I'm unable to reproduce on the latest 2.3.1 build, could you upgrade and try again?

jluk avatar Apr 02 '20 17:04 jluk

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 May 29 '20 17:05 Jen7714