charm-ceph-radosgw/osci.yaml
utkarshbhatthere 44fee84d4d
Adds support for migration to multi-site system.
1.) Currently multi-site can only be configured when system is being
deployed from scratch, migration works by renaming the existing
Zone/Zonegroups (Z/ZG) to Juju config values on primary site before
secondary site pulls the realm data and then rename and configure
secondary Zone accordingly.

During migration:
2.) If multiple Z/ZG not matching the config values are present at
primary site, the leader unit will block and prompt use of
'force-enable-multisite' which renames and configures selected Z/ZG
according to multisite config values.

3.) If the site being added as a secondary already contain Buckets,
the unit will block and prompt the operator to purge all such Buckets
before proceeding.

Closes-Bug: #1959837
Change-Id: I01a4c1c4551c797f0a32951dfbde8a1a4126c2d6
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/840
2022-08-07 13:32:37 +05:30

102 lines
2.4 KiB
YAML

- project:
templates:
- charm-unit-jobs-py38
- charm-unit-jobs-py39
check:
jobs:
- focal-xena-multisite
- vault-focal-xena_rgw
- vault-focal-xena-namespaced
- focal-yoga-multisite:
voting: false
- vault-focal-yoga_rgw:
voting: false
- vault-focal-yoga-namespaced:
voting: false
- jammy-yoga-multisite:
voting: false
- vault-jammy-yoga_rgw:
voting: false
- vault-jammy-yoga-namespaced:
voting: false
vars:
needs_charm_build: true
charm_build_name: ceph-radosgw
build_type: charmcraft
- job:
name: focal-xena-multisite
parent: func-target
dependencies:
- osci-lint
- charm-build
- tox-py38
- tox-py39
vars:
tox_extra_args: focal-xena-multisite
- job:
name: vault-focal-xena_rgw
parent: func-target
dependencies:
- osci-lint
- charm-build
- tox-py38
- tox-py39
vars:
tox_extra_args: vault:focal-xena
- job:
name: vault-focal-xena-namespaced
parent: func-target
dependencies:
- osci-lint
- tox-py38
- tox-py39
vars:
tox_extra_args: vault:focal-xena-namespaced
- job:
name: jammy-yoga-multisite
parent: func-target
dependencies:
- focal-xena-multisite
vars:
tox_extra_args: jammy-yoga-multisite
- job:
name: vault-jammy-yoga_rgw
parent: func-target
dependencies:
- vault-focal-xena_rgw
- vault-focal-xena-namespaced
vars:
tox_extra_args: vault:jammy-yoga
- job:
name: vault-jammy-yoga-namespaced
parent: func-target
dependencies:
- vault-focal-xena_rgw
- vault-focal-xena-namespaced
vars:
tox_extra_args: vault:jammy-yoga-namespaced
- job:
name: focal-yoga-multisite
parent: func-target
dependencies:
- focal-xena-multisite
vars:
tox_extra_args: focal-yoga-multisite
- job:
name: vault-focal-yoga_rgw
parent: func-target
dependencies:
- vault-focal-xena_rgw
- vault-focal-xena-namespaced
vars:
tox_extra_args: vault:focal-yoga
- job:
name: vault-focal-yoga-namespaced
parent: func-target
dependencies:
- vault-focal-xena_rgw
- vault-focal-xena-namespaced
vars:
tox_extra_args: vault:focal-yoga-namespaced