{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/etcd/issues/3491","labels_url":"https://api.github.com/repos/coreos/etcd/issues/3491/labels{/name}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/3491/comments","events_url":"https://api.github.com/repos/coreos/etcd/issues/3491/events","html_url":"https://github.com/coreos/etcd/issues/3491","id":105979352,"number":3491,"title":"unable to remove member; unable to setup cluster","user":{"login":"onlyjob","id":1061236,"avatar_url":"https://avatars.githubusercontent.com/u/1061236?v=3","gravatar_id":"","url":"https://api.github.com/users/onlyjob","html_url":"https://github.com/onlyjob","followers_url":"https://api.github.com/users/onlyjob/followers","following_url":"https://api.github.com/users/onlyjob/following{/other_user}","gists_url":"https://api.github.com/users/onlyjob/gists{/gist_id}","starred_url":"https://api.github.com/users/onlyjob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onlyjob/subscriptions","organizations_url":"https://api.github.com/users/onlyjob/orgs","repos_url":"https://api.github.com/users/onlyjob/repos","events_url":"https://api.github.com/users/onlyjob/events{/privacy}","received_events_url":"https://api.github.com/users/onlyjob/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-09-11T09:52:00Z","updated_at":"2015-09-13T01:37:27Z","closed_at":"2015-09-13T01:21:46Z","body":"On etcd-2.2.0 I'm trying to setup cluster for the very first time (I'm new to etcd). It is so incredibly hard that after 5+ hours of continuous effort I still can't bootstrap second node. Could someone please point out clear setup instructions or better update documentation (particularly \"Add New Member\" section) with working example please?\r\n\r\nAnyway, local _etcd_ works fine and responds to `ls`, `set`, and `get` commands.\r\nBut when I `etcdctl member add node2 http://node2:2380` cluster becomes unhealthy and `cluster-health` report unreachable member (node2, because it is not bootstraped yet). I fail to initialise _node2_: suggested `ETCD_INITIAL_CLUSTER=\"node2=http://node2:2380,deblab=http://localhost:2380,deblab=http://localhost:7001` (where `localhost` comes from?) does not work and alterations to `ETCD_INITIAL_CLUSTER` cause failure of  etcd to start on node2 due to \"error validating peerURLs\", \"unmatched member while checking PeerURLs\".\r\n\r\nI'm giving up and trying to remove \"[unstarted]\" member with `etcdctl member remove` and getting \"Recieved an error trying to remove member 69d73025e8d31e13: client: etcd cluster is unavailable or misconfigured\" at which point etcd on first node seems broken beyond recovery... :(\r\n\r\nIs there a way to remove uninitialised member i.e. revert `etcdctl member add`??\r\nThanks."},"comment":{"url":"https://api.github.com/repos/coreos/etcd/issues/comments/139837456","html_url":"https://github.com/coreos/etcd/issues/3491#issuecomment-139837456","issue_url":"https://api.github.com/repos/coreos/etcd/issues/3491","id":139837456,"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-13T01:37:27Z","updated_at":"2015-09-13T01:37:27Z","body":"@onlyjob \r\n\r\n> I feel discouraged from reporting any further issues... :(\r\n\r\nI would encourage you to report bug following this https://github.com/coreos/etcd/blob/master/Documentation/reporting_bugs.md. \r\n\r\nWe want the isolation since: \r\n\r\n1. it is easier for the community to track the one problem per issues than a lot of problems per issue\r\n\r\n2. it is easier for the community to send a pull request to close an issue than sending a lot of pull requests to fix different issues mentioned in one github issue.\r\n\r\n3. the discussion is more focused and easy to follow."}}