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
Bootstrapping nodes with legacy settings (node.master, node.data, node.ingest) is deprecated with OS 2.x, node.roles should be used instead.
Reason being presently because of a bug in OpenSearch opensearch-project/OpenSearch#6103, using node.master: true configures both cluster_manager and master role to a node, which is now being fixed and this deprecated setting will configure only deprecated master role only to a node instead of new cluster_manager to a node as node.master is a legacy setting. Also, master role will be deprecated entirely in future, which will then break usage of node.master entirely.
As testing out a cluster configuration, I have tried bootstrapping nodes with cluster_manager and remote_cluster_client in node.roles which spins up cluster fine for OS 2.5.
Need to check whether we require remote_cluster_client role to be set additionally as node.master setting also sets up this role.
Is there a plan to branch out this package separately for different OS major versions?
The text was updated successfully, but these errors were encountered:
The required changes have already been added by @dreamer-89.
To make sure we don't break 1.x line as it only supports legacy settings we have created a new branch 1.x to make sure people who want to test using 1.x line are still able to do so. @sandeshkr419@bbarani
Is your feature request related to a problem?
Bootstrapping nodes with legacy settings (
node.master
,node.data
,node.ingest
) is deprecated with OS 2.x,node.roles
should be used instead.Reason being presently because of a bug in OpenSearch opensearch-project/OpenSearch#6103, using
node.master: true
configures bothcluster_manager
andmaster
role to a node, which is now being fixed and this deprecated setting will configure only deprecatedmaster
role only to a node instead of newcluster_manager
to a node asnode.master
is a legacy setting. Also,master
role will be deprecated entirely in future, which will then break usage ofnode.master
entirely.What solution would you like?
Use of
node.roles
withcluster_manager
(wherevermaster
role was set initially) instead of legacy settings to bootstrap nodes in https://github.com/opensearch-project/opensearch-cluster-cdk/blob/main/lib/opensearch-config/multi-node-base-config.yml for OS 2.0 and above.What alternatives have you considered?
Bootstrapping nodes with
node.roles
Do you have any additional context?
As testing out a cluster configuration, I have tried bootstrapping nodes with
cluster_manager
andremote_cluster_client
innode.roles
which spins up cluster fine for OS 2.5.remote_cluster_client
role to be set additionally asnode.master
setting also sets up this role.The text was updated successfully, but these errors were encountered: