-
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
panic: runtime error:
during discovery (rate limiting issue?)
#5133
Comments
panic: runtime error:
during discovery when GCP cluster is being createdpanic: runtime error:
during discovery when more than one GKE cluster exists
UpdateThis issue happens when the number of GKE clusters in a project exceeds 1 ! |
Update 2:Even after deleting one of the two testing clusters, the error seems to persist when trying to discover the cluster left behind. |
panic: runtime error:
during discovery when more than one GKE cluster existspanic: runtime error:
during discovery (rate limiting issue?)
two problems here: the serviceaccount init from the gke cluster is failing to trigger |
the first bit is an easy fix but i am struggling to figure out why on earth the service account init is not triggering, will continue to look |
partially resolved with #5135 |
ok, got it all working with https://github.com/mondoohq/cnquery/compare/vj/fixgke-2?expand=1 feels like im overcomplicating the second commit so ill get back to that tomorrow |
Describe the bug
When creating a new GCP cluster:
This will break the discovery when trying to connect via this:
To Reproduce
Steps to reproduce the behavior:
cnspec shell gcp project <project-name> --discover gke-clusters
Expected behavior
The discovery should not fail when a GKE cluster is being created.
Screenshots or CLI Output
See above
Desktop (please complete the following information):
installing provider 'gcp' version=11.0.63
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: