{"action":"created","issue":{"url":"https://api.github.com/repos/docker/swarm/issues/921","labels_url":"https://api.github.com/repos/docker/swarm/issues/921/labels{/name}","comments_url":"https://api.github.com/repos/docker/swarm/issues/921/comments","events_url":"https://api.github.com/repos/docker/swarm/issues/921/events","html_url":"https://github.com/docker/swarm/issues/921","id":86621428,"number":921,"title":"Consul discovery stopped working for 0.3","user":{"login":"vbichov","id":4352719,"avatar_url":"https://avatars.githubusercontent.com/u/4352719?v=3","gravatar_id":"","url":"https://api.github.com/users/vbichov","html_url":"https://github.com/vbichov","followers_url":"https://api.github.com/users/vbichov/followers","following_url":"https://api.github.com/users/vbichov/following{/other_user}","gists_url":"https://api.github.com/users/vbichov/gists{/gist_id}","starred_url":"https://api.github.com/users/vbichov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbichov/subscriptions","organizations_url":"https://api.github.com/users/vbichov/orgs","repos_url":"https://api.github.com/users/vbichov/repos","events_url":"https://api.github.com/users/vbichov/events{/privacy}","received_events_url":"https://api.github.com/users/vbichov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/swarm/labels/kind/bug","name":"kind/bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"abronan","id":1655859,"avatar_url":"https://avatars.githubusercontent.com/u/1655859?v=3","gravatar_id":"","url":"https://api.github.com/users/abronan","html_url":"https://github.com/abronan","followers_url":"https://api.github.com/users/abronan/followers","following_url":"https://api.github.com/users/abronan/following{/other_user}","gists_url":"https://api.github.com/users/abronan/gists{/gist_id}","starred_url":"https://api.github.com/users/abronan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abronan/subscriptions","organizations_url":"https://api.github.com/users/abronan/orgs","repos_url":"https://api.github.com/users/abronan/repos","events_url":"https://api.github.com/users/abronan/events{/privacy}","received_events_url":"https://api.github.com/users/abronan/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/docker/swarm/milestones/3","html_url":"https://github.com/docker/swarm/milestones/0.3.0","labels_url":"https://api.github.com/repos/docker/swarm/milestones/3/labels","id":1026388,"number":3,"title":"0.3.0","description":"","creator":{"login":"vieux","id":1032519,"avatar_url":"https://avatars.githubusercontent.com/u/1032519?v=3","gravatar_id":"","url":"https://api.github.com/users/vieux","html_url":"https://github.com/vieux","followers_url":"https://api.github.com/users/vieux/followers","following_url":"https://api.github.com/users/vieux/following{/other_user}","gists_url":"https://api.github.com/users/vieux/gists{/gist_id}","starred_url":"https://api.github.com/users/vieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vieux/subscriptions","organizations_url":"https://api.github.com/users/vieux/orgs","repos_url":"https://api.github.com/users/vieux/repos","events_url":"https://api.github.com/users/vieux/events{/privacy}","received_events_url":"https://api.github.com/users/vieux/received_events","type":"User","site_admin":false},"open_issues":32,"closed_issues":72,"state":"open","created_at":"2015-03-17T23:46:40Z","updated_at":"2015-06-10T07:41:25Z","due_on":"2015-06-16T07:00:00Z","closed_at":null},"comments":3,"created_at":"2015-06-09T14:38:23Z","updated_at":"2015-06-10T07:41:25Z","closed_at":"2015-06-10T07:41:25Z","body":"0.3.0-rc2 is bugged, can't list Consul hosts. (so is rc1)\r\n\r\ndocker run -ti --rm swarm:0.2 list consul://[ip]:8500/[cluster]\r\nreturns a list of IPs\r\n\r\ndocker run -ti --rm swarm:0.3.0-rc2 list consul://[ip]:8500/[cluster]\r\nreturns empty\r\n\r\ndocker version is 1.6.0"},"comment":{"url":"https://api.github.com/repos/docker/swarm/issues/comments/110637871","html_url":"https://github.com/docker/swarm/issues/921#issuecomment-110637871","issue_url":"https://api.github.com/repos/docker/swarm/issues/921","id":110637871,"user":{"login":"vbichov","id":4352719,"avatar_url":"https://avatars.githubusercontent.com/u/4352719?v=3","gravatar_id":"","url":"https://api.github.com/users/vbichov","html_url":"https://github.com/vbichov","followers_url":"https://api.github.com/users/vbichov/followers","following_url":"https://api.github.com/users/vbichov/following{/other_user}","gists_url":"https://api.github.com/users/vbichov/gists{/gist_id}","starred_url":"https://api.github.com/users/vbichov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbichov/subscriptions","organizations_url":"https://api.github.com/users/vbichov/orgs","repos_url":"https://api.github.com/users/vbichov/repos","events_url":"https://api.github.com/users/vbichov/events{/privacy}","received_events_url":"https://api.github.com/users/vbichov/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T07:41:25Z","updated_at":"2015-06-10T07:41:25Z","body":"@abronan Thank you for you quick response!\r\nI've investigated further and found the cause. This is **not a bug**.\r\n\r\nSomebody changed the key-value definition in Consul.\r\nThe newer version does not write to `/[cluster]/`\r\nIt writes to `/[cluster]/docker/swarm/nodes/`\r\n\r\nI have neglected to switch all of my swarm agents...\r\nIf this change / convention has been documented somewhere, I'm afraid I haven't seen it.\r\n\r\nThanks again."}}