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
As a V2 user, sometimes my workspace stops during the week, but the deployment isn't blown away. I usually fix this by pulling the old state and then pushing it. Right now when I coder push I'm getting the same Failed to create deployment error that I see in the UI workspace logs. I am on the latest binary
To reproduce:
Version:
Coder v0.7.12+6f34cbf Wed Jul 13 01:09:59 UTC 2022 6f34cbf
Have a workspace that is shutdown but has an old deployment. The logs in the UI will say something like "Error: Failed to create deployment: deployments.apps "coder-kira-pilot-my-workspace" already exists"
Log into v2 in my terminal (not sure if this matters)
Pull state and pipe to a file: coderv2 state pull kira-pilot/my-workspace > PullFile.txt
Push that state: coderv2 state push kira-pilot/my-workspace PullFile.txt
Definition of Done:
I don't see this error when I try to push state
I can successfully run my workspace again
The text was updated successfully, but these errors were encountered:
Hmm... do you know why your deployment is stopping? I'll admit during off days I go around shutting down people's workspaces, but those should be clean shutdowns.
As a V2 user, sometimes my workspace stops during the week, but the deployment isn't blown away. I usually fix this by pulling the old state and then pushing it. Right now when I
coder push
I'm getting the sameFailed to create deployment
error that I see in the UI workspace logs. I am on the latest binaryTo reproduce:
Version:
Coder v0.7.12+6f34cbf Wed Jul 13 01:09:59 UTC 2022
6f34cbf
coderv2 state pull kira-pilot/my-workspace > PullFile.txt
coderv2 state push kira-pilot/my-workspace PullFile.txt
Definition of Done:
The text was updated successfully, but these errors were encountered: