Не могу зарегистрировать быстрое хранилище в Elasticsearch

Bonjour,

Я отчаянно пытаюсь зарегистрировать репозиторий, используя swift, но это выглядит так:

/usr/share/elasticsearch/plugins/swift-    repository$ curl -i 'http://localhost:9200/_snapshot/my_backup2?pretty' -d '{"type": "swift","settings": {"swift_url": "https://api.storage.pagesjaunes.fr/auth/v1.0","swift_container": "elasticsnap2","swift_username": "xxxx", "swift_password": "xxxx"}}'
HTTP/1.1 500 Internal Server Error
Content-Type: application/json; charset=UTF-8
Content-Length: 391

{
  "error" : {
"root_cause" : [ {
  "type" : "repository_exception",
  "reason" : "[my_backup2] failed to create repository"
} ],
"type" : "repository_exception",
"reason" : "[my_backup2] failed to create repository",
"caused_by" : {
  "type" : "illegal_argument_exception",
  "reason" : "Unknown [repository] type [swift]"
}
},
"status" : 500

Плагин был хорошо установлен:

$ sudo /usr/share/elasticsearch/bin/plugin install file:/var/tmp/swift-repository-plugin-2.3.5.zip
-> Installing from file:/var/tmp/swift-repository-plugin-2.3.5.zip...
Trying file:/var/tmp/swift-repository-plugin-2.3.5.zip ...
Downloading ............................DONE
Verifying file:/var/tmp/swift-repository-plugin-2.3.5.zip checksums if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@     WARNING: plugin requires additional permissions     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.lang.reflect.ReflectPermission suppressAccessChecks
See http://docs.oracle.com/javase/8/docs/technotes/guides/security   /permissions.html
 for descriptions of what these permissions allow and the associated risks.

Continue with installation? [y/N]y
Installed swift-repository into /usr/share/elasticsearch/plugins/swift-repository

Кажется, это было зарегистрировано при повторном запуске процесса эластичного поиска:

[2017-12-18 09:43:12,682][INFO ][node                     ] [rccsearch01ppg] initializing ...
[2017-12-18 09:43:13,206][INFO ][plugins                  ]   [rccsearch01ppg] modules [reindex, lang-expression, lang-groovy], plugins [swift-repository], sites []

Но когда я захожу в curl -XGET ' http://localhost:9200/_nodes/_plugins/?pretty', он говорит:

{
  "cluster_name" : "elasticsearch-cluster-rcc",
  "nodes" : { }
}

У меня есть 5 узлов в этом подготовительном кластере, а производственный работает как шарм.

Есть ли у вас какие-либо подсказки?

Chocolatinement,

0 ответов

Другие вопросы по тегам