ceph-ansible/tests/functional
Guillaume Abrioux 14267fe0c4 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:50 -05:00
..
add-mdss tests: migrate to quay.ceph.io registry 2020-09-10 21:37:06 +02:00
add-mgrs tests: migrate to quay.ceph.io registry 2020-09-10 21:37:06 +02:00
add-mons tests: migrate to quay.ceph.io registry 2020-09-10 21:37:06 +02:00
add-osds tests: migrate to quay.ceph.io registry 2020-09-10 21:37:06 +02:00
add-rbdmirrors tests: migrate to quay.ceph.io registry 2020-09-10 21:37:06 +02:00
add-rgws tests: migrate to quay.ceph.io registry 2020-09-10 21:37:06 +02:00
all-in-one tests: migrate to quay.ceph.io registry 2020-09-10 21:37:06 +02:00
all_daemons tests: change cephfs pool size 2020-10-06 17:54:51 -04:00
collocation tests: use grafana from quay.io 2020-09-10 21:37:06 +02:00
docker2podman tests: use grafana from quay.io 2020-09-10 21:37:06 +02:00
external_clients tests: migrate to quay.ceph.io registry 2020-09-10 21:37:06 +02:00
filestore-to-bluestore tests: migrate to quay.ceph.io registry 2020-09-10 21:37:06 +02:00
infra_lv_create Fix units and add ability to have a dedicated instance 2019-06-12 11:48:12 +02:00
lvm-auto-discovery tests: migrate to quay.ceph.io registry 2020-09-10 21:37:06 +02:00
lvm-batch tests: migrate to quay.ceph.io registry 2020-09-10 21:37:06 +02:00
lvm-osds tests: migrate to quay.ceph.io registry 2020-09-10 21:37:06 +02:00
migrate_ceph_disk_to_ceph_volume tests: set dashboard|grafana_admin_password 2020-01-29 14:15:41 +01:00
ooo-collocation tests: migrate to quay.ceph.io registry 2020-09-10 21:37:06 +02:00
podman tests: use grafana from quay.io 2020-09-10 21:37:06 +02:00
rgw-multisite rgw: multisite refact 2021-01-28 16:37:50 -05:00
shrink_mds tests: migrate to quay.ceph.io registry 2020-09-10 21:37:06 +02:00
shrink_mgr tests: migrate to quay.ceph.io registry 2020-09-10 21:37:06 +02:00
shrink_mon tests: migrate to quay.ceph.io registry 2020-09-10 21:37:06 +02:00
shrink_osd tests: migrate to quay.ceph.io registry 2020-09-10 21:37:06 +02:00
shrink_rbdmirror tests: migrate to quay.ceph.io registry 2020-09-10 21:37:06 +02:00
shrink_rgw tests: migrate to quay.ceph.io registry 2020-09-10 21:37:06 +02:00
tests flake8: fix pep8 syntax on tests/functional/tests/ 2020-10-06 10:04:01 +02:00
.gitignore tests: ignore folders created by ceph-ansible during testing 2016-11-08 10:35:43 -06:00
dev_setup.yml tests: add more coverage in external_clients scenario 2020-03-31 19:42:40 -04:00
external_clients_admin_key.yml tests: add more coverage in external_clients scenario 2020-03-31 19:42:40 -04:00
lvm_setup.yml tests: lvm_setup.yml, add carriage return 2020-07-22 18:47:27 -04:00
rbd_map_devices.yml tests: add coverage on purge playbook 2019-11-14 10:49:38 -05:00
reboot.yml tests/functional: Use the ansible reboot module 2019-03-27 08:30:50 +00:00
rgw_multisite.yml rgw: multisite refact 2021-01-28 16:37:50 -05:00
rhcs_setup.yml ansible: use 'bool' filter on boolean conditionals 2019-06-07 16:05:51 +02:00
setup.yml Add CentOS 8 support for rpm deployment 2020-09-10 20:38:34 -04:00