NemoClaw icon indicating copy to clipboard operation
NemoClaw copied to clipboard

fix(sandbox): fresh onboarding fails after legacy recovery and cleanup

Open arifkundi-stack opened this issue 2 months ago • 1 comments

Investigation Summary

  • On Ubuntu 24.04, NemoClaw 0.0.129 and OpenShell 0.0.116, recovery of a legacy OpenClaw sandbox did not complete successfully despite multiple recovery and rebuild attempts.
  • The legacy sandbox workflow encountered OpenShell provider-resolution and sandbox-identity/reachability errors; its recovery record and MCP handoff could not be verified successfully.
  • After the old Agent-001 sandbox was removed through the supported CLI workflow, fresh onboarding created a replacement sandbox but stopped with a required process or secret-boundary check failure.
  • The latest diagnostic reports Agent-001 in OpenShell phase Error, with its corresponding container exited with code 1. Agents 002 and 003 remain in Provisioning; their containers are running but still in Docker health-check startup.
  • The precise check that caused the latest onboarding failure remains unconfirmed. The sandbox doctor output and a reviewed, redacted debug report are needed to isolate the cause.

Description

What happened?

I am deploying NemoClaw on an Ubuntu 24.04 DigitalOcean VPS for a multi-agent environment. Agent-001 was originally created using an earlier NemoClaw/OpenShell/OpenClaw version. Its gateway repeatedly failed to become healthy, and recovery, snapshot, and rebuild operations were unsuccessful.

During investigation, the legacy OpenClaw workspace reported a migration error requiring openclaw doctor --fix. Other attempts encountered OpenShell sandbox reachability/identity errors and a provider-resolution error (provider 'openai-api' not found). The recovery workflow also reported that the MCP handoff was unavailable.

After preserving available backups and investigating the retained sandbox state, the old Agent-001 sandbox was removed through the CLI's supported workflow. A fresh onboarding attempt then created a replacement sandbox, but onboarding stopped with this message:

Onboarding for 'bdop-agent-001' is incomplete because a required process or secret-boundary check did not pass. Inspect with nemoclaw bdop-agent-001 doctor, resolve the reported problem, then resume onboarding with nemoclaw onboard --resume.

The latest diagnostic shows Agent-001 in OpenShell phase Error and its container exited with code 1. Agents 002 and 003 remain in Provisioning, with their containers running but their health checks still starting.

Expected behaviour

NemoClaw should identify the specific failed prerequisite or security-boundary check, provide actionable diagnostics, and support a documented recovery or resumable onboarding path without leaving inconsistent sandbox state.

Actual behaviour

Onboarding remains incomplete, the replacement sandbox is in an error phase, and the CLI's generic process/secret-boundary failure message does not identify which check failed.

Impact

The intended BDOP agent environment is not operational. Existing agent identity/configuration and available backups must be preserved during diagnosis. I do not want to bypass sandboxing or disable secret-boundary checks as a workaround.

Related issue

This report concerns the OpenClaw/MCP recovery and subsequent fresh-onboarding path. Related recovery-state problems have been reported in [NemoClaw issue #12319](https://github.com/NVIDIA/NemoClaw/issues/12319), but I have not established that it is the same defect.

Reproduction Steps

  1. Install/run NemoClaw 0.0.129 and OpenShell 0.0.116 on Ubuntu 24.04 with Docker 29.7.2.
  2. Attempt recovery and rebuilding of the existing bdop-agent-001 sandbox. The legacy sandbox fails to become reachable/healthy, and recovery does not complete.
  3. Preserve the available backups and investigate the failed sandbox and recovery state.
  4. Remove the old Agent-001 sandbox using the supported CLI workflow, then initiate fresh onboarding for bdop-agent-001.
  5. Observe onboarding stop with the required process or secret-boundary check failure described above.
  6. Inspect the sandbox with nemoclaw bdop-agent-001 doctor and inspect the OpenShell sandbox phases. The latest observed state is Agent-001 Error, Agents 002/003 Provisioning.

Note: Steps involving removal of the old sandbox describe the history of this incident; they are not instructions to repeat that action. The exact check responsible for the final failure is still under investigation.

Environment

  • OS: Ubuntu 24.04 LTS
  • NemoClaw: 0.0.129
  • OpenShell: 0.0.116
  • Docker Engine: 29.7.2
  • Node.js: 22.23.2
  • Deployment: DigitalOcean VPS
  • Agent/runtime: OpenClaw
  • Affected sandbox: bdop-agent-001
  • Other registered sandboxes: bdop-agent-002, bdop-agent-003
  • Inference/provider configuration: openai-api / bdop-agent
  • Additional component: custom MCP bridge (bdop-vault)

The original sandbox was created with older NemoClaw/OpenShell/OpenClaw components; the legacy OpenClaw version was 2026.7.1. The intended OpenClaw target version was 2026.9.1.

Debug Output

user22@heaven:~$ nemoclaw debug --quick --sandbox bdop-agent-001 [debug] Collecting diagnostics for sandbox 'bdop-agent-001'... [debug] Quick mode: true

═══ System ═══

Sun Oct 4 17:41:34 PKT 2026 Linux AI-Center 6.8.0-142-generic #142-Ubuntu SMP PREEMPT_DYNAMIC Wed Sep 2 14:24:27 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux 17:41:35 up 4 days, 21:56, 1 user, load average: 0.28, 0.30, 0.28 total used free shared buff/cache available Mem: 7941 1691 1442 3 5118 6249 Swap: 8191 57 8134

═══ Processes ═══

PID    PPID CMD                         %MEM %CPU

1061606 943945 node /home/arifkundi/.nvm/v 1.8 119 1061541 1061510 /opt/openshell/bin/openshel 0.2 2.3 1061521 1061476 /opt/openshell/bin/openshel 0.2 2.3 951444 985 /usr/bin/openshell-gateway 0.7 0.7 1061510 1 /usr/bin/containerd-shim-ru 0.1 0.6 1061476 1 /usr/bin/containerd-shim-ru 0.1 0.6 1108 1 /usr/bin/dockerd -H fd:// - 1.7 0.5 911 1 /usr/bin/containerd 0.7 0.3 1061457 986485 (udev-worker) 0.0 0.3 986494 1 /opt/bdop/vault-service/ven 0.9 0.2 4178221 4178186 /app/.venv/bin/python3 /app 9.1 0.2 986469 1 /usr/lib/systemd/systemd-jo 1.4 0.1 1 0 /usr/lib/systemd/systemd -- 0.1 0.1 986524 1 /usr/bin/python3 /usr/bin/f 0.8 0.1 17 2 [rcu_preempt] 0.0 0.1 985 1 /usr/lib/systemd/systemd -- 0.1 0.1 71 2 [kswapd0] 0.0 0.0 976 1 /usr/sbin/rsyslogd -n -iNON 0.0 0.0 848 1 @dbus-daemon --system --add 0.0 0.0 963993 2 [kworker/u8:1-ext4-rsv-conv 0.0 0.0 1052290 2 [kworker/0:2-events] 0.0 0.0 1030594 2 [kworker/1:3-cgroup_free] 0.0 0.0 1046030 2 [kworker/u8:0-ipv6_addrconf 0.0 0.0 1054575 2 [kworker/3:1-mm_percpu_wq] 0.0 0.0 4178186 1 /usr/bin/containerd-shim-ru 0.1 0.0 1041734 2 [kworker/2:2-events] 0.0 0.0 1044026 2 [kworker/2:3-events] 0.0 0.0 986499 1 /usr/lib/systemd/systemd-ne 0.1 0.0 986485 1 /usr/lib/systemd/systemd-ud 0.0 0.0

═══ GPU ═══

(nvidia-smi not found, skipping)

═══ Docker ═══

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 57aaad5b463c 51d9fe7e0097 "/opt/openshell/bin/…" About an hour ago Exited (1) About an hour ago openshell-default--bdop-agent-001-10b4c6ad-4094-40c1-a556-87e9a95bce21 10520277a8d6 ghcr.io/berriai/litellm:main-stable "docker/prod_entrypo…" 6 weeks ago Up 27 hours 4000/tcp bdop-router c23e2fcd6b01 08a0f8f9b917 "/opt/openshell/bin/…" 6 weeks ago Up 3 seconds (health: starting) openshell-bdop-agent-003-9485090e-3789-4f88-a47c-da68e96a1852 d079d3120086 108b3e6f053f "/opt/openshell/bin/…" 6 weeks ago Up 3 seconds (health: starting) openshell-bdop-agent-002-06a1f856-4090-4556-a036-15450c983299 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 10520277a8d6 bdop-router 0.24% 752MiB / 7.755GiB 9.47% 1.34MB / 17.1kB 165MB / 0B 6 c23e2fcd6b01 openshell-bdop-agent-003-9485090e-3789-4f88-a47c-da68e96a1852 0.04% 9.895MiB / 7.755GiB 0.12% 9.96kB / 12.4kB 0B / 0B 8 d079d3120086 openshell-bdop-agent-002-06a1f856-4090-4556-a036-15450c983299 0.53% 9.891MiB / 7.755GiB 0.12% 10kB / 12.4kB 0B / 0B 8

═══ OpenShell ═══

Server Status

Gateway: nemoclaw Server: https://127.0.0.1:8080/ Status: Connected Authentication: Authenticated (mTLS transport) Version: 0.0.116 NAME CREATED PHASE bdop-agent-002 2026-08-17 06:37:16 Provisioning bdop-agent-003 2026-08-17 06:49:50 Provisioning bdop-agent-001 2026-10-04 11:31:46 Error Sandbox:

Id: 10b4c6ad-4094-40c1-a556-87e9a95bce21 Name: bdop-agent-001 Phase: Error Resource version: 9 Labels: ai.nvidia.nemoclaw.create-attempt: ddfa42ff8da0144e6bf22b9609299a12aa9243bdbd0bea27483cf8e4e64119 Policy source: sandbox Revision: 1

Policy:

version: 1 filesystem_policy: include_workdir: true read_only: - /usr - /lib - /proc - /dev/urandom - /app - /etc - /var/log - /var/lib/dpkg read_write: - /tmp - /dev/null - /dev/pts - /sandbox/.openclaw - /sandbox/.nemoclaw - /home/linuxbrew landlock: compatibility: best_effort process: run_as_user: sandbox run_as_group: sandbox network_policies: clawhub: name: clawhub endpoints: - host: clawhub.ai port: 443 protocol: rest enforcement: enforce rules: - allow: method: GET path: /** - allow: method: POST path: /** allow_encoded_slash: true binaries: - path: /usr/local/bin/openclaw - path: /usr/local/bin/node managed_inference: name: managed_inference endpoints: - host: inference.local port: 443 protocol: rest enforcement: enforce rules: - allow: method: GET path: /** - allow: method: POST path: /** binaries: - path: /usr/local/bin/openclaw - path: /usr/local/bin/node - path: /usr/bin/node - path: /usr/bin/curl - path: /usr/bin/python3 npm_registry: name: npm_registry endpoints: - host: registry.npmjs.org port: 443 protocol: rest enforcement: enforce rules: - allow: method: GET path: /** binaries: - path: /usr/local/bin/openclaw nvidia: name: nvidia endpoints: - host: integrate.api.nvidia.com port: 443 protocol: rest enforcement: enforce rules: - allow: method: POST path: /v1/chat/completions - allow: method: POST path: /v1/completions - allow: method: POST path: /v1/embeddings - allow: method: GET path: /v1/models - allow: method: GET path: /v1/models/** binaries: - path: /usr/local/bin/openclaw openclaw_api: name: openclaw_api endpoints: - host: openclaw.ai port: 443 protocol: rest enforcement: enforce rules: - allow: method: GET path: /** - allow: method: POST path: /** - host: catalog.openclaw.ai port: 443 protocol: rest enforcement: enforce rules: - allow: method: GET path: /** binaries: - path: /usr/local/bin/openclaw - path: /usr/local/bin/node openclaw_docs: name: openclaw_docs endpoints: - host: docs.openclaw.ai port: 443 protocol: rest enforcement: enforce rules: - allow: method: GET path: /** binaries: - path: /usr/local/bin/openclaw [1791113506.943] [sandbox] [OCSF ] [ocsf] CONFIG:ENABLED [INFO] TLS termination enabled: ephemeral CA generated [1791113506.944] [sandbox] [INFO ] [openshell_supervisor_network::inference_routes] Fetching inference route bundle from gateway endpoint=https://host.openshell.internal:8080/ [1791113506.951] [sandbox] [OCSF ] [ocsf] CONFIG:LOADED [INFO] Loaded inference route bundle [route_count:1 revision:e2cc54ca3b02b804] [1791113506.952] [sandbox] [OCSF ] [ocsf] CONFIG:ENABLED [INFO] Inference routing enabled with local execution [route_count:1] [1791113507.027] [sandbox] [OCSF ] [ocsf] NET:LISTEN [INFO] 10.200.0.1:3128 [1791113507.027] [sandbox] [WARN ] [openshell_supervisor_network::proxy] host.openshell.internal maps to a non-link-local IP; trusted-gateway SSRF exemption disabled ip=172.18.0.1 [1791113507.028] [sandbox] [OCSF ] [ocsf] CONFIG:VALIDATED [INFO] Validated 'sandbox' user exists in image [1791113507.028] [sandbox] [OCSF ] [ocsf] CONFIG:VALIDATED [INFO] Validated 'sandbox' group exists in image [1791113507.029] [sandbox] [INFO ] [openshell_supervisor_process::process] Preparing managed workspace gid=Some(Gid(998)) path=/sandbox uid=Some(Uid(998)) [1791113507.045] [sandbox] [OCSF ] [ocsf] CONFIG:PROBED [INFO] Landlock filesystem sandbox available [abi:v4 compat:BestEffort ro:8 rw:7] [1791113507.045] [sandbox] [OCSF ] [ocsf] CONFIG:APPLYING [INFO] Applying Landlock filesystem sandbox [abi:V2 compat:BestEffort ro:8 rw:7] [1791113507.045] [sandbox] [OCSF ] [ocsf] CONFIG:BUILT [INFO] Landlock ruleset built [rules_applied:14 skipped:1] [1791113507.052] [sandbox] [OCSF ] [ocsf] SSH:LISTEN [INFO] [1791113507.052] [sandbox] [OCSF ] [ocsf] LIFECYCLE:INSTALL [INFO] OpenShell Sandbox Supervisor success [1791113507.052] [sandbox] [INFO ] [openshell_supervisor_process::run] supervisor session task spawned [1791113507.052] [sandbox] [OCSF ] [ocsf] PROC:LAUNCH [INFO] env(37) [1791113507.056] [sandbox] [OCSF ] [ocsf] CONFIG:LOADED [INFO] Acknowledged initial policy revision as loaded [version:1] [hash:927d74997eae4ab21b4bb32caf7b92020f381617e807317a39ab76f6f715d4dd] [1791113507.072] [sandbox] [OCSF ] [ocsf] NET:OPEN [INFO] host.openshell.internal:8080 [1791113507.689] [sandbox] [INFO ] [openshell_supervisor_network::run] Container filesystem accessible, resolving policy binary symlinks attempt=1 pid=37 [1791113507.689] [sandbox] [INFO ] [openshell_supervisor_network::opa] Configured OPA runtime binary identity mode require_binary_identity=true source=proto [1791113507.689] [sandbox] [OCSF ] [ocsf] CONFIG:CONFIGURED [INFO] OPA runtime binary identity mode configured [source:proto require_binary_identity:true] [source:proto] [1791113507.690] [sandbox] [INFO ] [openshell_supervisor_network::opa] Resolved policy binary symlink: original=/usr/local/bin/openclaw resolved=/usr/local/lib/nemoclaw/openclaw-runtime/node_modules/.bin/openclaw pid=37 [1791113507.690] [sandbox] [INFO ] [openshell_supervisor_network::opa] Resolved policy binary symlink: original=/usr/bin/python3 resolved=/usr/bin/python3.13 pid=37 [1791113507.690] [sandbox] [INFO ] [openshell_supervisor_network::opa] Resolved policy binary symlink: original=/usr/local/bin/openclaw resolved=/usr/local/lib/nemoclaw/openclaw-runtime/node_modules/.bin/openclaw pid=37 [1791113507.690] [sandbox] [INFO ] [openshell_supervisor_network::opa] Resolved policy binary symlink: original=/usr/local/bin/openclaw resolved=/usr/local/lib/nemoclaw/openclaw-runtime/node_modules/.bin/openclaw pid=37 [1791113507.690] [sandbox] [INFO ] [openshell_supervisor_network::opa] Resolved policy binary symlink: original=/usr/local/bin/openclaw resolved=/usr/local/lib/nemoclaw/openclaw-runtime/node_modules/.bin/openclaw pid=37 [1791113507.690] [sandbox] [INFO ] [openshell_supervisor_network::opa] Resolved policy binary symlink: original=/usr/local/bin/openclaw resolved=/usr/local/lib/nemoclaw/openclaw-runtime/node_modules/.bin/openclaw pid=37 [1791113507.690] [sandbox] [INFO ] [openshell_supervisor_network::opa] Resolved policy binary symlink: original=/usr/local/bin/openclaw resolved=/usr/local/lib/nemoclaw/openclaw-runtime/node_modules/.bin/openclaw pid=37 [1791113507.697] [sandbox] [INFO ] [openshell_supervisor_network::run] Policy binary symlink resolution complete (check logs above for per-binary results) pid=37 [1791113515.007] [gateway] [INFO ] [openshell_server::supervisor_session] supervisor session: relay opened successfully [1791113515.009] [gateway] [INFO ] [openshell_server::supervisor_session] relay stream: claimed pending relay, bridging [1791113515.009] [gateway] [INFO ] [openshell_server::grpc::sandbox] ExecSandbox (relay): command started [1791113515.007] [sandbox] [OCSF ] [ocsf] NET:OPEN [INFO] [msg:ssh relay open (channel_id=b5d48bad-3597-41b2-84c0-c9a235e13992, target=unix:/run/openshell/ssh.sock)] [1791113515.007] [sandbox] [OCSF ] [ocsf] SSH:OPEN [INFO] ALLOWED [1791113515.019] [sandbox] [OCSF ] [ocsf] CONFIG:APPLYING [INFO] Applying Landlock filesystem sandbox [abi:V2 compat:BestEffort ro:8 rw:7] [1791113515.020] [sandbox] [OCSF ] [ocsf] CONFIG:BUILT [INFO] Landlock ruleset built [rules_applied:14 skipped:1] [1791113515.048] [sandbox] [OCSF ] [ocsf] NET:CLOSE [INFO] [msg:ssh relay closed (channel_id=b5d48bad-3597-41b2-84c0-c9a235e13992, target=unix:/run/openshell/ssh.sock)] [1791113515.732] [gateway] [INFO ] [openshell_server::supervisor_session] supervisor session: relay opened successfully [1791113515.733] [gateway] [INFO ] [openshell_server::supervisor_session] relay stream: claimed pending relay, bridging [1791113515.732] [sandbox] [OCSF ] [ocsf] NET:OPEN [INFO] [msg:ssh relay open (channel_id=afa2e3d8-2f76-4269-ab2d-390cc15c3ed5, target=unix:/run/openshell/ssh.sock)] [1791113515.732] [sandbox] [OCSF ] [ocsf] SSH:OPEN [INFO] ALLOWED [1791113515.800] [gateway] [INFO ] [openshell_server::supervisor_session] supervisor session: relay opened successfully [1791113515.801] [gateway] [INFO ] [openshell_server::supervisor_session] relay stream: claimed pending relay, bridging [1791113515.869] [gateway] [INFO ] [openshell_server::supervisor_session] supervisor session: relay opened successfully [1791113515.869] [gateway] [INFO ] [openshell_server::supervisor_session] relay stream: claimed pending relay, bridging [1791113515.948] [gateway] [INFO ] [openshell_server::supervisor_session] supervisor session: relay opened successfully [1791113515.949] [gateway] [INFO ] [openshell_server::supervisor_session] relay stream: claimed pending relay, bridging [1791113515.949] [gateway] [INFO ] [openshell_server::grpc::sandbox] ExecSandbox (relay): command started [1791113516.000] [gateway] [INFO ] [openshell_server::supervisor_session] supervisor session: relay opened successfully [1791113516.001] [gateway] [INFO ] [openshell_server::supervisor_session] relay stream: claimed pending relay, bridging [1791113516.001] [gateway] [INFO ] [openshell_server::grpc::sandbox] ExecSandbox (relay): command started [1791113516.088] [gateway] [INFO ] [openshell_server::supervisor_session] supervisor session: relay opened successfully [1791113516.088] [gateway] [INFO ] [openshell_server::supervisor_session] relay stream: claimed pending relay, bridging [1791113516.088] [gateway] [INFO ] [openshell_server::grpc::sandbox] ExecSandbox (relay): command started [1791113515.752] [sandbox] [OCSF ] [ocsf] CONFIG:APPLYING [INFO] Applying Landlock filesystem sandbox [abi:V2 compat:BestEffort ro:8 rw:7] [1791113515.752] [sandbox] [OCSF ] [ocsf] CONFIG:BUILT [INFO] Landlock ruleset built [rules_applied:14 skipped:1] [1791113515.776] [sandbox] [OCSF ] [ocsf] NET:CLOSE [INFO] [msg:ssh relay closed (channel_id=afa2e3d8-2f76-4269-ab2d-390cc15c3ed5, target=unix:/run/openshell/ssh.sock)] [1791113515.800] [sandbox] [OCSF ] [ocsf] NET:OPEN [INFO] [msg:ssh relay open (channel_id=12afc4b6-5b0b-4847-999d-9ecf58665786, target=unix:/run/openshell/ssh.sock)] [1791113515.800] [sandbox] [OCSF ] [ocsf] SSH:OPEN [INFO] ALLOWED [1791113515.816] [sandbox] [OCSF ] [ocsf] CONFIG:APPLYING [INFO] Applying Landlock filesystem sandbox [abi:V2 compat:BestEffort ro:8 rw:7] [1791113515.816] [sandbox] [OCSF ] [ocsf] CONFIG:BUILT [INFO] Landlock ruleset built [rules_applied:14 skipped:1] [1791113515.844] [sandbox] [OCSF ] [ocsf] NET:CLOSE [INFO] [msg:ssh relay closed (channel_id=12afc4b6-5b0b-4847-999d-9ecf58665786, target=unix:/run/openshell/ssh.sock)] [1791113515.868] [sandbox] [OCSF ] [ocsf] NET:OPEN [INFO] [msg:ssh relay open (channel_id=fef5ddda-217c-4093-98d8-8a0a01151b63, target=unix:/run/openshell/ssh.sock)] [1791113515.868] [sandbox] [OCSF ] [ocsf] SSH:OPEN [INFO] ALLOWED [1791113515.885] [sandbox] [OCSF ] [ocsf] CONFIG:APPLYING [INFO] Applying Landlock filesystem sandbox [abi:V2 compat:BestEffort ro:8 rw:7] [1791113515.885] [sandbox] [OCSF ] [ocsf] CONFIG:BUILT [INFO] Landlock ruleset built [rules_applied:14 skipped:1] [1791113515.915] [sandbox] [OCSF ] [ocsf] NET:CLOSE [INFO] [msg:ssh relay closed (channel_id=fef5ddda-217c-4093-98d8-8a0a01151b63, target=unix:/run/openshell/ssh.sock)] [1791113515.947] [sandbox] [OCSF ] [ocsf] NET:OPEN [INFO] [msg:ssh relay open (channel_id=63ef5e4d-c067-45fa-a207-4f8d2763e9ea, target=unix:/run/openshell/ssh.sock)] [1791113515.948] [sandbox] [OCSF ] [ocsf] SSH:OPEN [INFO] ALLOWED [1791113515.955] [sandbox] [OCSF ] [ocsf] CONFIG:APPLYING [INFO] Applying Landlock filesystem sandbox [abi:V2 compat:BestEffort ro:8 rw:7] [1791113515.956] [sandbox] [OCSF ] [ocsf] CONFIG:BUILT [INFO] Landlock ruleset built [rules_applied:14 skipped:1] [1791113515.976] [sandbox] [OCSF ] [ocsf] NET:CLOSE [INFO] [msg:ssh relay closed (channel_id=63ef5e4d-c067-45fa-a207-4f8d2763e9ea, target=unix:/run/openshell/ssh.sock)] [1791113516.000] [sandbox] [OCSF ] [ocsf] NET:OPEN [INFO] [msg:ssh relay open (channel_id=6f4fb8ae-66d8-49be-b852-d7152627a40a, target=unix:/run/openshell/ssh.sock)] [1791113516.001] [sandbox] [OCSF ] [ocsf] SSH:OPEN [INFO] ALLOWED [1791113516.011] [sandbox] [OCSF ] [ocsf] CONFIG:APPLYING [INFO] Applying Landlock filesystem sandbox [abi:V2 compat:BestEffort ro:8 rw:7] [1791113516.012] [sandbox] [OCSF ] [ocsf] CONFIG:BUILT [INFO] Landlock ruleset built [rules_applied:14 skipped:1] [1791113516.056] [sandbox] [OCSF ] [ocsf] NET:CLOSE [INFO] [msg:ssh relay closed (channel_id=6f4fb8ae-66d8-49be-b852-d7152627a40a, target=unix:/run/openshell/ssh.sock)] [1791113516.087] [sandbox] [OCSF ] [ocsf] NET:OPEN [INFO] [msg:ssh relay open (channel_id=931c9aec-e186-4fea-8e6c-94fc5df4fb64, target=unix:/run/openshell/ssh.sock)] [1791113516.087] [sandbox] [OCSF ] [ocsf] SSH:OPEN [INFO] ALLOWED [1791113516.094] [sandbox] [OCSF ] [ocsf] CONFIG:APPLYING [INFO] Applying Landlock filesystem sandbox [abi:V2 compat:BestEffort ro:8 rw:7] [1791113516.094] [sandbox] [OCSF ] [ocsf] CONFIG:BUILT [INFO] Landlock ruleset built [rules_applied:14 skipped:1] [1791113516.116] [sandbox] [OCSF ] [ocsf] NET:CLOSE [INFO] [msg:ssh relay closed (channel_id=931c9aec-e186-4fea-8e6c-94fc5df4fb64, target=unix:/run/openshell/ssh.sock)] [1791113517.818] [gateway] [WARN ] [openshell_server::supervisor_session] supervisor session: relay open failed [1791113517.818] [gateway] [WARN ] [openshell_server::grpc::sandbox] ForwardTcp: relay target open failed [1791113517.817] [sandbox] [OCSF ] [ocsf] NET:OPEN [INFO] 127.0.0.1:18789/tcp [1791113517.818] [sandbox] [OCSF ] [ocsf] NET:FAIL [LOW] 127.0.0.1:18789/tcp [1791113517.818] [sandbox] [WARN ] [openshell_supervisor_process::supervisor_session] supervisor session: relay bridge failed channel_id=d727fef1-0006-4e95-b409-fde5ee16d934 error=Connection refused (os error 111) sandbox_id=10b4c6ad-4094-40c1-a556-87e9a95bce21 [1791113518.865] [gateway] [INFO ] [openshell_server::supervisor_session] supervisor session: relay opened successfully [1791113518.865] [gateway] [INFO ] [openshell_server::supervisor_session] relay stream: claimed pending relay, bridging [1791113518.865] [gateway] [INFO ] [openshell_server::grpc::sandbox] ExecSandbox (relay): command started [1791113518.864] [sandbox] [OCSF ] [ocsf] NET:OPEN [INFO] [msg:ssh relay open (channel_id=f6717391-fa1c-4f71-abd1-02ed904509d6, target=unix:/run/openshell/ssh.sock)] [1791113518.864] [sandbox] [OCSF ] [ocsf] SSH:OPEN [INFO] ALLOWED [1791113518.870] [sandbox] [OCSF ] [ocsf] CONFIG:APPLYING [INFO] Applying Landlock filesystem sandbox [abi:V2 compat:BestEffort ro:8 rw:7] [1791113518.870] [sandbox] [OCSF ] [ocsf] CONFIG:BUILT [INFO] Landlock ruleset built [rules_applied:14 skipped:1] [1791113518.903] [sandbox] [OCSF ] [ocsf] NET:CLOSE [INFO] [msg:ssh relay closed (channel_id=f6717391-fa1c-4f71-abd1-02ed904509d6, target=unix:/run/openshell/ssh.sock)] [1791113519.420] [gateway] [INFO ] [openshell_server::supervisor_session] supervisor session: relay opened successfully [1791113519.421] [gateway] [INFO ] [openshell_server::supervisor_session] relay stream: claimed pending relay, bridging [1791113519.585] [gateway] [INFO ] [openshell_server::supervisor_session] supervisor session: relay opened successfully [1791113519.586] [gateway] [INFO ] [openshell_server::supervisor_session] relay stream: claimed pending relay, bridging [1791113519.586] [gateway] [INFO ] [openshell_server::grpc::sandbox] ExecSandbox (relay): command started [1791113519.420] [sandbox] [OCSF ] [ocsf] NET:OPEN [INFO] [msg:ssh relay open (channel_id=ce5986fb-0692-40aa-b905-dfdb598bd3c3, target=unix:/run/openshell/ssh.sock)] [1791113519.420] [sandbox] [OCSF ] [ocsf] SSH:OPEN [INFO] ALLOWED [1791113519.447] [sandbox] [OCSF ] [ocsf] CONFIG:APPLYING [INFO] Applying Landlock filesystem sandbox [abi:V2 compat:BestEffort ro:8 rw:7] [1791113519.447] [sandbox] [OCSF ] [ocsf] CONFIG:BUILT [INFO] Landlock ruleset built [rules_applied:14 skipped:1] [1791113519.500] [sandbox] [OCSF ] [ocsf] NET:CLOSE [INFO] [msg:ssh relay closed (channel_id=ce5986fb-0692-40aa-b905-dfdb598bd3c3, target=unix:/run/openshell/ssh.sock)] [1791113519.584] [sandbox] [OCSF ] [ocsf] NET:OPEN [INFO] [msg:ssh relay open (channel_id=cfa79d9d-78e8-47ea-8594-ad1aa54b61da, target=unix:/run/openshell/ssh.sock)] [1791113519.585] [sandbox] [OCSF ] [ocsf] SSH:OPEN [INFO] ALLOWED [1791113519.593] [sandbox] [OCSF ] [ocsf] CONFIG:APPLYING [INFO] Applying Landlock filesystem sandbox [abi:V2 compat:BestEffort ro:8 rw:7] [1791113519.594] [sandbox] [OCSF ] [ocsf] CONFIG:BUILT [INFO] Landlock ruleset built [rules_applied:14 skipped:1] [1791113519.650] [sandbox] [OCSF ] [ocsf] NET:CLOSE [INFO] [msg:ssh relay closed (channel_id=cfa79d9d-78e8-47ea-8594-ad1aa54b61da, target=unix:/run/openshell/ssh.sock)] [1791113521.735] [gateway] [INFO ] [openshell_server::supervisor_session] supervisor session: relay opened successfully [1791113521.740] [gateway] [INFO ] [openshell_server::supervisor_session] relay stream: claimed pending relay, bridging [1791113521.740] [gateway] [INFO ] [openshell_server::grpc::sandbox] ExecSandbox (relay): command started [1791113521.734] [sandbox] [OCSF ] [ocsf] NET:OPEN [INFO] [msg:ssh relay open (channel_id=03a2d2d7-71d3-4755-8116-82de452a1bb2, target=unix:/run/openshell/ssh.sock)] [1791113521.735] [sandbox] [OCSF ] [ocsf] SSH:OPEN [INFO] ALLOWED [1791113521.752] [sandbox] [OCSF ] [ocsf] CONFIG:APPLYING [INFO] Applying Landlock filesystem sandbox [abi:V2 compat:BestEffort ro:8 rw:7] [1791113521.752] [sandbox] [OCSF ] [ocsf] CONFIG:BUILT [INFO] Landlock ruleset built [rules_applied:14 skipped:1] [1791113521.873] [sandbox] [OCSF ] [ocsf] NET:CLOSE [INFO] [msg:ssh relay closed (channel_id=03a2d2d7-71d3-4755-8116-82de452a1bb2, target=unix:/run/openshell/ssh.sock)] [1791113523.936] [gateway] [INFO ] [openshell_server::supervisor_session] supervisor session: relay opened successfully [1791113523.937] [gateway] [INFO ] [openshell_server::grpc::sandbox] ExecSandbox (relay): command started [1791113523.937] [gateway] [INFO ] [openshell_server::supervisor_session] relay stream: claimed pending relay, bridging [1791113523.933] [sandbox] [OCSF ] [ocsf] NET:OPEN [INFO] [msg:ssh relay open (channel_id=da0c5753-2914-4cd4-b386-bb983117c877, target=unix:/run/openshell/ssh.sock)] [1791113523.936] [sandbox] [OCSF ] [ocsf] SSH:OPEN [INFO] ALLOWED [1791113523.946] [sandbox] [OCSF ] [ocsf] CONFIG:APPLYING [INFO] Applying Landlock filesystem sandbox [abi:V2 compat:BestEffort ro:8 rw:7] [1791113523.946] [sandbox] [OCSF ] [ocsf] CONFIG:BUILT [INFO] Landlock ruleset built [rules_applied:14 skipped:1] [1791113524.026] [sandbox] [OCSF ] [ocsf] NET:CLOSE [INFO] [msg:ssh relay closed (channel_id=da0c5753-2914-4cd4-b386-bb983117c877, target=unix:/run/openshell/ssh.sock)] [1791113526.068] [gateway] [INFO ] [openshell_server::supervisor_session] supervisor session: relay opened successfully [1791113526.068] [gateway] [INFO ] [openshell_server::supervisor_session] relay stream: claimed pending relay, bridging [1791113526.069] [gateway] [INFO ] [openshell_server::grpc::sandbox] ExecSandbox (relay): command started [1791113526.066] [sandbox] [OCSF ] [ocsf] NET:OPEN [INFO] [msg:ssh relay open (channel_id=5f8ce30b-4ab3-4c07-bbb2-c30ecb0590cc, target=unix:/run/openshell/ssh.sock)] [1791113526.067] [sandbox] [OCSF ] [ocsf] SSH:OPEN [INFO] ALLOWED [1791113526.076] [sandbox] [OCSF ] [ocsf] CONFIG:APPLYING [INFO] Applying Landlock filesystem sandbox [abi:V2 compat:BestEffort ro:8 rw:7] [1791113526.076] [sandbox] [OCSF ] [ocsf] CONFIG:BUILT [INFO] Landlock ruleset built [rules_applied:14 skipped:1] [1791113526.125] [sandbox] [OCSF ] [ocsf] NET:CLOSE [INFO] [msg:ssh relay closed (channel_id=5f8ce30b-4ab3-4c07-bbb2-c30ecb0590cc, target=unix:/run/openshell/ssh.sock)] [1791113528.172] [gateway] [INFO ] [openshell_server::supervisor_session] supervisor session: relay opened successfully [1791113528.173] [gateway] [INFO ] [openshell_server::supervisor_session] relay stream: claimed pending relay, bridging [1791113528.173] [gateway] [INFO ] [openshell_server::grpc::sandbox] ExecSandbox (relay): command started [1791113528.171] [sandbox] [OCSF ] [ocsf] NET:OPEN [INFO] [msg:ssh relay open (channel_id=284a9ccb-d59f-4c1e-be16-e7fe7d6cc577, target=unix:/run/openshell/ssh.sock)] [1791113528.172] [sandbox] [OCSF ] [ocsf] SSH:OPEN [INFO] ALLOWED [1791113528.183] [sandbox] [OCSF ] [ocsf] CONFIG:APPLYING [INFO] Applying Landlock filesystem sandbox [abi:V2 compat:BestEffort ro:8 rw:7] [1791113528.184] [sandbox] [OCSF ] [ocsf] CONFIG:BUILT [INFO] Landlock ruleset built [rules_applied:14 skipped:1] [1791113528.254] [sandbox] [OCSF ] [ocsf] NET:CLOSE [INFO] [msg:ssh relay closed (channel_id=284a9ccb-d59f-4c1e-be16-e7fe7d6cc577, target=unix:/run/openshell/ssh.sock)] [1791113530.287] [gateway] [INFO ] [openshell_server::supervisor_session] supervisor session: relay opened successfully [1791113530.288] [gateway] [INFO ] [openshell_server::supervisor_session] relay stream: claimed pending relay, bridging [1791113530.288] [gateway] [INFO ] [openshell_server::grpc::sandbox] ExecSandbox (relay): command started [1791113530.286] [sandbox] [OCSF ] [ocsf] NET:OPEN [INFO] [msg:ssh relay open (channel_id=03be0412-16a6-4b6b-b478-3261ed53f094, target=unix:/run/openshell/ssh.sock)] [1791113530.286] [sandbox] [OCSF ] [ocsf] SSH:OPEN [INFO] ALLOWED [1791113530.295] [sandbox] [OCSF ] [ocsf] CONFIG:APPLYING [INFO] Applying Landlock filesystem sandbox [abi:V2 compat:BestEffort ro:8 rw:7] [1791113530.295] [sandbox] [OCSF ] [ocsf] CONFIG:BUILT [INFO] Landlock ruleset built [rules_applied:14 skipped:1] [1791113530.408] [sandbox] [OCSF ] [ocsf] NET:CLOSE [INFO] [msg:ssh relay closed (channel_id=03be0412-16a6-4b6b-b478-3261ed53f094, target=unix:/run/openshell/ssh.sock)] [1791113532.440] [gateway] [INFO ] [openshell_server::supervisor_session] supervisor session: relay opened successfully [1791113532.440] [gateway] [INFO ] [openshell_server::supervisor_session] relay stream: claimed pending relay, bridging [1791113532.440] [gateway] [INFO ] [openshell_server::grpc::sandbox] ExecSandbox (relay): command started [1791113532.439] [sandbox] [OCSF ] [ocsf] NET:OPEN [INFO] [msg:ssh relay open (channel_id=6ac86709-d06a-4962-a5a4-b8c5242890d9, target=unix:/run/openshell/ssh.sock)] [1791113532.439] [sandbox] [OCSF ] [ocsf] SSH:OPEN [INFO] ALLOWED [1791113532.449] [sandbox] [OCSF ] [ocsf] CONFIG:APPLYING [INFO] Applying Landlock filesystem sandbox [abi:V2 compat:BestEffort ro:8 rw:7] [1791113532.451] [sandbox] [OCSF ] [ocsf] CONFIG:BUILT [INFO] Landlock ruleset built [rules_applied:14 skipped:1] [1791113532.500] [sandbox] [OCSF ] [ocsf] NET:CLOSE [INFO] [msg:ssh relay closed (channel_id=6ac86709-d06a-4962-a5a4-b8c5242890d9, target=unix:/run/openshell/ssh.sock)] [1791113534.555] [gateway] [INFO ] [openshell_server::supervisor_session] supervisor session: relay opened successfully [1791113534.555] [gateway] [INFO ] [openshell_server::supervisor_session] relay stream: claimed pending relay, bridging [1791113534.555] [gateway] [INFO ] [openshell_server::grpc::sandbox] ExecSandbox (relay): command started [1791113534.554] [sandbox] [OCSF ] [ocsf] NET:OPEN [INFO] [msg:ssh relay open (channel_id=5215ff47-1870-4dcc-96bc-f099aa1c9df5, target=unix:/run/openshell/ssh.sock)] [1791113534.554] [sandbox] [OCSF ] [ocsf] SSH:OPEN [INFO] ALLOWED [1791113534.567] [sandbox] [OCSF ] [ocsf] CONFIG:APPLYING [INFO] Applying Landlock filesystem sandbox [abi:V2 compat:BestEffort ro:8 rw:7] [1791113534.567] [sandbox] [OCSF ] [ocsf] CONFIG:BUILT [INFO] Landlock ruleset built [rules_applied:14 skipped:1] [1791113534.622] [sandbox] [OCSF ] [ocsf] NET:CLOSE [INFO] [msg:ssh relay closed (channel_id=5215ff47-1870-4dcc-96bc-f099aa1c9df5, target=unix:/run/openshell/ssh.sock)] [1791113536.657] [gateway] [INFO ] [openshell_server::supervisor_session] supervisor session: relay opened successfully [1791113536.657] [gateway] [INFO ] [openshell_server::supervisor_session] relay stream: claimed pending relay, bridging [1791113536.657] [gateway] [INFO ] [openshell_server::grpc::sandbox] ExecSandbox (relay): command started [1791113536.655] [sandbox] [OCSF ] [ocsf] NET:OPEN [INFO] [msg:ssh relay open (channel_id=66d7c1a8-809c-42f0-a2a4-c47d03203662, target=unix:/run/openshell/ssh.sock)] [1791113536.655] [sandbox] [OCSF ] [ocsf] SSH:OPEN [INFO] ALLOWED [1791113536.662] [sandbox] [OCSF ] [ocsf] CONFIG:APPLYING [INFO] Applying Landlock filesystem sandbox [abi:V2 compat:BestEffort ro:8 rw:7] [1791113536.663] [sandbox] [OCSF ] [ocsf] CONFIG:BUILT [INFO] Landlock ruleset built [rules_applied:14 skipped:1] [1791113536.707] [sandbox] [OCSF ] [ocsf] NET:CLOSE [INFO] [msg:ssh relay closed (channel_id=66d7c1a8-809c-42f0-a2a4-c47d03203662, target=unix:/run/openshell/ssh.sock)] [1791113538.748] [gateway] [INFO ] [openshell_server::supervisor_session] supervisor session: relay opened successfully [1791113538.749] [gateway] [INFO ] [openshell_server::supervisor_session] relay stream: claimed pending relay, bridging [1791113538.749] [gateway] [INFO ] [openshell_server::grpc::sandbox] ExecSandbox (relay): command started [1791113538.748] [sandbox] [OCSF ] [ocsf] NET:OPEN [INFO] [msg:ssh relay open (channel_id=4fdb70e3-de40-45ba-ac96-effdb001f3e9, target=unix:/run/openshell/ssh.sock)] [1791113538.748] [sandbox] [OCSF ] [ocsf] SSH:OPEN [INFO] ALLOWED [1791113538.761] [sandbox] [OCSF ] [ocsf] CONFIG:APPLYING [INFO] Applying Landlock filesystem sandbox [abi:V2 compat:BestEffort ro:8 rw:7] [1791113538.762] [sandbox] [OCSF ] [ocsf] CONFIG:BUILT [INFO] Landlock ruleset built [rules_applied:14 skipped:1] [1791113538.817] [sandbox] [OCSF ] [ocsf] NET:CLOSE [INFO] [msg:ssh relay closed (channel_id=4fdb70e3-de40-45ba-ac96-effdb001f3e9, target=unix:/run/openshell/ssh.sock)] [1791113540.847] [gateway] [INFO ] [openshell_server::supervisor_session] supervisor session: relay opened successfully [1791113540.849] [gateway] [INFO ] [openshell_server::supervisor_session] relay stream: claimed pending relay, bridging [1791113540.849] [gateway] [INFO ] [openshell_server::grpc::sandbox] ExecSandbox (relay): command started [1791113540.846] [sandbox] [OCSF ] [ocsf] NET:OPEN [INFO] [msg:ssh relay open (channel_id=a85b27e4-4b96-4a10-bc9d-73ed6f7799ab, target=unix:/run/openshell/ssh.sock)] [1791113540.847] [sandbox] [OCSF ] [ocsf] SSH:OPEN [INFO] ALLOWED [1791113540.865] [sandbox] [OCSF ] [ocsf] CONFIG:APPLYING [INFO] Applying Landlock filesystem sandbox [abi:V2 compat:BestEffort ro:8 rw:7] [1791113540.866] [sandbox] [OCSF ] [ocsf] CONFIG:BUILT [INFO] Landlock ruleset built [rules_applied:14 skipped:1] [1791113540.925] [sandbox] [OCSF ] [ocsf] NET:CLOSE [INFO] [msg:ssh relay closed (channel_id=a85b27e4-4b96-4a10-bc9d-73ed6f7799ab, target=unix:/run/openshell/ssh.sock)] [1791113542.964] [gateway] [INFO ] [openshell_server::supervisor_session] relay stream: claimed pending relay, bridging [1791113542.964] [gateway] [INFO ] [openshell_server::supervisor_session] supervisor session: relay opened successfully [1791113542.964] [gateway] [INFO ] [openshell_server::grpc::sandbox] ExecSandbox (relay): command started [1791113542.961] [sandbox] [OCSF ] [ocsf] NET:OPEN [INFO] [msg:ssh relay open (channel_id=100fcedc-8240-47fe-974c-6e59bcb89fc3, target=unix:/run/openshell/ssh.sock)] [1791113542.961] [sandbox] [OCSF ] [ocsf] SSH:OPEN [INFO] ALLOWED [1791113542.970] [sandbox] [OCSF ] [ocsf] CONFIG:APPLYING [INFO] Applying Landlock filesystem sandbox [abi:V2 compat:BestEffort ro:8 rw:7] [1791113542.971] [sandbox] [OCSF ] [ocsf] CONFIG:BUILT [INFO] Landlock ruleset built [rules_applied:14 skipped:1] [1791113543.023] [sandbox] [OCSF ] [ocsf] NET:CLOSE [INFO] [msg:ssh relay closed (channel_id=100fcedc-8240-47fe-974c-6e59bcb89fc3, target=unix:/run/openshell/ssh.sock)] [1791113543.705] [gateway] [INFO ] [openshell_server::supervisor_session] supervisor session: stream closed by supervisor [1791113543.705] [gateway] [INFO ] [openshell_server::supervisor_session] supervisor session: ended

═══ Onboard Session ═══

{ "version": 1, "sessionId": "1791113053393-3cb01102-de2b-401b-8d13-882823ecbf6d", "status": "in_progress", "resumable": true, "mode": "interactive", "startedAt": "2026-10-04T11:24:13.393Z", "updatedAt": "2026-10-04T11:31:59.521Z", "sandboxName": "bdop-agent-001", "provider": "nvidia-prod", "model": "nvidia/nemotron-3-super-120b-a12b", "vllmInstallModel": null, "vllmGpuDevice": null, "servingProfileProvenance": null, "endpointUrl": "https://integrate.api.nvidia.com/v1", "credentialEnv": "NVIDIA_INFERENCE_API_KEY", "hermesAuthMethod": null, "preferredInferenceApi": "openai-completions", "compatibleEndpointReasoning": null, "compatibleEndpointReasoningEffort": null, "nimContainer": null, "toolDisclosure": "progressive", "observabilityEnabled": false, "observabilityRequestedExplicitly": false, "apfInterceptorRequested": false, "hermesToolGateways": [], "gpuPassthrough": false, "lastStepStarted": "policies", "lastCompletedStep": "policies", "failure": null, "cancellationRecovery": null, "externalComponentActivation": null, "gatewayAuthority": { "gatewayName": "nemoclaw", "gatewayPort": 8080, "mode": "nemoclaw-managed", "source": "packaged-service", "endpoint": null, "supervisor": null, "requiredCapabilities": [] }, "machine": { "version": 1, "state": "finalizing", "stateEnteredAt": "2026-10-04T11:31:59.520Z", "revision": 8 }, "steps": { "preflight": { "status": "complete", "startedAt": "2026-10-04T11:24:13.526Z", "completedAt": "2026-10-04T11:24:18.597Z", "error": null }, "gateway": { "status": "complete", "startedAt": "2026-10-04T11:30:17.405Z", "completedAt": "2026-10-04T11:30:20.761Z", "error": null }, "sandbox": { "status": "complete", "startedAt": "2026-10-04T11:31:39.940Z", "completedAt": "2026-10-04T11:31:55.625Z", "error": null }, "provider_selection": { "status": "complete", "startedAt": "2026-10-04T11:30:20.777Z", "completedAt": "2026-10-04T11:31:09.340Z", "error": null }, "inference": { "status": "complete", "startedAt": null, "completedAt": "2026-10-04T11:31:19.973Z", "error": null }, "openclaw": { "status": "complete", "startedAt": "2026-10-04T11:31:55.920Z", "completedAt": "2026-10-04T11:31:56.122Z", "error": null }, "agent_setup": { "status": "skipped", "startedAt": null, "completedAt": null, "error": null }, "policies": { "status": "complete", "startedAt": "2026-10-04T11:31:58.418Z", "completedAt": "2026-10-04T11:31:59.509Z", "error": null } } }

═══ Sandbox Internals ═══

Error: × code: 'The system is not in a state required for the operation's │ execution', message: "sandbox is not ready" (command exited with non-zero status)

Error: × code: 'The system is not in a state required for the operation's │ execution', message: "sandbox is not ready" (command exited with non-zero status)

═══ Kernel Messages ═══

(kernel messages skipped: dmesg access is restricted for this user; /proc/sys/kernel/dmesg_restrict=1 prevents non-root users from reading kernel logs. Re-run with sudo nemoclaw debug --quick to include kernel logs in this report. Note: privileged diagnostics and kernel logs may contain sensitive data; review before sharing.)

[debug] Done. If filing a bug, run with --output and attach the tarball to your issue: [debug] nemoclaw debug --output /tmp/nemoclaw-debug.tar.gz user22@heaven:~$

Logs

### Latest onboarding failure

`Onboarding for 'bdop-agent-001' is incomplete because a required process or secret-boundary check did not pass. Inspect with nemoclaw bdop-agent-001 doctor, resolve the reported problem, then resume onboarding with nemoclaw onboard --resume.`

### Latest observed OpenShell and Docker state


OpenShell sandbox phases:
bdop-agent-002  Provisioning
bdop-agent-003  Provisioning
bdop-agent-001  Error

Agent container state:
openshell-default--bdop-agent-001-10b4c6ad-4094-40c1-a556-87e9a95bce21
Exited (1)

openshell-bdop-agent-002-06a1f856-4090-4556-a036-15450c983299
Up; health: starting

openshell-bdop-agent-003-9485090e-3789-4f88-a47c-da68e96a1852
Up; health: starting


### Earlier legacy workspace failure

`Gateway failed to start: Legacy workspace setup state requires migration for /sandbox/.openclaw/workspace; run openclaw doctor --fix.`

This was observed during the earlier legacy-sandbox investigation. It is not yet established as the cause of the current fresh-onboarding failure.

The precise process or secret-boundary check that failed remains unknown pending the sandbox doctor output.

Checklist

  • [x] I confirmed this bug is reproducible
  • [x] I searched existing issues and this is not a duplicate

arifkundi-stack avatar Oct 04 '26 12:10 arifkundi-stack

I opened #12616 for the part of this report about the generic message. Here is the approach.

Cause of the generic message. Both onboarding pause points (finalizing and post_verify) call checkAndRecoverSandboxProcesses in src/lib/onboard/machine/finalization-deps.ts. That function returned only true or false. The specific reason was printed earlier as a separate Sandbox recovery for '<name>' failed: ... line, or not printed at all when OpenClaw startup did not settle. The final message could only say "a required process or secret-boundary check did not pass".

Change. The function now returns { healthy: true } or { healthy: false, reason }. The pause message and the post-verify diagnostics include the reason. For example:

Onboarding for 'bdop-agent-001' is incomplete: the gateway process inside the sandbox could not be inspected. Inspect with nemoclaw bdop-agent-001 doctor, resolve the reported problem, then resume onboarding with nemoclaw onboard --resume.

The four possible reasons are:

  • OpenClaw startup did not settle on gateway <name>.
  • The secret-boundary check refused the sandbox (<reported reason>).
  • The gateway process inside the sandbox could not be inspected.
  • The gateway process was not running and could not be restarted (<recovery detail>, when available).

What stays the same.

  • The health rule is unchanged, so the same results still pause onboarding.
  • No secret-boundary or process check is relaxed or skipped.
  • Refusal reasons and recovery details still go through the existing log-line sanitizer and the 1000-character cap.

Out of scope.

  • Your sandbox in phase Error with container exit code 1 is a separate problem. Going by the code, that state most likely leads to the "could not be inspected" reason, because the process probe cannot run in a container that has exited. The new message would confirm it, but the container failure itself still needs nemoclaw bdop-agent-001 doctor and the debug tarball.
  • Saving the failed check into the onboard session so that onboard --resume can show it later would change the session schema. I left it out unless maintainers want it.

BUTTERFINGERS7498 avatar Oct 05 '26 10:10 BUTTERFINGERS7498