Open arueth opened 1 month ago
Hi @arueth!
Being a large project, there may be several factors that influence the error you are having. Have you tried creating only the google_container_node_pool
resource with its google_container_cluster
?
I also see that the file that is supposed to contain the code for the resource google_container_node_pool
is empty and only contains a single line. Would it be possible for you to share here just the google_container_node_pool
code with its google_container_cluster
so we can test it in an isolated project and find out what could be causing it?
I'm sure what you mean by "Have you tried creating only the google_container_node_pool
resource with its google_container_cluster
?" The cluster and node pool creation is part of the overall terraform apply.
The resource containing the google_container_node_pool
s is not empty, it is a symbolic link to another file.
I tried to reproduce this issue many times but can't find any error. Talking with @arueth through chat He explains that this is a sporadic failure and thus difficult to reproduce, but it happens quite a bit when spinning up lots of labs in qwiklabs
. And he is relating this issue with this one because it looks like sometimes it returns a different message.
Community Note
Terraform Version & Provider Version(s)
Terraform v1.9.7 on amd64/x86_64
Affected Resource(s)
google_container_node_pool
Terraform Configuration
Using the Terraform located here: https://github.com/GoogleCloudPlatform/accelerated-platforms/tree/main/platforms/gke-aiml/playground
Debug Output
No response
Expected Behavior
The nodepool is created successfully
Actual Behavior
Steps to reproduce
export MLP_PROJECT_ID=<Project ID>
test/scripts/qwiklabs/playground_byop_oci_apply.sh
I have only seen it happen when trying to provision multiple environments for a workshop. Even then, it only happens maybe 10% or less of the times. I have not seen the error when doing single environment testing.
Important Factoids
This happens somewhat frequently when provisioning labs for Qwiklabs and it is not always the same node pool.
References
It seems like now that this was fixed https://github.com/hashicorp/terraform-provider-google/issues/19895, this issue is the new error.
b/381135470