Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify bootstrap check failure messages (elastic#67501)
Today a bootstrap check failure results in a multi-line log message, for example: [ERROR][o.e.b.Bootstrap ] node validation exception [2] bootstrap checks failed [1]: system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk [2]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured We get frequent questions about bootstrap check failures that indicate some users see the `bootstrap checks failed` message but struggle to see that the actionable details are on the following lines. This commit adds extra information to this message to help link the lines together and lead users more explicitly from the top-level failure down to the actions they need to take: [ERROR][o.e.b.Bootstrap ] node validation exception [2] bootstrap checks failed. You must address the points described in the following [2] lines before starting Elasticsearch. bootstrap check failure [1] of [2]: system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk bootstrap check failure [2] of [2]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
- Loading branch information