ceph-ansible/roles
Guillaume Abrioux a9c9464ff5 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-22 23:53:44 +01:00
..
ceph-client ceph-client: use group_by instead of add_host 2020-12-01 10:58:48 +01:00
ceph-common add missing boolean filter 2020-09-28 20:45:01 +02:00
ceph-config rgw: multisite refact 2021-01-22 23:53:44 +01:00
ceph-container-common container: quote registry password 2020-09-18 11:14:00 -04:00
ceph-container-engine container: remove container_binding_name variable 2020-10-14 10:32:31 +02:00
ceph-crash Path for ceph config missing in crash template 2021-01-06 16:50:18 +01:00
ceph-dashboard dashboard: configure passwords via stdin 2021-01-07 17:09:46 -05:00
ceph-defaults Revert "config: Always use osd_memory_target if set" 2020-12-12 06:56:32 +01:00
ceph-facts ceph-facts: fix grafana group conversion 2020-12-10 16:51:16 +01:00
ceph-fetch-keys fix broken ceph-fetch-keys role 2020-12-14 17:36:17 +01:00
ceph-grafana monitoring: use config_template module for config 2020-12-12 06:55:27 +01:00
ceph-handler rgw: support switching from single-site to multisite 2021-01-06 09:58:45 -05:00
ceph-infra defaults: change default grafana-server name 2020-09-29 07:42:26 +02:00
ceph-iscsi-gw iscsigw: remove `--cap-add=all` from `podman run` cmd 2020-11-30 12:24:11 -05:00
ceph-mds container: remove `--ignore` from `podman rm` command 2020-11-30 12:24:11 -05:00
ceph-mgr container: remove `--ignore` from `podman rm` command 2020-11-30 12:24:11 -05:00
ceph-mon ceph-mon: No become during gen mon initial keyring 2020-12-03 10:04:21 +01:00
ceph-nfs container: remove `--ignore` from `podman rm` command 2020-11-30 12:24:11 -05:00
ceph-node-exporter container: remove `--ignore` from `podman rm` command 2020-11-30 12:24:11 -05:00
ceph-osd ceph-osd: replace sysctl command task by slurp 2021-01-11 13:24:23 +01:00
ceph-prometheus monitoring: use config_template module for config 2020-12-12 06:55:27 +01:00
ceph-rbd-mirror container: remove `--ignore` from `podman rm` command 2020-11-30 12:24:11 -05:00
ceph-rgw rgw: multisite refact 2021-01-22 23:53:44 +01:00
ceph-rgw-loadbalancer ceph-rgw-loadbalancer: Fix keepalived master selection 2021-01-12 11:03:12 +01:00
ceph-validate rgw: multisite refact 2021-01-22 23:53:44 +01:00