Reference For: administrators

Plan errors

Causes and remedies for the error code raised when a self-service plan is deleted.

error.plan.in_use

Text in the console
{servers} server(s) use this plan; make it not orderable instead.
Meaning for API clients
Servers use the plan; make it not orderable instead.
Code
FAILED_PRECONDITION, HTTP 412
ArgumentWhat it holds
serversthe number of servers that use the plan.

Cause. The plan cannot be deleted while servers use it. Servers that are deleted or failed do not count.

Remedy.

  1. Stop offering the plan: set orderable to false in the plan: kyvernon plans update <id> --body-file <file>. Existing servers keep running.
  2. Move the servers to another plan: kyvernon servers resize <server> <plan>, or delete them.
  3. When no server uses the plan any more, delete it: kyvernon plans delete <id>.

See the page Plans and catalogue.

Version 0.1. Last changed: 2026-11-13