ceph-ansible/roles
Guillaume Abrioux df98746378 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>
(cherry picked from commit 71a5e666e3)
2021-01-28 16:37:32 -05:00
..
ceph-client common: follow up on #5948 2020-11-03 09:43:51 +01:00
ceph-common ceph-common: remove copr and sepia repositories 2020-06-30 17:08:53 +02:00
ceph-config rgw: multisite refact 2021-01-28 16:37:32 -05:00
ceph-container-common container: quote registry password 2020-09-18 14:25:44 -04:00
ceph-container-engine container: add optional http(s) proxy option 2020-09-16 11:32:14 -04:00
ceph-crash Path for ceph config missing in crash template 2021-01-06 16:55:12 +01:00
ceph-dashboard dashboard: manage password backward compatibility 2021-01-18 14:46:53 -05:00
ceph-defaults ceph-defaults: change default ceph container tag 2021-01-22 17:39:39 -05:00
ceph-facts ceph-facts: fix read osd pool default crush fact 2020-11-18 17:01:05 -05:00
ceph-fetch-keys fix broken ceph-fetch-keys role 2020-12-14 11:42:50 -05:00
ceph-grafana monitoring: use config_template module for config 2020-12-14 13:28:12 -05:00
ceph-handler rgw: support switching from single-site to multisite 2021-01-06 10:29:59 -05:00
ceph-infra ceph-infra: include iscsi nodes for logrotate 2020-09-17 14:49:35 -04:00
ceph-iscsi-gw iscsigw: remove `--cap-add=all` from `podman run` cmd 2020-11-30 16:42:59 -05:00
ceph-mds container: remove `--ignore` from `podman rm` command 2020-11-30 16:42:59 -05:00
ceph-mgr container: remove `--ignore` from `podman rm` command 2020-11-30 16:42:59 -05:00
ceph-mon mon: fix cephx disabled deployment 2021-01-18 13:50:57 -05:00
ceph-nfs container: remove `--ignore` from `podman rm` command 2020-11-30 16:42:59 -05:00
ceph-node-exporter container: remove `--ignore` from `podman rm` command 2020-11-30 16:42:59 -05:00
ceph-osd library: add ceph_osd_flag module 2020-12-15 14:12:44 +01:00
ceph-prometheus monitoring: use config_template module for config 2020-12-14 13:28:12 -05:00
ceph-rbd-mirror container: remove `--ignore` from `podman rm` command 2020-11-30 16:42:59 -05:00
ceph-rgw rgw: multisite refact 2021-01-28 16:37:32 -05:00
ceph-rgw-loadbalancer Enable HAProxy backend checks for Ceph RGW 2020-09-02 09:54:52 -04:00
ceph-validate rgw: multisite refact 2021-01-28 16:37:32 -05:00