Skip to content

[Bug] Installer Loop: "Sandbox not found" at Step 7 and GPU allocation failure on WSL2 (Windows Home) #152

Closed

Description

@coltongroves

Issue Description:
Environment:

OS: Windows 11 Home (26.0)
WSL Version: WSL 2 (Ubuntu 22.04)
Docker Desktop: Version 4.x (WSL 2 Backend enabled)
GPU: NVIDIA GeForce RTX 5070 Ti (16GB VRAM)

Installation Path: Local setup via install.sh in ~/NemoClaw

The Problem:
I am experiencing a critical failure in the install.sh flow where the installer successfully creates the sandbox environment but fails to "see" it moments later when attempting to apply policy presets. Additionally, the gateway fails to allocate the local GPU despite it being correctly detected by the host and Docker.

Steps to Reproduce:

Run ./install.sh.
Choose Option 1 (Local NIM) or Option 2 (Cloud API) for inference.
The installer creates the sandbox (e.g., ✓ Sandbox 'supernemo' created).
At Step 7 (Policy Presets), the installer attempts to run openshell policy set.
Error occurs: × status: NotFound, message: "sandbox not found".

Error Logs observed:

Plaintext
[4/7] Configuring inference (NIM)
...
✓ Sandbox 'supernemo' created
[7/7] Policy presets
...
Apply suggested presets (pypi, npm)? [Y/n/list]: y
Error: × status: NotFound, message: "sandbox not found", details: [], metadata: MetadataMap { headers: {"content-type": "application/grpc"} }
Command failed (exit 1): openshell policy set --policy "/tmp/nemoclaw-policy.yaml" --wait s
Additional Context on GPU Allocation:
During Step 4, even when selecting Local NIM, the gateway reports:
× status: FailedPrecondition, message: "GPU sandbox requested, but the active gateway has no allocatable GPUs."

However, running docker run --rm --gpus all nvidia/cuda:12.0.1-base-ubuntu22.04 nvidia-smi works perfectly and shows the RTX 5070 Ti. It appears there is a disconnect between the OpenShell gateway's resource detection and the Docker engine on Windows Home.

Proposed Fixes/Workarounds attempted:

Restarted Docker Desktop (didn't fix the allocation).
Manually ran openshell gateway start --gpu, which partially helps but the installer still loses track of the sandbox at the policy step.
The "sandbox not found" error seems to be a race condition where the policy is applied before the gRPC metadata for the new sandbox has propagated to the gateway.

I am happy to provide further logs or run openshell doctor if needed.

Activity

  1. brianwtaylor commented on Mar 17, 2026

    @brianwtaylor
    Contributor

    This appears to be the same WSL2 GPU passthrough issue as #208 — the sandbox fails at GPU allocation because k3s-in-Docker can't access the GPU on WSL2.

    PR #209 detects WSL2 and skips --gpu, which should fix this.

  2. added
    area: install
    area: onboarding
    platform: wsl
    and removed on Jun 3, 2026
  3. added
    area: sandbox
    platform: k3s
    on Nov 17, 2026
  4. added theissue type on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: installarea: onboardingarea: sandboxplatform: k3splatform: wsl

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions