Skip to content
This repository has been archived by the owner on Nov 7, 2018. It is now read-only.

Reloadable secure settings or restart master #228

Open
amih90 opened this issue Sep 13, 2018 · 0 comments
Open

Reloadable secure settings or restart master #228

amih90 opened this issue Sep 13, 2018 · 0 comments

Comments

@amih90
Copy link

amih90 commented Sep 13, 2018

I am trying to configure Google Cloud Storage for snapshot and restore by following
this tutorial.

After I add the credentials via elasticsearch-keystore, I should reload the secure settings by
POST _nodes/reload_secure_settings according to the API version 6.4.
https://www.elastic.co/guide/en/elasticsearch/reference/6.4/secure-settings.html#reloadable-secure-settings

but the request fail!
{ "error":"Incorrect HTTP method for uri [/_nodes/reload_secure_settings] and method [POST], allowed: [GET]", "status":405 }
when trying with GET I received
{"_nodes":{"total":0,"successful":0,"failed":0},"cluster_name":"myesdb","nodes":{}}
which I infer it didn't reloaded. In addition to the error i get when trying to create a snapshot
curl -X PUT "my_ip:9200/_snapshot/my_gcs_repository" -H 'Content-Type: application/json' -d' { "type": "gcs", "settings": { "bucket": "mybucket", "client": "my_cliend" } }

I've tried restart the service inside the pod but I couldn't manage it.
executing /elasticsearch/bin/elasticsearch fails because elasticsearch cannot restart by root.

  1. when elasticsearch version will bump to 6.4?
  2. how I can reload settings in keystore in the current version?
  3. there is a way to restart elasticsearch service within the pod?

Thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant