Title: What to do when workspace is state-bricked? · Issue #2256 · coder/coder · GitHub
Open Graph Title: What to do when workspace is state-bricked? · Issue #2256 · coder/coder
X Title: What to do when workspace is state-bricked? · Issue #2256 · coder/coder
Description: So, my workspace state has become misaligned with infrastructure. It looks like this in the logs: 14:02:06.474 Plan: 1 to add, 0 to change, 0 to destroy. 14:02:06.474 Plan: 1 to add, 0 to change, 0 to destroy. 14:02:06.873 kubernetes_dep...
Open Graph Description: So, my workspace state has become misaligned with infrastructure. It looks like this in the logs: 14:02:06.474 Plan: 1 to add, 0 to change, 0 to destroy. 14:02:06.474 Plan: 1 to add, 0 to change, 0...
X Description: So, my workspace state has become misaligned with infrastructure. It looks like this in the logs: 14:02:06.474 Plan: 1 to add, 0 to change, 0 to destroy. 14:02:06.474 Plan: 1 to add, 0 to change, 0...
Opengraph URL: https://github.com/coder/coder/issues/2256
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"What to do when workspace is state-bricked?","articleBody":"So, my workspace state has become misaligned with infrastructure. It looks like this in the logs:\r\n\r\n```\r\n14:02:06.474\r\nPlan: 1 to add, 0 to change, 0 to destroy.\r\n14:02:06.474\r\nPlan: 1 to add, 0 to change, 0 to destroy.\r\n14:02:06.873\r\nkubernetes_deployment.coder[0]: Creating...\r\n14:02:06.873\r\nkubernetes_deployment.coder[0]: Creating...\r\n14:02:06.919\r\nkubernetes_deployment.coder[0]: Creation errored after 0s\r\n14:02:06.919\r\nkubernetes_deployment.coder[0]: Creation errored after 0s\r\n14:02:06.937\r\nError: Failed to create deployment: deployments.apps \"coder-ammario-ab\" already exists\r\n14:02:06.937\r\nError: Failed to create deployment: deployments.apps \"coder-ammario-ab\" already exists\r\n14:02:06.941\r\n14:02:06.941\r\n```\r\n\r\nI'm now dead in the water until an infrastructure admin deletes that deployment or repulls my state. What can we do to let the user reconcile broken state? This kind of downtime didn't exist in v1, and is a big threat to OSS usability IMO. \r\n\r\n---\r\n\r\nCan we have Terraform force delete all ephemeral infrastructure? This seems like it would reconcile the state. ","author":{"url":"https://github.com/ammario","@type":"Person","name":"ammario"},"datePublished":"2022-06-10T19:11:20Z","url":"https://github.com/coder/coder/issues/2256"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:de36e4cc-8749-af07-90db-10af164e185f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 81B6:117C62:20E9390:2BDCC7E:6B0186FF |
| html-safe-nonce | 320fa298597f64ef40520af17e4c7a478d024139b10a3e8634c5f0c151ce6d14 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUI2OjExN0M2MjoyMEU5MzkwOjJCRENDN0U6NkIwMTg2RkYiLCJ2aXNpdG9yX2lkIjoiODIxNzcxNTE3ODY4NzUzMDc1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5dfb2506f8cc487cee2f9ba1f6d6eab246650434a639a513702ae1cefac2913c |
| hovercard-subject-tag | issue:1267912329 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/2256/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5886eeb003740c5901dc335746f897832e1600e6e2affa98d04c5ad1e231a02e/coder/coder/issues/2256 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5886eeb003740c5901dc335746f897832e1600e6e2affa98d04c5ad1e231a02e/coder/coder/issues/2256 |
| og:image:alt | So, my workspace state has become misaligned with infrastructure. It looks like this in the logs: 14:02:06.474 Plan: 1 to add, 0 to change, 0 to destroy. 14:02:06.474 Plan: 1 to add, 0 to change, 0... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ammario |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width