Browse Source

Test bundles for focal-wallaby and hirsute-wallaby

These are the test bundles (and any associated changes) for
focal-wallaby and hirsute-wallaby support.

hisute-wallaby test is disabled (moved to dev) due to [1].

[1] https://github.com/juju-solutions/layer-basic/issues/194

Change-Id: Icc574387103d1fdb83836041e346cd2223c2a465
changes/02/778902/3
Alex Kavanagh 7 months ago
committed by Alex Kavanagh
parent
commit
8950259b27
  1. 15
      osci.yaml
  2. 1
      src/tests/bundles/hirsute-full-ha.yaml
  3. 161
      src/tests/bundles/hirsute-full.yaml
  4. 29
      src/tests/bundles/hirsute.yaml
  5. 16
      src/tests/bundles/overlays/hirsute-full-ha.yaml.j2
  6. 17
      src/tests/tests.yaml

15
osci.yaml

@ -4,22 +4,29 @@
check:
jobs:
- focal
- full_model-groovy-full-ha
- full_model-focal-full-ha
- full_model-groovy-full-ha
- full_model-hirsute-full-ha
vars:
needs_charm_build: true
charm_build_name: mysql-innodb-cluster
- job:
name: full_model-groovy-full-ha
name: full_model-focal-full-ha
parent: func-target
dependencies: &smoke-jobs
- focal
vars:
tox_extra_args: full_model:focal-full-ha
- job:
name: full_model-groovy-full-ha
parent: func-target
dependencies: *smoke-jobs
vars:
tox_extra_args: full_model:groovy-full-ha
- job:
name: full_model-focal-full-ha
name: full_model-hirsute-full-ha
parent: func-target
dependencies: *smoke-jobs
vars:
tox_extra_args: full_model:focal-full-ha
tox_extra_args: full_model:hirsute-full-ha

1
src/tests/bundles/hirsute-full-ha.yaml

@ -0,0 +1 @@
hirsute-full.yaml

161
src/tests/bundles/hirsute-full.yaml

@ -0,0 +1,161 @@
variables:
openstack-origin: &openstack-origin distro
series: &series hirsute
applications:
keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
nova-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
glance-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
neutron-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
placement-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
vault-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
mysql-innodb-cluster:
charm: ../../../mysql-innodb-cluster
num_units: 3
options:
source: *openstack-origin
keystone:
charm: cs:~openstack-charmers-next/keystone
num_units: 1
options:
openstack-origin: *openstack-origin
rabbitmq-server:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
options:
source: *openstack-origin
vault:
charm: cs:~openstack-charmers-next/vault
num_units: 1
ovn-central:
charm: cs:~openstack-charmers-next/ovn-central
num_units: 3
options:
source: *openstack-origin
neutron-api-plugin-ovn:
charm: cs:~openstack-charmers-next/neutron-api-plugin-ovn
neutron-api:
charm: cs:~openstack-charmers-next/neutron-api
series: *series
num_units: 1
options:
flat-network-providers: physnet1
neutron-security-groups: true
openstack-origin: *openstack-origin
glance:
charm: cs:~openstack-charmers-next/glance
num_units: 1
options:
openstack-origin: *openstack-origin
nova-cloud-controller:
charm: cs:~openstack-charmers-next/nova-cloud-controller
num_units: 1
options:
network-manager: Neutron
openstack-origin: *openstack-origin
ovn-chassis:
charm: cs:~openstack-charmers-next/ovn-chassis
nova-compute:
charm: cs:~openstack-charmers-next/nova-compute
num_units: 1
options:
config-flags: default_ephemeral_format=ext4
enable-live-migration: true
enable-resize: true
migration-auth-type: ssh
openstack-origin: *openstack-origin
placement:
charm: cs:~openstack-charmers-next/placement
num_units: 1
options:
openstack-origin: *openstack-origin
memcached:
charm: cs:memcached
num_units: 1
series: bionic
relations:
- - neutron-api:amqp
- rabbitmq-server:amqp
- - neutron-api:neutron-api
- nova-cloud-controller:neutron-api
- - neutron-api:identity-service
- keystone:identity-service
- - nova-cloud-controller:amqp
- rabbitmq-server:amqp
- - nova-compute:amqp
- rabbitmq-server:amqp
- - nova-cloud-controller:identity-service
- keystone:identity-service
- - nova-cloud-controller:cloud-compute
- nova-compute:cloud-compute
- - glance:identity-service
- keystone:identity-service
- - glance:amqp
- rabbitmq-server:amqp
- - nova-compute:image-service
- glance:image-service
- - nova-cloud-controller:image-service
- glance:image-service
- - placement:identity-service
- keystone:identity-service
- - placement:placement
- nova-cloud-controller:placement
- - neutron-api-plugin-ovn:neutron-plugin
- neutron-api:neutron-plugin-api-subordinate
- - ovn-central:certificates
- vault:certificates
- - ovn-central:ovsdb-cms
- neutron-api-plugin-ovn:ovsdb-cms
- - neutron-api:certificates
- vault:certificates
- - ovn-chassis:nova-compute
- nova-compute:neutron-plugin
- - ovn-chassis:certificates
- vault:certificates
- - ovn-chassis:ovsdb
- ovn-central:ovsdb
- - vault:certificates
- neutron-api-plugin-ovn:certificates
- - vault:certificates
- glance:certificates
- - vault:certificates
- keystone:certificates
- - vault:certificates
- nova-cloud-controller:certificates
- - vault:certificates
- placement:certificates
- - vault:certificates
- mysql-innodb-cluster:certificates
- - memcached:cache
- nova-cloud-controller:memcache
- - keystone:shared-db
- keystone-mysql-router:shared-db
- - glance:shared-db
- glance-mysql-router:shared-db
- - nova-cloud-controller:shared-db
- nova-mysql-router:shared-db
- - neutron-api:shared-db
- neutron-mysql-router:shared-db
- - placement:shared-db
- placement-mysql-router:shared-db
- - vault:shared-db
- vault-mysql-router:shared-db
- - keystone-mysql-router:db-router
- mysql-innodb-cluster:db-router
- - nova-mysql-router:db-router
- mysql-innodb-cluster:db-router
- - glance-mysql-router:db-router
- mysql-innodb-cluster:db-router
- - neutron-mysql-router:db-router
- mysql-innodb-cluster:db-router
- - placement-mysql-router:db-router
- mysql-innodb-cluster:db-router
- - vault-mysql-router:db-router
- mysql-innodb-cluster:db-router

