I apoligize if this is not the place to post this. I have no other idea how to debug. I am trying to deploy two nodes in us-west-2a
. I have followed the guidlines and have the following config.
cluster.name: prod-es
cloud:
aws:
access_key: HIDDEN
secret_key: HIDDEN
region: us-west-2a
discovery:
type: ec2
I obtained access_key and secret_key by going to IAM section of AWS and clicking grant all accesses. See below for screenshot.
I then changed logging to trace as suggested and restarted both nodes. However, nothing happens and the http port 9200 is never actually functional. Below is the logging when I start one of the nodes. I can't make sense. If I remove region
then everything is up but the cluster only has one node. When trying unicast, everything work. Are there any other debugging tools that I should use to see what is going on?
I can telnet to each box from the other. So I know firewall is not the issue.
[2013-06-06 05:40:25,788][INFO ][plugins ] [Elixir] loaded [cloud-aws], sites [head]
[2013-06-06 05:40:30,422][DEBUG][discovery.zen.ping.multicast] [Elixir] using group [224.2.2.4], with port [54328], ttl [3], and address [null]
[2013-06-06 05:40:30,427][DEBUG][discovery.zen.ping.unicast] [Elixir] using initial hosts [], with concurrent_connects [10]
[2013-06-06 05:40:30,429][DEBUG][discovery.ec2 ] [Elixir] using ping.timeout [3s], master_election.filter_client [true], master_election.filter_data [false]
[2013-06-06 05:40:30,430][DEBUG][discovery.zen.elect ] [Elixir] using minimum_master_nodes [-1]
[2013-06-06 05:40:30,432][DEBUG][discovery.zen.fd ] [Elixir] [master] uses ping_interval [1s], ping_timeout [30s], ping_retries [3]
[2013-06-06 05:40:30,462][DEBUG][discovery.zen.fd ] [Elixir] [node ] uses ping_interval [1s], ping_timeout [30s], ping_retries [3]
[2013-06-06 05:40:32,325][DEBUG][discovery.ec2 ] [Elixir] using ping.timeout [3s], master_election.filter_client [true], master_election.filter_data [false]
[2013-06-06 05:40:32,328][DEBUG][discovery.zen.elect ] [Elixir] using minimum_master_nodes [-1]
[2013-06-06 05:40:32,328][DEBUG][discovery.zen.fd ] [Elixir] [master] uses ping_interval [1s], ping_timeout [30s], ping_retries [3]
[2013-06-06 05:40:32,329][WARN ][transport ] [Elixir] Registered two transport handlers for action discovery/zen/fd/masterPing, handlers: org.elasticsearch.discovery.zen.fd.MasterFaultDetection$MasterPingRequestHandler@566622c9, org.elasticsearch.discovery.zen.fd.MasterFaultDetection$MasterPingRequestHandler@4b75e66f
[2013-06-06 05:40:32,329][DEBUG][discovery.zen.fd ] [Elixir] [node ] uses ping_interval [1s], ping_timeout [30s], ping_retries [3]
[2013-06-06 05:40:32,329][WARN ][transport ] [Elixir] Registered two transport handlers for action discovery/zen/fd/ping, handlers: org.elasticsearch.discovery.zen.fd.NodesFaultDetection$PingRequestHandler@296ba81d, org.elasticsearch.discovery.zen.fd.NodesFaultDetection$PingRequestHandler@5aea1d29
[2013-06-06 05:40:32,330][WARN ][transport ] [Elixir] Registered two transport handlers for action discovery/zen/publish, handlers: org.elasticsearch.discovery.zen.publish.PublishClusterStateAction$PublishClusterStateRequestHandler@40209d60, org.elasticsearch.discovery.zen.publish.PublishClusterStateAction$PublishClusterStateRequestHandler@1d3c2a84
[2013-06-06 05:40:32,332][WARN ][transport ] [Elixir] Registered two transport handlers for action discovery/zen/join, handlers: org.elasticsearch.discovery.zen.membership.MembershipAction$JoinRequestRequestHandler@590b4f1a, org.elasticsearch.discovery.zen.membership.MembershipAction$JoinRequestRequestHandler@757661a1
[2013-06-06 05:40:32,332][WARN ][transport ] [Elixir] Registered two transport handlers for action discovery/zen/join/validate, handlers: org.elasticsearch.discovery.zen.membership.MembershipAction$ValidateJoinRequestRequestHandler@2f03cd46, org.elasticsearch.discovery.zen.membership.MembershipAction$ValidateJoinRequestRequestHandler@2299c6c7
[2013-06-06 05:40:32,333][WARN ][transport ] [Elixir] Registered two transport handlers for action discovery/zen/leave, handlers: org.elasticsearch.discovery.zen.membership.MembershipAction$LeaveRequestRequestHandler@1dc94490, org.elasticsearch.discovery.zen.membership.MembershipAction$LeaveRequestRequestHandler@8b45937
[2013-06-06 05:40:32,333][WARN ][transport ] [Elixir] Registered two transport handlers for action discovery/zen/rejoin, handlers: org.elasticsearch.discovery.zen.ZenDiscovery$RejoinClusterRequestHandler@784d2e57, org.elasticsearch.discovery.zen.ZenDiscovery$RejoinClusterRequestHandler@131d8f75
[2013-06-06 05:40:32,334][DEBUG][discovery.ec2 ] [Elixir] using host_type [PRIVATE_IP], tags [{}], groups [[]] with any_group [true], availability_zones [[]]
[2013-06-06 05:40:33,776][DEBUG][gateway.local ] [Elixir] using initial_shards [quorum], list_timeout [30s]
[2013-06-06 05:40:35,117][DEBUG][gateway.local.state.meta ] [Elixir] using gateway.local.auto_import_dangled [YES], with gateway.local.dangling_timeout [2h]
[2013-06-06 05:40:35,312][DEBUG][gateway.local.state.meta ] [Elixir] took 192ms to load state
[2013-06-06 05:40:35,312][DEBUG][gateway.local.state.shards] [Elixir] took 0s to load started shards state
``