Description
Problem
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
Steps to reproduce:
coder version:
Coder v0.7.4-devel+bbbd5241
- Create a workspace (for me it was windows-gcp template on dev.coder.com)
- Stop it
- Start it, but cancel action
- Stop it
- Try to start
Start fails with
Error: Error creating instance: googleapi: Error 409: The resource 'projects/coder-dogfood/zones/us-central1-a/instances/coder-nadzeya-nadzeya-windows' already exists, alreadyExists
And cannot perform any other actions
Events order list sample:
Definition of Done
If a start is cancelled, a user should be able to start/stop a workspace without problems