29
src/tests/bundles/hirsute.yaml

@ -0,0 +1,29 @@
series: hirsute
applications:
keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
vault-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
mysql-innodb-cluster:
series: groovy
charm: ../../../mysql-innodb-cluster
num_units: 3
keystone:
charm: cs:~openstack-charmers-next/keystone
num_units: 1
vault:
charm: cs:~openstack-charmers-next/vault
num_units: 1
relations:
- - vault:certificates
- mysql-innodb-cluster:certificates
- - vault:certificates
- keystone:certificates
- - keystone:shared-db
- keystone-mysql-router:shared-db
- - vault:shared-db
- vault-mysql-router:shared-db
- - keystone-mysql-router:db-router
- mysql-innodb-cluster:db-router
- - vault-mysql-router:db-router
- mysql-innodb-cluster:db-router

16
src/tests/bundles/overlays/hirsute-full-ha.yaml.j2

@ -0,0 +1,16 @@
applications:
keystone:
num_units: 3
options:
vip: {{TEST_VIP00}}
nova-cloud-controller:
num_units: 3
options:
vip: {{TEST_VIP01}}
keystone-hacluster:
charm: cs:~openstack-charmers-next/hacluster
nova-hacluster:
charm: cs:~openstack-charmers-next/hacluster
relations:
- ["keystone:ha", "keystone-hacluster:ha"]
- ["nova-cloud-controller:ha", "nova-hacluster:ha"]

17
src/tests/tests.yaml

@ -1,4 +1,5 @@
charm_name: mysql-innodb-cluster
configure:
- zaza.openstack.charm_tests.vault.setup.auto_initialize
- zaza.openstack.charm_tests.keystone.setup.add_demo_user
@ -12,6 +13,7 @@ configure:
- scale_in_out:
- zaza.openstack.charm_tests.vault.setup.auto_initialize
- zaza.openstack.charm_tests.keystone.setup.add_demo_user
tests:
- zaza.openstack.charm_tests.mysql.tests.MySQLInnoDBClusterTests
- zaza.openstack.charm_tests.keystone.tests.AuthenticationAuthorizationTest
@ -22,18 +24,25 @@ tests:
- zaza.openstack.charm_tests.mysql.tests.MySQLInnoDBClusterColdStartTest
- zaza.openstack.charm_tests.mysql.tests.MySQLInnoDBClusterScaleTest
- zaza.openstack.charm_tests.keystone.tests.AuthenticationAuthorizationTest
gate_bundles:
- scale_in_out: groovy
- full_model: groovy-full-ha
- scale_in_out: focal
- full_model: focal-full-ha
- scale_in_out: groovy
- full_model: groovy-full-ha
smoke_bundles:
- focal
dev_bundles:
- scale_in_out: hirsute
- full_model: hirsute-full-ha
tests_options:
force_deploy:
- groovy
- groovy-full-ha
- hirsute
- hirsute-full-ha
target_deploy_status:
neutron-api-plugin-ovn:
workload-status: waiting

Loading…
Cancel
Save