{"action":"created","issue":{"url":"https://api.github.com/repos/deis/deis/issues/5009","repository_url":"https://api.github.com/repos/deis/deis","labels_url":"https://api.github.com/repos/deis/deis/issues/5009/labels{/name}","comments_url":"https://api.github.com/repos/deis/deis/issues/5009/comments","events_url":"https://api.github.com/repos/deis/deis/issues/5009/events","html_url":"https://github.com/deis/deis/pull/5009","id":145752982,"number":5009,"title":"fix(logspout): discover logger connection continuously","user":{"login":"bacongobbler","id":1360539,"avatar_url":"https://avatars.githubusercontent.com/u/1360539?v=3","gravatar_id":"","url":"https://api.github.com/users/bacongobbler","html_url":"https://github.com/bacongobbler","followers_url":"https://api.github.com/users/bacongobbler/followers","following_url":"https://api.github.com/users/bacongobbler/following{/other_user}","gists_url":"https://api.github.com/users/bacongobbler/gists{/gist_id}","starred_url":"https://api.github.com/users/bacongobbler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bacongobbler/subscriptions","organizations_url":"https://api.github.com/users/bacongobbler/orgs","repos_url":"https://api.github.com/users/bacongobbler/repos","events_url":"https://api.github.com/users/bacongobbler/events{/privacy}","received_events_url":"https://api.github.com/users/bacongobbler/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/deis/deis/labels/awaiting%20review","name":"awaiting review","color":"e11d21"},{"url":"https://api.github.com/repos/deis/deis/labels/Code%20LGTM1","name":"Code LGTM1","color":"009800"},{"url":"https://api.github.com/repos/deis/deis/labels/logspout","name":"logspout","color":"f7c6c7"},{"url":"https://api.github.com/repos/deis/deis/labels/requires-manual-testing","name":"requires-manual-testing","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"bacongobbler","id":1360539,"avatar_url":"https://avatars.githubusercontent.com/u/1360539?v=3","gravatar_id":"","url":"https://api.github.com/users/bacongobbler","html_url":"https://github.com/bacongobbler","followers_url":"https://api.github.com/users/bacongobbler/followers","following_url":"https://api.github.com/users/bacongobbler/following{/other_user}","gists_url":"https://api.github.com/users/bacongobbler/gists{/gist_id}","starred_url":"https://api.github.com/users/bacongobbler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bacongobbler/subscriptions","organizations_url":"https://api.github.com/users/bacongobbler/orgs","repos_url":"https://api.github.com/users/bacongobbler/repos","events_url":"https://api.github.com/users/bacongobbler/events{/privacy}","received_events_url":"https://api.github.com/users/bacongobbler/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/deis/deis/milestones/49","html_url":"https://github.com/deis/deis/milestones/v1.13%20LTS","labels_url":"https://api.github.com/repos/deis/deis/milestones/49/labels","id":1390048,"number":49,"title":"v1.13 LTS","description":"","creator":{"login":"mboersma","id":73019,"avatar_url":"https://avatars.githubusercontent.com/u/73019?v=3","gravatar_id":"","url":"https://api.github.com/users/mboersma","html_url":"https://github.com/mboersma","followers_url":"https://api.github.com/users/mboersma/followers","following_url":"https://api.github.com/users/mboersma/following{/other_user}","gists_url":"https://api.github.com/users/mboersma/gists{/gist_id}","starred_url":"https://api.github.com/users/mboersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboersma/subscriptions","organizations_url":"https://api.github.com/users/mboersma/orgs","repos_url":"https://api.github.com/users/mboersma/repos","events_url":"https://api.github.com/users/mboersma/events{/privacy}","received_events_url":"https://api.github.com/users/mboersma/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":132,"state":"open","created_at":"2015-11-02T21:54:22Z","updated_at":"2016-04-05T16:23:02Z","due_on":"2016-04-05T06:00:00Z","closed_at":null},"comments":3,"created_at":"2016-04-04T17:40:12Z","updated_at":"2016-04-05T16:53:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/deis/deis/pulls/5009","html_url":"https://github.com/deis/deis/pull/5009","diff_url":"https://github.com/deis/deis/pull/5009.diff","patch_url":"https://github.com/deis/deis/pull/5009.patch"},"body":"Logspout would only discover the logger's host/port information at\r\nboot. When the logger is rebooted and is re-scheduled onto another\r\nhost, the logspout agents were not updated. This change makes the\r\nagent check etcd every 10 seconds and updates the logger route\r\ninformation to ensure it's sending logs to the right address.\r\n\r\nfixes #4293"},"comment":{"url":"https://api.github.com/repos/deis/deis/issues/comments/205892209","html_url":"https://github.com/deis/deis/pull/5009#issuecomment-205892209","issue_url":"https://api.github.com/repos/deis/deis/issues/5009","id":205892209,"user":{"login":"mboersma","id":73019,"avatar_url":"https://avatars.githubusercontent.com/u/73019?v=3","gravatar_id":"","url":"https://api.github.com/users/mboersma","html_url":"https://github.com/mboersma","followers_url":"https://api.github.com/users/mboersma/followers","following_url":"https://api.github.com/users/mboersma/following{/other_user}","gists_url":"https://api.github.com/users/mboersma/gists{/gist_id}","starred_url":"https://api.github.com/users/mboersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboersma/subscriptions","organizations_url":"https://api.github.com/users/mboersma/orgs","repos_url":"https://api.github.com/users/mboersma/repos","events_url":"https://api.github.com/users/mboersma/events{/privacy}","received_events_url":"https://api.github.com/users/mboersma/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T16:53:48Z","updated_at":"2016-04-05T16:53:48Z","body":"I'm seeing duplicated log lines when testing this interactively:\r\n```console\r\n$ deis logs\r\n2016-04-05T16:38:33UTC elfish-tinkerer[deis-controller]: matt created initial release\r\n2016-04-05T16:38:33UTC elfish-tinkerer[deis-controller]: matt created initial release\r\n2016-04-05T16:38:33UTC elfish-tinkerer[deis-controller]: matt created initial release\r\n2016-04-05T16:38:33UTC elfish-tinkerer[deis-controller]: matt created initial release\r\n... (repeated 50 times)\r\n2016-04-05T16:39:41UTC elfish-tinkerer[deis-controller]: matt deployed 6b142e5\r\n2016-04-05T16:39:41UTC elfish-tinkerer[deis-controller]: matt deployed 6b142e5\r\n2016-04-05T16:39:41UTC elfish-tinkerer[deis-controller]: matt deployed 6b142e5\r\n2016-04-05T16:39:41UTC elfish-tinkerer[deis-controller]: matt deployed 6b142e5\r\n... (you get the idea)\r\n```\r\n\r\nI reverted to master logspout just as a sanity check and deployed a new app:\r\n```console\r\n$ deis logs\r\n2016-04-05T16:47:05UTC zephyr-huntress[deis-controller]: matt created initial release\r\n2016-04-05T16:48:42UTC zephyr-huntress[deis-controller]: matt deployed 6b142e5\r\n2016-04-05T16:49:18UTC zephyr-huntress[deis-controller]: matt scaled containers web=1\r\n2016-04-05T16:49:48UTC zephyr-huntress[web.1]: Server listening on port 5000 in production mode\r\n```\r\n\r\nI don't see any significant CPU load as a result of this change, however. I watched `top` on each of the 3 CoreOS nodes while testing."}}