ceph-ansible/tests/functional
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
..
add-mdss tests: migrate to quay.ceph.io registry 2020-09-07 12:54:29 +02:00
add-mgrs tests: migrate to quay.ceph.io registry 2020-09-07 12:54:29 +02:00
add-mons tests: migrate to quay.ceph.io registry 2020-09-07 12:54:29 +02:00
add-osds tests: migrate to quay.ceph.io registry 2020-09-07 12:54:29 +02:00
add-rbdmirrors tests: migrate to quay.ceph.io registry 2020-09-07 12:54:29 +02:00
add-rgws tests: migrate to quay.ceph.io registry 2020-09-07 12:54:29 +02:00
all-in-one Remove unused centos docker tasks 2020-09-29 07:35:10 +02:00
all_daemons grafana: update container tag to 6.7.4 2021-01-27 15:08:31 +01:00
cephadm library: add cephadm_bootstrap module 2020-12-01 10:30:05 +01:00
collocation grafana: update container tag to 6.7.4 2021-01-27 15:08:31 +01:00
docker2podman grafana: update container tag to 6.7.4 2021-01-27 15:08:31 +01:00
external_clients defaults: change defaults value 2020-10-02 07:42:40 +02:00
filestore-to-bluestore tests: migrate to quay.ceph.io registry 2020-09-07 12:54:29 +02:00
infra_lv_create Fix units and add ability to have a dedicated instance 2019-06-10 18:18:46 +02:00
lvm-auto-discovery tests: migrate to quay.ceph.io registry 2020-09-07 12:54:29 +02:00
lvm-batch tests: migrate to quay.ceph.io registry 2020-09-07 12:54:29 +02:00
lvm-osds defaults: change defaults value 2020-10-02 07:42:40 +02:00
migrate_ceph_disk_to_ceph_volume update osd pool set size command 2020-03-11 11:25:42 +01:00
ooo-collocation defaults: change defaults value 2020-10-02 07:42:40 +02:00
podman grafana: update container tag to 6.7.4 2021-01-27 15:08:31 +01:00
rgw-multisite rgw: multisite refact 2021-01-27 15:46:43 +01:00
shrink_mds Remove unused centos docker tasks 2020-09-29 07:35:10 +02:00
shrink_mgr Remove unused centos docker tasks 2020-09-29 07:35:10 +02:00
shrink_mon Remove unused centos docker tasks 2020-09-29 07:35:10 +02:00
shrink_osd Remove unused centos docker tasks 2020-09-29 07:35:10 +02:00
shrink_rbdmirror Remove unused centos docker tasks 2020-09-29 07:35:10 +02:00
shrink_rgw Remove unused centos docker tasks 2020-09-29 07:35:10 +02:00
tests flake8: fix pep8 syntax on tests/functional/tests/ 2020-10-06 08:00:06 +02:00
.gitignore tests: ignore folders created by ceph-ansible during testing 2016-11-08 10:35:43 -06:00
dev_setup.yml tests: remove ooo_collocation job 2020-10-04 11:19:15 +02:00
external_clients_admin_key.yml tests: add more coverage in external_clients scenario 2020-03-31 14:49:38 -04:00
lvm_setup.yml tests: lvm_setup.yml, add carriage return 2020-07-22 14:25:45 +02:00
rbd_map_devices.yml tests/functional: change docker to podman 2020-01-08 11:13:46 +01: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-27 15:46:43 +01:00
rhcs_setup.yml ansible: use 'bool' filter on boolean conditionals 2019-06-06 10:21:17 +02:00
setup.yml tests: remove pyyaml workaround on OSD nodes 2020-12-10 09:15:03 +01:00