charm-ceph-radosgw/unit_tests
Ionut Balutoiu 4e608c1485 Add group policy configuration
Allow configuration of a zone group default sync policy. This is useful
in scenarios where we want to have selective buckets sync. Valuable
especially with the new `cloud-sync` relation.

This is based on Ceph multisite sync policy:
https://docs.ceph.com/en/latest/radosgw/multisite-sync-policy/

Additionally, three more Juju actions are added to selectively enable,
disable, or reset buckets sync:
* `enable-buckets-sync`
* `disable-buckets-sync`
* `reset-buckets-sync`

These new actions are meant to be used in conjunction with a default
zone group sync policy that allows syncing, but it's disabled by default.

Change-Id: I4a8076192269aaeaca50668ebcebc0a52c6d2c84
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/1193
Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
2024-04-30 13:04:59 +03:00
..
testdata Add group policy configuration 2024-04-30 13:04:59 +03:00
__init__.py Improve platform mocking 2023-10-30 17:52:43 +02:00
test_actions.py Add group policy configuration 2024-04-30 13:04:59 +03:00
test_ceph_radosgw_context.py Add group policy configuration 2024-04-30 13:04:59 +03:00
test_ceph_radosgw_utils.py Add group policy configuration 2024-04-30 13:04:59 +03:00
test_ceph.py Fix pool names in RadosGW charm 2023-08-09 11:36:16 -03:00
test_hooks.py Add group policy configuration 2024-04-30 13:04:59 +03:00
test_multisite.py Add group policy configuration 2024-04-30 13:04:59 +03:00
test_utils.py Use unittest.mock instead of mock 2021-12-15 11:03:09 +00:00