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
Commit 26bc05c
Browse filesBrowse the repository at this point in the historyBrowse files
kubectl -n openshell rollout status deployment/openshell
136
138
kubectl -n openshell rollout status statefulset/openshell
137
139
```
138
140
139
-
Look for failed installs, unexpected values, missing namespace, wrong image tag, TLS settings that do not match the registered endpoint, and scheduling failures.
141
+
Use the log and rollout commands for the workload kind that exists in the
142
+
release. Look for failed installs, unexpected values, missing namespace, wrong
143
+
image tag, TLS settings that do not match the registered endpoint, and
144
+
scheduling failures.
140
145
141
146
For HA or PostgreSQL-backed installs, also check the external database Secret
142
147
referenced by `server.externalDbSecret` and the PostgreSQL workload if the test
@@ -169,15 +174,34 @@ Secrets but does not create the sandbox JWT signing Secret.
169
174
170
175
If the gateway exits with `failed to read sandbox JWT signing key from
171
176
/etc/openshell-jwt/signing.pem`, verify that `openshell-jwt-keys` contains
172
-
`signing.pem`, `public.pem`, and `kid`, and that the StatefulSet mounts the
177
+
`signing.pem`, `public.pem`, and `kid`, and that the gateway workload mounts the
173
178
`sandbox-jwt` secret at `/etc/openshell-jwt`. The sandbox JWT mount is required
174
179
even when local Helm values disable TLS.
175
180
181
+
If `server.providerTokenGrants.spiffe.enabled=true`, the gateway should still
182
+
render `[openshell.gateway.gateway_jwt]` and mount the `sandbox-jwt` Secret.
183
+
SPIRE is used only by sandbox pods for dynamic provider token grants. Verify
184
+
that SPIRE is installed, the CSI driver is available, and the Kubernetes driver
185
+
config includes `provider_spiffe_workload_api_socket_path`:
186
+
187
+
```bash
188
+
helm -n openshell get values openshell | grep -E 'providerTokenGrants|workloadApiSocketPath'
Sandbox pods using provider token grants should have an
194
+
`openshell.io/sandbox-id` annotation, an `openshell.ai/managed-by=openshell`
195
+
label, supervisor env vars `OPENSHELL_K8S_SA_TOKEN_FILE` and
196
+
`OPENSHELL_PROVIDER_SPIFFE_WORKLOAD_API_SOCKET`, plus both the projected
197
+
`openshell-sa-token` volume and the `spiffe-workload-api` CSI volume.
198
+
176
199
Check the image references currently used by the gateway deployment:
177
200
178
201
```bash
202
+
kubectl -n openshell get deployment openshell -o jsonpath="{.spec.template.spec.containers[*].image}{\"\n\"}{.spec.template.spec.containers[*].env[?(@.name==\"OPENSHELL_SUPERVISOR_IMAGE\")].value}{\"\n\"}"
179
203
kubectl -n openshell get statefulset openshell -o jsonpath="{.spec.template.spec.containers[*].image}{\"\n\"}{.spec.template.spec.containers[*].env[?(@.name==\"OPENSHELL_SUPERVISOR_IMAGE\")].value}{\"\n\"}"
180
-
helm -n openshell get values openshell | grep -E 'repository|tag|supervisorImage'
204
+
helm -n openshell get values openshell | grep -E 'repository|tag|supervisorImage|workload'
181
205
```
182
206
183
207
The gateway image built from `deploy/docker/Dockerfile.gateway` and the scratch supervisor image built from `deploy/docker/Dockerfile.supervisor` should use the same build tag in branch and E2E deploys. A stale supervisor image can make sandbox behavior lag behind gateway policy or proto changes.
@@ -220,7 +244,8 @@ If the gateway is healthy but sandbox creation fails:
220
244
```bash
221
245
kubectl -n openshell get pods
222
246
kubectl -n openshell get events --sort-by=.lastTimestamp | tail -n 50
| Docker or Podman sandbox never registers | Wrong callback endpoint or supervisor startup failure | Gateway logs and sandbox container logs |
269
294
| Docker GPU e2e fails before GPU sandbox comparison | NVIDIA CDI specs are missing or Docker has not discovered them |`docker info --format '{{json .DiscoveredDevices}}'`, `/etc/cdi`, `/var/run/cdi`, `nvidia-cdi-refresh.service`|
270
295
| Kubernetes gateway pod pending | PVC unbound, taint, selector, or insufficient resources |`kubectl -n openshell describe pod <pod>`|
271
-
| Kubernetes gateway pod crash loops | Missing secret, bad DB URL, bad TLS config |`kubectl -n openshell logs statefulset/openshell`|
296
+
| Kubernetes gateway pod crash loops | Missing secret, bad DB URL, bad TLS config |`kubectl -n openshell logs deployment/openshell -c openshell-gateway` or `kubectl -n openshell logs statefulset/openshell -c openshell-gateway`|
272
297
| CLI TLS error | Local mTLS bundle does not match server cert/CA | Check `~/.config/openshell/gateways/<name>/mtls/`|
273
298
| Image pull failure | Gateway or sandbox image cannot be pulled | Runtime events and image pull credentials |
274
299
|`K8s namespace not ready` with `envoy-gateway-openshell.yaml: the server could not find the requested resource`| Optional Gateway API manifest was applied without Envoy Gateway CRDs, or k3s Helm controller startup exceeded the namespace wait | Apply `deploy/kube/manifests/envoy-gateway-openshell.yaml` manually only after Envoy Gateway is installed and `grpcRoute` is enabled |
- Sign each commit for DCO compliance (`git commit -s`, or include a`Signed-off-by: Name <email>` trailer)
163
+
- Sign off on each commit for DCO compliance. Use the `--signoff` option to `git commit` to add the`Signed-off-by` footer to ensure the user's configured email address is used.
164
164
- Never mention Claude or any AI agent in commits (no author attribution, no Co-Authored-By, no references in commit messages)
0 commit comments