mirror of https://github.com/ceph/ceph-ansible.git
ceph-handler: allow 405 as a success restart for rgw
If rgw is configured to only operate admin api - this is the status code it will return for GET on no path. Signed-off-by: Seena Fallah <seenafallah@gmail.com>pull/7538/head
parent
f5e7f47a2e
commit
9f9b32e9e6
|
@ -62,7 +62,7 @@ check_rest() {
|
|||
local succ=0
|
||||
while [ $RETRIES -ne 0 ]; do
|
||||
check_for_curl_or_wget ${i}
|
||||
if [ $rgw_test_result -eq 200 ] || [ $rgw_test_result -eq 404 ]; then
|
||||
if [ $rgw_test_result -eq 200 ] || [ $rgw_test_result -eq 404 ] || [ $rgw_test_result -eq 405 ]; then
|
||||
succ=$((succ+1))
|
||||
break
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue