{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/etcd/issues/3590","labels_url":"https://api.github.com/repos/coreos/etcd/issues/3590/labels{/name}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/3590/comments","events_url":"https://api.github.com/repos/coreos/etcd/issues/3590/events","html_url":"https://github.com/coreos/etcd/pull/3590","id":108221074,"number":3590,"title":"etcdmain: improve log when join discovery fails","user":{"login":"yichengq","id":2976232,"avatar_url":"https://avatars.githubusercontent.com/u/2976232?v=3","gravatar_id":"","url":"https://api.github.com/users/yichengq","html_url":"https://github.com/yichengq","followers_url":"https://api.github.com/users/yichengq/followers","following_url":"https://api.github.com/users/yichengq/following{/other_user}","gists_url":"https://api.github.com/users/yichengq/gists{/gist_id}","starred_url":"https://api.github.com/users/yichengq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yichengq/subscriptions","organizations_url":"https://api.github.com/users/yichengq/orgs","repos_url":"https://api.github.com/users/yichengq/repos","events_url":"https://api.github.com/users/yichengq/events{/privacy}","received_events_url":"https://api.github.com/users/yichengq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-24T21:51:32Z","updated_at":"2015-09-29T14:57:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/coreos/etcd/pulls/3590","html_url":"https://github.com/coreos/etcd/pull/3590","diff_url":"https://github.com/coreos/etcd/pull/3590.diff","patch_url":"https://github.com/coreos/etcd/pull/3590.patch"},"body":"[Updated]\r\n\r\nBefore this PR, the log is\r\n\r\n```\r\n2015/09/1 13:18:31 etcdmain: client: etcd cluster is unavailable or\r\nmisconfigured\r\n```\r\n\r\nIt is quite hard for people to understand what happens.\r\n\r\nNow we print out the exact reason for the failure, and explains the way\r\nto handle it.\r\n\r\n```\r\n2015-09-28 23:22:49.080239 E | etcdmain: failed to join discovery cluster (client: etcd cluster is unavailable or misconfigured)\r\n2015-09-28 23:22:49.080245 I | etcdmain: discovery token http://localhost:5001/v2 was used, but failed to bootstrap the cluster.\r\n2015-09-28 23:22:49.080250 I | etcdmain: please generate a new discovery token and try to bootstrap again.\r\n```\r\n\r\nfixes #3423 "},"comment":{"url":"https://api.github.com/repos/coreos/etcd/issues/comments/144085992","html_url":"https://github.com/coreos/etcd/pull/3590#issuecomment-144085992","issue_url":"https://api.github.com/repos/coreos/etcd/issues/3590","id":144085992,"user":{"login":"xiang90","id":4479947,"avatar_url":"https://avatars.githubusercontent.com/u/4479947?v=3","gravatar_id":"","url":"https://api.github.com/users/xiang90","html_url":"https://github.com/xiang90","followers_url":"https://api.github.com/users/xiang90/followers","following_url":"https://api.github.com/users/xiang90/following{/other_user}","gists_url":"https://api.github.com/users/xiang90/gists{/gist_id}","starred_url":"https://api.github.com/users/xiang90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiang90/subscriptions","organizations_url":"https://api.github.com/users/xiang90/orgs","repos_url":"https://api.github.com/users/xiang90/repos","events_url":"https://api.github.com/users/xiang90/events{/privacy}","received_events_url":"https://api.github.com/users/xiang90/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T14:57:10Z","updated_at":"2015-09-29T14:57:10Z","body":"LGTM"}}