Nodes failed to run deprecation checks – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 6.8-8.9

Briefly, this error occurs when Elasticsearch nodes are unable to perform deprecation checks. This could be due to insufficient permissions, network issues, or a problem with the Elasticsearch version. To resolve this, you can ensure that the user running Elasticsearch has the necessary permissions, check your network connectivity, or verify that you’re running a compatible version of Elasticsearch. Additionally, check your Elasticsearch logs for more detailed error messages that could help identify the problem.

This guide will help you check for common problems that cause the log ” nodes failed to run deprecation checks: {} ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin, deprecation.

Log Context

Log “nodes failed to run deprecation checks: {}” classname is TransportDeprecationInfoAction.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

                if (response.hasFailures()) {
                    List failedNodeIds = response.failures()
                        .stream()
                        .map(failure -> failure.nodeId() + ": " + failure.getMessage())
                        .collect(Collectors.toList());
                    logger.warn("nodes failed to run deprecation checks: {}"; failedNodeIds);
                    for (FailedNodeException failure : response.failures()) {
                        logger.debug("node {} failed to run deprecation checks: {}"; failure.nodeId(); failure);
                    }
                }

 

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?