{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/etcd/issues/6034","repository_url":"https://api.github.com/repos/coreos/etcd","labels_url":"https://api.github.com/repos/coreos/etcd/issues/6034/labels{/name}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/6034/comments","events_url":"https://api.github.com/repos/coreos/etcd/issues/6034/events","html_url":"https://github.com/coreos/etcd/issues/6034","id":167221486,"number":6034,"title":"embed: doesn't listen","user":{"login":"purpleidea","id":135091,"avatar_url":"https://avatars.githubusercontent.com/u/135091?v=3","gravatar_id":"","url":"https://api.github.com/users/purpleidea","html_url":"https://github.com/purpleidea","followers_url":"https://api.github.com/users/purpleidea/followers","following_url":"https://api.github.com/users/purpleidea/following{/other_user}","gists_url":"https://api.github.com/users/purpleidea/gists{/gist_id}","starred_url":"https://api.github.com/users/purpleidea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purpleidea/subscriptions","organizations_url":"https://api.github.com/users/purpleidea/orgs","repos_url":"https://api.github.com/users/purpleidea/repos","events_url":"https://api.github.com/users/purpleidea/events{/privacy}","received_events_url":"https://api.github.com/users/purpleidea/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-24T07:26:17Z","updated_at":"2016-07-25T20:14:22Z","closed_at":"2016-07-25T20:08:23Z","body":"I'm currently trying to port my embedded etcd code to use the new \"embed\" API.\r\nhttps://github.com/coreos/etcd/tree/master/embed\r\n\r\nComparing the logs from a working etcd and the new \"embed\" etcd, it seems I'm missing lines like:\r\n\r\n```\r\n2016-07-24 03:16:19.836786 I | etcdmain: listening for peers on http://localhost:2380\r\n2016-07-24 03:16:19.836958 I | etcdmain: listening for client requests on localhost:2379\r\n```\r\n\r\nWhich is consistent with the problem I'm having in that I can't connect to the new \"embed\" server. Digging a little further, I see that the Etcd struct https://github.com/coreos/etcd/blob/master/embed/etcd.go#L52 exposes some listeners.\r\n\r\nSo I'm not sure if (1) there is a bug, and the listening is not happening automatically somehow, or (2) I am supposed to do something in addition to the basic example at https://godoc.org/github.com/coreos/etcd/embed\r\n\r\nSo either this is a bug, or a doc bug perhaps? Thanks!"},"comment":{"url":"https://api.github.com/repos/coreos/etcd/issues/comments/235070481","html_url":"https://github.com/coreos/etcd/issues/6034#issuecomment-235070481","issue_url":"https://api.github.com/repos/coreos/etcd/issues/6034","id":235070481,"user":{"login":"heyitsanthony","id":16294350,"avatar_url":"https://avatars.githubusercontent.com/u/16294350?v=3","gravatar_id":"","url":"https://api.github.com/users/heyitsanthony","html_url":"https://github.com/heyitsanthony","followers_url":"https://api.github.com/users/heyitsanthony/followers","following_url":"https://api.github.com/users/heyitsanthony/following{/other_user}","gists_url":"https://api.github.com/users/heyitsanthony/gists{/gist_id}","starred_url":"https://api.github.com/users/heyitsanthony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heyitsanthony/subscriptions","organizations_url":"https://api.github.com/users/heyitsanthony/orgs","repos_url":"https://api.github.com/users/heyitsanthony/repos","events_url":"https://api.github.com/users/heyitsanthony/events{/privacy}","received_events_url":"https://api.github.com/users/heyitsanthony/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T20:14:22Z","updated_at":"2016-07-25T20:14:22Z","body":"@purpleidea no compelling functional reason, it's mostly there now so it's possible to check the `Addr()`s for debugging"}}
{"actor":{"display_login":"heyitsanthony"}}