forked from rook/rook
The arbiter can only be configured with the stretch cluster if the CRUSH map is balanced and there are two zones in the CRUSH map. After the OSDs are configured, we wait for all the OSD pods to be running and that the CRUSH map is balanced. If it takes more than two minutes, we fail the reconcile and try again. This is only done the first time the stretch cluster is configured. In future reconciles we first check if the stretch cluster is already enabled before enabling it again. Signed-off-by: Travis Nielsen <tnielsen@redhat.com>