Velocity • Durability

Version 12.0.0

12. Troubleshooting

The following table lists each symptom and its likely cause and fix.

Symptom Likely Cause/Fix
error: profile "<name>" not authenticated. Run: panctl auth login ... The session for that profile has never logged in or has been logged out. Run auth login again.
error: storage set "Demo Sett" not found: no storage set has that name (pass the id, or check 'panctl storagesets list') A name that resolved to nothing. A path that contains an unresolved name is never sent, so this is a typo and not a missing object.
error: tenant reference "acme" is ambiguous: 2 tenants share that short name More than one item has that name, so PanCTL refuses to pick one. Pass the UUID or ID instead.
error: unknown command "create" for "panctl nodes" Exit 2. A command exists only where the API defines a matching operation, so nodes create does not exist. Nothing was sent. For an operation with no command, use panctl api (see 8.16).
error: profile "<name>" not found in ~/.panctl/profiles.toml Check for a typo in --profile or PANCTL_PROFILE, or the profile was never created.
error: -f <file\|-> is required This command needs a JSON body; pass a file path or - to read from standard input.
error: <field> is required A required positional argument or flag is missing.
error: session expired. Run: panctl auth login --profile <name> Automatic renewal failed (e.g., the refresh token itself expired). Log in again.
dial tcp ...: connection refused The appliance is unreachable; check the server address, network path, and firewall rules.
A raw JSON body, for example {"detail":"Volume not found"} This is the API’s own refusal, relayed exactly and with no error: prefix, so it stays valid JSON. Pipe it through jq for easier reading, e.g. panctl volumes create ... 2>&1 | jq .
error: this operation requires confirmation; pass --yes to proceed Exit 2. A destructive command ran with no terminal to ask. Add --yes (or -y) when that is what you mean.

Messages that start with error: come from PanCTL itself, and API refusals (not found, already exists, permission denied, quota exceeded) do not. A search for ^error: therefore does not match every failure, so use the exit code to detect failure.