Skip to content

nemoclaw uninstall does not clear all the openshell process #1940

@xiaoming-nv

Description

@xiaoming-nv

Description

Description:
nemoclaw uninstall should stop all the openshell processes.

[Environment]
Device: Ubuntu 24.04
Node.js:v22.22.2
npm: 10.9.7
Docker: Docker version 29.1.3
OpenShell CLI: 0.0.26
NemoClaw: v0.0.14
OpenClaw 2026.3.11 (29dc654)

[Steps to Reproduce]

install Nemoclaw: curl -fsSL https://www.nvidia.com/nemoclaw.sh | bash
complete the onboard process by select Nemotron 3 Super 120B (nvidia/nemotron-3-super-120b-a12b)
after onboarding, chat with the model by "openclaw tui"
exist openshell
uninstall nemoclaw: nemoclaw uninstall

[Expected Result]

all the openshell process are terminated

[Actual Result]

couple of openshell process left in the system

[Log]
user@XXXXXXXX:~$ nemoclaw uninstall
Running local uninstall script: /localhome/user/.nemoclaw/source/uninstall.sh

███╗ ██╗███████╗███╗ ███╗ ██████╗ ██████╗██╗ █████╗ ██╗ ██╗
████╗ ██║██╔════╝████╗ ████║██╔═══██╗██╔════╝██║ ██╔══██╗██║ ██║
██╔██╗ ██║█████╗ ██╔████╔██║██║ ██║██║ ██║ ███████║██║ █╗ ██║
██║╚██╗██║██╔══╝ ██║╚██╔╝██║██║ ██║██║ ██║ ██╔══██║██║███╗██║
██║ ╚████║███████╗██║ ╚═╝ ██║╚██████╔╝╚██████╗███████╗██║ ██║╚███╔███╔╝
╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝╚══════╝╚═╝ ╚═╝ ╚══╝╚══╝

Uninstaller — This will remove all NemoClaw resources.
Docker, Node.js, Ollama, and npm are preserved.

What will be removed:
· All OpenShell sandboxes, gateway, and NemoClaw providers
· Related Docker containers, images, and volumes
· ~/.nemoclaw ~/.config/openshell ~/.config/nemoclaw
· Global nemoclaw npm package
· Ollama models: kept (pass --delete-models to remove)

Docker, Node.js, npm, and Ollama are not touched.

Continue? [y/N] y

[1/6] Stopping services
──────────────────────────────────────────────────
[uninstall] Stopped NemoClaw helper services
[uninstall] Removed /tmp/nemoclaw-services-default
[uninstall] Removed /tmp/nemoclaw-services-nv-nemotron
[uninstall] No local OpenShell forward processes found

[2/6] OpenShell resources
──────────────────────────────────────────────────
[uninstall] Deleted all OpenShell sandboxes
[uninstall] Deleted provider 'nvidia-nim'
[uninstall] Deleted provider 'vllm-local'
[uninstall] Deleted provider 'ollama-local'
[uninstall] Deleted provider 'nvidia-ncp'
[uninstall] Deleted provider 'nim-local'
[uninstall] Destroyed gateway 'nemoclaw'

[3/6] NemoClaw CLI
──────────────────────────────────────────────────
✓ Removing NemoClaw CLI...

[4/6] Docker resources
──────────────────────────────────────────────────
✓ Removing Docker resources...

[5/6] Ollama models
──────────────────────────────────────────────────
[uninstall] Keeping Ollama models as requested.

[6/6] State and binaries
──────────────────────────────────────────────────
[uninstall] Removing NemoClaw-managed swap file...
[uninstall] No /swapfile found; skipping swap cleanup.
[uninstall] Removing runtime temp artifacts...
[uninstall] Removed /localhome/user/.local/bin/openshell
[uninstall] Removed /localhome/user/.nemoclaw
[uninstall] Removed /localhome/user/.config/openshell

NemoClaw

Claws retracted. Until next time.

https://www.nvidia.com/nemoclaw

user@XXXXXXXX:$ ps -elf | grep openshell
0 S local-c+ 523753 1 0 80 0 - 14949 futex_ 07:59 pts/0 00:00:02 /localhome/local-user/.local/bin/openshell sandbox create --from /tmp/nemoclaw-build-xyoMlL/Dockerfile --name nv-nemotron --policy /localhome/user/.nemoclaw/source/nemoclaw-blueprint/policies/openclaw-sandbox.yaml -- env CHAT_UI_URL=http://127.0.0.1:18789/ nemoclaw-start
0 S local-c+ 533983 523753 0 80 0 - 7085 poll_s 08:02 pts/0 00:00:00 ssh -o ProxyCommand=/localhome/user/.local/bin/openshell ssh-proxy --gateway https://127.0.0.1:8080/connect/ssh --sandbox-id c6d7218b-894f-4e6a-9fbd-d8c923de391d --token b48d177d-4e77-4e70-a675-418e977633d9 --gateway-name nemoclaw -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o GlobalKnownHostsFile=/dev/null -o LogLevel=ERROR -T -o RequestTTY=no sandbox env 'CHAT_UI_URL=http://127.0.0.1:18789/' nemoclaw-start
0 S local-c+ 533984 533983 0 80 0 - 14853 futex_ 08:02 pts/0 00:00:00 /localhome/user/.local/bin/openshell ssh-proxy --gateway https://127.0.0.1:8080/connect/ssh --sandbox-id c6d7218b-894f-4e6a-9fbd-d8c923de391d --token b48d177d-4e77-4e70-a675-418e977633d9 --gateway-name nemoclaw
0 S local-c+ 556886 545406 0 80 0 - 5086 anon_p 08:10 pts/2 00:00:00 grep --color=auto openshell
user@XXXXXXXX:
$

Reproduction Steps

install Nemoclaw: curl -fsSL https://www.nvidia.com/nemoclaw.sh | bash
complete the onboard process by select Nemotron 3 Super 120B (nvidia/nemotron-3-super-120b-a12b)
after onboarding, chat with the model by "openclaw tui"
exist openshell
uninstall nemoclaw: nemoclaw uninstall

Environment

Device: Ubuntu 24.04
Node.js:v22.22.2
npm: 10.9.7
Docker: Docker version 29.1.3
OpenShell CLI: 0.0.26
NemoClaw: v0.0.14
OpenClaw 2026.3.11 (29dc654)

Debug Output

Logs

Checklist

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

Metadata

Metadata

Assignees

Labels

NV QABugs found by the NVIDIA QA TeamUATIssues flagged for User Acceptance Testing.platform: ubuntuAffects Ubuntu Linux environments

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions