-
Notifications
You must be signed in to change notification settings - Fork 24
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
gcloud application-default login required on GCE vm or terraform cluster create hangs #41
Comments
When I login to host:
There's no kubeconfig in that dir just abm-blue-p17o3.yaml |
Changing to
Got rid of the error, but did not solve hanging cluster creation process:
|
kubeconfig is never being created. It should not try and download it until after the cluster creation succeeds. cluster_create.log has a single line error about GKE hub and gcloud auth login. But the gce vm I’m using has gcloud auth already, still looking at that |
gcloud auth application-default login You are running on a Google Compute Engine virtual machine. If you decide to proceed anyway, your user credentials may be visible Do you want to continue (Y/n)? Credentials saved to file: [~/.config/gcloud/application_default_credentials.json] |
Looks like this a requirement, so if you don't have a the file, ~/.config/gcloud/application_default_credentials.json, then the terraform will hang without error. |
The README is overdue for some updates. |
Actually, we do have some text supporting this: https://github.com/equinix/terraform-metal-anthos-on-baremetal#install-gcloud |
Do you ideas on how we can improve this, @joshpadilla ? |
The text was updated successfully, but these errors were encountered: