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

tf-runner pod won't terminate #1436

Open
cunningr opened this issue Sep 2, 2024 · 1 comment
Open

tf-runner pod won't terminate #1436

cunningr opened this issue Sep 2, 2024 · 1 comment

Comments

@cunningr
Copy link

cunningr commented Sep 2, 2024

I'm just trying out the tofu-controller and have installed the following alongside Flux v1.2.3:

tofu-controller:v0.16.0-rc.4
tf-runner:v0.16.0-rc.4

I am trying some very basic operations using the ready to use aws package, in essence just trying to create an S3 bucket.

I can get the bucket to create ok but after the apply, the runner is stuck in Terminating:

NAME                                       READY   STATUS        RESTARTS   AGE
aws-s3-bucket-tf-runner                    0/1     Terminating   0          48m

It seems to stay like this indefinitely. Then when I try to delete the Terraform resource (kubectl delete terraform my-s3-bucket) the tf-contrller logs show that it stuck waiting for the previous running to terminate. If I delete the runner manually it does eventually proceed (I guess other bad things are expected to happen from this point after a manual deletion).

@ilithanos
Copy link
Collaborator

Thanks for reporting this issue, not sure why it is happening though.

Any chance you have some specific replication steps, to be able to debug this?

I havn't ever experienced the runners hanging in a Terminating state, so i would like to find the reason this is happening to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants