{"action":"created","issue":{"url":"https://api.github.com/repos/CiscoCloud/microservices-infrastructure/issues/1077","repository_url":"https://api.github.com/repos/CiscoCloud/microservices-infrastructure","labels_url":"https://api.github.com/repos/CiscoCloud/microservices-infrastructure/issues/1077/labels{/name}","comments_url":"https://api.github.com/repos/CiscoCloud/microservices-infrastructure/issues/1077/comments","events_url":"https://api.github.com/repos/CiscoCloud/microservices-infrastructure/issues/1077/events","html_url":"https://github.com/CiscoCloud/microservices-infrastructure/issues/1077","id":130845336,"number":1077,"title":"Travis CI builds fail on Consul leader election ","user":{"login":"siddharthist","id":4294323,"avatar_url":"https://avatars.githubusercontent.com/u/4294323?v=3","gravatar_id":"","url":"https://api.github.com/users/siddharthist","html_url":"https://github.com/siddharthist","followers_url":"https://api.github.com/users/siddharthist/followers","following_url":"https://api.github.com/users/siddharthist/following{/other_user}","gists_url":"https://api.github.com/users/siddharthist/gists{/gist_id}","starred_url":"https://api.github.com/users/siddharthist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siddharthist/subscriptions","organizations_url":"https://api.github.com/users/siddharthist/orgs","repos_url":"https://api.github.com/users/siddharthist/repos","events_url":"https://api.github.com/users/siddharthist/events{/privacy}","received_events_url":"https://api.github.com/users/siddharthist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-02T22:51:09Z","updated_at":"2016-02-03T23:20:29Z","closed_at":null,"body":"[This](https://travis-ci.org/asteris-llc/microservices-infrastructure/jobs/106592772#L2034) happens often:\r\n```\r\nNOTIFIED: [handlers | wait for consul to listen] ****************************** \r\n\r\nfailed: [mantl-ci-29-2-worker-002] => {\"changed\": true, \"cmd\": [\"/usr/local/bin/consul-wait-for-leader.sh\"], \"delta\": \"0:00:30.121146\", \"end\": \"2016-02-02 22:37:41.006116\", \"rc\": 1, \"start\": \"2016-02-02 22:37:10.884970\", \"warnings\": []}\r\n\r\nstdout: No Consul leader elected in 30 seconds\r\n\r\nfailed: [mantl-ci-29-2-control-02] => {\"changed\": true, \"cmd\": [\"/usr/local/bin/consul-wait-for-leader.sh\"], \"delta\": \"0:00:30.091991\", \"end\": \"2016-02-02 22:37:41.078791\", \"rc\": 1, \"start\": \"2016-02-02 22:37:10.986800\", \"warnings\": []}\r\n\r\nstdout: No Consul leader elected in 30 seconds\r\n\r\nfailed: [mantl-ci-29-2-edge-01] => {\"changed\": true, \"cmd\": [\"/usr/local/bin/consul-wait-for-leader.sh\"], \"delta\": \"0:00:30.154212\", \"end\": \"2016-02-02 22:37:41.042718\", \"rc\": 1, \"start\": \"2016-02-02 22:37:10.888506\", \"warnings\": []}\r\n\r\n...\r\n```\r\n\r\nNeeds more debugging, but it is clearly a reproducable bug. "},"comment":{"url":"https://api.github.com/repos/CiscoCloud/microservices-infrastructure/issues/comments/179525615","html_url":"https://github.com/CiscoCloud/microservices-infrastructure/issues/1077#issuecomment-179525615","issue_url":"https://api.github.com/repos/CiscoCloud/microservices-infrastructure/issues/1077","id":179525615,"user":{"login":"siddharthist","id":4294323,"avatar_url":"https://avatars.githubusercontent.com/u/4294323?v=3","gravatar_id":"","url":"https://api.github.com/users/siddharthist","html_url":"https://github.com/siddharthist","followers_url":"https://api.github.com/users/siddharthist/followers","following_url":"https://api.github.com/users/siddharthist/following{/other_user}","gists_url":"https://api.github.com/users/siddharthist/gists{/gist_id}","starred_url":"https://api.github.com/users/siddharthist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siddharthist/subscriptions","organizations_url":"https://api.github.com/users/siddharthist/orgs","repos_url":"https://api.github.com/users/siddharthist/repos","events_url":"https://api.github.com/users/siddharthist/events{/privacy}","received_events_url":"https://api.github.com/users/siddharthist/received_events","type":"User","site_admin":false},"created_at":"2016-02-03T23:20:29Z","updated_at":"2016-02-03T23:20:29Z","body":"It might be because the hosts aren't \"big\" enough, i.e. don't have enough resources to start electing a leader effectively. "}}