Reference For: administrators

Datacenter errors

Causes and remedies for the error codes of datacenters.

error.datacenter.not_empty

Text in the console
Datacenter {datacenter} still holds clusters, hosts, virtual machines, networks or datastores. Move or remove them first.
Meaning for API clients
The datacenter still holds clusters, hosts, virtual machines, networks or datastores.
Code
FAILED_PRECONDITION, HTTP 412
ArgumentWhat it holds
datacenterthe name of the datacenter.

Cause. A datacenter is deleted only when it is empty: no clusters, hosts, virtual machines, templates, networks or datastores below it. Its own folders for virtual machines, hosts, networks and datastores (and empty folders inside them) go with it.

Remedy.

  1. Look at what the datacenter holds: kyvernon inventory children <id>, and the same for its folders.
  2. Move virtual machines and hosts to another datacenter, or remove them: kyvernon vm relocate <id> --host <host>, kyvernon host destroy <id>.
  3. Remove networks and datastores: kyvernon network delete <id>, kyvernon datastore remove <id>.
  4. Delete the datacenter again: kyvernon inventory delete-datacenter <id>.

Version 0.1. Last changed: 2026-11-13