{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/consul-template/issues/331","labels_url":"https://api.github.com/repos/hashicorp/consul-template/issues/331/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/consul-template/issues/331/comments","events_url":"https://api.github.com/repos/hashicorp/consul-template/issues/331/events","html_url":"https://github.com/hashicorp/consul-template/issues/331","id":93577064,"number":331,"title":"Consul leadership transitions with Consul Template and nodes joining/leaving","user":{"login":"darron","id":5176,"avatar_url":"https://avatars.githubusercontent.com/u/5176?v=3","gravatar_id":"","url":"https://api.github.com/users/darron","html_url":"https://github.com/darron","followers_url":"https://api.github.com/users/darron/followers","following_url":"https://api.github.com/users/darron/following{/other_user}","gists_url":"https://api.github.com/users/darron/gists{/gist_id}","starred_url":"https://api.github.com/users/darron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darron/subscriptions","organizations_url":"https://api.github.com/users/darron/orgs","repos_url":"https://api.github.com/users/darron/repos","events_url":"https://api.github.com/users/darron/events{/privacy}","received_events_url":"https://api.github.com/users/darron/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hashicorp/consul-template/labels/upstream-bug","name":"upstream-bug","color":"fad8c7"}],"state":"closed","locked":false,"assignee":{"login":"slackpad","id":673509,"avatar_url":"https://avatars.githubusercontent.com/u/673509?v=3","gravatar_id":"","url":"https://api.github.com/users/slackpad","html_url":"https://github.com/slackpad","followers_url":"https://api.github.com/users/slackpad/followers","following_url":"https://api.github.com/users/slackpad/following{/other_user}","gists_url":"https://api.github.com/users/slackpad/gists{/gist_id}","starred_url":"https://api.github.com/users/slackpad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slackpad/subscriptions","organizations_url":"https://api.github.com/users/slackpad/orgs","repos_url":"https://api.github.com/users/slackpad/repos","events_url":"https://api.github.com/users/slackpad/events{/privacy}","received_events_url":"https://api.github.com/users/slackpad/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-07-07T16:50:13Z","updated_at":"2015-10-28T15:42:45Z","closed_at":"2015-08-18T21:49:13Z","body":"A couple weeks ago, @KFishner came out to chat with our team at Datadog and we had mentioned that we had run into a problem with:\r\n\r\n1. Consul Template running on every node building a recipe with a number of different services and nodes.\r\n2. nodes joining and leaving once or twice a minute.\r\n\r\nWe ended up working around that problem by running Consul Template on a single node, stuffing the result into the KV store and using a watch on each node to write the result in place.\r\n\r\nThat works great, but it's a bit of a hack and wanted to see if there's actually an issue to be fixed. Also - \"wait\" didn't work properly when we were initially testing but it's in place now wherever we're using Consul Template.\r\n\r\nI promised that I'd create a sample environment that duplicated the conditions where this happens and I spent a couple days making this:\r\n\r\nhttps://github.com/darron/consul-bug-report\r\n\r\nThat's a repo with a Packer recipe and Terraform code to build and spin up a cluster of 120 nodes - instructions on how to duplicate and cause the faults are in the README.\r\n\r\nI'm just not sure where to place this - as a Consul issue or a Consul Template issue. I don't think it's completely a Consul Template issue - but not totally sure where it fits best.\r\n\r\nI know most of the team is at Gophercon this week - let me know if you've got any questions."},"comment":{"url":"https://api.github.com/repos/hashicorp/consul-template/issues/comments/151886890","html_url":"https://github.com/hashicorp/consul-template/issues/331#issuecomment-151886890","issue_url":"https://api.github.com/repos/hashicorp/consul-template/issues/331","id":151886890,"user":{"login":"darron","id":5176,"avatar_url":"https://avatars.githubusercontent.com/u/5176?v=3","gravatar_id":"","url":"https://api.github.com/users/darron","html_url":"https://github.com/darron","followers_url":"https://api.github.com/users/darron/followers","following_url":"https://api.github.com/users/darron/following{/other_user}","gists_url":"https://api.github.com/users/darron/gists{/gist_id}","starred_url":"https://api.github.com/users/darron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darron/subscriptions","organizations_url":"https://api.github.com/users/darron/orgs","repos_url":"https://api.github.com/users/darron/repos","events_url":"https://api.github.com/users/darron/events{/privacy}","received_events_url":"https://api.github.com/users/darron/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T15:42:45Z","updated_at":"2015-10-28T15:42:45Z","body":"Very cool. Looking forward to this next release @slackpad - thanks!"}}