You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When creating a cluster with a name other than the default name opensearch-cluster-master, opensearch tries to connect to the opensearch-cluster-master-headless To Reproduce
Steps to reproduce the behavior:
Create an opensearch.yml configuration and change the fields clusterName and nodeGroup to something other than opensearch-cluster and master and then try running the chart. The services will throw an exception. In my case, the yaml file is
Expected behavior
Should try to connect to the host opensearch-next-cluster-manager-headless instead or perhaps include a field to override the hostname. I could not find anything in the documentation that looks like I can override the host
Chart Name
opensearch Chart Version
2.15.0
Host/Environment (please complete the following information):
So i was passing in the opensearch.yml as a template variable like so
config:
opensearch.yml: |- ${opensearch.yml}
and in that template I was trying to pass in a variable within the template cluster.name: ${clustername} but this didn't pass in the variable, instead passing in the string "${clustername}". Fixed the issue but just changing it from a variable to a string
Describe the bug
When creating a cluster with a name other than the default name
opensearch-cluster-master
, opensearch tries to connect to theopensearch-cluster-master-headless
To Reproduce
Steps to reproduce the behavior:
Create an opensearch.yml configuration and change the fields
clusterName
andnodeGroup
to something other thanopensearch-cluster
andmaster
and then try running the chart. The services will throw an exception. In my case, the yaml file isExpected behavior
Should try to connect to the host
opensearch-next-cluster-manager-headless
instead or perhaps include a field to override the hostname. I could not find anything in the documentation that looks like I can override the hostChart Name
opensearch
Chart Version
2.15.0
Host/Environment (please complete the following information):
Additional context
full stack trace
The text was updated successfully, but these errors were encountered: