Repository navigation
Description
Investigation Summary
- DGX Station Express onboarding proves CUDA and reaches
Readybefore the compatibility GPU final handoff. - The final handoff removes the backup, issues
openshell sandbox start, and fails while OpenShell still reportsProvisioning. - Docker still reports the transaction-owned replacement as running with health
starting. - PR fix(recovery): capture final handoff lifecycle state #10339 introduced the OpenShell stop and start sequence. OpenShell v0.0.106 uses a separate lifecycle timeout, which can expire before the NemoClaw 900-second handoff budget.
- The failed attempt leaves a verified-create checkpoint. The independent recovery journal also failed to persist, so same-name Express retries cannot proceed. The journal write cause is not present in the terminal error.
Description
DGX Station Express onboarding fails during the Docker GPU compatibility handoff. The replacement passes the first managed readiness check and CUDA initialization. NemoClaw then stops the replacement through OpenShell, removes the previous container, and starts the replacement through OpenShell.
openshell sandbox start returns nonzero while the sandbox remains in the nonterminal Provisioning phase. The exact replacement container remains running. NemoClaw classifies the command result as a failed restart and stops before its final bounded readiness waiter runs.
Expected behavior: after the start request has a transport or readiness failure, NemoClaw must reconcile the effect. It may continue the existing final handoff waiter only while Docker proves the transaction-owned replacement is the sole running sandbox container and OpenShell reports a nonterminal phase. Missing, foreign, ambiguous, or terminal state must remain a failure.
The failed attempt also exposed a recovery gap. The registry retained pendingCreateIdentity, but retained-sandbox-recovery.json was not written. A later Express run selected the saved my-assistant name, created a new onboarding session, configured inference, and then failed because the old verified-create checkpoint belongs to another session. --resume and --fresh do not resolve this state.
Reproduction Steps
- On a DGX Station GB300, run
./install.shand select Express installation with local vLLM. - Accept the default
my-assistantsandbox name and enable GPU passthrough. - Let onboarding use the Docker GPU compatibility path.
- Observe that CUDA initialization succeeds and the replacement reaches the first managed
Readycheck. - During the final handoff, observe
Stopping the replacement through OpenShellfollowed byStarting the exact replacement through OpenShell. - Observe onboarding fail without printing
Waiting for OpenShell to confirm the final replacement handoff. - Confirm
openshell sandbox listreportsProvisioningat failure time and Docker reports the replacement as running with healthstarting. - Run
./install.shagain. - Observe
Cannot replace sandbox my-assistant while its verified create checkpoint is incompleteafter inference configuration.
Environment
- Hardware: DGX Station GB300
- Install mode: Express
- Agent: OpenClaw
- Inference: local vLLM
- Model:
nvidia/nemotron-3-ultra-550b-a55b - OpenShell: v0.0.106, as pinned by the tested NemoClaw source
- Gateway:
nemoclaw, port 8080 - GPU route: Docker compatibility path
- OS, Node.js, Docker, and exact NemoClaw revision: not captured in the supplied terminal evidence
Debug Output
The failure diagnostics reported:
Managed startup passed Ready, but its final runtime handoff did not converge.
The previous container was removed at the final handoff commit point; automatic rollback is unavailable.
OpenShell supervisor did not reach Ready (last phase: Provisioning).
patched_container_status=running
patched_container_running=true
patched_container_exit_code=0
patched_container_health=starting
patched_create_option=persistent sandbox startup command
Persisted state after the failure contained:
pendingRouteReservation=true
pendingCreateIdentity.state=verified-create
pendingCreateIdentity.route=native
Later inspection found no OpenShell sandbox, no matching Docker container, and no retained recovery journal. The retry failed with:
Error: Cannot replace sandbox my-assistant while its verified create checkpoint is incomplete
Checklist
- I confirmed this bug is reproducible
- I searched existing issues and this is not a duplicate
Activity
fix(onboard): recover failed GPU handoff checkpoints (#11124)