Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
elasticsearch 7.10.2
opendistro 1.13.1.0
to
Opensearch 2.4.0
Describe the issue:
My stack is composed of a set of docker containers managed by docker swarm,
I try to migrate es to opensearch using “full stack” method i.e. :
undeploying stack keeping only data volume for data and master nodes.
redeploying stack in opensearch
I use security ssl throught opendistro-security plugin and opensearch security plugin
A set of problems happens:
security index is not accessible from master (connect as null) : solution is to remove plugins.security.ssl.http.clientauth_mode: NONE from opensearch.yml
after this last operation security index becomes accessible from master (securityadmin.sh) but cluster is red.
on data nodes : first a mapping problem appear on .kibana_1 index:
java.lang.IllegalStateException: unable to upgrade the mappings for the index [[.kibana_1/t0tbokbhTq-INNPj19uujw]]
Likely root cause: MapperParsingException[No handler for type [flattened] declared on field [state]]
, removing this resolves the problem but cluster keep red.
on master node:
Trying to reload security config :
fails for each config file: config.yml , roles.yml …
Will update ‘/config’ with ./config.yml
FAIL: Configuration for ‘config’ failed because of java.net.SocketTimeoutException: 30,000 milliseconds timeout on connection http-outgoing-6 [ACTIVE]
on client node : always fails :
ERROR: [1] bootstrap checks failed
So is it possible to migrate by full stack down/up from elasticsearch 7.10.2 to opensearch 2.4.0 with ssl security activated ?
Configuration:
config elasticsearch
config opensearch
Relevant Logs or Screenshots: