]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
rgw/multisite: assign 'rgw_zone' to the exact section in ceph.conf
authorguihecheng <guihecheng@cmiot.chinamobile.com>
Wed, 23 Jan 2019 01:36:25 +0000 (09:36 +0800)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 23 Aug 2019 13:56:15 +0000 (15:56 +0200)
commit196e70a75af804b1a98771c61a6ea275f5a87259
tree8a7baa768430e08220c1ea52746f3871180fd402
parent27014df45e2d55ca64fd854e9cdea4d919b61cae
rgw/multisite: assign 'rgw_zone' to the exact section in ceph.conf

since the following commit:
  commit 1ac94c048ff1d1385de2892d0ecef7879ec563e9
  rgw: add support for multiple rgw instances on a single host

we have multi-instance rgw support on a single host and
the config section name of the rgw changed from
[client.rgw.$(hostname)] -> [client.rgw.$(hostname).rgwX]
when X is the sequence number: 0,1,2,...
So we should assign 'rgw_zone' item to the exact rgw instance
config section in ceph.conf

Signed-off-by: guihecheng <guihecheng@cmiot.chinamobile.com>
(cherry picked from commit a0590cae9d2da15bfa25da38ce5ac42eb7203502)
roles/ceph-rgw/tasks/multisite/main.yml