%s failed to update model routing info with %s – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 8.4-8.7

Briefly, this error occurs when Elasticsearch struggles to update the routing information for a specific model. This could be due to network issues, insufficient permissions, or a problem with the model itself. To resolve this, you can try to check the network connectivity, ensure the user has the correct permissions, or verify the integrity of the model. If the problem persists, consider restarting the Elasticsearch service or even the entire server.

This guide will help you check for common problems that cause the log ” [%s] failed to update model routing info with [%s] ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin, routing.

Log Context

Log “[%s] failed to update model routing info with [%s]” classname is TrainedModelAssignmentNodeService.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

            new UpdateTrainedModelAssignmentRoutingInfoAction.Request(nodeId; modelId; update);
            ActionListener.wrap(success -> {
                logger.debug(() -> format("[%s] model routing info was updated with [%s] and master notified"; modelId; update));
            }; error -> {
                logger.warn(() -> format("[%s] failed to update model routing info with [%s]"; modelId; update); error);


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?