Pcornel
Automation · Virtualization Automation

Virtualization Automation Troubleshooting

Cheat sheet · https://pcornel.dk/topic.php?topic=5707

Back to the Topic

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

BoundaryHealthy evidenceSuspicious evidence
Scope / identityExact platform and VM/resource IDs plus source revision are explicitNames, selectors or inventory paths resolve to the wrong or changing object
Management operationTask/job response and asynchronous completion are traceableRequest acknowledgement or partial batch success is treated as completion
Effective virtual stateRuntime inventory, attachments and placement are read backDesired/requested configuration substitutes for actual hypervisor state
Guest / workload proofGuest readiness and original service test passHypervisor 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

Confirmation

Confirm action

Continue?