Failed to delete shutdown for node request getNodeId – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 8.3-8.9

Briefly, this error occurs when Elasticsearch fails to delete a shutdown request for a specific node, identified by its node ID. This could be due to a network issue, a node failure, or a problem with the cluster’s state. To resolve this issue, you can try restarting the node or the entire cluster. If the problem persists, check the cluster’s health and logs for any anomalies. You may also need to manually delete the shutdown request if it’s stuck due to a bug or a system error.

This guide will help you check for common problems that cause the log ” failed to delete shutdown for node [” + request.getNodeId() + “] ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin, delete, node, request.

Log Context

Log “failed to delete shutdown for node [” + request.getNodeId() + “]” classname is TransportDeleteShutdownNodeAction.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

    // package private for tests
    record DeleteShutdownNodeTask(Request request; ActionListener listener) implements ClusterStateTaskListener {
        @Override
        public void onFailure(Exception e) {
            logger.error(() -> "failed to delete shutdown for node [" + request.getNodeId() + "]"; e);
            listener.onFailure(e);
        }
    }

    // package private for tests

 

 [ratemypost]