From: Yehuda Sadeh Date: Thu, 19 Mar 2015 03:55:24 +0000 (-0700) Subject: init-radosgw*: don't require rgw_socket_path to be defined X-Git-Tag: v9.0.0~147^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6823bcdcd0ce72cd223e809291f46d82da76115c;p=ceph.git init-radosgw*: don't require rgw_socket_path to be defined Fixes: #11159 Backport: hammer, firefly Scripts required rgw_socket_path to exist in order to start radosgw. This is not needed. Reported-by: Dan Mick Signed-off-by: Yehuda Sadeh --- diff --git a/src/init-radosgw b/src/init-radosgw index 1ef71c43d6a2..8e8a5396619f 100644 --- a/src/init-radosgw +++ b/src/init-radosgw @@ -52,12 +52,6 @@ case "$1" in continue fi - # is the socket defined? if it's not, this instance shouldn't run as a daemon. - rgw_socket=`$RADOSGW -n $name --show-config-value rgw_socket_path` - if [ -z "$rgw_socket" ]; then - continue - fi - # mapped to this host? host=`ceph-conf -n $name host` hostname=`hostname -s` diff --git a/src/init-radosgw.sysv b/src/init-radosgw.sysv index e210b79144ea..f4eda14e90f9 100644 --- a/src/init-radosgw.sysv +++ b/src/init-radosgw.sysv @@ -59,12 +59,6 @@ case "$1" in continue fi - # is the socket defined? if it's not, this instance shouldn't run as a daemon. - rgw_socket=`$RADOSGW -n $name --show-config-value rgw_socket_path` - if [ -z "$rgw_socket" ]; then - continue - fi - # mapped to this host? host=`ceph-conf -n $name host` hostname=`hostname -s`