Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Proxmox Automation Troubleshooting

Direct answer

Troubleshoot Proxmox automation by checking API token privileges and paths, task logs in the UI or pvesh get /cluster/tasks, locked VMs (qm unlock), storage availability and cloud-init settings.

When to use this

Use this when Proxmox API or CLI automation fails because of tokens, locks or storage.

First 30 seconds

1. Failures: token permissions, privilege separation, TLS verification, locks (qm unlock), storage missing on node, task errors.

2. Read task logs.

3. Check ACLs.

4. Fix and rerun idempotently.

5. Add pre-checks.

Operational verification

automation → API → task → error

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Proxmox VE API automation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProxmox VE API automation · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior.
Scope / prerequisiteUse this when Proxmox API or CLI automation fails because of tokens, locks or storage.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
  • Reading only the HTTP 200 of the API call; the task can still fail later.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Token privileges and paths cause many failures.
  • VMs can be left locked after failed tasks.
  • Task logs explain errors.
Key checks
  • journalctl -u pveproxy -u pvedaemon --since -1h — API errors
  • pvesh get /nodes/<node>/tasks --errors 1 — failed tasks
  • Token privileges (pveum acl list) — permissions
ReferenceWhy it matters1 section · depth on demand

What it is

Proxmox automation failures usually come from API permissions, task errors (UPID) or cluster state. The task log shows the real error.

ReferenceImportant terms & boundaries2 sections · depth on demand

How it works

Most API calls start an asynchronous task identified by a UPID; the HTTP call returns immediately while the task may still fail. Automation should poll the task status and read its log before reporting success.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProxmox VE API automation current

Authoritative/upstream documentation reviewed for bounded claims in Proxmox Automation > Proxmox Automation Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://pve.proxmox.com/pve-docs/api-viewer/ · confidence 94%
Confirmation

Confirm action

Continue?