You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened: AAD managed cluster no longer accepts authentication, even with admin keys.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Occurs with both the admin credentials and user credentials:
rm ~/.kube/config
az aks get-credentials --name aks --overwrite-existing
kubectl get nodes
The behavior of this command has been altered by the following extension: aks-preview
To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code BLAH to authenticate.
error: You must be logged in to the server (Unauthorized)
I've been using WSL2 for everything Linux related (as the rest of my team). Turns out there's a clock drift problem (my WSL2 instance was over 2 days off from the host's clock) - microsoft/WSL#5324. I assumed the standard Hyper-V Time synchronization services would be enabled, they are not (and of course ntp cannot run as a service under WSL2, yet...).
Forcing a re-sync via ntp does allow everything to work again.
So very bad timing on our side, it was definitely one of those "correlation is not causation" things. My clock just happened to be just enough off for my requests to become invalid, right when the feature went GA.
What happened: AAD managed cluster no longer accepts authentication, even with admin keys.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Occurs with both the admin credentials and user credentials:
rm ~/.kube/config az aks get-credentials --name aks --overwrite-existing kubectl get nodes
Anything else we need to know?:
We've also "Upgraded to AKS-managed Azure AD Integration" - https://docs.microsoft.com/en-us/azure/aks/managed-aad#upgrading-to-aks-managed-azure-ad-integration
Considering the docs just changed, and this just started today, I'm assuming something was changed on aks.
Environment:
kubectl version
):The text was updated successfully, but these errors were encountered: