]> 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 06:14:10 +0000 (08:14 +0200)
commita0590cae9d2da15bfa25da38ce5ac42eb7203502
tree6ca0131495cf8eba8c3bb93803142d60061964d1
parent327d5641063e5a435e53ecb95148dca3c099b930
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>
roles/ceph-rgw/tasks/multisite/main.yml