Add multisite testing

Add bundles for testing of multisite configurations
for OpenStack Queens and Rocky.

Change-Id: I8bbd3977f13709422d3c2c7086d285b5736cb883
This commit is contained in:
James Page 2019-03-07 05:45:48 +00:00
parent 21de8a368f
commit 07f9fc11ee
3 changed files with 155 additions and 3 deletions

View File

@ -0,0 +1,75 @@
options:
source: &source distro
series: bionic
applications:
ceph-radosgw:
series: bionic
charm: ../../../ceph-radosgw
num_units: 1
options:
source: *source
realm: testrealm
zonegroup: testzonegroup
zone: east-1
region: east-1
east-ceph-osd:
charm: cs:~openstack-charmers-next/ceph-osd
num_units: 3
storage:
osd-devices: 'cinder,10G'
options:
source: *source
east-ceph-mon:
charm: cs:~openstack-charmers-next/ceph-mon
num_units: 3
options:
source: *source
slave-ceph-radosgw:
series: bionic
charm: ../../../ceph-radosgw
num_units: 1
options:
source: *source
realm: testrealm
zonegroup: testzonegroup
zone: west-1
region: west-1
west-ceph-osd:
charm: cs:~openstack-charmers-next/ceph-osd
num_units: 3
storage:
osd-devices: 'cinder,10G'
options:
source: *source
west-ceph-mon:
charm: cs:~openstack-charmers-next/ceph-mon
num_units: 3
options:
source: *source
percona-cluster:
charm: cs:~openstack-charmers-next/percona-cluster
num_units: 1
keystone:
expose: True
charm: cs:~openstack-charmers-next/keystone
num_units: 1
options:
openstack-origin: *source
region: "east-1 west-1"
relations:
- - keystone:shared-db
- percona-cluster:shared-db
- - east-ceph-osd:mon
- east-ceph-mon:osd
- - ceph-radosgw:mon
- east-ceph-mon:radosgw
- - ceph-radosgw:identity-service
- keystone:identity-service
- - west-ceph-osd:mon
- west-ceph-mon:osd
- - slave-ceph-radosgw:mon
- west-ceph-mon:radosgw
- - slave-ceph-radosgw:identity-service
- keystone:identity-service
- - slave-ceph-radosgw:master
- ceph-radosgw:slave

View File

@ -0,0 +1,75 @@
options:
source: &source cloud:bionic-rocky
series: bionic
applications:
ceph-radosgw:
series: bionic
charm: ../../../ceph-radosgw
num_units: 1
options:
source: *source
realm: testrealm
zonegroup: testzonegroup
zone: east-1
region: east-1
east-ceph-osd:
charm: cs:~openstack-charmers-next/ceph-osd
num_units: 3
storage:
osd-devices: 'cinder,10G'
options:
source: *source
east-ceph-mon:
charm: cs:~openstack-charmers-next/ceph-mon
num_units: 3
options:
source: *source
slave-ceph-radosgw:
series: bionic
charm: ../../../ceph-radosgw
num_units: 1
options:
source: *source
realm: testrealm
zonegroup: testzonegroup
zone: west-1
region: west-1
west-ceph-osd:
charm: cs:~openstack-charmers-next/ceph-osd
num_units: 3
storage:
osd-devices: 'cinder,10G'
options:
source: *source
west-ceph-mon:
charm: cs:~openstack-charmers-next/ceph-mon
num_units: 3
options:
source: *source
percona-cluster:
charm: cs:~openstack-charmers-next/percona-cluster
num_units: 1
keystone:
expose: True
charm: cs:~openstack-charmers-next/keystone
num_units: 1
options:
openstack-origin: *source
region: "east-1 west-1"
relations:
- - keystone:shared-db
- percona-cluster:shared-db
- - east-ceph-osd:mon
- east-ceph-mon:osd
- - ceph-radosgw:mon
- east-ceph-mon:radosgw
- - ceph-radosgw:identity-service
- keystone:identity-service
- - west-ceph-osd:mon
- west-ceph-mon:osd
- - slave-ceph-radosgw:mon
- west-ceph-mon:radosgw
- - slave-ceph-radosgw:identity-service
- keystone:identity-service
- - slave-ceph-radosgw:master
- ceph-radosgw:slave

View File

@ -7,10 +7,12 @@ gate_bundles:
- xenial-pike
- xenial-queens
- bionic-queens
smoke_bundles:
- bionic-queens
dev_bundles:
- bionic-queens-multisite
- bionic-rocky
- bionic-rocky-multisite
smoke_bundles:
- bionic-rocky
dev_bundles:
- cosmic-rocky
tests:
- zaza.charm_tests.ceph.tests.CephRGWTest