Ich verwende elasticsearch 2.3.0 mit installiertem cloud-aws-Plugin. Ich versuche, mit dem cloud-aws-Plugin einen Snapshot auf Google Cloud Storage zu erstellen, da ich weiß, dass Google-Speicher mit S3 kompatibel ist.Elasticsearch SignatureDoesNotMatch-Fehler beim Erstellen eines Snapshots auf GCS mit s3
folgte ich diese Dokumentation https://cloud.google.com/storage/docs/migrating#keys
für die so genannte "Migration" Teil.
Leider diesen Fehler Ich erhalte: Error Code: SignatureDoesNotMatch
Hier ist der Rest Anruf Ich schicke:
curl -XPUT http://XXX:9200/_snapshot/google-test-repo -d '{
"type": "s3",
"settings": {
"endpoint": "storage.googleapis.com",
"bucket": "/my-bucket",
"base_path": "mydirectory",
"access_key": "my-google-dev-key",
"secret_key": "my-google-secret-key"
}
}'
Ad Dies ist die Antwort:
{
"error": {
"root_cause": [
{
"type": "repository_verification_exception",
"reason": "[google-test-repo] path [mydirectory] is not accessible on master node"
}
],
"type": "repository_verification_exception",
"reason": "[google-test-repo] path [mydirectory] is not accessible on master node",
"caused_by": {
"type": "i_o_exception",
"reason": "Unable to upload object mydirectory/tests-C4S-4T6FS1CIMkvjebOMBw/master.dat-temp",
"caused_by": {
"type": "amazon_s3_exception",
"reason": "The request signature we calculated does not match the signature you provided. Check your Google secret key and signing method. (Service: Amazon S3; Status Code: 403; Error Code: SignatureDoesNotMatch; Request ID: null)"
}
}
},
"status": 500
}
kann jemand helfen mir bitte?