Repository navigation
Description
Description
On WSL2 x86 with Hermes selected, NemoClaw v0.0.109 does not reuse an installed, healthy Ollama daemon when its model list is empty. Onboarding enters the Linux Ollama installer, requests sudo, and aborts before the sandbox is created instead of pulling the explicitly selected model.
Platform scope: Reproduced on WSL2 x86 only; other platforms were not tested for v0.0.109.
Regression: The same WSL2 x86 Hermes flow worked in v0.0.107 and is first observed broken in v0.0.109; v0.0.108 was not tested. The earlier installed-with-no-models defect tracked in #6038 is closed.
OpenShell issue: No
Environment
Device: Windows PC with NVIDIA GeForce RTX 5090, running WSL2
OS: Ubuntu 24.04 inside WSL2
Architecture: x86_64
Node.js: v22.23.1
npm: 10.9.8
Docker: Docker Desktop, Docker Engine 29.5.3
OpenShell CLI: openshell 0.0.101
NemoClaw: nemoclaw v0.0.109
OpenClaw: N/A (Hermes onboarding did not complete)
Agent: Hermes
Ollama: Windows-host Ollama 0.32.5, exposed on the WSL PATH
Steps to Reproduce
-
On a Windows PC with WSL2 Ubuntu 24.04 and Docker Desktop, install and start Ollama 0.32.5 on the Windows host and expose the
ollamacommand on the WSL PATH. -
Remove all local Ollama models, then verify both the daemon and CLI are healthy. The API must return an empty
modelsarray andollama listmust exit 0 with an empty table.curl -fsS http://127.0.0.1:11434/api/tags ollama list
-
Install NemoClaw v0.0.109 and select the Hermes agent channel.
-
Run a fresh non-interactive onboard with an explicit model:
NEMOCLAW_PROVIDER=ollama \ NEMOCLAW_MODEL=qwen2.5:1.5b \ NEMOCLAW_YES=1 \ NEMOCLAW_SANDBOX_NAME=hermes-ollama-empty \ nemohermes onboard --non-interactive --agent hermes
-
Observe inference-provider configuration and check whether onboarding creates the sandbox.
Expected Result
NemoClaw detects the healthy installed Ollama daemon, pulls qwen2.5:1.5b because the model list is empty, completes onboarding, and creates a Ready Hermes sandbox. It does not reinstall Ollama or request sudo.
Actual Result
NemoClaw recognizes provider=ollama but immediately launches the Linux system installer. The installer requests sudo and exits 1, so onboarding stops before creating the sandbox:
[non-interactive] Provider: ollama
The Ollama installer creates a system user, a systemd service, and writes to /usr/local. It uses sudo, may ask for your password, and can take a few minutes; installer output will stream below.
>>> Cleaning up old version at /usr/local/lib/ollama
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
Command failed (exit 1): set -o pipefail; curl -fsSL https://ollama.com/install.sh | sh
Onboarding did not finish. Resume from the step that failed.
Logs
$ curl -fsS --connect-timeout 5 http://127.0.0.1:11434/api/tags
{"models":[]}
$ ollama list
NAME ID SIZE MODIFIED
[3/8] Configuring inference provider
[non-interactive] Provider: ollama
The Ollama installer creates a system user, a systemd service, and writes to /usr/local. It uses sudo, may ask for your password, and can take a few minutes; installer output will stream below.
>>> Cleaning up old version at /usr/local/lib/ollama
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
Command failed (exit 1): set -o pipefail; curl -fsSL https://ollama.com/install.sh | sh
Onboarding did not finish. Resume from the step that failed.
Activity
fix(onboard): reuse a Windows-host Ollama that WSL mirrored networkin…
prekshivyas commentedon Aug 17, 2026
@hulynn I opened #9345 for this WSL2/Windows-host Ollama topology. Current head
6edb6db93classifies mirrored127.0.0.1as the Windows daemon only when Windows installation, Docker reachability, and Linux socket ownership evidence agree; dual-daemon or ambiguous cases stay on the Linux path.Could you retest the reported empty-model flow against this head and share:
wslinfo --networking-modess -ltnp 'sport = :11434'shows a WSL-owned listenerqwen2.5:1.5b, and reaches a Ready Hermes sandboxNo credentials or full environment dump are needed. The exact-head suite currently has 133 focused tests passing, including mirrored Windows-only, dual-daemon, unavailable procfs, and unknown networking-mode cases.
fix(onboard): reuse mirrored Windows Ollama (NVIDIA#9345)
fix(onboard): skip Linux Ollama service repair for a mirrored Windows…
fix(onboard): skip the systemd override for Windows-host Ollama on re…