Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
2.18.0
Describe the issue:
I have issue in run the Transform jobs in opensaerch, when I try to search logs I only see very less logs from the data role nodes, but not see my transform node log indicate anyting about the transform error.
So I try to troubleshoot the transform role node, and call _cat/nodes API with ‘v’ parameter.
to my surprise, I see there are 2 columes in the response body relate to node role:
in node.roles
, i can see the disired node has transform
role configured.
however in node.role
node it shows differently, like the node is not really taking the transfrom role.
(see screenshot, it only show irs, means ingest, remote_cluster_client and search.
i expect to see a “t” in the colume, but it is not there.
i checked the pod log, only 2 info level messages:
[2025-01-02T03:58:33,638][INFO ][o.o.n.Node ] [ssdl-app-logging-opensearch-i-s-t-r-0] node name [ssdl-app-logging-opensearch-i-s-t-r-0], node ID [kQnyuv98ST20XKXmW5198A], cluster name [ssdl-app-logging-opensearch], roles [ingest, remote_cluster_client, transform, search]
[2025-01-02T03:58:42,237][INFO ][o.o.d.PeerFinder ] [ssdl-app-logging-opensearch-i-s-t-r-0] setting findPeersInterval to [1s] as node commission status = [true] for local node [{ssdl-app-logging-opensearch-i-s-t-r-0}{kQnyuv98ST20XKXmW5198A}{qZ45O-QqQei8bid866UFfQ}{100.104.15.84}{100.104.15.84:9300}{irstransform}{shard_indexing_pressure_enabled=true}]
so my questions are:
- why the transform job mesasge appears in data node in my cluster?
- why the transform role node doesn’t has ‘t’ mark in _cat/nodes response body?
Configuration:
p.s: my cluster was implemented by opensearch-operator.
a part of the OS CR is:
- component: i-s-t-r
… …
roles:
- “ingest”
- “search”
- “transform”
- “remote_cluster_client”
Relevant Logs or Screenshots: