Add Victoria test bundles

Also remove Eoan bundles.

Change-Id: Ide4a257812e2b844aea869aba698936d1e0f7393
This commit is contained in:
Aurelien Lourot 2020-07-07 13:30:15 +02:00
parent 6dcc8e3ae1
commit de513bc49d
3 changed files with 296 additions and 25 deletions

View File

@ -0,0 +1,206 @@
variables:
openstack-origin: &openstack-origin cloud:focal-victoria
series: &series focal
machines:
0:
constraints: "mem=3072M"
1:
constraints: "mem=3072M"
2:
constraints: "mem=3072M"
3: {}
4: {}
5: {}
6: {}
7: {}
8: {}
9:
constraints: "root-disk=20G mem=4G"
10:
constraints: "root-disk=20G mem=4G"
11: {}
# We specify machine placements for these to improve iteration
# time, given that machine "0" comes up way before machine "7"
applications:
neutron-api-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
nova-cloud-controller-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
glance-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
placement-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
mysql-innodb-cluster:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
num_units: 3
options:
source: *openstack-origin
to:
- '0'
- '1'
- '2'
rabbitmq-server:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
options:
options:
source: *openstack-origin
to:
- '3'
neutron-api:
charm: cs:~openstack-charmers-next/neutron-api
series: *series
num_units: 1
options:
manage-neutron-plugin-legacy-mode: true
flat-network-providers: physnet1
neutron-security-groups: true
openstack-origin: *openstack-origin
to:
- '4'
keystone:
charm: cs:~openstack-charmers-next/keystone
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '5'
glance:
charm: cs:~openstack-charmers-next/glance
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '6'
neutron-openvswitch:
charm: cs:~openstack-charmers-next/neutron-openvswitch
neutron-gateway:
charm: "../../../neutron-gateway"
num_units: 1
options:
bridge-mappings: physnet1:br-ex
openstack-origin: *openstack-origin
to:
- '7'
nova-cloud-controller:
charm: cs:~openstack-charmers-next/nova-cloud-controller
num_units: 1
options:
network-manager: Neutron
openstack-origin: *openstack-origin
to:
- '8'
nova-compute:
charm: cs:~openstack-charmers-next/nova-compute
num_units: 2
options:
openstack-origin: *openstack-origin
to:
- '9'
- '10'
placement:
charm: cs:~openstack-charmers-next/placement
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '11'
relations:
- - 'neutron-api:shared-db'
- 'neutron-api-mysql-router:shared-db'
- - 'neutron-api-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'neutron-api:amqp'
- 'rabbitmq-server:amqp'
- - 'neutron-api:neutron-api'
- 'nova-cloud-controller:neutron-api'
- - 'neutron-api:neutron-plugin-api'
- 'neutron-gateway:neutron-plugin-api'
- - 'neutron-api:identity-service'
- 'keystone:identity-service'
- - 'keystone:shared-db'
- 'keystone-mysql-router:shared-db'
- - 'keystone-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'nova-compute:neutron-plugin'
- 'neutron-openvswitch:neutron-plugin'
- - 'nova-cloud-controller:shared-db'
- 'nova-cloud-controller-mysql-router:shared-db'
- - 'nova-cloud-controller-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'neutron-gateway:amqp'
- 'rabbitmq-server:amqp'
- - 'nova-cloud-controller:amqp'
- 'rabbitmq-server:amqp'
- - 'nova-compute:amqp'
- 'rabbitmq-server:amqp'
- - 'neutron-openvswitch:amqp'
- 'rabbitmq-server:amqp'
- - 'neutron-openvswitch:neutron-plugin-api'
- 'neutron-api:neutron-plugin-api'
- - 'nova-cloud-controller:identity-service'
- 'keystone:identity-service'
- - 'nova-cloud-controller:cloud-compute'
- 'nova-compute:cloud-compute'
- - 'glance:identity-service'
- 'keystone:identity-service'
- - 'glance:shared-db'
- 'glance-mysql-router:shared-db'
- - 'glance-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'glance:amqp'
- 'rabbitmq-server:amqp'
- - 'nova-compute:image-service'
- 'glance:image-service'
- - 'nova-cloud-controller:image-service'
- 'glance:image-service'
- - 'nova-cloud-controller:quantum-network-service'
- 'neutron-gateway:quantum-network-service'
- - 'placement:shared-db'
- 'placement-mysql-router:shared-db'
- - 'placement-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'placement:identity-service'
- 'keystone:identity-service'
- - 'placement:placement'
- 'nova-cloud-controller:placement'

