{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/nomad/issues/1140","repository_url":"https://api.github.com/repos/hashicorp/nomad","labels_url":"https://api.github.com/repos/hashicorp/nomad/issues/1140/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/nomad/issues/1140/comments","events_url":"https://api.github.com/repos/hashicorp/nomad/issues/1140/events","html_url":"https://github.com/hashicorp/nomad/issues/1140","id":152525262,"number":1140,"title":"Nomad thinks address of all other servers is 127.0.0.1","user":{"login":"grobinson-blockchain","id":13755880,"avatar_url":"https://avatars.githubusercontent.com/u/13755880?v=3","gravatar_id":"","url":"https://api.github.com/users/grobinson-blockchain","html_url":"https://github.com/grobinson-blockchain","followers_url":"https://api.github.com/users/grobinson-blockchain/followers","following_url":"https://api.github.com/users/grobinson-blockchain/following{/other_user}","gists_url":"https://api.github.com/users/grobinson-blockchain/gists{/gist_id}","starred_url":"https://api.github.com/users/grobinson-blockchain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grobinson-blockchain/subscriptions","organizations_url":"https://api.github.com/users/grobinson-blockchain/orgs","repos_url":"https://api.github.com/users/grobinson-blockchain/repos","events_url":"https://api.github.com/users/grobinson-blockchain/events{/privacy}","received_events_url":"https://api.github.com/users/grobinson-blockchain/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-05-02T10:08:27Z","updated_at":"2016-10-13T20:25:28Z","closed_at":"2016-05-24T16:48:55Z","body":"### Nomad version\r\nNomad v0.3.2\r\n\r\n### Operating system and Environment details\r\nLinux consul-master-eu-west-1 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29) x86_64 GNU/Linux\r\n\r\n### Issue\r\nI've upgraded Nomad from v0.3.1 to v0.3.2 and restarted each of the servers in turn. Nomad is now unable to elect a leader because it thinks all other servers are reachable on 127.0.0.1:\r\n\r\n    Name                            Address    Port  Status  Leader  Protocol  Build  Datacenter    Region\r\n    consul-master-eu-west-1.europe  127.0.0.1  4648  alive   false   2         0.3.2  europe-west1  europe\r\n    consul-master-eu-west-2.europe  127.0.0.1  4648  failed  false   2         0.3.2  europe-west1  europe\r\n    consul-master-eu-west-3.europe  127.0.0.1  4648  failed  false   2         0.3.2  europe-west1  europe\r\n\r\nThe configuration of each node has the following format (substituing the correct IP address):\r\n\r\n    {\r\n      \"advertise\": {\r\n        \"rpc\": \"10.133.0.4:4647\"\r\n      },\r\n      \"bind_addr\": \"0.0.0.0\",\r\n      \"client\": {\r\n        \"enabled\": false\r\n      },\r\n      \"data_dir\": \"/var/nomad\",\r\n      \"datacenter\": \"europe-west1\",\r\n      \"region\": \"europe\",\r\n      \"server\": {\r\n        \"bootstrap_expect\": 3,\r\n        \"enabled\": true\r\n      }\r\n    }\r\n\r\n### Nomad Server logs (if appropriate)\r\n\r\nThe same pattern of errors is visible in the logs of all server nodes:\r\n\r\n    May  2 10:06:32 consul-master-eu-west-1 nomad[24615]: 2016/05/02 10:06:32 [INFO] serf: attempting reconnect to consul-master-eu-west-3.europe 127.0.0.1:4648\r\n    May  2 10:07:02 consul-master-eu-west-1 nomad[24615]: 2016/05/02 10:07:02 [INFO] serf: attempting reconnect to consul-master-eu-west-2.europe 127.0.0.1:4648\r\n    May  2 10:07:32 consul-master-eu-west-1 nomad[24615]: 2016/05/02 10:07:32 [INFO] serf: attempting reconnect to consul-master-eu-west-2.europe 127.0.0.1:4648"},"comment":{"url":"https://api.github.com/repos/hashicorp/nomad/issues/comments/253628485","html_url":"https://github.com/hashicorp/nomad/issues/1140#issuecomment-253628485","issue_url":"https://api.github.com/repos/hashicorp/nomad/issues/1140","id":253628485,"user":{"login":"dadgar","id":1047914,"avatar_url":"https://avatars.githubusercontent.com/u/1047914?v=3","gravatar_id":"","url":"https://api.github.com/users/dadgar","html_url":"https://github.com/dadgar","followers_url":"https://api.github.com/users/dadgar/followers","following_url":"https://api.github.com/users/dadgar/following{/other_user}","gists_url":"https://api.github.com/users/dadgar/gists{/gist_id}","starred_url":"https://api.github.com/users/dadgar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dadgar/subscriptions","organizations_url":"https://api.github.com/users/dadgar/orgs","repos_url":"https://api.github.com/users/dadgar/repos","events_url":"https://api.github.com/users/dadgar/events{/privacy}","received_events_url":"https://api.github.com/users/dadgar/received_events","type":"User","site_admin":false},"created_at":"2016-10-13T20:25:28Z","updated_at":"2016-10-13T20:25:28Z","body":"@clumsy Got a chuckle out of your handle and the situation. I think it needs to be a validation error so you can never even get into this state."}}
{"actor":{"display_login":"dadgar"}}