From 9b7fac367cb80cea594b6e8c222587fddb13d3c5 Mon Sep 17 00:00:00 2001 From: Huamin Chen Date: Thu, 21 Sep 2017 10:43:56 -0400 Subject: [PATCH] Ceph: cleanup unused code Change-Id: I81fa42b57d3ecd80c808ba92fbe5e840cd4b3dc2 Signed-off-by: Huamin Chen --- ceph/templates/bin/_start_mon.sh.tpl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ceph/templates/bin/_start_mon.sh.tpl b/ceph/templates/bin/_start_mon.sh.tpl index 46059d086e..2ee1fffe1d 100644 --- a/ceph/templates/bin/_start_mon.sh.tpl +++ b/ceph/templates/bin/_start_mon.sh.tpl @@ -15,11 +15,6 @@ if [[ -z "$MON_IP" ]]; then exit 1 fi -if [[ -z "$MON_IP" || -z "$CEPH_PUBLIC_NETWORK" ]]; then - log "ERROR- it looks like we have not been able to discover the network settings" - exit 1 -fi - function get_mon_config { # Get fsid from ceph.conf local fsid=$(ceph-conf --lookup fsid -c /etc/ceph/${CLUSTER}.conf)