Skip to content

install failed #280

Closed
Closed

Description

@andyoulovexy

root@spark-791a:~# curl -fsSL https://nvidia.com/nemoclaw.sh | bash
[INFO] === NemoClaw Installer ===
[INFO] Node.js found: v22.22.1
[INFO] Runtime OK: Node.js v22.22.1, npm 10.9.4
[INFO] Installing NemoClaw from npm…
npm warn deprecated [email protected]: Use your platform's native DOMException instead

added 638 packages in 39s

122 packages are looking for funding
run npm fund for details
[INFO] Verified: nemoclaw is available at /root/.nvm/versions/node/v22.22.1/bin/nemoclaw

──────────────────────────────────────────────────
[WARN] Your current shell may not have the updated PATH.

To use nemoclaw now, run:

source /root/.bashrc

Or open a new terminal window.
──────────────────────────────────────────────────

[INFO] Running nemoclaw onboard…

NemoClaw Onboarding

[1/7] Preflight checks
──────────────────────────────────────────────────
✓ Docker is running
✓ openshell CLI: openshell 0.0.10-dev.1+g13f13c2
✓ NVIDIA GPU detected: 1 GPU(s), 0 MB VRAM

[2/7] Starting OpenShell gateway
──────────────────────────────────────────────────
✓ Checking Docker
✓ Downloading gateway
x Initializing environment x Gateway failed: nemoclaw
Error: × K8s namespace not ready
╰─▶ timed out waiting for namespace 'openshell' to exist: Error from server (NotFound): namespaces "openshell" not found

Command failed (exit 1): openshell gateway start --name nemoclaw

