Skip to content

Commit 3c30d1d

Browse files
committed
[ws-manager] Stop workspaces who's content init fails
1 parent d4b4c8b commit 3c30d1d

File tree

3 files changed

+1153
-0
lines changed

3 files changed

+1153
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"actions": [
3+
{
4+
"Func": "clearInitializerFromMap",
5+
"Params": {
6+
"podName": "prebuild-50bff6fd-2b1f-4d33-8b74-5362739add6f"
7+
}
8+
},
9+
{
10+
"Func": "modifyFinalizer",
11+
"Params": {
12+
"add": false,
13+
"finalizer": "gitpod.io/finalizer",
14+
"workspaceID": "50bff6fd-2b1f-4d33-8b74-5362739add6f"
15+
}
16+
}
17+
]
18+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"status": {
3+
"id": "50bff6fd-2b1f-4d33-8b74-5362739add6f",
4+
"metadata": {
5+
"owner": "00000000-0000-0000-0000-000000000000",
6+
"meta_id": "aqua-chimpanzee-35q6f08k",
7+
"started_at": {
8+
"seconds": 1629374870
9+
}
10+
},
11+
"spec": {
12+
"workspace_image": "eu.gcr.io/gitpod-dev/workspace-images:034fe685a5830014534c14a1bcd7c7b2b0c4e94bc4062de4f91646d95c5f23fd",
13+
"ide_image": "eu.gcr.io/gitpod-core-dev/build/ide/code:commit-0941a0805dc3c7345c45bd926317eaf045d4b7fb",
14+
"headless": true,
15+
"url": "https://aqua-chimpanzee-35q6f08k.ws-us15.gitpod.io",
16+
"type": 1
17+
},
18+
"phase": 6,
19+
"conditions": {
20+
"failed": "cannot initialize workspace: cannot initialize workspace: content initializer failed",
21+
"deployed": 1
22+
},
23+
"runtime": {
24+
"node_name": "gke-gp-prod-ws-us15-us--headless-pool-64a87cf8-bw7v",
25+
"pod_name": "prebuild-50bff6fd-2b1f-4d33-8b74-5362739add6f",
26+
"node_ip": "10.138.15.219"
27+
},
28+
"auth": {
29+
"owner_token": "jRA_Te5snD4sq5C2Bfh-OeZ6BCh4YA4X"
30+
}
31+
}
32+
}

0 commit comments

Comments
 (0)