Skip to content

[WSL2][Onboard] Windows-host Ollama reuse exits during provider configuration #8596

Closed

Description

@mercl-lau

Warning

Regression — the equivalent Windows-host Ollama handoff failure was previously fixed in GitHub issue #4208, but is reproducible again in NemoClaw 0.0.102. The exact last-good release was not re-tested.

Description

On WSL2 with Docker Desktop, NemoClaw detects a running Windows-host Ollama service but exits during inference-provider configuration before creating the sandbox. The observed error says that an Ollama systemd loopback override could not be applied, even though Ollama is running on the Windows host rather than as a Linux systemd service inside WSL.

Platform scope: Reproduced on Windows 11 with WSL2 Ubuntu 24.04 and Docker Desktop; other Windows-host Ollama configurations were not tested.

Regression: Yes — the equivalent Windows-host Ollama handoff failure was previously fixed in GitHub issue #4208, but is reproducible again in NemoClaw 0.0.102. The exact last-good release was not re-tested.

Environment

Device:        Windows 11 PC with WSL2
OS:            Ubuntu 24.04 inside WSL2
Architecture:  x86_64
Node.js:       Not captured
npm:           Not captured
Docker:        Docker Desktop (exact version not captured)
OpenShell CLI: openshell 0.0.85
NemoClaw:      nemoclaw v0.0.102
OpenClaw:      N/A (onboard did not complete)

Steps to Reproduce

  1. On Windows 11, enable WSL2 Ubuntu 24.04 and Docker Desktop's WSL2 backend.

  2. Install and start Ollama on the Windows host. Ensure the Ollama executable is not present on the WSL PATH.

  3. From WSL, verify the Windows Ollama API is reachable:

    curl -fsS http://host.docker.internal:11434/api/tags
  4. Run:

    NEMOCLAW_PROVIDER=install-windows-ollama \
    NEMOCLAW_MODEL={existing-model} \
    NEMOCLAW_POLICY_MODE=skip \
    nemoclaw onboard --non-interactive --no-gpu --fresh
  5. Observe inference-provider configuration and check whether onboarding reaches sandbox creation.

Expected Result

NemoClaw reuses the running Windows-host Ollama daemon without attempting to modify a Linux systemd Ollama service. Onboarding exits successfully, creates the sandbox, and reaches Ready.

Actual Result

NemoClaw reaches inference-provider configuration, selects Ollama, attempts a Linux systemd loopback override, and exits with code 1 before creating the sandbox.

Logs

[3/8] Configuring inference provider
[non-interactive] Provider: ollama
Configuring Ollama systemd loopback override...
Failed to apply Ollama systemd loopback override.
Refusing to continue with a potentially non-loopback Ollama bind.

Onboarding did not finish.
Exit code: 1

NVB#6576493

Activity

  1. added
    NV QA
    provider: ollama
    area: inference
    area: onboarding
    area: providers
    needs: triage
    on Aug 8, 2026
  2. added theissue type on Aug 8, 2026
  3. added
    platform: windows
    platform: wsl
    and removed
    needs: triage
    on Aug 10, 2026
  4. self-assigned this
    on Aug 20, 2026
  5. added a commit that references this issue on Aug 20, 2026
    66f69d4
  6. hulynn commented on Aug 25, 2026

    @hulynn
    Contributor

    V2C verify — NemoClaw v0.0.114 — PASS

    Fix: PR #9697 "fix(onboard): skip the systemd override for Windows-host Ollama on resume" (merge commit 66f69d4d6d1ea5936998fd221478245bb4ab2c8c), confirmed an ancestor of v0.0.114. Platform: WSL2, x86_64, Windows host (nemoclaw --version = v0.0.114).

    Repro 1 — reuse an already-running Windows-host Ollama
    Started Windows-host Ollama ahead of time (already running/installed), then onboarded reusing it:
    NEMOCLAW_PROVIDER=start-windows-ollama NEMOCLAW_POLICY_MODE=skip nemoclaw onboard --non-interactive --no-gpu --fresh --name oc-8596-v114b --agent openclaw --yes

    Result: onboarding proceeded straight through provider configuration —

    [3/8] Configuring inference provider
    [non-interactive] Provider: start-windows-ollama
    Starting Ollama on Windows host via WSL interop...
    Waiting for Ollama to respond on host.docker.internal...
    ✓ Using Ollama on host.docker.internal:11434
    Loading Ollama model: qwen2.5:1.5b
    ...
    

    — all the way to "OpenClaw is ready," with no systemd-override attempt and no exit.

    Repro 2 — the exact --resume path
    To exercise the specific resume-repair path the fix targets, I interrupted a second onboarding (killed the process right after sandbox creation, before OpenClaw setup finished), leaving an incomplete session with the Windows-host ollama-local provider already recorded, then resumed it:
    nemoclaw onboard --resume --name oc-8596-v114c --non-interactive --yes

    Result:

    [3/8] Configuring inference provider
    [resume] Skipping provider_selection (ollama-local / qwen2.5:1.5b)
    [resume] Reusing sandbox name: oc-8596-v114c.
    
    [4/8] Setting up inference provider
    [resume] Skipping inference (ollama-local / qwen2.5:1.5b)
    

    No "Configuring Ollama systemd loopback override..." attempt and no "Failed to apply Ollama systemd loopback override" exit-1 occurred. Resume proceeded cleanly through sandbox reuse, OpenClaw setup, and full policy-preset application. (It later hit an unrelated, environment-induced failure at the very last verification step — an artifact of my forced mid-build kill, not the bug under test.)

    Both runs show Windows-host Ollama reuse/resume completing provider configuration without exiting — the regression described in the report does not reproduce on v0.0.114. PASS.

    Note: this WSL2 distro has systemd=false in /etc/wsl.conf, so I could not force the original literal crash text via a live systemd Ollama unit on this box — the affirmative evidence above (clean fresh reuse + clean resume of an interrupted Windows-host session) is what the verdict is based on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

NV QAarea: inferencearea: onboardingarea: providersplatform: windowsplatform: wslprovider: ollama

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions