-
Notifications
You must be signed in to change notification settings - Fork 293
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
Service Principal creation lags behind final validation (ServicePrincipalNotFound) #1165
Comments
I have the same issue when creating AKS cluster through the portal, did few tests with one of Azure Support Engineers and we confirm this issue. |
I reported the bug from within the Azure portal and received this response from Azure IaaS:
|
As a workaround, when you get the error, go back to Authentication section, click configure on service principal and select use existing. Id and secret should be already set from previous review process. Go to the of the wizard and try again |
Thanks @Ricciolo, that is definitely one way to do it — but ultimately it’s just about waiting for that service principal to be created. You don’t actually need to change any configuration to make it work, you just need to wait a couple of minutes and then force a page refresh. The original report mentions this. |
Even worse is that this issue is intermittent - You can run This issue also occurs if you create the service principal yourself just prior to running the deployment. This is related to issue #1206 |
Hey folks, I'm going to close this in favor of issue #1206 as this looks like a duplicate. Please bring all comments into that issue to help consolidate. If you feel like it should be re-opened as a separate issue just comment and I'll revisit. |
Thanks @jluk 🤙 |
What happened:
When creating a Kubernetes cluster in the Azure Portal (GUI) and creating a new service principal with defaults, the final validation fails:
After waiting a few minutes and re-running the validation (with no other changes), it passes successfully.
What you expected to happen:
Final validation to succeed on first run.
How to reproduce it (as minimally and precisely as possible):
Create a new Kubernetes cluster via the Azure Portal GUI and use default settings for service principal.
Anything else we need to know?:
Nope!
Environment:
kubectl version
): 1.13.10 (default)The text was updated successfully, but these errors were encountered: