{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/etcd/issues/3624","labels_url":"https://api.github.com/repos/coreos/etcd/issues/3624/labels{/name}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/3624/comments","events_url":"https://api.github.com/repos/coreos/etcd/issues/3624/events","html_url":"https://github.com/coreos/etcd/issues/3624","id":109201354,"number":3624,"title":"etcdctl no longer reports a nonzero exit status when cluster-health fails","user":{"login":"mischief","id":1487996,"avatar_url":"https://avatars.githubusercontent.com/u/1487996?v=3","gravatar_id":"","url":"https://api.github.com/users/mischief","html_url":"https://github.com/mischief","followers_url":"https://api.github.com/users/mischief/followers","following_url":"https://api.github.com/users/mischief/following{/other_user}","gists_url":"https://api.github.com/users/mischief/gists{/gist_id}","starred_url":"https://api.github.com/users/mischief/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mischief/subscriptions","organizations_url":"https://api.github.com/users/mischief/orgs","repos_url":"https://api.github.com/users/mischief/repos","events_url":"https://api.github.com/users/mischief/events{/privacy}","received_events_url":"https://api.github.com/users/mischief/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-30T23:34:39Z","updated_at":"2015-10-01T00:14:11Z","closed_at":null,"body":"#3323 removed some calls to os.Exit(1) in etcdctl. it broke a test in kola.\r\n\r\nthe following code proceeds to check for (2*n)+1 instances of the word 'healthy' in etcdctl cluster-health output, but only when etcdctl cluster-health returns a 0 status. now that the behavior is changed, err is always nil due to a zero exit status.\r\n\r\nhttps://github.com/coreos/mantle/blob/master/kola/tests/coretest/etcd.go#L92"},"comment":{"url":"https://api.github.com/repos/coreos/etcd/issues/comments/144579468","html_url":"https://github.com/coreos/etcd/issues/3624#issuecomment-144579468","issue_url":"https://api.github.com/repos/coreos/etcd/issues/3624","id":144579468,"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-10-01T00:14:11Z","updated_at":"2015-10-01T00:14:11Z","body":"@mischief \r\n\r\nWe do not provide that feature at the moment. You can try https://github.com/coreos/etcd/blob/master/Documentation/admin_guide.md#health-monitoring. But this is also an experimental feature. We will break it probably. "}}