AWS IAM 角色不适用于 Elasticsearch 5.0.0-alpha2,但适用于 2.3 版本
AWS IAM role not working with Elasticsearch 5.0.0-alpha2, but works with 2.3 version
我正在尝试将 AWS IAM 角色与 Elasticsearch 5.0.0-alpha2 和 EC2 发现插件一起使用,但它似乎无法正常工作,并且出现以下错误:
"Exception while retrieving instance list from AWS API: Authorization
header or parameters are not formatted correctly. (Service: AmazonEC2;
Status Code: 401; Error Code: AuthFailure"
我在 jdk8 中使用以下配置:
cluster.name: "test-cluster"
cloud.aws.region: "us-west-2"
cloud.aws.ec2.region: "us-west-2"
cloud.aws.ec2.protocol: "http"
discovery.type: "ec2"
#bootstrap.mlockall: true
node.master: true
node.data: false
node.name: ${HOSTNAME}-Master
discovery.zen.minimum_master_nodes: 1
network.host: _ec2:privateIp_
discovery.ec2.any_group: true
discovery.ec2.groups : sg-9d856tfe
但是,相同的配置适用于 Elasticsearch 2.3 版本。有没有人在使用最新的 Elasticsearch 5.0.0-alpha2 版本时遇到同样的问题?
这是他们最新版本中的错误。我在 github 上的 elasticsearch 存储库中将其作为错误提出。看来他们现在已经解决了这个问题。详情请参考下方link:
https://github.com/elastic/elasticsearch/issues/18652
我正在尝试将 AWS IAM 角色与 Elasticsearch 5.0.0-alpha2 和 EC2 发现插件一起使用,但它似乎无法正常工作,并且出现以下错误:
"Exception while retrieving instance list from AWS API: Authorization header or parameters are not formatted correctly. (Service: AmazonEC2; Status Code: 401; Error Code: AuthFailure"
我在 jdk8 中使用以下配置:
cluster.name: "test-cluster"
cloud.aws.region: "us-west-2"
cloud.aws.ec2.region: "us-west-2"
cloud.aws.ec2.protocol: "http"
discovery.type: "ec2"
#bootstrap.mlockall: true
node.master: true
node.data: false
node.name: ${HOSTNAME}-Master
discovery.zen.minimum_master_nodes: 1
network.host: _ec2:privateIp_
discovery.ec2.any_group: true
discovery.ec2.groups : sg-9d856tfe
但是,相同的配置适用于 Elasticsearch 2.3 版本。有没有人在使用最新的 Elasticsearch 5.0.0-alpha2 版本时遇到同样的问题?
这是他们最新版本中的错误。我在 github 上的 elasticsearch 存储库中将其作为错误提出。看来他们现在已经解决了这个问题。详情请参考下方link: https://github.com/elastic/elasticsearch/issues/18652