Skip to content

nemoclaw uninstall fails with Sibling gateways remain on single-gateway systems in v0.0.98 #7987

Description

@mercl-lau

Warning

Regression: worked in v0.0.97, broken in v0.0.98.

Description

nemoclaw uninstall --yes exits with code 1 on systems that have only one gateway registered. The uninstaller reports "Sibling gateways remain" and skips cleanup of shared helper services, forward watchers, and the HTTPS Pin Runtime adapter. It then reports "Selected gateway cleanup was incomplete; preserving its state for retry" and exits with errors.

On a CI runner with a single nemoclaw gateway and one my-assistant sandbox, no sibling gateways should exist. v0.0.98 appears to have changed the gateway enumeration or registration logic such that the uninstaller detects phantom siblings.

Platform scope: All Platforms — verified failing on Ubuntu 22.04 and Ubuntu 24.04.

Environment

Device:        Ubuntu 22.04 / Ubuntu 24.04 CI runners
OS:            Ubuntu 22.04 / Ubuntu 24.04
Architecture:  x86_64
Node.js:       v22.x
npm:           10.x
Docker:        27.x
OpenShell CLI: v0.0.98
NemoClaw:      v0.0.98
OpenClaw:      v0.0.98 (onboard succeeded)

Steps to Reproduce

  1. Install NemoClaw v0.0.98 and onboard a single sandbox (my-assistant)
  2. Verify only one gateway is registered: openshell gateway list
  3. Run: nemoclaw uninstall --yes
  4. Observe exit code 1 and "Sibling gateways remain" messages

Expected Result

nemoclaw uninstall --yes should complete with exit code 0, removing all services, gateway registrations, Docker resources, and CLI binaries when only one gateway is registered.

Actual Result

[1/6] Stopping services
Disabled nemoclaw-openshell-gateway.service
Sibling gateways remain; kept shared helper services and sibling forwards.
[2/6] OpenShell resources
Removed gateway registration 'nemoclaw'
OpenShell sandbox 'my-assistant' was already absent or unreachable
Selected gateway cleanup was incomplete; preserving its state for retry.
Uninstall completed with errors. Some state may remain on disk; see warnings above.
Exit code: 1

Logs

Running local uninstall script: ~/.nemoclaw/source/uninstall.sh
NemoClaw Uninstaller
This will remove NemoClaw resources owned by gateway 'nemoclaw'.
Preserving rebuild-backups, sandboxes.json under ~/.nemoclaw.
[1/6] Stopping services
Disabled nemoclaw-openshell-gateway.service
Sibling gateways remain; kept shared helper services and sibling forwards.
No Hermes forward watchers found
No selected-gateway Ollama auth proxy found
No selected-gateway OpenRouter Runtime adapter found
Sibling gateways remain; kept the shared HTTPS Pin Runtime adapter.
No selected-gateway model router found
[2/6] OpenShell resources
Removed gateway registration 'nemoclaw'
OpenShell sandbox 'my-assistant' was already absent or unreachable
Selected gateway cleanup was incomplete; preserving its state for retry.
Uninstall completed with errors.

NVB#6542357

Activity

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

Metadata

Metadata

Assignees

Labels

NV QABugs found by the NVIDIA QA Teamarea: installInstall, setup, prerequisites, or uninstall flowplatform: ubuntuAffects Ubuntu Linux environments

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions