error.task.secrets_lost
- Text in the console
- The task's guest user data or passwords were kept in memory only and were lost when the controller restarted. Start the operation again.
- Meaning for API clients
- The task's secret parameters lived only in the memory of a controller that restarted or lost leadership; submit the operation again.
- Code
FAILED_PRECONDITION, HTTP 412
Cause. The task carried secret parameters, such as the user data or the passwords of a server. Kyvernon keeps those in the memory of the controller that accepted the task and never writes them to disk. That controller restarted, or leadership moved to another controller, before the task ran. The secrets are gone.
Remedy.
- Start the operation again with the same parameters, for example
kyvernon servers <tenant> create <hostname> --plan <plan> --image <image> --password. - Check the task that failed first:
kyvernon tasks get <id>. A server that the failed task half created can be deleted before you try again. - When it repeats, an administrator checks why the controller restarts. Pass on the message id and the time.