]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
raise SystemExit when monitors have not formed quorum 155/head
authorAlfredo Deza <alfredo.deza@inktank.com>
Mon, 27 Jan 2014 14:55:34 +0000 (09:55 -0500)
committerAlfredo Deza <alfredo.deza@inktank.com>
Mon, 27 Jan 2014 14:55:34 +0000 (09:55 -0500)
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
ceph_deploy/mon.py

index 8529ab9cbf9f0b1ea0b12ffd14fd4fdef124ca8f..57ba554c4dafcaf4d79c809185bbdd5dea22e1a7 100644 (file)
@@ -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):