]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
init-radosgw*: don't require rgw_socket_path to be defined 4087/head
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 19 Mar 2015 03:55:24 +0000 (20:55 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 19 Mar 2015 03:55:24 +0000 (20:55 -0700)
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 <dmick@redhat.com>
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/init-radosgw
src/init-radosgw.sysv

index 1ef71c43d6a2f428585b57febe733ecfa987b174..8e8a5396619ffe7e3cd0e26316d32db5e47ea50e 100644 (file)
@@ -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`
index e210b79144ea475ca2aa815c95ec73191433bf03..f4eda14e90f94a1e8abf3c427de5254da673dbc8 100644 (file)
@@ -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`