Skip to content

[ML] Consider cluster.remote.connect when assigning ML jobs #46025

Closed
@droberts195

Description

@droberts195

Two different users have now run into a problem where ML datafeeds mysteriously fail when they are configured to use cross cluster search but they get assigned to nodes with cluster.remote.connect: false. This problem is very hard to debug.

We should take into account the value of the cluster.remote.connect setting during node assignment. A job whose associated datafeed uses cross cluster search should never be assigned to an ML node that has cluster.remote.connect: false. If this means no suitable ML nodes exist in the cluster then this will result in an error message being generated that explains the problem - it will be clear that either the ML nodes must have CCS enabled on them or else datafeeds cannot use CCS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions