Skip to content

[CCS] improve response when node is not allowed to open remote connections in CCS  #37863

@LucaWintergerst

Description

@LucaWintergerst

If a node has cluster.remote.connect: false configured, that node will behave in the following way:

Request: GET remote_cluster:*/_search
Response: {}

The node also does not log anything that would indicate that the setting is the cause of the empty response.
CCS should give additional output why the response is empty so this can be handled by the downstream applications. Otherwise this misconfiguration can be easy to miss and very hard to troubleshoot.

@dimitris-athanasiou and @droberts195 are happy to discuss and elaborate more if necessary
We caught this when we were troubleshooting why dedicated ML nodes were not working for a user

Metadata

Metadata

Assignees

Labels

:Search/SearchSearch-related issues that do not fall into other categories

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions