You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Workspace goes to failed state and cannot be started, stopped or deleted after cancel-start->stop->start actions #2683
Workspace goes to failed state and cannot be started or stopped or deleted after cancel-start->stop->autostart actions
I have met with the issue, that I cannot work with my workspace, getting error Error: Error creating instance: googleapi: Error 409: The resource 'projects/coder-dogfood/zones/europe-west4-b/instances/coder-nadzeya-nadzeya-test-autostart' already exists
I'm tackling this issue from the perspective that we currently terminate the Terraform process immediately on a cancel request which does not give Terraform a chance to clean up resources.
This will be changed so that cancellation signals an interrupt and we will wait for Terraform to clean up. A second forceful cancellation request terminates Terraform and may leave resources but can be necessary in some cases where Terraform is stuck cleaning up.
With #3526 merged, I'm hoping this issue is fixed but I'll leave this ticket open for now in case there are more reports of it (it'll be part of the next release, the one after v0.8.5).
Activity
misskniss commentedon Aug 2, 2022
@bpmct can we get a couple of us together and see:
mafredri commentedon Aug 16, 2022
I'm tackling this issue from the perspective that we currently terminate the Terraform process immediately on a cancel request which does not give Terraform a chance to clean up resources.
This will be changed so that cancellation signals an interrupt and we will wait for Terraform to clean up. A second forceful cancellation request terminates Terraform and may leave resources but can be necessary in some cases where Terraform is stuck cleaning up.
fix: Allow terraform provisions to be gracefully cancelled
fix: Allow terraform provisions to be gracefully cancelled (#3526)
mafredri commentedon Aug 18, 2022
With #3526 merged, I'm hoping this issue is fixed but I'll leave this ticket open for now in case there are more reports of it (it'll be part of the next release, the one after
v0.8.5).ammario commentedon Aug 18, 2022
Let's reopen if there is a new report.