From: Alfredo Deza Date: Mon, 27 Jan 2014 14:55:34 +0000 (-0500) Subject: raise SystemExit when monitors have not formed quorum X-Git-Tag: v1.3.5~8^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F155%2Fhead;p=ceph-deploy.git raise SystemExit when monitors have not formed quorum Signed-off-by: Alfredo Deza --- diff --git a/ceph_deploy/mon.py b/ceph_deploy/mon.py index 8529ab9..57ba554 100644 --- a/ceph_deploy/mon.py +++ b/ceph_deploy/mon.py @@ -312,6 +312,7 @@ def mon_create_initial(args): LOG.error('Some monitors have still not reached quorum:') for host in mon_members - mon_in_quorum: LOG.error('%s', host) + raise SystemExit('cluster may not be in a healthy state') def mon(args):