Skip to content
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

Long running object creation times out #192

Open
jeremypng opened this issue Sep 14, 2023 · 1 comment
Open

Long running object creation times out #192

jeremypng opened this issue Sep 14, 2023 · 1 comment
Labels
bug Something isn't working needs:triage

Comments

@jeremypng
Copy link

What happened?

Creating objects that have long creation times fails.

How can we reproduce it?

This consistently happens to me when trying to use the Terraform Provider to create an Azure ADX cluster with the AzureRM provider for Terraform. When the terraform provider for Crossplane times out, the object is still successfully created in Azure, but doesn't make it into the terraform remote state. You then have to manually import the object into the state file to get the crossplane object to update.

What environment did it happen in?

  • Crossplane Version: 1.13.2
  • Provider Version: 0.10.0
  • Kubernetes Version: Server Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.11", GitCommit:"8cfcba0b15c343a8dc48567a74c29ec4844e0b9e", GitTreeState:"clean", BuildDate:"2023-06-19T16:12:25Z", GoVersion:"go1.19.10", Compiler:"gc", Platform:"linux/amd64"}
  • Kubernetes Distribution: AKS
@jeremypng jeremypng added bug Something isn't working needs:triage labels Sep 14, 2023
@bobh66
Copy link
Collaborator

bobh66 commented Sep 14, 2023

You can increase the context timer for the provider from the default 20 minutes by using a ControllerConfig and setting the --timeout arg to the value you need.

Using this as an example: https://github.com/upbound/provider-terraform/blob/main/examples/aws-eks-irsa-setup.yaml if you add "--timeout=45m" to the args list that contains the --debug flag, the provider will run with a context timeout of 45 minutes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs:triage
Projects
None yet
Development

No branches or pull requests

2 participants