Repository navigation
fix(sdk): declare the security option Docker adds for host IPC - #13435
Merged
Merged
Conversation
Docker adds label=disable to a container sharing the host IPC namespace. Declaring it keeps managed services with host IPC from planning a replacement on every apply.
cv
enabled auto-merge (squash)
October 19, 2026 00:01
Contributor
cv
added a commit
that referenced
this pull request
Oct 19, 2026
## Failure The ARM64 vLLM runtime (`runtimes/vllm`) built on an upstream `vllm/vllm-openai` image published under the tag `qwen38-flash-next`, which isn't a vLLM release. Whether it served the GTC DC templates' model, Nemotron 3 Super 120B NVFP4, was untested. The GTC DC README called all nine templates "planned configurations", and still said apply fails an agent health check that no longer exists. ## Decision - **The runtime base** is the vLLM v0.32.0 release (today's latest), pinned by its multi-platform digest. `runtimes/qwen38` keeps its own base, built for that model. - **The GTC DC README** records results from a DGX Spark run of the Spark templates, and drops the stale health-check sentence. The three Spark templates' headers say what was verified. - **Not changed:** the AMD64 runtime (`runtimes/vllm-amd64`, vLLM 0.27.1), because it can't be verified on AMD64 GPU hardware here. ## Validation On a DGX Spark, with this runtime image and agent images built from `v1`, plus #13434 and #13435: - **Model service:** the Hermes template applied in about 72 minutes, mostly a 74.8 GiB download at about 20 MiB/s and a 15-minute load. vLLM v0.32.0 used FlashInfer's NVFP4 kernels on the GB10. Requests without the key were refused with `401`, and requests with it succeeded. - **Hermes:** a short answer in 4 seconds once warm; a terminal tool call returned the exact hash in 17 seconds; a five-point itinerary in 14.5 seconds, within the 1,024-token limit. - **Deep Agents:** switching the deployment's harness replaced only the sandbox, in 28 seconds, while the model kept serving. Short answers took 5–6 seconds, the itinerary 18 seconds, and a write-then-read file task with three tool calls 29 seconds, returning the file's contents. - **OpenClaw:** agent start fails, as tracked in #13372. Inside the sandbox, `setpriv` reports "initgroups failed: Operation not permitted" (NVIDIA/NeMo-Fabric#430). - **Destroy** took 9 seconds and kept the model cache, gateway storage and credentials. The run found two bugs, fixed separately: - **#13434:** the SDK refused harness and image changes that should replace the sandbox. - **#13435:** services with host IPC planned a replacement on every reapply. `cargo ci` passes locally: 1,598 unit tests and 149 lifecycle tests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Failure
A managed vLLM or Ollama service with
container.ipc: hostplanned a replacement on every apply after its first, even with no change. Docker addslabel=disableto the security options of any container that shares the host's IPC namespace. The graph declared onlyno-new-privileges, and the Docker provider treatssecurity_optsas forcing replacement. So every later plan wanted to replace a healthy model container. With the defaultupdatePolicy: Preserve, plan and apply then refuse; withRecreate, every apply would restart the model.It surfaced on a DGX Spark running one of the GTC DC templates (Nemotron 3 Super with
ipc: host). Every Station and Spark vLLM example that sets host IPC is affected. Confirmed with plain Docker:["no-new-privileges"]--ipc host["no-new-privileges","label=disable"]Decision
When a service uses host IPC, the graph declares
label=disablealong withno-new-privileges, matching what Docker records. Containers without host IPC are unchanged.Validation
["no-new-privileges"]against the expected pair) and passes after.cargo cipasses locally: 1,601 unit tests and 149 lifecycle tests.