-
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 aks get-credentials fails after upgrade to 2.30.0 #20343
Comments
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm. Issue DetailsThis is autogenerated. Please review and update as needed.Describe the bugUsed brew to update to the latest azure-cli 2.30.0 on MacOS 11.6.1 and while Command Name Errors:
To Reproduce:Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
Expected BehaviorSubscription I'm accessing has 4 AKS clusters in 3 different regions. The cluster I'm trying to get credentials for resides in a region (westus2) which only hosts a single AKS cluster. The mentioned command worked with the prior 2.28.x version of azure-cli I had installed. Environment Summary
Additional ContextNote: Final work around for now was to remocat ve my existing ~/.azure directory which worked. I first tried removing acccessTokens.json but error still persisted.
|
route to service team |
You have a fairly outdated aks-preview extension installed - current version is 0.5.42 and you're running 0.5.11. Could you please try updating your aks-preview extension via |
hi @phealy I got the same error but my aks-preview extension is already at 0.5.42 az extension list |
Same here
|
Same issue with updated aks-preview unless I start with a clean .azure -
|
Azure CLI has bumped |
Sorry for the inconvenience. From the error message, the error is caused by the incompatibility between
Please consider the following workaround, otherwise, please use cloudshell from portal or wait for the next release to fix this issue. |
I used brew to install azure-cli 2.30.0_1 and the cask forces python 3.10 as a dependency. |
Duplicate of #20348 |
@drwoods, this won't fix this issue. |
This is autogenerated. Please review and update as needed.
Describe the bug
Used brew to update to the latest azure-cli 2.30.0 on MacOS 11.6.1 and while
az logout
,az account clear
,az login
andaz set --subscription
still work, I can't fetch AKS creds.Command Name
az aks get-credentials
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az aks get-credentials -n {} -g {}
Expected Behavior
Subscription I'm accessing has 4 AKS clusters in 3 different regions. The cluster I'm trying to get credentials for resides in a region (westus2) which only hosts a single AKS cluster.
The mentioned command worked with the prior 2.28.x version of azure-cli I had installed.
Environment Summary
Additional Context
Note: Final work around for now was to remocat ve my existing ~/.azure directory which worked. I first tried removing acccessTokens.json but error still persisted.
The text was updated successfully, but these errors were encountered: