Virtualization Automation Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=5707
Answer
Virtualization Automation Troubleshooting isolates failures across source revision, inventory and object identity, API/task execution, host/cluster placement, virtual network/storage dependencies, guest readiness and workload acceptance without broad retries or manual drift.
Remember
- Retry success ≠ root cause understood.
- Generic task failure ≠ hypervisor defect.
- VM runtime state healthy ≠ attached network/storage path healthy.
- Manual repair ≠ automation source and desired state reconciled.
First checks
- Automation job logs — errors
- Hypervisor task/event logs — platform side
- API credentials/permissions — access
Commands
Get-VMHost | Select-Object Name,ConnectionState,PowerState- Read-only/validation observation for ESXi host identity, vCenter connection state and power state.
Verify in this order
automation → API → hypervisor task → error
Where it usually breaks
Troubleshooting closes only when the first failed boundary is explained and the original automation plus guest/workload acceptance both pass after a controlled correction.
Virtualization Automation Troubleshooting virtualization automation proof-boundary map
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Scope / identity | Exact platform and VM/resource IDs plus source revision are explicit | Names, selectors or inventory paths resolve to the wrong or changing object |
| Management operation | Task/job response and asynchronous completion are traceable | Request acknowledgement or partial batch success is treated as completion |
| Effective virtual state | Runtime inventory, attachments and placement are read back | Desired/requested configuration substitutes for actual hypervisor state |
| Guest / workload proof | Guest readiness and original service test pass | Hypervisor success substitutes for guest or application health |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5707