diff --git a/ceph-mon/templates/bin/mon/_start.sh.tpl b/ceph-mon/templates/bin/mon/_start.sh.tpl index 1340d6bc22..c2624d71f3 100644 --- a/ceph-mon/templates/bin/mon/_start.sh.tpl +++ b/ceph-mon/templates/bin/mon/_start.sh.tpl @@ -63,15 +63,6 @@ function get_mon_config { exit 1 fi - # if monmap exists and the mon is already there, don't overwrite monmap - if [ -f "${MONMAP}" ]; then - monmaptool --print "${MONMAP}" |grep -q "${MON_IP// }"":${MON_PORT}" - if [ $? -eq 0 ]; then - echo "${MON_IP} already exists in monmap ${MONMAP}" - return - fi - fi - # Create a monmap with the Pod Names and IP monmaptool --create ${MONMAP_ADD} --fsid ${fsid} ${MONMAP} --clobber }