Reference For: administrators

Host errors

Causes and remedies for the error codes of hosts: memory, capabilities, maintenance mode and removal.

error.host.insufficient_memory

Text in the console
Host {host} has {available} MiB of memory free for virtual machines; this one needs {requested} MiB. Power off other virtual machines, give this one less memory, or move it to another host.
Meaning for API clients
Power-on refused: the host has available MiB free for virtual machines, the guest needs requested.
Code
FAILED_PRECONDITION, HTTP 412
ArgumentWhat it holds
requestedthe memory in MiB that the virtual machine needs.
availablethe memory in MiB that the host has free for virtual machines.
hostthe name of the host.

Cause. Power-on was refused, because the host has less memory free for virtual machines than the virtual machine needs. Free memory is the memory of the host, minus the reserve that the host keeps for itself (host_memory_reserve_mib in the [vm_ops] section, 2048 MiB by default), minus the memory of the virtual machines that run on it. The setting memory_overcommit_ratio in the same section allows the running virtual machines to exceed that amount; its default of 1.0 means no overcommit.

Remedy.

  1. Power off virtual machines that are not needed on that host: kyvernon vm power-off <id>.
  2. Give the virtual machine less memory: Edit settings.
  3. Move the virtual machine to a host with more free memory: kyvernon vm relocate <id> --host <host>.

error.host.not_in_maintenance

Text in the console
Host {host} is not in maintenance mode. Enter maintenance mode first, or force the reboot or shutdown.
Meaning for API clients
Reboot or shutdown needs the host in maintenance mode (or force).
Code
FAILED_PRECONDITION, HTTP 412
ArgumentWhat it holds
hostthe name of the host.

Cause. A reboot or shutdown of a host was asked for while the host is not in maintenance mode. A host in maintenance mode runs no virtual machines, so nothing stops with it.

Remedy.

  1. Enter maintenance mode first: kyvernon host enter-maintenance <id> --wait. In the console, use Enter maintenance mode.
  2. Then reboot: kyvernon host reboot <id>, or shut down: kyvernon host shutdown <id>. In the console, use Reboot.
  3. When the virtual machines on the host may stop with it, force the action: kyvernon host reboot <id> --force.

error.host.not_connected

Text in the console
Host {host} is not connected to the control plane. Retry when it is connected again.
Meaning for API clients
The host is not connected to the control plane.
Code
UNAVAILABLE, HTTP 503
ArgumentWhat it holds
hostthe name of the host.

Cause. The operation needs the host agent, and the host is not connected to the control plane: it is disconnected by an administrator, not responding, or still waiting for its agent to register.

Remedy.

  1. Look at the connection state of the host: kyvernon inventory host <id>.
  2. A host that an administrator disconnected comes back with kyvernon host reconnect <id>.
  3. A host that does not respond needs its agent running and the network to the controller: check the service kyvernon-agent on the host.

error.host_capability_missing

Text in the console
The host does not offer the capability {capability}. Choose another host, or update the host agent.
Meaning for API clients
The host did not declare the needed capability.
Code
UNIMPLEMENTED, HTTP 501
ArgumentWhat it holds
capabilitythe capability that the host lacks.

Cause. The operation needs a capability that the host did not declare. Suspending a virtual machine needs suspend-to-disk, changing the vCPUs, memory or devices of a running virtual machine needs hotplug, and live migration needs live-migration on both hosts.

Remedy.

  1. Choose a host that offers the capability. The capabilities of a host are in its record: kyvernon inventory host <id>.
  2. Update the host agent to a version that declares the capability, then reconnect the host.
  3. For a change to the vCPUs, memory or devices, power the virtual machine off first.

error.host_has_running_vms

Text in the console
The host still has running or suspended VMs; power them off or evacuate first
Meaning for API clients
Maintenance mode needs the host's VMs powered off or moved.
Code
FAILED_PRECONDITION, HTTP 412

Cause. The host cannot enter maintenance mode while virtual machines run or are suspended on it.

Remedy.

  1. Move the virtual machines to another host with Migrate, or power them off.
  2. Enter maintenance mode again: kyvernon host enter-maintenance <id>. In the console, use Enter maintenance mode.

error.host_has_vms

Text in the console
The host still has VMs; relocate or destroy them first
Meaning for API clients
The host still has VMs placed on it; relocate or destroy them first.
Code
FAILED_PRECONDITION, HTTP 412

Cause. A host with virtual machines placed on it cannot be removed. This includes virtual machines that are powered off.

Remedy.

  1. Relocate each virtual machine to another host: kyvernon vm relocate <id> --host <host>. Virtual machines that are no longer needed can be deleted.
  2. Remove the host: kyvernon host destroy <id>. In the console, use Remove host.

error.host_in_maintenance

Text in the console
The host is in maintenance mode
Meaning for API clients
The host is in maintenance mode.
Code
FAILED_PRECONDITION, HTTP 412

Cause. The operation places a virtual machine on a host that is in maintenance mode. A host in maintenance mode receives no new virtual machines.

Remedy.

  1. Choose another host.
  2. Or end maintenance mode: kyvernon host exit-maintenance <id>. In the console, use Exit maintenance mode.

Version 0.1. Last changed: 2026-11-13