Skip to content

Latest commit

 

History

History
92 lines (57 loc) · 3.21 KB

TROUBLESHOOTING.md

File metadata and controls

92 lines (57 loc) · 3.21 KB

Troubleshooting

Authentication

nr auth status shows unauthenticated

  • Set NR_API_TOKEN from a service account token (export NR_API_TOKEN=... then echo $NR_API_TOKEN).
  • Do not use nr auth login on the agent VM.
  • Confirm you can reach https://api.noderings.com.

Provider organization review is pending.

Login succeeded; the provider organization is not marketplace-approved yet. Identity and organization commands still work. Creating agents, generating install commands, and peering stay blocked until review completes. A verified organization can run the same provider APIs.

TLS / certificate errors

  • Prefer a proper CA with api.ca_cert_path.
  • api.tls_insecure: true and --dev skip verification — not for production.

Install

Installer cannot resolve the latest release

Cluster register

Prechecks fail (ports, disk, memory, OS)

  • Use a dedicated Ubuntu 22.04+ VM with free ports including 6443.
  • Use --skip-prechecks only when you understand the risk.

--agent-ip is not assigned to any local interface

--agent-ip is passed to k3s as --node-ip. It must exist on this VM (ip -4 addr), not a docs placeholder (1.1.1.1) and not a NAT address that is only visible upstream. Use the address on eth0 / ens* (for example 192.168.1.153).

You are not allowed to perform this action. on register

Confirm NR_API_TOKEN is a service account JWT for this provider organization, --org-id matches that organization, and the service account role includes agent permissions. --org-id cannot authenticate by itself. A token from a different organization is rejected.

Resume after failure

nr cluster register --resume --name <same-name> --org-id <org-uuid>

Checkpoints live under ~/.nr/. Use nr cluster status and nr cluster debug for details.

Upgrade operator charts (no hypervisor tokens)

nr cluster operator upgrade

Reuses Helm values and Kubernetes Secrets. Does not need NR_API_TOKEN or --org-id. To rotate hypervisor credentials, use --resume --reinstall-operator with env or an instances file.

If CRDs were first installed as the operator chart subchart, upgrade applies the dedicated CRD charts in place (Helm 3.16 cannot take ownership) and keeps the CRDs when the operator subchart is disabled.

Post-register verification failed

nr cluster verify --name <name>
nr cluster verify --name <name> --output=json

Failed verify/health exits 1. Bad flags exit 2.

Deregister

nr cluster deregister --name <name>

--force continues after partial failures. Review leftovers on the VM if a force teardown was used.

Diagnostics

nr cluster status
nr cluster info
nr cluster health
nr cluster logs
nr cluster debug

debug writes a report under ~/.nr/debug-<timestamp>/. Redact tokens before sharing.

Getting help