Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
2.4.0
Describe the issue:
I have 3 opensearch nodes, 1 master and 2 data (+master)
when I shutdown the two data nodes and start one of them back
it fails to start.
as far as I understand it should be able to start with only 2 nodes.
Configuration:
opensearch.yml
1
plugins.security.ssl.transport.pemcert_filepath: certificates/elk-transport-crt.pem
plugins.security.ssl.transport.pemkey_filepath: certificates/elk-transport-key.pem
plugins.security.ssl.transport.pemtrustedcas_filepath: certificates/elastic_ca.pem
plugins.security.ssl.transport.enforce_hostname_verification: false
plugins.security.ssl.http.enabled: true
plugins.security.ssl.http.pemcert_filepath: certificates/elk-node-crt.pem
plugins.security.ssl.http.pemkey_filepath: certificates/elk-node-key.pem
plugins.security.ssl.http.pemtrustedcas_filepath: certificates/elastic_ca.pem
plugins.security.allow_unsafe_democertificates: true
plugins.security.allow_default_init_securityindex: true
plugins.security.authcz.admin_dn:
- âCN=CONTROL-M_EM_ES_admin,O=ChangeMe,L=ChangeMeL,ST=ChangeMeST,C=CMâ
plugins.security.enable_snapshot_restore_privilege: true
plugins.security.check_snapshot_restore_write_privileges: true
plugins.security.restapi.roles_enabled: [âall_accessâ, âsecurity_rest_api_accessâ]
plugins.security.system_indices.enabled: true
plugins.security.system_indices.indices: [â.plugins-ml-modelâ, â.plugins-ml-taskâ, â.opendistro-alerting-configâ, â.opendistro-alerting-alert*â, â.opendistro-anomaly-results*â, â.opendistro-anomaly-detector*â, â.opendistro-anomaly-checkpointsâ, â.opendistro-anomaly-detection-stateâ, â.opendistro-reports-", ".opensearch-notifications-â, â.opensearch-notebooksâ, â.opensearch-observabilityâ, â.opendistro-asynchronous-search-response*â, â.replication-metadata-storeâ]
node.max_local_storage_nodes: 3
cluster.name: workflow_insights_cluster
network.host: 0
node.name: px-b24df8b7
node.roles: [âingestâ,âmasterâ,âremote_cluster_clientâ]
http.port: 19200
transport.port: 19300
cluster.initial_master_nodes: [âpx-6cb6045bâ]
discovery.seed_hosts: [âpx-b24df8b7â, âpx-3e381f9fâ, âpx-6cb6045bâ]
plugins.security.nodes_dn:
- âCN=CONTROL-M_EM_ES_transport,O=ChangeMe,L=ChangeMeL,ST=ChangeMeST,C=CMâ
path.logs: /home/pxone1/ctm_em/log/services/workflow_insights
2
opensearch.yml
plugins.security.ssl.transport.pemcert_filepath: certificates/elk-transport-crt.pem
plugins.security.ssl.transport.pemkey_filepath: certificates/elk-transport-key.pem
plugins.security.ssl.transport.pemtrustedcas_filepath: certificates/elastic_ca.pem
plugins.security.ssl.transport.enforce_hostname_verification: false
plugins.security.ssl.http.enabled: true
plugins.security.ssl.http.pemcert_filepath: certificates/elk-node-crt.pem
plugins.security.ssl.http.pemkey_filepath: certificates/elk-node-key.pem
plugins.security.ssl.http.pemtrustedcas_filepath: certificates/elastic_ca.pem
plugins.security.allow_unsafe_democertificates: true
plugins.security.allow_default_init_securityindex: true
plugins.security.authcz.admin_dn:
- âCN=CONTROL-M_EM_ES_admin,O=ChangeMe,L=ChangeMeL,ST=ChangeMeST,C=CMâ
plugins.security.enable_snapshot_restore_privilege: true
plugins.security.check_snapshot_restore_write_privileges: true
plugins.security.restapi.roles_enabled: [âall_accessâ, âsecurity_rest_api_accessâ]
plugins.security.system_indices.enabled: true
plugins.security.system_indices.indices: [â.plugins-ml-modelâ, â.plugins-ml-taskâ, â.opendistro-alerting-configâ, â.opendistro-alerting-alert*â, â.opendistro-anomaly-results*â, â.opendistro-anomaly-detector*â, â.opendistro-anomaly-checkpointsâ, â.opendistro-anomaly-detection-stateâ, â.opendistro-reports-", ".opensearch-notifications-â, â.opensearch-notebooksâ, â.opensearch-observabilityâ, â.opendistro-asynchronous-search-response*â, â.replication-metadata-storeâ]
node.max_local_storage_nodes: 3
path.logs: /home/pxem1/ctm_em/log/services/workflow_insights
cluster.name: workflow_insights_cluster
network.host: 0
node.name: px-3e381f9f
node.roles: [âdataâ,âingestâ,âmasterâ,âremote_cluster_clientâ]
action.auto_create_index: false
bootstrap.memory_lock: true
http.port: 19200
transport.port: 19300
cluster.initial_master_nodes: [âpx-6cb6045bâ]
discovery.seed_hosts: [âpx-3e381f9fâ, âpx-b24df8b7â, âpx-6cb6045bâ]
plugins.security.nodes_dn:
- âCN=CONTROL-M_EM_ES_transport,O=ChangeMe,L=ChangeMeL,ST=ChangeMeST,C=CMâ
3
opensearch.yml
plugins.security.ssl.transport.pemcert_filepath: certificates/elk-transport-crt.pem
plugins.security.ssl.transport.pemkey_filepath: certificates/elk-transport-key.pem
plugins.security.ssl.transport.pemtrustedcas_filepath: certificates/elastic_ca.pem
plugins.security.ssl.transport.enforce_hostname_verification: false
plugins.security.ssl.http.enabled: true
plugins.security.ssl.http.pemcert_filepath: certificates/elk-node-crt.pem
plugins.security.ssl.http.pemkey_filepath: certificates/elk-node-key.pem
plugins.security.ssl.http.pemtrustedcas_filepath: certificates/elastic_ca.pem
plugins.security.allow_unsafe_democertificates: true
plugins.security.allow_default_init_securityindex: true
plugins.security.authcz.admin_dn:
- âCN=CONTROL-M_EM_ES_admin,O=ChangeMe,L=ChangeMeL,ST=ChangeMeST,C=CMâ
plugins.security.enable_snapshot_restore_privilege: true
plugins.security.check_snapshot_restore_write_privileges: true
plugins.security.restapi.roles_enabled: [âall_accessâ, âsecurity_rest_api_accessâ]
plugins.security.system_indices.enabled: true
plugins.security.system_indices.indices: [â.plugins-ml-modelâ, â.plugins-ml-taskâ, â.opendistro-alerting-configâ, â.opendistro-alerting-alert*â, â.opendistro-anomaly-results*â, â.opendistro-anomaly-detector*â, â.opendistro-anomaly-checkpointsâ, â.opendistro-anomaly-detection-stateâ, â.opendistro-reports-", ".opensearch-notifications-â, â.opensearch-notebooksâ, â.opensearch-observabilityâ, â.opendistro-asynchronous-search-response*â, â.replication-metadata-storeâ]
node.max_local_storage_nodes: 3
path.logs: /home/pxem1/ctm_em/log/services/workflow_insights
cluster.name: workflow_insights_cluster
network.host: 0
node.name: px-6cb6045b
node.roles: [âinitial_masterâ,âdataâ,âingestâ,âmasterâ,âremote_cluster_clientâ]
action.auto_create_index: false
bootstrap.memory_lock: true
http.port: 19200
transport.port: 19300
cluster.initial_master_nodes: [âpx-6cb6045bâ]
discovery.seed_hosts: [âpx-6cb6045bâ, âpx-3e381f9fâ, âpx-b24df8b7â]
plugins.security.nodes_dn:
- âCN=CONTROL-M_EM_ES_transport,O=ChangeMe,L=ChangeMeL,ST=ChangeMeST,C=CMâ
Relevant Logs or Screenshots:
opensearch log:
when I try to run securityadmin: