VM statuses
Center describes the state of a VM (virtual machine) with three axes: power, activity and health. Next to them, the previous status code remains — what the node last reported about the VM. The labels of the code, the power and the health reasons are stored in the Center status dictionary, and the web interface gets them from this dictionary.
Where the status is shown
- The Virtual Machines table — the Status, Power and Health columns. To filter VMs by health, select Filters → Health.
- The VM page — the Power and Status rows at the top of the page and the colored health indicator to the left of the VM name. If the health is not OK, the indicator tooltip shows the reason and, after a colon, the error text of the last operation, if there is one.
Status
The status is the code of what the node last reported, or the transitional code of a running command. If an operation is in progress on the VM, Locked is shown before the status, for example Locked, Starting: the Actions menu is unavailable during this time.
| Status | What it means | Power |
|---|---|---|
| Created | the VM is created and has not been started yet | Powered Off |
| Offline | the VM is not running | Powered Off |
| Started | the VM process is running on the node; the guest OS may still be booting | Powered On |
| Suspended | the VM memory is saved to the pool, the VM is not running | Suspended |
| Deleted | the VM is deleted | Powered Off |
| Creating | the node is creating the VM | Powered Off |
| Starting | the node is starting the VM | Powered Off |
| Stopping | the node is powering off the VM | Powered On |
| Suspending | the node is saving the VM memory | Powered On |
| Resuming | the node is resuming the VM | Suspended |
| Deleting | the node is deleting the VM | Powered Off |
| Migrating | the VM is being moved to another node, or its disks to another pool | Powered On for a live move, otherwise Powered Off |
| Sending | the VM is being sent | Powered On |
| Restoring | the VM is being restored from a backup | Powered Off |
| Create failed | the VM could not be created | Powered Off |
| Start failed | the VM could not be started | Powered Off |
| Stop failed | the VM could not be powered off, it is running | Powered On |
| Suspend failed | the VM could not be suspended, it is running | Powered On |
| Resume failed | the VM could not be resumed | Suspended |
| Delete failed | the VM could not be deleted | Powered Off |
| Migration failed | the move failed | as for Migrating |
| Send failed | the sending failed | Powered On |
| Restore failed | the restore from a backup failed | Powered Off |
A transitional status lasts no longer than its time limit: for example, Starting — 15 minutes, Migrating without a running migration — 6 hours; while a migration runs, Migrating lasts until it ends. After the time limit, Center sets an error status — the time limits are in VM stays in the Locked status for a long time.
Power
Power shows whether the VM is actually running. Center derives it from the status.
| Power | What it means |
|---|---|
| Powered On | the VM process is running on the node |
| Powered Off | the VM is not running |
| Suspended | the VM is suspended |
Besides the actual power, Center stores the desired power — the one set by the last Start, Stop or Suspend command. A failed command does not roll back the desired power: if Start failed, the desired power stays Powered On, and the health shows an error. Center resolves a mismatch between the actual and the desired power automatically — VM auto-restart after a failure.
Health
| Health | What it means |
|---|---|
OK (in vm-statuses-list — Normal) | the actual state matches the desired one, there are no errors |
| Warning | a mismatch that Center resolves automatically, or start retries are in progress |
| Error | the last operation failed, or the actual state does not match the desired one |
| Unreachable | the VM node does not respond, or the node has not confirmed the VM status for three reconciliation passes in a row — about 15 minutes |
Reasons
The health reason is shown in the indicator tooltip on the VM page.
| Reason | Health | What it means |
|---|---|---|
| Start failed and other error statuses | Error | the VM status is an error status; the reason label is the same as the status |
| Start failed, retry <N> of 5 | Warning | VM auto-restart could not start the VM and will try again, up to 5 attempts |
| Start failed, 5 attempts exhausted | Error | VM auto-restart stopped trying after 5 attempts; start the VM manually |
| Auto-restart stopped by user | Error | the auto-restart start operation was terminated in the Tasks section |
| Power state does not match desired state | Error | the VM is not in the power state set by the last command |
| VM is running, desired state is Powered Off | Warning | the VM is running, although the desired power is Powered Off |
| Desired state changed to Powered On by system | Warning | the VM was running for a long time while the desired state was Powered Off, and Center changed the desired state to Powered On |
| VM is powered off, reason unknown | Warning | the VM powered off, and the node did not report the reason; Center does not restart it automatically |
| Node not responding or status outdated | Unreachable | the VM node does not respond or has not confirmed the VM status for a long time |
| Unknown status code <N> | Warning | the node sent a code that is not in the dictionary |
Available actions by status
| Action | When it is available |
|---|---|
| Start | the desired power is Powered Off: the last command was Stop, or the VM has not been started yet. Center does not check the status shown on the screen |
| Stop | in any status except during a move |
| Restart | in any status except Suspended |
| Suspend | the VM is started and the desired power is Powered On |
| Resume | Suspended |
| Console | Starting or Started |
| Clone | Offline; you cannot clone a clone |
| Rollback to a snapshot, disconnecting a network | Offline |
| Deleting a disk | Offline or Created |
While the VM is being moved, the Start, Stop, Restart, Suspend, Resume and Remove items are inactive.
Labels in 3.2 and 3.3
In 3.3, only the Russian status labels changed; the English labels stayed the same. The /Completed suffix after the status is no longer shown.
| English label | Russian label in 3.2 | Russian label in 3.3 |
|---|---|---|
| Offline | Оффлайн | Выключена |
| Started | Запущено | Запущена |
| Start failed | Не стартовало | Ошибка запуска |
| Stop failed | Не остановлено | Ошибка остановки |
| Deleted | Удалено | Удалена |
| Created | Создано | Создана |
| Suspended | Приостановлено | Приостановлена |
| Suspend failed | Приостановка не удалась | Ошибка приостановки |
| Resume failed | Не возобновлено | Ошибка возобновления |
| Create failed | Не создано | Ошибка создания |
| Delete failed | Не удалено | Ошибка удаления |
| Migrating | Миграция | Мигрирует |
| Migration failed | Миграция не удалась | Ошибка миграции |
| Sending | Передача | Передается |
| Send failed | Передача не удалась | Ошибка передачи |
| Restore failed | Не восстановлено | Ошибка восстановления |
The Russian labels of Starting, Stopping, Creating, Deleting, Suspending, Resuming and Restoring did not change. The Power and Health columns with a reason appeared in 3.3.
For the API
vm-statuses-list— the dictionary: status codes with English and Russian labels, labels of the axis values and the dictionary version number.vm-listandvm-getreturn the axes:desired_power,power,activity,progress,health,health_reason,health_detail,confirmed_at.vm-listfilters VMs byhealth.activity— what is currently happening to the VM:starting,stopping,restarting,suspending,resuming,migrating,migrating_guest_paused,cancelling,creating,deleting,sending,restoring,task;null— no operation is in progress. The web interface does not show this axis.