From 44091b45aeda36d79cefdc6d7b9f1c5a9eb73744 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Mon, 27 Jan 2014 09:55:34 -0500 Subject: [PATCH] raise SystemExit when monitors have not formed quorum Signed-off-by: Alfredo Deza --- ceph_deploy/mon.py | 1 + 1 file changed, 1 insertion(+) 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): -- 2.47.3