Activity

  1. andyoulovexy commented on Mar 18, 2026

    @andyoulovexy
    Author

    root@spark-791a:~# curl -fsSL https://nvidia.com/nemoclaw.sh | bash [INFO] === NemoClaw Installer === [INFO] Node.js found: v22.22.1 [INFO] Runtime OK: Node.js v22.22.1, npm 10.9.4 [INFO] Installing NemoClaw from npm… npm warn deprecated [email protected]: Use your platform's native DOMException instead

    added 638 packages in 39s

    122 packages are looking for funding run npm fund for details [INFO] Verified: nemoclaw is available at /root/.nvm/versions/node/v22.22.1/bin/nemoclaw

    ────────────────────────────────────────────────── [WARN] Your current shell may not have the updated PATH.

    To use nemoclaw now, run:

    source /root/.bashrc
    

    Or open a new terminal window. ──────────────────────────────────────────────────

    [INFO] Running nemoclaw onboard…

    NemoClaw Onboarding

    [1/7] Preflight checks ────────────────────────────────────────────────── ✓ Docker is running ✓ openshell CLI: openshell 0.0.10-dev.1+g13f13c2 ✓ NVIDIA GPU detected: 1 GPU(s), 0 MB VRAM

    [2/7] Starting OpenShell gateway ────────────────────────────────────────────────── ✓ Checking Docker ✓ Downloading gateway x Initializing environment x Gateway failed: nemoclaw Error: × K8s namespace not ready ╰─▶ timed out waiting for namespace 'openshell' to exist: Error from server (NotFound): namespaces "openshell" not found

    Command failed (exit 1): openshell gateway start --name nemoclaw

    root@spark-791a:~# curl -fsSL https://nvidia.com/nemoclaw.sh | bash [INFO] === NemoClaw Installer === [INFO] Node.js found: v22.22.1 [INFO] Runtime OK: Node.js v22.22.1, npm 10.9.4 [INFO] Installing NemoClaw from npm… npm warn deprecated [email protected]: Use your platform's native DOMException instead

    added 638 packages in 39s

    122 packages are looking for funding run npm fund for details [INFO] Verified: nemoclaw is available at /root/.nvm/versions/node/v22.22.1/bin/nemoclaw

    ────────────────────────────────────────────────── [WARN] Your current shell may not have the updated PATH.

    To use nemoclaw now, run:

    source /root/.bashrc
    

    Or open a new terminal window. ──────────────────────────────────────────────────

    [INFO] Running nemoclaw onboard…

    NemoClaw Onboarding

    [1/7] Preflight checks ────────────────────────────────────────────────── ✓ Docker is running ✓ openshell CLI: openshell 0.0.10-dev.1+g13f13c2 ✓ NVIDIA GPU detected: 1 GPU(s), 0 MB VRAM

    [2/7] Starting OpenShell gateway ────────────────────────────────────────────────── ✓ Checking Docker ✓ Downloading gateway x Initializing environment x Gateway failed: nemoclaw Error: × K8s namespace not ready ╰─▶ timed out waiting for namespace 'openshell' to exist: Error from server (NotFound): namespaces "openshell" not found

    Command failed (exit 1): openshell gateway start --name nemoclaw

  2. andyoulovexy commented on Mar 18, 2026

    @andyoulovexy
    Author

    finished

  3. brianwtaylor commented on Mar 18, 2026

    @brianwtaylor
    Contributor

    This looks like a cgroup v2 / cgroupns misconfiguration on DGX Spark.

    What's happening: openshell gateway start launches an embedded k3s cluster inside a Docker container. On Ubuntu 24.04 (which defaults to cgroup v2), k3s fails to initialize because it can't access cgroup paths unless Docker is configured with "default-cgroupns-mode": "host". Because k3s never starts, the openshell Kubernetes namespace is never created, and you get the "timed out waiting for namespace" error.

    Fix:

    # Add cgroupns=host to Docker daemon config
    sudo python3 -c "
    import json, os
    p = '/etc/docker/daemon.json'
    c = json.load(open(p)) if os.path.exists(p) else {}
    c['default-cgroupns-mode'] = 'host'
    json.dump(c, open(p, 'w'), indent=2)
    "
    sudo systemctl restart docker
    
    # Then re-run onboard
    nemoclaw onboard

    Context: NemoClaw had a preflight check that caught this exact misconfiguration and gave a clear error message with remediation steps (#62). It was removed in #248 on the assumption that OpenShell handles it upstream — but the user is on openshell 0.0.10-dev.1 which clearly doesn't include that fix yet.

    Also noted: the preflight reports 1 GPU(s), 0 MB VRAM — on DGX Spark (GB10), VRAM detection via nvidia-smi --query-gpu=memory.total can return empty since it uses unified memory. This is cosmetic but worth a separate look.

  4. added a commit that references this issue on Mar 18, 2026
    6ba3337
  5. brianwtaylor commented on Mar 18, 2026

    @brianwtaylor
    Contributor

    Update: Reproduced and confirmed on a second DGX Spark. The root cause is exactly as described above — k3s fails on cgroup v2 paths without cgroupns=host.

    The simpler fix is to just upgrade OpenShell. Your build (0.0.10-dev.1+g13f13c2) is a dev snapshot from before the cgroup fix (OpenShell #329) shipped in v0.0.8. Upgrading to the latest stable release will resolve this without needing to touch daemon.json:

    curl -LsSf https://raw.githubusercontent.com/NVIDIA/OpenShell/main/install.sh | OPENSHELL_VERSION=v0.0.10 sh
    nemoclaw onboard
  6. ltm920716 commented on Mar 18, 2026

    @ltm920716

    hi @brianwtaylor ,
    maybe not ok,the 0.0.10 still error

    curl -fsSL https://nvidia.com/nemoclaw.sh | bash
    
    [INFO]  === NemoClaw Installer ===
    [INFO]  Node.js found: v22.17.1
    [INFO]  Runtime OK: Node.js v22.17.1, npm 10.9.2
    [INFO]  Installing NemoClaw from npm…
    npm warn deprecated [email protected]: Use your platform's native DOMException instead
    
    added 1 package, and changed 642 packages in 59s
    
    122 packages are looking for funding
      run `npm fund` for details
    [INFO]  Verified: nemoclaw is available at /usr/bin/nemoclaw
    [INFO]  Running nemoclaw onboard…
    
      NemoClaw Onboarding
      ===================
    
      [1/7] Preflight checks
      ──────────────────────────────────────────────────
      ✓ Docker is running
      openshell CLI not found. Attempting to install...
      Installing openshell CLI...
    openshell openshell 0.0.10
      ✓ openshell CLI: openshell 0.0.10
      ✓ NVIDIA GPU detected: 2 GPU(s), 49128 MB VRAM
    
      [2/7] Starting OpenShell gateway
      ──────────────────────────────────────────────────
    ✓ Checking Docker
    ✓ Downloading gateway
    x Initializing environment                                                                                                                                                                                               x Gateway failed: nemoclaw
    Error:   × K8s namespace not ready
      ╰─▶ timed out waiting for namespace 'openshell' to exist: Error from server (NotFound): namespaces "openshell" not found
    
    
      Command failed (exit 1): openshell gateway start --name nemoclaw
    
  7. brianwtaylor commented on Mar 18, 2026

    @brianwtaylor
    Contributor

    @ltm920716 I tested this on openshell 0.0.10 with cgroup v2 and no daemon.json workaround — gateway starts fine, so the cgroup fix is working and likely not your issue. The "K8s namespace not ready" error is unfortunately a catch-all for a lot of different things.

    Could you share some additional logs from the failed run? In particular the output of docker logs for the gateway container after it fails would help narrow down what's actually going wrong.

  8. brianwtaylor commented on Mar 18, 2026

    @brianwtaylor
    Contributor
  9. andyoulovexy commented on Mar 18, 2026

    @andyoulovexy
    Author

    @ltm920716 I tested this on openshell 0.0.10 with cgroup v2 and no daemon.json workaround — gateway starts fine, so the cgroup fix is working and likely not your issue. The "K8s namespace not ready" error is unfortunately a catch-all for a lot of different things.

    Could you share some additional logs from the failed run? In particular the output of docker logs for the gateway container after it fails would help narrow down what's actually going wrong.

    The issue should be that the container cannot pull the image. Modifying the image address inside the container also didn't work, and I am trying to use a proxy.

  10. ltm920716 commented on Mar 18, 2026

    @ltm920716

    thanks,I find the pod named openshell-cluster-nemoclaw and get logs bellow:

    "RunPodSandbox from runtime service failed" err="rpc error: code = DeadlineExceeded desc = failed to start sandbox \"0fed6091be38d1ecb64b7f84ef946805cbbeaa7024a25874bd407e2311075d9b\": failed to get sandbox image \"rancher/mirrored-pause:3.6\"
    

    I will try to confiure the proxy

  11. brianwtaylor commented on Mar 18, 2026

    @brianwtaylor
    Contributor

    Ah that confirms it — the actual failure is an image pull for
    rancher/mirrored-pause:3.6, not a cgroup issue. k3s inside the gateway
    container can't reach the registry without proxy config. The "K8s namespace
    not ready" error was just hiding this it seems..

  12. bjwulin commented on Mar 18, 2026

    @bjwulin

    how to set the container's proxy?

  13. vjixy commented on Mar 19, 2026

    @vjixy

    any update?

  14. whiteape commented on Mar 20, 2026

    @whiteape

    root@VM-0-7-ubuntu:/data/nemoclaw# curl -fsSL https://www.nvidia.com/nemoclaw.sh | bash
    [INFO] === NemoClaw Installer ===
    [INFO] Node.js found: v24.14.0
    [INFO] Runtime OK: Node.js v24.14.0, npm 11.9.0
    [INFO] Installing NemoClaw from GitHub…
    npm warn deprecated [email protected]: Use your platform's native DOMException instead

    changed 643 packages in 2m

    122 packages are looking for funding
    run npm fund for details
    [INFO] Verified: nemoclaw is available at /usr/local/bin/nemoclaw
    [INFO] Running nemoclaw onboard…
    [INFO] Installer stdin is piped; attaching onboarding to /dev/tty…

    NemoClaw Onboarding

    [1/7] Preflight checks
    ──────────────────────────────────────────────────
    ✓ Docker is running
    ✓ Container runtime: docker
    ✓ openshell CLI: openshell 0.0.10
    ✓ Port 8080 available (OpenShell gateway)
    ✓ Port 18789 available (NemoClaw dashboard)
    ⓘ No GPU detected — will use cloud inference

    [2/7] Starting OpenShell gateway
    ──────────────────────────────────────────────────
    ✓ Checking Docker
    ✓ Downloading gateway
    x Initializing environment x Gateway failed: nemoclaw
    Error: × K8s namespace not ready
    ╰─▶ timed out waiting for namespace 'openshell' to exist: Error from server (NotFound): namespaces "openshell" not found

    Command failed (exit 1): openshell gateway start --name nemoclaw

  15. zyang-dev commented on Mar 20, 2026

    @zyang-dev
    Contributor

    @ltm920716 , does 'docker pull rancher/mirrored-pause:3.6' work for you on your host machine without nemoclaw?

  16. dimileeh commented on Mar 21, 2026

    @dimileeh

    I had exactly the same issue with "openshell" not found, but on MacBook Pro.

    1. I ran codex to investigate why the openshell container doesn't start in docker (colima).
    2. codex identified that colima provisioned only 20GB of space for docker, and the opensheel container was experiencing DiskPressure, and so we cleaned up the space and increased it to 60GB.
    3. I then re-ran nemoclaw installation, and it worked just fine.

    So behind this error around namespace "openshell" not found there can be multiple issues around why the container doesn't start.

  17. zyang-dev commented on Mar 31, 2026

    @zyang-dev
    Contributor

    Closing this issue due to lack of the requested information for further triage. Please reopen if the same issue still occurs with the latest NemoClaw.

  18. added
    platform: dgx-spark
    needs: info
    and removed on Jun 3, 2026
  19. added
    area: onboarding
    area: sandbox
    on Nov 17, 2026
  20. 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

Labels

area: onboardingarea: sandboxneeds: infoplatform: dgx-spark

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions