Skip to content

[Brev] nemoclaw deploy — hardcoded /home/ubuntu path fails on non-ubuntu cloud providers #1319

@zNeill

Description

@zNeill

Description

[Description]
[tag v0.0.3]
nemoclaw deploy fails on existing Brev instance — hardcoded /home/ubuntu path not valid for all cloud providers

[Environment]
Item | Version / detail
Device | macOS 26.1 (Apple M4, arm64) → Brev L40S (shadecloud)
NemoClaw | v0.0.3 (git tag)
Brev VM | nemoclaw-v002-0401 (massedcompute_L40S, user: shadeform)

[Steps to Reproduce]

  1. Have an existing Brev instance with non-ubuntu user (e.g., shadecloud provider uses shadeform)
  2. Run: nemoclaw deploy nemoclaw-v002-0401
  3. Observe error

[Expected Result]
NemoClaw synced and deployed to existing Brev instance

[Actual Result]

$ nemoclaw deploy nemoclaw-v002-0401

  Deploying NemoClaw to Brev instance: nemoclaw-v002-0401

  Brev instance 'nemoclaw-v002-0401' already exists.
  Waiting for SSH  ✓
  Syncing NemoClaw to VM...
mkdir: cannot create directory '/home/ubuntu': Permission denied
  Command failed (exit 1): ssh ... 'mkdir -p /home/ubuntu/nemoclaw'

[Root Cause]

nemoclaw.js lines 721-744 hardcode `/home/ubuntu/nemoclaw` as the target directory:
  run(`ssh ... ${qname} 'mkdir -p /home/ubuntu/nemoclaw'`);
  run(`rsync ... ${qname}:/home/ubuntu/nemoclaw/`);
  run(`scp ... ${qname}:/home/ubuntu/nemoclaw/.env`);

Different Brev cloud providers use different usernames:

  • shadecloud: shadeform
  • AWS: ubuntu
  • GCP: varies

Bug Details

Field Value
Priority Unprioritized
Action Dev - Open - To fix
Disposition Open issue
Module Machine Learning - NemoClaw
Keyword NemoClaw, NEMOCLAW_GH_SYNC_APPROVAL

[NVB# 6042137]

[NVB#6042137]

Metadata

Metadata

Assignees

Labels

NV QABugs found by the NVIDIA QA Teamarea: cliCommand line interface, flags, terminal UX, or outputarea: e2eEnd-to-end tests, nightly failures, or validation infrastructureplatform: brevAffects Brev hosted development environmentsplatform: macosAffects macOS, including Apple Silicon

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions