Troubleshooting virtual machines
If a virtual machine fails to deploy
Review the error message on the VM right pane. One of the possible root causes is that compute nodes lack free RAM or CPU resources to host the VM.
If a virtual machine is stuck in a failed or transitional state
Admin panel
Reset the VM to its last stable state: active, shut down or shelved:
- Click the stuck VM.
- On the VM right pane, click Reset state.
If a virtual machine is stuck with the “Powering off” task state
In this case, a VM will have the “Active (Powering off)” status on its right pane.
You can cancel this task by using the following command:
vinfra service compute server cancel-stop <server>
<server>
- Virtual machine ID or name
For example, to cancel shutdown for the virtual machine myvm
if it has the “powering-off” task state:
# vinfra service compute server cancel-stop myvm
If a virtual machine fails to boot
Admin panel
Examine the VM console log by clicking Download console log on the VM right pane. The log will contain log messages only if logging is enabled inside the VM.