View File

@ -1,63 +1,89 @@
variables: variables:
openstack-origin: &openstack-origin distro openstack-origin: &openstack-origin distro
series: &series eoan series: &series groovy
machines: machines:
0: 0:
constraints: "mem=3072M" constraints: "mem=3072M"
1: {} 1:
2: {} constraints: "mem=3072M"
2:
constraints: "mem=3072M"
3: {} 3: {}
4: {} 4: {}
5: {} 5: {}
6: {} 6: {}
7: 7: {}
8: {}
9:
constraints: "root-disk=20G mem=4G" constraints: "root-disk=20G mem=4G"
8: 10:
constraints: "root-disk=20G mem=4G" constraints: "root-disk=20G mem=4G"
9: {} 11: {}
# We specify machine placements for these to improve iteration # We specify machine placements for these to improve iteration
# time, given that machine "0" comes up way before machine "7" # time, given that machine "0" comes up way before machine "7"
applications: applications:
percona-cluster:
charm: cs:~openstack-charmers-next/percona-cluster neutron-api-mysql-router:
num_units: 1 charm: cs:~openstack-charmers-next/mysql-router
keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
nova-cloud-controller-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
glance-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
placement-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
mysql-innodb-cluster:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
num_units: 3
options: options:
source: *openstack-origin source: *openstack-origin
to: to:
- '0' - '0'
- '1'
- '2'
rabbitmq-server: rabbitmq-server:
charm: cs:~openstack-charmers-next/rabbitmq-server charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1 num_units: 1
options:
options: options:
source: *openstack-origin source: *openstack-origin
to: to:
- '1' - '3'
neutron-api: neutron-api:
charm: cs:~openstack-charmers-next/neutron-api charm: cs:~openstack-charmers-next/neutron-api
series: *series series: *series
num_units: 1 num_units: 1
options: options:
manage-neutron-plugin-legacy-mode: true
flat-network-providers: physnet1 flat-network-providers: physnet1
neutron-security-groups: true neutron-security-groups: true
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '2' - '4'
keystone: keystone:
charm: cs:~openstack-charmers-next/keystone charm: cs:~openstack-charmers-next/keystone
num_units: 1 num_units: 1
options: options:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '3' - '5'
glance: glance:
charm: cs:~openstack-charmers-next/glance charm: cs:~openstack-charmers-next/glance
num_units: 1 num_units: 1
options: options:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '4' - '6'
neutron-openvswitch: neutron-openvswitch:
charm: cs:~openstack-charmers-next/neutron-openvswitch charm: cs:~openstack-charmers-next/neutron-openvswitch
neutron-gateway: neutron-gateway:
@ -67,7 +93,8 @@ applications:
bridge-mappings: physnet1:br-ex bridge-mappings: physnet1:br-ex
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '5' - '7'
nova-cloud-controller: nova-cloud-controller:
charm: cs:~openstack-charmers-next/nova-cloud-controller charm: cs:~openstack-charmers-next/nova-cloud-controller
num_units: 1 num_units: 1
@ -75,68 +102,105 @@ applications:
network-manager: Neutron network-manager: Neutron
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '6' - '8'
nova-compute: nova-compute:
charm: cs:~openstack-charmers-next/nova-compute charm: cs:~openstack-charmers-next/nova-compute
num_units: 2 num_units: 2
options: options:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '7' - '9'
- '8' - '10'
placement: placement:
charm: cs:~openstack-charmers-next/placement charm: cs:~openstack-charmers-next/placement
num_units: 1 num_units: 1
options: options:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '9' - '11'
relations: relations:
- - 'neutron-api:shared-db' - - 'neutron-api:shared-db'
- 'percona-cluster:shared-db' - 'neutron-api-mysql-router:shared-db'
- - 'neutron-api-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'neutron-api:amqp' - - 'neutron-api:amqp'
- 'rabbitmq-server:amqp' - 'rabbitmq-server:amqp'
- - 'neutron-api:neutron-api' - - 'neutron-api:neutron-api'
- 'nova-cloud-controller:neutron-api' - 'nova-cloud-controller:neutron-api'
- - 'neutron-api:neutron-plugin-api' - - 'neutron-api:neutron-plugin-api'
- 'neutron-gateway:neutron-plugin-api' - 'neutron-gateway:neutron-plugin-api'
- - 'neutron-api:identity-service' - - 'neutron-api:identity-service'
- 'keystone:identity-service' - 'keystone:identity-service'
- - 'keystone:shared-db' - - 'keystone:shared-db'
- 'percona-cluster:shared-db' - 'keystone-mysql-router:shared-db'
- - 'keystone-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'nova-compute:neutron-plugin' - - 'nova-compute:neutron-plugin'
- 'neutron-openvswitch:neutron-plugin' - 'neutron-openvswitch:neutron-plugin'
- - 'nova-cloud-controller:shared-db' - - 'nova-cloud-controller:shared-db'
- 'percona-cluster:shared-db' - 'nova-cloud-controller-mysql-router:shared-db'
- - 'nova-cloud-controller-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'neutron-gateway:amqp' - - 'neutron-gateway:amqp'
- 'rabbitmq-server:amqp' - 'rabbitmq-server:amqp'
- - 'nova-cloud-controller:amqp' - - 'nova-cloud-controller:amqp'
- 'rabbitmq-server:amqp' - 'rabbitmq-server:amqp'
- - 'nova-compute:amqp' - - 'nova-compute:amqp'
- 'rabbitmq-server:amqp' - 'rabbitmq-server:amqp'
- - 'neutron-openvswitch:amqp' - - 'neutron-openvswitch:amqp'
- 'rabbitmq-server:amqp' - 'rabbitmq-server:amqp'
- - 'neutron-openvswitch:neutron-plugin-api' - - 'neutron-openvswitch:neutron-plugin-api'
- 'neutron-api:neutron-plugin-api' - 'neutron-api:neutron-plugin-api'
- - 'nova-cloud-controller:identity-service' - - 'nova-cloud-controller:identity-service'
- 'keystone:identity-service' - 'keystone:identity-service'
- - 'nova-cloud-controller:cloud-compute' - - 'nova-cloud-controller:cloud-compute'
- 'nova-compute:cloud-compute' - 'nova-compute:cloud-compute'
- - 'glance:identity-service' - - 'glance:identity-service'
- 'keystone:identity-service' - 'keystone:identity-service'
- - 'glance:shared-db' - - 'glance:shared-db'
- 'percona-cluster:shared-db' - 'glance-mysql-router:shared-db'
- - 'glance-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'glance:amqp' - - 'glance:amqp'
- 'rabbitmq-server:amqp' - 'rabbitmq-server:amqp'
- - 'nova-compute:image-service' - - 'nova-compute:image-service'
- 'glance:image-service' - 'glance:image-service'
- - 'nova-cloud-controller:image-service' - - 'nova-cloud-controller:image-service'
- 'glance:image-service' - 'glance:image-service'
- - 'nova-cloud-controller:quantum-network-service' - - 'nova-cloud-controller:quantum-network-service'
- 'neutron-gateway:quantum-network-service' - 'neutron-gateway:quantum-network-service'
- - 'placement:shared-db' - - 'placement:shared-db'
- 'percona-cluster:shared-db' - 'placement-mysql-router:shared-db'
- - 'placement-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'placement:identity-service' - - 'placement:identity-service'
- 'keystone:identity-service' - 'keystone:identity-service'
- - 'placement:placement' - - 'placement:placement'
- 'nova-cloud-controller:placement' - 'nova-cloud-controller:placement'

View File

@ -14,7 +14,8 @@ gate_bundles:
smoke_bundles: smoke_bundles:
- bionic-train - bionic-train
dev_bundles: dev_bundles:
- eoan-train - groovy-victoria
- focal-victoria
tests: tests:
- zaza.openstack.charm_tests.neutron.tests.NeutronGatewayTest - zaza.openstack.charm_tests.neutron.tests.NeutronGatewayTest
- zaza.openstack.charm_tests.neutron.tests.SecurityTest - zaza.openstack.charm_tests.neutron.tests.SecurityTest
@ -27,4 +28,4 @@ configure:
- zaza.openstack.charm_tests.keystone.setup.add_demo_user - zaza.openstack.charm_tests.keystone.setup.add_demo_user
tests_options: tests_options:
force_deploy: force_deploy:
- focal-ussuri - groovy-victoria