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
| Argument | What it holds |
|---|---|
servers | the 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.
- Stop offering the plan: set
orderableto false in the plan:kyvernon plans update <id> --body-file <file>. Existing servers keep running. - Move the servers to another plan:
kyvernon servers resize <server> <plan>, or delete them. - When no server uses the plan any more, delete it:
kyvernon plans delete <id>.
See the page Plans and catalogue.