Skip to content

inference.local routing not created for sandboxes after openshell inference set #326

Closed as not planned

Description

@psamwel77

Summary

After configuring inference with openshell inference set, sandboxes cannot reach inference.local. The command validates successfully against the NVIDIA API but no actual routing (DNS, hosts entry, or network proxy) is created for sandboxes.

Environment

  • OS: macOS Darwin 25.2.0 (Apple M3 Pro)
  • openshell: 0.0.7
  • openclaw: 2026.3.11
  • nemoclaw: installed via npm

Steps to Reproduce

  1. Run nemoclaw onboard or manually set up the gateway
  2. Configure NVIDIA provider:
    openshell provider create -g nemoclaw --name nvidia --type nvidia --credential "NVIDIA_API_KEY=<key>"
  3. Configure inference:
    openshell inference set -g nemoclaw --provider nvidia --model "nvidia/nemotron-3-super-120b-a12b"
    Output shows success:
    Gateway inference configured:
      Route: inference.local
      Provider: nvidia
      Model: nvidia/nemotron-3-super-120b-a12b
      Version: 1
      Validated Endpoints:
        - https://integrate.api.nvidia.com/v1/chat/completions (openai_chat_completions)
    
  4. Create a sandbox:
    openshell sandbox create --name sam --from openclaw -g nemoclaw
  5. Inside sandbox, try to reach inference.local:
    getent hosts inference.local
    # Returns nothing - does not resolve
    
    curl https://inference.local/v1/models
    # curl: (6) Could not resolve host: inference.local

Expected Behavior

After openshell inference set, sandboxes should be able to reach inference.local which proxies requests to the configured provider (NVIDIA API).

According to the README:

Inference requests from the agent never leave the sandbox directly. OpenShell intercepts every call and routes it to the NVIDIA cloud provider.

Actual Behavior

  • inference.local does not resolve inside sandboxes
  • No hosts entry is created in /etc/hosts
  • No hostAliases entry is added to the pod spec
  • No network proxy or iptables rules are created
  • OpenClaw configured with baseUrl: "https://inference.local/v1" times out with "Connection error"

Investigation

Checked the following inside the sandbox:

  • /etc/hosts - no inference.local entry
  • iptables -t nat -L - no NAT rules for inference routing
  • Pod hostAliases - only contains host.docker.internal
  • openshell-sandbox process environment - no inference-related variables

The openshell gateway service exists at 10.43.x.x:8080 but:

  • It's a gRPC control plane, not an HTTP inference proxy
  • Even when manually adding hosts entry pointing to it, requests fail

Workaround Attempted

Manually added to /etc/hosts:

10.43.232.110 inference.local

But the openshell service on port 8080 doesn't serve an inference proxy endpoint.

Additional Context

This blocks the primary use case of NemoClaw - running OpenClaw agents with NVIDIA cloud inference. Without working inference routing, the agent cannot make LLM calls.

Activity

  1. added
    platform: macos
    on Mar 18, 2026
  2. wscurran commented on May 12, 2026

    @wscurran
    Contributor

    Thanks for the detailed report, @psamwel77. This was filed against OpenShell 0.0.7 and an early NemoClaw install path, and inference routing has changed substantially since then.

    Could you confirm whether inference.local still fails to resolve inside a newly created sandbox on the current NemoClaw/OpenShell release? If it still reproduces, please share the current versions, provider configuration steps, and the output from checking inference.local resolution inside the sandbox.

    If we don't hear back within 7 days, we'll close this to keep the tracker focused. Feel free to reopen or file a fresh issue with current repro details anytime.

  3. wscurran commented on May 19, 2026

    @wscurran
    Contributor

    Thanks again for the detailed report, @psamwel77. This was filed against an early OpenShell/NemoClaw install path, and we asked last week whether inference.local routing is still broken on a current build after the inference-routing changes that have landed since then.

    Closing for now since we haven't heard back after the needs-info request. If this still reproduces on a current NemoClaw build, please reopen or file a fresh issue with the latest version, the openshell inference set command you used, and the sandbox routing/log output. We're happy to dig back in with current repro data.

  4. added
    area: install
    area: onboarding
    needs: info
    and removed on Jun 3, 2026
  5. added
    area: routing
    on Nov 17, 2026
  6. 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: installarea: onboardingarea: routingneeds: infoplatform: macos

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions