ceph-ansible/roles/ceph-rgw/tasks
Guillaume Abrioux 71a5e666e3 rgw: multisite refact
Add the possibility to deploy rgw multisite configuration with a mix of
secondary and primary zones on a same rgw node.
Before that, on a same node, all instances were either primary
zones *OR* secondary.

Now you can define a rgw instance like following:

```
rgw_instances:
  - instance_name: 'rgw0'
    rgw_zonemaster: false
    rgw_zonesecondary: true
    rgw_zonegroupmaster: false
    rgw_realm: 'france'
    rgw_zonegroup: 'zonegroup-france'
    rgw_zone: paris-00
    radosgw_address: "{{ _radosgw_address }}"
    radosgw_frontend_port: 8080
    rgw_zone_user: jacques.chirac
    rgw_zone_user_display_name: "Jacques Chirac"
    system_access_key: P9Eb6S8XNyo4dtZZUUMy
    system_secret_key: qqHCUtfdNnpHq3PZRHW5un9l0bEBM812Uhow0XfB
    endpoint: http://192.168.101.12:8080
```

Basically it's now possible to define `rgw_zonemaster`,
`rgw_zonesecondary` and `rgw_zonegroupmaster` at the intsance
level instead of the whole node level.

Also, this commit adds an option `deploy_secondary_zones` (default True)
which can be set to `False` in order to explicitly ask the playbook to
not deploy secondary zones in case where the corresponding endpoint are
not deployed yet.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1915478

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2021-01-27 15:46:43 +01:00
..
multisite rgw: multisite refact 2021-01-27 15:46:43 +01:00
common.yml keyring: use ceph_key module for auth get command 2020-11-02 17:17:29 +01:00
main.yml rgw multisite: enable more than 1 realm per cluster 2020-03-04 12:58:13 -05:00
multisite.yml rgw: support switching from single-site to multisite 2021-01-06 09:58:45 -05:00
openstack-keystone.yml improve coding style 2019-04-23 15:37:07 +02:00
pre_requisite.yml rgw: fix multi instances scaleout in baremetal 2020-10-06 07:38:44 +02:00
rgw_create_pools.yml library: add missing `target_size_ratio` parameter support in ceph_pool module 2020-12-16 15:10:27 +01:00
start_docker_rgw.yml rgw: fix multi instances scaleout 2020-07-02 10:39:50 -04:00
start_radosgw.yml rgw: multisite refact 2021-01-27 15:46:43 +01:00
systemd.yml rgw: refact tasks directory layout 2019-10-01 10:27:51 -04:00