e00689d50f
When only 'swift' is specified in `rgw_enable_apis`, sending a http request to the base RadosGW API URL('/') returns '405 Method Not Allowed'. It causes an important issue, because when any change is made to RadosGW configuration via ceph-ansible, the 'restart ceph rgws' handler is triggered that use restart_rgw_daemon.sh[1] script to restart radosgw service. Both curl and wget used by this script return non-zero return code on '405 Method Not Allowed' response, causing ceph-ansible playbook to fail. As a solution 's3' api can be enabled by default. With S3 API enabled, base RadosGW API URL('/') returns 200 instead of 405 RC. This change affects only environments using integrated ceph-ansible. [1] https://github.com/ceph/ceph-ansible/blob/stable-7.0/roles/ceph-handler/templates/restart_rgw_daemon.sh.j2#L68 Change-Id: Ief8759e19d935aec9d8cfa855b1b0ba2b0c83424
5 lines
101 B
YAML
5 lines
101 B
YAML
---
|
|
other:
|
|
- |
|
|
S3 API is now enabled by default for deployments using integrated ceph-ansible.
|