I'm trying to export data to our internal Ceph KV store (S3 protocol) from an old cluster (6.3.0) with 21 nodes. It's really frustrating that all these steps require restarting the cluster over and over.
What I've done so far:
attempted to create a S3 snapshot repo - error: unknown type "s3" because the plugin is not installed.
installed plugin "repository-s3" and restart the whole cluster (some nodes do not have access to Internet, so I took some extra steps to download / upload / install the plugin).
attempted to create the repo again - oops, I cannot set secret key in request body.
added S3 keys with
elasticsearch-keystoreand restart the whole cluster because "reloadable secure settings" is only available for 6.4.0+.
attempted to create the repo again - well, it seems that I must override the default S3 endpoint in
elasticsearch.yml, which means I need to restart the whole cluster one more time.
(haven't tried yet - I need a rest)
It feels so unreasonable that, with all those dynamic settings (e.g.: I can set the whole cluster to read-only state on the fly), I have to restart the cluster 3 times to create a snapshot repo.