From 6823bcdcd0ce72cd223e809291f46d82da76115c Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Wed, 18 Mar 2015 20:55:24 -0700 Subject: [PATCH] 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 --- src/init-radosgw | 6 ------ src/init-radosgw.sysv | 6 ------ 2 files changed, 12 deletions(-) diff --git a/src/init-radosgw b/src/init-radosgw index 1ef71c43d6a..8e8a5396619 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 e210b79144e..f4eda14e90f 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`