]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
init-radosgw*: don't require rgw_socket_path to be defined
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 19 Mar 2015 03:55:24 +0000 (20:55 -0700)
committerSage Weil <sage@redhat.com>
Thu, 19 Mar 2015 16:18:46 +0000 (09:18 -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>
(cherry picked from commit 6823bcdcd0ce72cd223e809291f46d82da76115c)

src/init-radosgw
src/init-radosgw.sysv

index c38ddad616e57e8f15749c4fbae40861ecceccea..c721870d30c6b519003d36aa5f08ca3918f36a32 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 2486539af36d68e12da0d0f976c52d235b80ffa8..e3b7d93b4cb7f948045ade5033d9b9c77a2d8145 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`