Skip to content

[WSL2][Onboard] local Ollama onboard aborts after requesting a privileged reinstall when no models are present #9300

Closed

Description

@hulynn

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

  1. 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 ollama command on the WSL PATH.

  2. Remove all local Ollama models, then verify both the daemon and CLI are healthy. The API must return an empty models array and ollama list must exit 0 with an empty table.

    curl -fsS http://127.0.0.1:11434/api/tags
    ollama list
  3. Install NemoClaw v0.0.109 and select the Hermes agent channel.

  4. 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
  5. 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

  1. added
    NV QA
    provider: ollama
    area: inference
    area: onboarding
    needs: triage
    on Aug 17, 2026
  2. added theissue type on Aug 17, 2026
  3. added
    UAT
    on Aug 17, 2026
  4. added
    area: local-models
    integration: hermes
    platform: wsl
    and removed
    needs: triage
    on Aug 17, 2026
  5. prekshivyas commented on Aug 17, 2026

    @prekshivyas
    Collaborator

    @hulynn I opened #9345 for this WSL2/Windows-host Ollama topology. Current head 6edb6db93 classifies mirrored 127.0.0.1 as 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-mode
    • whether ss -ltnp 'sport = :11434' shows a WSL-owned listener
    • whether onboarding avoids sudo, pulls qwen2.5:1.5b, and reaches a Ready Hermes sandbox

    No 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.

  6. added a commit that references this issue on Aug 17, 2026
    e515de6
  7. added
    area: install
    area: providers
    platform: windows
    on Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

NV QAUATarea: inferencearea: installarea: local-modelsarea: onboardingarea: providersintegration: hermesplatform: windowsplatform: wslprovider: ollama

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions