Skip to content

[Linux][Onboard] nemoclaw onboard --experimental-profile portable fails on GPU hosts — GPU patch subprocess targets Docker daemon instead of Podman socket #9462

Closed

Description

@hulynn

Description

nemoclaw onboard --experimental-profile portable fails at step [7/8] on Linux GPU hosts. The Docker GPU patch subprocess invokes the bare docker CLI without injecting DOCKER_HOST, so docker ps queries the Docker daemon (not the Podman socket where the sandbox container lives), finds no container, and throws. On GPU machines onboard exits "did not finish" and the sandbox is never registered in nemoclaw. On non-GPU machines the error is logged but the sandbox is still registered.

Platform scope: Reproduced on Linux x86_64 (Ubuntu 24.04) with NVIDIA A100; other platforms not tested
Regression: Unknown — new experimental feature
OpenShell issue: No

Environment

Device:        Ubuntu 24.04 x86_64 server (NVIDIA A100-SXM4-40GB)
OS:            Ubuntu 24.04.4 LTS, kernel 6.8.0-117-generic
Architecture:  x86_64
Node.js:       v22.16.0
npm:           10.9.2
Docker:        29.5.2
Podman:        5.4.1 (rootless)
OpenShell CLI: 0.0.101
NemoClaw:      v0.0.109
OpenClaw:      N/A (onboard did not complete)

Steps to Reproduce

  1. Linux host with NVIDIA GPU, rootless Podman 5.0+, Docker installed
  2. Enable systemd linger: loginctl enable-linger {USER}
  3. Run: nemoclaw onboard --experimental-profile portable --fresh --non-interactive --name portable-repro
  4. Observe: onboard exits "did not finish"; nemoclaw list shows "No sandboxes registered"

Expected Result

Onboard completes; sandbox portable-repro appears in nemoclaw list with status Ready.

Actual Result

Docker GPU patch failed.
Could not find OpenShell Docker container for sandbox 'portable-repro'.
Docker GPU patch did not complete successfully.
  sandbox_phase=Ready
  sandbox_list_row=portable-repro  2026-08-18 11:46:08  Ready

nemoclaw list output:

No sandboxes registered. Run `nemoclaw onboard` to get started.

Onboard exits with: "Onboarding did not finish."

Logs

From onboard-failures artifact directory:
  docker-ps.txt:          (empty — docker ps queries Docker daemon, not Podman socket)
  openshell-sandbox-list.txt: sandbox 'portable-repro' in Ready phase
  summary.txt:
    selected_gpu_route=native
    selected_gpu_mode=none
    old_container_id=unknown

Reproduced on two independent Linux x86_64 machines:
Machine A (no GPU, Podman 5.7.0): sandbox registers but GPU patch logs an error at [7/8]
Machine B (NVIDIA A100, Podman 5.4.1): onboard "did not finish"; sandbox NOT registered

Activity

  1. added
    NV QA
    needs: triage
    on Aug 18, 2026
  2. added theissue type on Aug 18, 2026
  3. self-assigned this
    on Aug 18, 2026
  4. added a commit that references this issue on Aug 18, 2026
    8f82910
  5. added
    area: onboarding
    area: sandbox
    platform: linux
    platform: ubuntu
    and removed
    needs: triage
    on Aug 18, 2026
  6. hulynn commented on Aug 24, 2026

    @hulynn
    ContributorAuthor

    V2C verification — PASS (fixed in v0.0.114)

    Fix PR: #9476 (merged; confirmed ancestor of tag v0.0.114 via git merge-base --is-ancestor).

    Environment

    • Platform: Ubuntu 24.04.4 LTS, x86_64, real NVIDIA GPU (32 GB class, consumer RTX-series)
    • Docker: 29.5.2 (installed alongside Podman, as the repro requires)
    • Podman: 5.8.4, rootless, via the statically-linked mgoltzsche/podman-static release binaries (the distro package archive only offers 4.9.3, which cannot build the sandbox image at all — its build engine rejects the ADD --checksum= Dockerfile syntax NemoClaw uses — so the static binaries were installed to /usr/local instead of the apt package; existing Docker install was unaffected)
    • systemd --user linger: enabled
    • NemoClaw: v0.0.114

    Repro steps

    nemoclaw onboard --experimental-profile portable --fresh --non-interactive \
      --yes-i-accept-third-party-software --name portable-9462-test
    

    (GPU passthrough left at its default — NOT run with --no-gpu, since that flag sets sandboxGpuEnabled=false and short-circuits resolveDockerGpuRoutePlan to "none" before the Docker-GPU-patch code path this bug touches is ever reached; testing with --no-gpu would not exercise the fix at all.)

    Result
    Onboard completed the full sandbox build and GPU passthrough verification:

    Direct sandbox GPU enabled; allowing OpenShell GPU policy enrichment.
    ...
    ✓ GPU proof passed: nvidia-smi when available
    ✓ GPU proof passed: /proc/<pid>/task/<tid>/comm write
    ✓ GPU proof passed: cuInit(0) via libcuda.so.1
    

    No "Docker GPU patch failed" / "Could not find OpenShell Docker container" error occurred anywhere in the run (searched the full log). nemoclaw list afterward shows the sandbox registered and Ready, with GPU enabled:

    Sandboxes:
      portable-9462-test *
        agent: openclaw  model: qwen2.5:1.5b  provider: ollama-local  sandbox GPU  policies: personal-open-internet, local-inference
        dashboard: http://127.0.0.1:18790/
    

    This is the opposite of the original bug's failure mode (onboard exits "did not finish", "No sandboxes registered"). On this GPU host + portable profile, onboard now takes the native/direct GPU injection route instead of the Docker-driver "compatibility" route that used to invoke the bare docker CLI without DOCKER_HOST and query the wrong daemon.

    (One unrelated non-blocking note independent of this bug: the run ends with an informational "local OpenClaw operator pairing is not settled" message — this is a separate, documented OpenClaw device-pairing feature gate for connect/launch, not part of sandbox creation or GPU provisioning, and does not affect this verification.)

    Verdict: PASS. Sandbox created and registered with GPU enabled via the native route; the buggy Docker-driver GPU-patch subprocess path is not exercised on the portable profile anymore.

    Test sandbox destroyed after verification.

  7. added
    platform: container
    on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

NV QAarea: onboardingarea: sandboxplatform: containerplatform: linuxplatform: ubuntu

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions