forked from rook/rook
The mons that are out of quorum may cause ceph commands to timeout or fail unnecessarily trying to connect to a mon that is no longer online. Now the mon health check will update the mon endpoints configmap when a mon is detected out of quorum. This also means that if the operator is restarted during a mon failover, the failed mon will no longer remain in the ceph.conf, thus allowing the quorum to be more likely to respond to the mons that are still in quorum. The update for mons out of quorum only applies if other mons are in quorum. If quorum is down, the configmap will not keep track of the offline mons since too many are offline. Signed-off-by: Travis Nielsen <tnielsen@redhat.com>