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 555c132
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: skills/debug-openshell-cluster/SKILL.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -324,6 +324,8 @@ Common findings:
324
324
- Docker rejects a CDI spec-directory bind: every directory reported in `docker info --format '{{json .CDISpecDirs}}'` must exist on the daemon host. OpenShell uses structured binds that reject missing sources and do not create directories or relabel existing ones. Configure Docker to report only existing CDI spec directories. On SELinux hosts, ensure the host policy permits containers to read them without automatic relabeling. The projections are private to the trusted runtime under `/.openshell/cdi-specs`; the mandatory baseline prevents agent access even with broad authored grants.
325
325
- CDI spec projection admission fails: inspect the workload container's `HostConfig.DeviceRequests` and `Mounts`. Each daemon-discovered CDI spec directory must appear at its assigned `/.openshell/cdi-specs/<index>` destination as a read-only bind with private propagation and the expected host source. Missing, changed, duplicate, and additional unrelated bind mounts are rejected with admission enabled. Correct the projection or runtime configuration; do not disable resource admission for GPU workloads.
326
326
- CDI writable mount validation fails despite omitted options or `ro` in the spec: OpenShell checks effective mount flags inside the workload. Original directory destinations are also checked for writable submounts. Ordinary writable destinations must be single regular files with exact entries in policy `read_write`; expanded shared-library parents are not treated as original directory mounts.
327
+
- CUDA topology discovery fails: CDI does not add blanket read access to `/sys`. Check the paths requested by the application and add the required sysfs paths to its authored filesystem policy when the selected CDI spec does not supply them.
328
+
327
329
- CDI socket validation fails: verify the exact destination is a Unix socket inside the workload. Socket destinations (including GPU daemon endpoints) do not expand to their parents or require writable-file allowlist entries. A socket replaced by a regular file or directory fails launch or subsequent exec.
328
330
- The workload runtime did not supply required CDI groups: compare the selected spec's `additionalGids` with the container process's actual supplemental groups (`id -G` or `/proc/<pid>/status`). Verify the container runtime applies CDI groups and preserves them through launch. Numeric groups need no matching group name. OpenShell validates membership before initial launch and subsequent execs and does not inject missing groups; use a runtime/toolkit combination that supplies the required groups.
0 commit comments