Skip to content

[Ubuntu 24.04][Inference] inference set endpoint update leaves the superseded HTTPS Pin Runtime route un-revoked with in-memory credentials #7878

Description

@wangericnv

Description

When nemoclaw <sandbox> inference set --provider compatible-endpoint updates the endpoint URL of an existing compatible-endpoint that uses a DNS-backed HTTPS endpoint (routed through the HTTPS Pin Runtime adapter), the new route is committed but the superseded (old) HTTPS Pin route cannot be revoked, and its raw upstream credentials are left in the adapter's memory. NemoClaw tells the user to uninstall NemoClaw to purge them.

Each endpoint update on a DNS-backed HTTPS compatible-endpoint therefore leaks a stale Pin route plus its in-memory upstream credentials until NemoClaw is uninstalled. The endpoint-update-with-rollback path (PR #7746) does not cleanly revoke the prior route.

Platform scope: DGX Station GB300 (aarch64, Ubuntu 24.04), NemoClaw v0.0.97 + OpenShell 0.0.85; not believed platform-specific.
Regression: No — new functionality (compatible-endpoint update with rollback, PR #7746 / v0.0.97).

Steps to Reproduce

  1. Onboard an OpenClaw sandbox <sandbox> (e.g. on nvidia-prod).
  2. export COMPATIBLE_API_KEY=<a valid key>
  3. Create a compatible-endpoint on a DNS-backed HTTPS endpoint:
    nemoclaw <sandbox> inference set --provider compatible-endpoint --endpoint-url https://<dns-host-a>/v1 \
      --model <model> --credential-env COMPATIBLE_API_KEY --inference-api openai-completions
  4. Update the endpoint URL to a different DNS-backed HTTPS endpoint:
    nemoclaw <sandbox> inference set --provider compatible-endpoint --endpoint-url https://<dns-host-b>/v1 \
      --model <model> --credential-env COMPATIBLE_API_KEY --inference-api openai-completions
  5. Observe the warning printed after the route is committed.

Expected Result

The update commits the new route AND revokes the superseded HTTPS Pin route, purging its in-memory upstream credentials. No residual route or credentials remain.

Actual Result

Warning: the new inference route is committed, but superseded HTTPS Pin Runtime route '<hash>' could not be
revoked: Cannot authenticate the live HTTPS Pin Runtime adapter for revocation.. The raw upstream endpoint
was not restored; uninstall NemoClaw to stop the adapter and purge its in-memory credentials if this persists.
Inference route synced for '<sandbox>': inference/<model>

The stale route + in-memory upstream credentials persist until NemoClaw is uninstalled.

Metadata

Metadata

Assignees

Labels

area: inferenceInference routing, serving, model selection, or outputsarea: providersInference provider integrations and provider behaviorarea: sandboxOpenShell sandbox lifecycle, runtime, config, or recoveryarea: securitySecurity controls, permissions, secrets, or hardening

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions