Troubleshooting Boot and Image Import
Reading the guest boot log
When a virtual machine fails to boot (kernel panic, missing root disk, stuck at the bootloader), the graphical and serial consoles may not show enough. Enable serial-console logging so the guest's boot output is captured to the launcher pod's logs:
After the virtual machine restarts, the launcher pod gains a guest-console-log container. Read the captured boot output with:
Diagnosing a stuck image import
A bootable volume or virtual machine disk that stays in Importing usually has a DataVolume problem. Inspect the DataVolume's phase and conditions:
The Bound condition reflects the PVC, Running reflects the importer pod, and Ready indicates the disk is usable. A Running=False with a message points at the importer pod's failure — image not found, registry authentication, or insufficient space.
Capturing a virtual machine memory dump
To analyze a hung or crashed (but still running) virtual machine, capture its guest RAM to a PVC for offline analysis:
The dump is written to the named PVC, which you can then download and inspect. See Using the virtctl Command-Line Tool.