-
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 acs kubernetes get-credentials fails in azure-cli-acs 2.0.17 #4679
Comments
Confirmed for Azure CLI 2.0.19 and ACS version 2.0.17 |
Also confirmed. Azure CLI 2.0.19 and ACS version 2.0.17 |
I find out a workaround for this issue. Just install the latest
|
A workaround is also to do it manually: |
Downgrading just ACS package after installing full cli also works: |
|
same happening with CLI 2.0.19 |
@troydai it should be fixed now. We can close this. |
2.0.20 has been released. |
Thanks guys! Just tested un 2.0.20, works great! |
I am still hitting this issue on
|
@jamoham that's a different issue (socket.timeout). Sounds like your Kubernetes master is unreachable, try to establish a SSH connection using plain OpenSSH to confirm that ( |
Hello, az aks get-credentials --resource-group xxxxxx-01 --name xxxxxx |
@sharmagaurav03 this is likely a different issue. Please open an new issue. |
Description
Outline the issue here:
Unable to obtain kubectl config in latest version of CLI
Works in older version: pip install azure-cli-acs==2.0.16
Trace:
interestingly in ssh library this key gets removed:
https://github.com/paramiko/paramiko/blob/6978c7a0b8faa683b119de3a0c096be31ac4fdc9/paramiko/config.py#L137
Environment summary
Python 3.6.3 virtual environment
Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)
Answer here:
pip install azure-cli==2.0.18
CLI Version: What version of the CLI and modules are installed? (Use
az --version
)Answer here:
OS Version: What OS and version are you using?
Answer here:
MacOS Sierra 10.12.6
Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
Answer here:
zsh
The text was updated successfully, but these errors were encountered: