From edf5ff9b0e19d2c8a59752f0bb21c3d636f4273c Mon Sep 17 00:00:00 2001 From: Alex Kavanagh Date: Fri, 20 May 2022 20:05:28 +0100 Subject: [PATCH] Migrate charm charmhub for stable/ussuri - start from stable/ussuri branch - Do charmcraft, osci, zuul changes - Modify libs to point to stable/ussuri for: - charmhelpers - charms.openstack (as needed) - zaza & zaza.openstack.tests - Remove unsupported test bundles - migration bundles to charmhub.io (ch: prefix + channels) - Build on 18.04 amd64 - Run on 18.04 amd64, s390x, ppc64el, arm64 - Run on 20.04 amd64, s390x, ppc64el, arm64 Change-Id: I2543a4f4a02b3e0dab70f1674c540b1e60e27bc9 --- .gitignore | 1 + .gitreview | 2 +- .zuul.yaml | 2 +- build-requirements.txt | 7 + charm-helpers-hooks.yaml | 2 +- charmcraft.yaml | 36 +++++ metadata.yaml | 4 - osci.yaml | 61 ++----- rename.sh | 13 ++ test-requirements.txt | 8 +- tests/bundles/bionic-queens.yaml | 87 ---------- tests/bundles/bionic-rocky.yaml | 95 ----------- tests/bundles/bionic-stein.yaml | 95 ----------- tests/bundles/bionic-train.yaml | 31 ++-- tests/bundles/bionic-ussuri.yaml | 31 ++-- tests/bundles/focal-ussuri.yaml | 52 ++++-- tests/bundles/focal-victoria.yaml | 248 ----------------------------- tests/bundles/focal-wallaby.yaml | 248 ----------------------------- tests/bundles/focal-xena.yaml | 248 ----------------------------- tests/bundles/groovy-victoria.yaml | 248 ----------------------------- tests/bundles/hirsute-wallaby.yaml | 248 ----------------------------- tests/bundles/impish-xena.yaml | 248 ----------------------------- tests/bundles/trusty-mitaka.yaml | 93 ----------- tests/bundles/xenial-mitaka.yaml | 87 ---------- tests/bundles/xenial-ocata.yaml | 95 ----------- tests/bundles/xenial-pike.yaml | 95 ----------- tests/bundles/xenial-queens.yaml | 95 ----------- tests/tests.yaml | 22 +-- tox.ini | 30 +++- 29 files changed, 180 insertions(+), 2352 deletions(-) create mode 100644 build-requirements.txt create mode 100644 charmcraft.yaml create mode 100755 rename.sh delete mode 100644 tests/bundles/bionic-queens.yaml delete mode 100644 tests/bundles/bionic-rocky.yaml delete mode 100644 tests/bundles/bionic-stein.yaml delete mode 100644 tests/bundles/focal-victoria.yaml delete mode 100644 tests/bundles/focal-wallaby.yaml delete mode 100644 tests/bundles/focal-xena.yaml delete mode 100644 tests/bundles/groovy-victoria.yaml delete mode 100644 tests/bundles/hirsute-wallaby.yaml delete mode 100644 tests/bundles/impish-xena.yaml delete mode 100644 tests/bundles/trusty-mitaka.yaml delete mode 100644 tests/bundles/xenial-mitaka.yaml delete mode 100644 tests/bundles/xenial-ocata.yaml delete mode 100644 tests/bundles/xenial-pike.yaml delete mode 100644 tests/bundles/xenial-queens.yaml diff --git a/.gitignore b/.gitignore index a14d302d..42f7df1a 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ tests/cirros-*-disk.img .stestr __pycache__ func-results.json +*.charm diff --git a/.gitreview b/.gitreview index 15377e8b..56efdc59 100644 --- a/.gitreview +++ b/.gitreview @@ -3,4 +3,4 @@ host=review.opendev.org port=29418 project=openstack/charm-nova-compute.git -defaultbranch=stable/21.10 +defaultbranch=stable/ussuri diff --git a/.zuul.yaml b/.zuul.yaml index fd20909e..0eed1965 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,4 +1,4 @@ - project: templates: - - openstack-python3-charm-jobs + - openstack-python3-ussuri-jobs - openstack-cover-jobs diff --git a/build-requirements.txt b/build-requirements.txt new file mode 100644 index 00000000..b6d2452f --- /dev/null +++ b/build-requirements.txt @@ -0,0 +1,7 @@ +# NOTES(lourot): +# * We don't install charmcraft via pip anymore because it anyway spins up a +# container and scp the system's charmcraft snap inside it. So the charmcraft +# snap is necessary on the system anyway. +# * `tox -e build` successfully validated with charmcraft 1.2.1 + +cffi==1.14.6; python_version < '3.6' # cffi 1.15.0 drops support for py35. diff --git a/charm-helpers-hooks.yaml b/charm-helpers-hooks.yaml index c3129e60..dee5dc11 100644 --- a/charm-helpers-hooks.yaml +++ b/charm-helpers-hooks.yaml @@ -1,4 +1,4 @@ -repo: https://github.com/juju/charm-helpers@stable/21.10 +repo: https://github.com/juju/charm-helpers@stable/ussuri destination: hooks/charmhelpers include: - core diff --git a/charmcraft.yaml b/charmcraft.yaml new file mode 100644 index 00000000..0054a6cb --- /dev/null +++ b/charmcraft.yaml @@ -0,0 +1,36 @@ +type: charm + +parts: + charm: + plugin: dump + source: . + prime: + - actions/* + - charmhelpers/* + - files/* + - hooks/* + - lib/* + - templates/* + - actions.yaml + - config.yaml + - copyright + - hardening.yaml + - icon.svg + - LICENSE + - Makefile + - metadata.yaml + - README.md + +bases: + - build-on: + - name: ubuntu + channel: "18.04" + architectures: + - amd64 + run-on: + - name: ubuntu + channel: "18.04" + architectures: [amd64, s390x, ppc64el, arm64] + - name: ubuntu + channel: "20.04" + architectures: [amd64, s390x, ppc64el, arm64] diff --git a/metadata.yaml b/metadata.yaml index dfea3451..bc570ae6 100644 --- a/metadata.yaml +++ b/metadata.yaml @@ -11,12 +11,8 @@ description: | tags: - openstack series: -- xenial - bionic - focal -- groovy -- hirsute -- impish provides: cloud-compute: interface: nova-compute diff --git a/osci.yaml b/osci.yaml index 761b3b09..4e094fc7 100644 --- a/osci.yaml +++ b/osci.yaml @@ -1,62 +1,21 @@ - project: templates: - - charm-unit-jobs + - charm-unit-jobs-py36 + - charm-unit-jobs-py38 check: jobs: - - ceph-impish-xena_nova: - voting: false - - ceph-hirsute-wallaby_nova - - ceph-focal-xena_nova: - voting: false - - ceph-focal-wallaby_nova - - ceph-focal-victoria_nova - - ceph-focal-ussuri_nova - - bionic-ussuri - - bionic-train - - bionic-stein - - bionic-queens - - xenial-mitaka + - ceph-focal-ussuri_nova + - bionic-ussuri + - bionic-train + vars: + needs_charm_build: true + charm_build_name: nova-compute + build_type: charmcraft - job: name: ceph-focal-ussuri_nova parent: func-target - dependencies: &smoke-jobs + dependencies: - bionic-ussuri vars: tox_extra_args: ceph:focal-ussuri -- job: - name: ceph-focal-victoria_nova - parent: func-target - dependencies: *smoke-jobs - vars: - tox_extra_args: ceph:focal-victoria -- job: - name: ceph-focal-wallaby_nova - parent: func-target - dependencies: *smoke-jobs - vars: - tox_extra_args: ceph:focal-wallaby -- job: - name: ceph-focal-xena_nova - parent: func-target - dependencies: *smoke-jobs - vars: - tox_extra_args: ceph:focal-xena -- job: - name: ceph-groovy-victoria_nova - parent: func-target - dependencies: *smoke-jobs - vars: - tox_extra_args: ceph:groovy-victoria -- job: - name: ceph-hirsute-wallaby_nova - parent: func-target - dependencies: *smoke-jobs - vars: - tox_extra_args: ceph:hirsute-wallaby -- job: - name: ceph-impish-xena_nova - parent: func-target - dependencies: *smoke-jobs - vars: - tox_extra_args: ceph:impish-xena diff --git a/rename.sh b/rename.sh new file mode 100755 index 00000000..d0c35c97 --- /dev/null +++ b/rename.sh @@ -0,0 +1,13 @@ +#!/bin/bash +charm=$(grep "charm_build_name" osci.yaml | awk '{print $2}') +echo "renaming ${charm}_*.charm to ${charm}.charm" +echo -n "pwd: " +pwd +ls -al +echo "Removing bad downloaded charm maybe?" +if [[ -e "${charm}.charm" ]]; +then + rm "${charm}.charm" +fi +echo "Renaming charm here." +mv ${charm}_*.charm ${charm}.charm diff --git a/test-requirements.txt b/test-requirements.txt index 0a7e94a0..03968274 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7,6 +7,7 @@ # requirements. They are intertwined. Also, Zaza itself should specify # all of its own requirements and if it doesn't, fix it there. # +pyparsing<3.0.0 # cffi needs pyparsing < 3.0.0. cffi==1.14.6; python_version < '3.6' # cffi 1.15.0 drops support for py35. setuptools<50.0.0 # https://github.com/pypa/setuptools/commit/04e3df22df840c6bb244e9b27bc56750c44b7c85 @@ -37,11 +38,12 @@ oslo.utils<=3.41.0;python_version<'3.6' coverage>=4.5.2 pyudev # for ceph-* charm unit tests (need to fix the ceph-* charm unit tests/mocking) -git+https://github.com/openstack-charmers/zaza.git@stable/21.10#egg=zaza -git+https://github.com/openstack-charmers/zaza-openstack-tests.git@stable/21.10#egg=zaza.openstack +git+https://github.com/openstack-charmers/zaza.git@stable/ussuri#egg=zaza +git+https://github.com/openstack-charmers/zaza-openstack-tests.git@stable/ussuri#egg=zaza.openstack # Needed for charm-glance: -git+https://opendev.org/openstack/tempest.git#egg=tempest;python_version>='3.6' +git+https://opendev.org/openstack/tempest.git#egg=tempest;python_version>='3.8' +tempest<31.0.0;python_version<'3.8' tempest<24.0.0;python_version<'3.6' croniter # needed for charm-rabbitmq-server unit tests diff --git a/tests/bundles/bionic-queens.yaml b/tests/bundles/bionic-queens.yaml deleted file mode 100644 index 17961e5c..00000000 --- a/tests/bundles/bionic-queens.yaml +++ /dev/null @@ -1,87 +0,0 @@ -series: bionic -relations: -- - nova-compute:image-service - - glance:image-service -- - nova-compute:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:shared-db - - percona-cluster:shared-db -- - nova-cloud-controller:identity-service - - keystone:identity-service -- - nova-cloud-controller:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:cloud-compute - - nova-compute:cloud-compute -- - nova-cloud-controller:image-service - - glance:image-service -- - keystone:shared-db - - percona-cluster:shared-db -- - glance:identity-service - - keystone:identity-service -- - glance:shared-db - - percona-cluster:shared-db -- - glance:amqp - - rabbitmq-server:amqp -- - neutron-gateway:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:quantum-network-service - - neutron-gateway:quantum-network-service -- - neutron-api:shared-db - - percona-cluster:shared-db -- - neutron-api:amqp - - rabbitmq-server:amqp -- - neutron-api:neutron-api - - nova-cloud-controller:neutron-api -- - neutron-api:identity-service - - keystone:identity-service -- - nova-compute:neutron-plugin - - neutron-openvswitch:neutron-plugin -- - rabbitmq-server:amqp - - neutron-openvswitch:amqp -applications: - rabbitmq-server: - charm: cs:~openstack-charmers/rabbitmq-server - num_units: 1 - percona-cluster: - charm: cs:~openstack-charmers/percona-cluster - num_units: 1 - options: - max-connections: 1000 - innodb-buffer-pool-size: 256M - nova-cloud-controller: - charm: cs:~openstack-charmers/nova-cloud-controller - num_units: 1 - constraints: mem=4G - options: - network-manager: Neutron - debug: true - neutron-api: - charm: cs:~openstack-charmers/neutron-api - num_units: 1 - options: - flat-network-providers: physnet1 - neutron-security-groups: true - keystone: - charm: cs:~openstack-charmers/keystone - num_units: 1 - neutron-gateway: - charm: cs:~openstack-charmers/neutron-gateway - num_units: 1 - options: - bridge-mappings: physnet1:br-ex - glance: - charm: cs:~openstack-charmers/glance - num_units: 1 - neutron-openvswitch: - charm: cs:~openstack-charmers/neutron-openvswitch - nova-compute: - charm: ../../../nova-compute - num_units: 1 - constraints: mem=4G cores=4 - options: - config-flags: auto_assign_floating_ip=False - enable-live-migration: false - aa-profile-mode: enforce - ephemeral-device: /dev/vdb - ephemeral-unmount: /mnt - debug: true diff --git a/tests/bundles/bionic-rocky.yaml b/tests/bundles/bionic-rocky.yaml deleted file mode 100644 index 2fcfbac0..00000000 --- a/tests/bundles/bionic-rocky.yaml +++ /dev/null @@ -1,95 +0,0 @@ -series: bionic -relations: -- - nova-compute:image-service - - glance:image-service -- - nova-compute:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:shared-db - - percona-cluster:shared-db -- - nova-cloud-controller:identity-service - - keystone:identity-service -- - nova-cloud-controller:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:cloud-compute - - nova-compute:cloud-compute -- - nova-cloud-controller:image-service - - glance:image-service -- - keystone:shared-db - - percona-cluster:shared-db -- - glance:identity-service - - keystone:identity-service -- - glance:shared-db - - percona-cluster:shared-db -- - glance:amqp - - rabbitmq-server:amqp -- - neutron-gateway:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:quantum-network-service - - neutron-gateway:quantum-network-service -- - neutron-api:shared-db - - percona-cluster:shared-db -- - neutron-api:amqp - - rabbitmq-server:amqp -- - neutron-api:neutron-api - - nova-cloud-controller:neutron-api -- - neutron-api:identity-service - - keystone:identity-service -- - nova-compute:neutron-plugin - - neutron-openvswitch:neutron-plugin -- - rabbitmq-server:amqp - - neutron-openvswitch:amqp -applications: - rabbitmq-server: - charm: cs:~openstack-charmers/rabbitmq-server - num_units: 1 - percona-cluster: - charm: cs:~openstack-charmers/percona-cluster - num_units: 1 - options: - max-connections: 1000 - innodb-buffer-pool-size: 256M - nova-cloud-controller: - charm: cs:~openstack-charmers/nova-cloud-controller - num_units: 1 - constraints: mem=4G - options: - openstack-origin: cloud:bionic-rocky - network-manager: Neutron - debug: true - neutron-api: - charm: cs:~openstack-charmers/neutron-api - num_units: 1 - options: - openstack-origin: cloud:bionic-rocky - flat-network-providers: physnet1 - neutron-security-groups: true - keystone: - charm: cs:~openstack-charmers/keystone - num_units: 1 - options: - openstack-origin: cloud:bionic-rocky - neutron-gateway: - charm: cs:~openstack-charmers/neutron-gateway - num_units: 1 - options: - openstack-origin: cloud:bionic-rocky - bridge-mappings: physnet1:br-ex - glance: - charm: cs:~openstack-charmers/glance - num_units: 1 - options: - openstack-origin: cloud:bionic-rocky - neutron-openvswitch: - charm: cs:~openstack-charmers/neutron-openvswitch - nova-compute: - charm: ../../../nova-compute - num_units: 1 - constraints: mem=4G cores=4 - options: - openstack-origin: cloud:bionic-rocky - config-flags: auto_assign_floating_ip=False - enable-live-migration: false - aa-profile-mode: enforce - ephemeral-device: /dev/vdb - ephemeral-unmount: /mnt - debug: true diff --git a/tests/bundles/bionic-stein.yaml b/tests/bundles/bionic-stein.yaml deleted file mode 100644 index 9fc2e4da..00000000 --- a/tests/bundles/bionic-stein.yaml +++ /dev/null @@ -1,95 +0,0 @@ -series: bionic -relations: -- - nova-compute:image-service - - glance:image-service -- - nova-compute:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:shared-db - - percona-cluster:shared-db -- - nova-cloud-controller:identity-service - - keystone:identity-service -- - nova-cloud-controller:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:cloud-compute - - nova-compute:cloud-compute -- - nova-cloud-controller:image-service - - glance:image-service -- - keystone:shared-db - - percona-cluster:shared-db -- - glance:identity-service - - keystone:identity-service -- - glance:shared-db - - percona-cluster:shared-db -- - glance:amqp - - rabbitmq-server:amqp -- - neutron-gateway:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:quantum-network-service - - neutron-gateway:quantum-network-service -- - neutron-api:shared-db - - percona-cluster:shared-db -- - neutron-api:amqp - - rabbitmq-server:amqp -- - neutron-api:neutron-api - - nova-cloud-controller:neutron-api -- - neutron-api:identity-service - - keystone:identity-service -- - nova-compute:neutron-plugin - - neutron-openvswitch:neutron-plugin -- - rabbitmq-server:amqp - - neutron-openvswitch:amqp -applications: - rabbitmq-server: - charm: cs:~openstack-charmers/rabbitmq-server - num_units: 1 - percona-cluster: - charm: cs:~openstack-charmers/percona-cluster - num_units: 1 - options: - max-connections: 1000 - innodb-buffer-pool-size: 256M - nova-cloud-controller: - charm: cs:~openstack-charmers/nova-cloud-controller - num_units: 1 - constraints: mem=4G - options: - openstack-origin: cloud:bionic-stein - network-manager: Neutron - debug: true - neutron-api: - charm: cs:~openstack-charmers/neutron-api - num_units: 1 - options: - openstack-origin: cloud:bionic-stein - flat-network-providers: physnet1 - neutron-security-groups: true - keystone: - charm: cs:~openstack-charmers/keystone - num_units: 1 - options: - openstack-origin: cloud:bionic-stein - neutron-gateway: - charm: cs:~openstack-charmers/neutron-gateway - num_units: 1 - options: - openstack-origin: cloud:bionic-stein - bridge-mappings: physnet1:br-ex - glance: - charm: cs:~openstack-charmers/glance - num_units: 1 - options: - openstack-origin: cloud:bionic-stein - neutron-openvswitch: - charm: cs:~openstack-charmers/neutron-openvswitch - nova-compute: - charm: ../../../nova-compute - num_units: 1 - constraints: mem=4G cores=4 - options: - openstack-origin: cloud:bionic-stein - config-flags: auto_assign_floating_ip=False - enable-live-migration: false - aa-profile-mode: enforce - ephemeral-device: /dev/vdb - ephemeral-unmount: /mnt - debug: true diff --git a/tests/bundles/bionic-train.yaml b/tests/bundles/bionic-train.yaml index fb54c69a..f7582edc 100644 --- a/tests/bundles/bionic-train.yaml +++ b/tests/bundles/bionic-train.yaml @@ -1,3 +1,5 @@ +local_overlay_enabled: False + series: bionic relations: - - nova-compute:image-service @@ -46,54 +48,63 @@ relations: - nova-cloud-controller:placement applications: rabbitmq-server: - charm: cs:~openstack-charmers/rabbitmq-server + charm: ch:rabbitmq-server num_units: 1 + channel: 3.8/edge percona-cluster: - charm: cs:~openstack-charmers/percona-cluster + charm: ch:percona-cluster num_units: 1 options: max-connections: 1000 innodb-buffer-pool-size: 256M + channel: 5.7/edge nova-cloud-controller: - charm: cs:~openstack-charmers/nova-cloud-controller + charm: ch:nova-cloud-controller num_units: 1 constraints: mem=4G options: openstack-origin: cloud:bionic-train network-manager: Neutron debug: true + channel: ussuri/edge neutron-api: - charm: cs:~openstack-charmers/neutron-api + charm: ch:neutron-api num_units: 1 options: openstack-origin: cloud:bionic-train flat-network-providers: physnet1 neutron-security-groups: true + channel: ussuri/edge keystone: - charm: cs:~openstack-charmers/keystone + charm: ch:keystone num_units: 1 options: openstack-origin: cloud:bionic-train + channel: ussuri/edge neutron-gateway: - charm: cs:~openstack-charmers/neutron-gateway + charm: ch:neutron-gateway num_units: 1 options: openstack-origin: cloud:bionic-train bridge-mappings: physnet1:br-ex + channel: ussuri/edge glance: - charm: cs:~openstack-charmers/glance + charm: ch:glance num_units: 1 options: openstack-origin: cloud:bionic-train + channel: ussuri/edge neutron-openvswitch: - charm: cs:~openstack-charmers/neutron-openvswitch + charm: ch:neutron-openvswitch + channel: ussuri/edge placement: - charm: cs:~openstack-charmers/placement + charm: ch:placement num_units: 1 options: openstack-origin: cloud:bionic-train + channel: ussuri/edge nova-compute: - charm: ../../../nova-compute + charm: ../../nova-compute.charm num_units: 1 constraints: mem=4G cores=4 options: diff --git a/tests/bundles/bionic-ussuri.yaml b/tests/bundles/bionic-ussuri.yaml index f08f31bf..542e7a5a 100644 --- a/tests/bundles/bionic-ussuri.yaml +++ b/tests/bundles/bionic-ussuri.yaml @@ -1,3 +1,5 @@ +local_overlay_enabled: False + series: bionic relations: - - nova-compute:image-service @@ -46,55 +48,64 @@ relations: - nova-cloud-controller:placement applications: rabbitmq-server: - charm: cs:~openstack-charmers/rabbitmq-server + charm: ch:rabbitmq-server num_units: 1 + channel: 3.8/edge percona-cluster: - charm: cs:~openstack-charmers/percona-cluster + charm: ch:percona-cluster num_units: 1 options: max-connections: 1000 innodb-buffer-pool-size: 256M + channel: 5.7/edge nova-cloud-controller: - charm: cs:~openstack-charmers/nova-cloud-controller + charm: ch:nova-cloud-controller num_units: 1 constraints: mem=4G options: openstack-origin: cloud:bionic-ussuri network-manager: Neutron debug: true + channel: ussuri/edge neutron-api: - charm: cs:~openstack-charmers/neutron-api + charm: ch:neutron-api num_units: 1 options: manage-neutron-plugin-legacy-mode: true openstack-origin: cloud:bionic-ussuri flat-network-providers: physnet1 neutron-security-groups: true + channel: ussuri/edge keystone: - charm: cs:~openstack-charmers/keystone + charm: ch:keystone num_units: 1 options: openstack-origin: cloud:bionic-ussuri + channel: ussuri/edge neutron-gateway: - charm: cs:~openstack-charmers/neutron-gateway + charm: ch:neutron-gateway num_units: 1 options: openstack-origin: cloud:bionic-ussuri bridge-mappings: physnet1:br-ex + channel: ussuri/edge glance: - charm: cs:~openstack-charmers/glance + charm: ch:glance num_units: 1 options: openstack-origin: cloud:bionic-ussuri + channel: ussuri/edge neutron-openvswitch: - charm: cs:~openstack-charmers/neutron-openvswitch + charm: ch:neutron-openvswitch + channel: ussuri/edge placement: - charm: cs:~openstack-charmers/placement + charm: ch:placement num_units: 1 options: openstack-origin: cloud:bionic-ussuri + channel: ussuri/edge nova-compute: - charm: ../../../nova-compute + charm: ../../nova-compute.charm num_units: 1 constraints: mem=4G cores=4 options: diff --git a/tests/bundles/focal-ussuri.yaml b/tests/bundles/focal-ussuri.yaml index a0cfffa4..8c4f7fd2 100644 --- a/tests/bundles/focal-ussuri.yaml +++ b/tests/bundles/focal-ussuri.yaml @@ -1,3 +1,5 @@ +local_overlay_enabled: False + variables: openstack-origin: &openstack-origin distro @@ -35,18 +37,23 @@ machines: applications: nova-cloud-controller-mysql-router: - charm: cs:~openstack-charmers/mysql-router + charm: ch:mysql-router + channel: 8.0/edge keystone-mysql-router: - charm: cs:~openstack-charmers/mysql-router + charm: ch:mysql-router + channel: 8.0/edge glance-mysql-router: - charm: cs:~openstack-charmers/mysql-router + charm: ch:mysql-router + channel: 8.0/edge neutron-api-mysql-router: - charm: cs:~openstack-charmers/mysql-router + charm: ch:mysql-router + channel: 8.0/edge placement-mysql-router: - charm: cs:~openstack-charmers/mysql-router + charm: ch:mysql-router + channel: 8.0/edge mysql-innodb-cluster: - charm: cs:~openstack-charmers/mysql-innodb-cluster + charm: ch:mysql-innodb-cluster num_units: 3 options: source: *openstack-origin @@ -54,9 +61,10 @@ applications: - '0' - '1' - '2' + channel: 8.0/edge ceph-osd: - charm: cs:~openstack-charmers/ceph-osd + charm: ch:ceph-osd num_units: 6 storage: osd-devices: '10G' @@ -69,9 +77,10 @@ applications: - '14' - '15' - '16' + channel: octopus/edge ceph-mon: - charm: cs:~openstack-charmers/ceph-mon + charm: ch:ceph-mon num_units: 3 options: source: *openstack-origin @@ -80,17 +89,19 @@ applications: - '17' - '18' - '19' + channel: octopus/edge rabbitmq-server: - charm: cs:~openstack-charmers/rabbitmq-server + charm: ch:rabbitmq-server num_units: 1 options: source: *openstack-origin to: - '3' + channel: 3.8/edge nova-cloud-controller: - charm: cs:~openstack-charmers/nova-cloud-controller + charm: ch:nova-cloud-controller num_units: 1 options: openstack-origin: *openstack-origin @@ -98,9 +109,10 @@ applications: debug: true to: - '4' + channel: ussuri/edge neutron-api: - charm: cs:~openstack-charmers/neutron-api + charm: ch:neutron-api num_units: 1 options: manage-neutron-plugin-legacy-mode: true @@ -109,45 +121,51 @@ applications: neutron-security-groups: true to: - '5' + channel: ussuri/edge keystone: - charm: cs:~openstack-charmers/keystone + charm: ch:keystone num_units: 1 options: openstack-origin: *openstack-origin to: - '6' + channel: ussuri/edge neutron-gateway: - charm: cs:~openstack-charmers/neutron-gateway + charm: ch:neutron-gateway num_units: 1 options: openstack-origin: *openstack-origin bridge-mappings: physnet1:br-ex to: - '7' + channel: ussuri/edge glance: - charm: cs:~openstack-charmers/glance + charm: ch:glance num_units: 1 options: openstack-origin: *openstack-origin to: - '8' + channel: ussuri/edge neutron-openvswitch: - charm: cs:~openstack-charmers/neutron-openvswitch + charm: ch:neutron-openvswitch + channel: ussuri/edge placement: - charm: cs:~openstack-charmers/placement + charm: ch:placement num_units: 1 options: openstack-origin: *openstack-origin to: - '9' + channel: ussuri/edge nova-compute: - charm: ../../../nova-compute + charm: ../../nova-compute.charm num_units: 1 storage: ephemeral-device: '40G' diff --git a/tests/bundles/focal-victoria.yaml b/tests/bundles/focal-victoria.yaml deleted file mode 100644 index 464f9400..00000000 --- a/tests/bundles/focal-victoria.yaml +++ /dev/null @@ -1,248 +0,0 @@ -variables: - openstack-origin: &openstack-origin cloud:focal-victoria - -series: focal - -comment: -- 'machines section to decide order of deployment. database sooner = faster' -machines: - '0': - constraints: mem=3072M - '1': - constraints: mem=3072M - '2': - constraints: mem=3072M - '3': - constraints: mem=4096M - '4': - '5': - '6': - '7': - '8': - '9': - '10': - constraints: mem=4096M cores=4 - '11': - '12': - '13': - '14': - '15': - '16': - '17': - '18': - '19': - -applications: - - nova-cloud-controller-mysql-router: - charm: cs:~openstack-charmers/mysql-router - keystone-mysql-router: - charm: cs:~openstack-charmers/mysql-router - glance-mysql-router: - charm: cs:~openstack-charmers/mysql-router - neutron-api-mysql-router: - charm: cs:~openstack-charmers/mysql-router - placement-mysql-router: - charm: cs:~openstack-charmers/mysql-router - - mysql-innodb-cluster: - charm: cs:~openstack-charmers/mysql-innodb-cluster - num_units: 3 - options: - source: *openstack-origin - to: - - '0' - - '1' - - '2' - - ceph-osd: - charm: cs:~openstack-charmers/ceph-osd - num_units: 6 - storage: - osd-devices: '10G' - options: - source: *openstack-origin - to: - - '11' - - '12' - - '13' - - '14' - - '15' - - '16' - - ceph-mon: - charm: cs:~openstack-charmers/ceph-mon - num_units: 3 - options: - source: *openstack-origin - monitor-count: '3' - to: - - '17' - - '18' - - '19' - - rabbitmq-server: - charm: cs:~openstack-charmers/rabbitmq-server - num_units: 1 - options: - source: *openstack-origin - to: - - '3' - - nova-cloud-controller: - charm: cs:~openstack-charmers/nova-cloud-controller - num_units: 1 - options: - openstack-origin: *openstack-origin - network-manager: Neutron - debug: true - to: - - '4' - - neutron-api: - charm: cs:~openstack-charmers/neutron-api - num_units: 1 - options: - manage-neutron-plugin-legacy-mode: true - openstack-origin: *openstack-origin - flat-network-providers: physnet1 - neutron-security-groups: true - to: - - '5' - - keystone: - charm: cs:~openstack-charmers/keystone - num_units: 1 - options: - openstack-origin: *openstack-origin - to: - - '6' - - neutron-gateway: - charm: cs:~openstack-charmers/neutron-gateway - num_units: 1 - options: - openstack-origin: *openstack-origin - bridge-mappings: physnet1:br-ex - to: - - '7' - - glance: - charm: cs:~openstack-charmers/glance - num_units: 1 - options: - openstack-origin: *openstack-origin - to: - - '8' - - neutron-openvswitch: - charm: cs:~openstack-charmers/neutron-openvswitch - - placement: - charm: cs:~openstack-charmers/placement - num_units: 1 - options: - openstack-origin: *openstack-origin - to: - - '9' - - nova-compute: - charm: ../../../nova-compute - num_units: 1 - storage: - ephemeral-device: '40G' - options: - openstack-origin: *openstack-origin - config-flags: auto_assign_floating_ip=False - enable-live-migration: false - aa-profile-mode: enforce - debug: true - pool-type: erasure-coded - ec-profile-k: 4 - ec-profile-m: 2 - libvirt-image-backend: rbd - to: - - '10' - -relations: - - - 'ceph-osd:mon' - - 'ceph-mon:osd' - - - - 'nova-compute:ceph' - - 'ceph-mon:client' - - - - 'nova-compute:image-service' - - 'glance:image-service' - - - - 'nova-compute:amqp' - - 'rabbitmq-server:amqp' - - - - 'nova-cloud-controller:shared-db' - - 'nova-cloud-controller-mysql-router:shared-db' - - - 'nova-cloud-controller-mysql-router:db-router' - - 'mysql-innodb-cluster:db-router' - - - - 'nova-cloud-controller:identity-service' - - 'keystone:identity-service' - - - - 'nova-cloud-controller:amqp' - - 'rabbitmq-server:amqp' - - - - 'nova-cloud-controller:cloud-compute' - - 'nova-compute:cloud-compute' - - - - 'nova-cloud-controller:image-service' - - 'glance:image-service' - - - - 'keystone:shared-db' - - 'keystone-mysql-router:shared-db' - - - 'keystone-mysql-router:db-router' - - 'mysql-innodb-cluster:db-router' - - - - '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' - - - - 'neutron-gateway:amqp' - - 'rabbitmq-server:amqp' - - - - 'nova-cloud-controller:quantum-network-service' - - 'neutron-gateway:quantum-network-service' - - - - '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:identity-service' - - 'keystone:identity-service' - - - - 'nova-compute:neutron-plugin' - - 'neutron-openvswitch:neutron-plugin' - - - - 'rabbitmq-server:amqp' - - 'neutron-openvswitch:amqp' - - - - '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' diff --git a/tests/bundles/focal-wallaby.yaml b/tests/bundles/focal-wallaby.yaml deleted file mode 100644 index 86cabeca..00000000 --- a/tests/bundles/focal-wallaby.yaml +++ /dev/null @@ -1,248 +0,0 @@ -variables: - openstack-origin: &openstack-origin cloud:focal-wallaby - -series: focal - -comment: -- 'machines section to decide order of deployment. database sooner = faster' -machines: - '0': - constraints: mem=3072M - '1': - constraints: mem=3072M - '2': - constraints: mem=3072M - '3': - '4': - constraints: mem=4096M - '5': - '6': - '7': - '8': - '9': - '10': - constraints: mem=4096M cores=4 - '11': - '12': - '13': - '14': - '15': - '16': - '17': - '18': - '19': - -applications: - - nova-cloud-controller-mysql-router: - charm: cs:~openstack-charmers/mysql-router - keystone-mysql-router: - charm: cs:~openstack-charmers/mysql-router - glance-mysql-router: - charm: cs:~openstack-charmers/mysql-router - neutron-api-mysql-router: - charm: cs:~openstack-charmers/mysql-router - placement-mysql-router: - charm: cs:~openstack-charmers/mysql-router - - mysql-innodb-cluster: - charm: cs:~openstack-charmers/mysql-innodb-cluster - num_units: 3 - options: - source: *openstack-origin - to: - - '0' - - '1' - - '2' - - ceph-osd: - charm: cs:~openstack-charmers/ceph-osd - num_units: 6 - storage: - osd-devices: '10G' - options: - source: *openstack-origin - to: - - '11' - - '12' - - '13' - - '14' - - '15' - - '16' - - ceph-mon: - charm: cs:~openstack-charmers/ceph-mon - num_units: 3 - options: - source: *openstack-origin - monitor-count: '3' - to: - - '17' - - '18' - - '19' - - rabbitmq-server: - charm: cs:~openstack-charmers/rabbitmq-server - num_units: 1 - options: - source: *openstack-origin - to: - - '3' - - nova-cloud-controller: - charm: cs:~openstack-charmers/nova-cloud-controller - num_units: 1 - options: - openstack-origin: *openstack-origin - network-manager: Neutron - debug: true - to: - - '4' - - neutron-api: - charm: cs:~openstack-charmers/neutron-api - num_units: 1 - options: - manage-neutron-plugin-legacy-mode: true - openstack-origin: *openstack-origin - flat-network-providers: physnet1 - neutron-security-groups: true - to: - - '5' - - keystone: - charm: cs:~openstack-charmers/keystone - num_units: 1 - options: - openstack-origin: *openstack-origin - to: - - '6' - - neutron-gateway: - charm: cs:~openstack-charmers/neutron-gateway - num_units: 1 - options: - openstack-origin: *openstack-origin - bridge-mappings: physnet1:br-ex - to: - - '7' - - glance: - charm: cs:~openstack-charmers/glance - num_units: 1 - options: - openstack-origin: *openstack-origin - to: - - '8' - - neutron-openvswitch: - charm: cs:~openstack-charmers/neutron-openvswitch - - placement: - charm: cs:~openstack-charmers/placement - num_units: 1 - options: - openstack-origin: *openstack-origin - to: - - '9' - - nova-compute: - charm: ../../../nova-compute - num_units: 1 - storage: - ephemeral-device: '40G' - options: - openstack-origin: *openstack-origin - config-flags: auto_assign_floating_ip=False - enable-live-migration: false - aa-profile-mode: enforce - debug: true - pool-type: erasure-coded - ec-profile-k: 4 - ec-profile-m: 2 - libvirt-image-backend: rbd - to: - - '10' - -relations: - - - 'ceph-osd:mon' - - 'ceph-mon:osd' - - - - 'nova-compute:ceph' - - 'ceph-mon:client' - - - - 'nova-compute:image-service' - - 'glance:image-service' - - - - 'nova-compute:amqp' - - 'rabbitmq-server:amqp' - - - - 'nova-cloud-controller:shared-db' - - 'nova-cloud-controller-mysql-router:shared-db' - - - 'nova-cloud-controller-mysql-router:db-router' - - 'mysql-innodb-cluster:db-router' - - - - 'nova-cloud-controller:identity-service' - - 'keystone:identity-service' - - - - 'nova-cloud-controller:amqp' - - 'rabbitmq-server:amqp' - - - - 'nova-cloud-controller:cloud-compute' - - 'nova-compute:cloud-compute' - - - - 'nova-cloud-controller:image-service' - - 'glance:image-service' - - - - 'keystone:shared-db' - - 'keystone-mysql-router:shared-db' - - - 'keystone-mysql-router:db-router' - - 'mysql-innodb-cluster:db-router' - - - - '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' - - - - 'neutron-gateway:amqp' - - 'rabbitmq-server:amqp' - - - - 'nova-cloud-controller:quantum-network-service' - - 'neutron-gateway:quantum-network-service' - - - - '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:identity-service' - - 'keystone:identity-service' - - - - 'nova-compute:neutron-plugin' - - 'neutron-openvswitch:neutron-plugin' - - - - 'rabbitmq-server:amqp' - - 'neutron-openvswitch:amqp' - - - - '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' diff --git a/tests/bundles/focal-xena.yaml b/tests/bundles/focal-xena.yaml deleted file mode 100644 index 01566d59..00000000 --- a/tests/bundles/focal-xena.yaml +++ /dev/null @@ -1,248 +0,0 @@ -variables: - openstack-origin: &openstack-origin cloud:focal-xena - -series: focal - -comment: -- 'machines section to decide order of deployment. database sooner = faster' -machines: - '0': - constraints: mem=3072M - '1': - constraints: mem=3072M - '2': - constraints: mem=3072M - '3': - '4': - constraints: mem=4096M - '5': - '6': - '7': - '8': - '9': - '10': - constraints: mem=4096M cores=4 - '11': - '12': - '13': - '14': - '15': - '16': - '17': - '18': - '19': - -applications: - - nova-cloud-controller-mysql-router: - charm: cs:~openstack-charmers/mysql-router - keystone-mysql-router: - charm: cs:~openstack-charmers/mysql-router - glance-mysql-router: - charm: cs:~openstack-charmers/mysql-router - neutron-api-mysql-router: - charm: cs:~openstack-charmers/mysql-router - placement-mysql-router: - charm: cs:~openstack-charmers/mysql-router - - mysql-innodb-cluster: - charm: cs:~openstack-charmers/mysql-innodb-cluster - num_units: 3 - options: - source: *openstack-origin - to: - - '0' - - '1' - - '2' - - ceph-osd: - charm: cs:~openstack-charmers/ceph-osd - num_units: 6 - storage: - osd-devices: '10G' - options: - source: *openstack-origin - to: - - '11' - - '12' - - '13' - - '14' - - '15' - - '16' - - ceph-mon: - charm: cs:~openstack-charmers/ceph-mon - num_units: 3 - options: - source: *openstack-origin - monitor-count: '3' - to: - - '17' - - '18' - - '19' - - rabbitmq-server: - charm: cs:~openstack-charmers/rabbitmq-server - num_units: 1 - options: - source: *openstack-origin - to: - - '3' - - nova-cloud-controller: - charm: cs:~openstack-charmers/nova-cloud-controller - num_units: 1 - options: - openstack-origin: *openstack-origin - network-manager: Neutron - debug: true - to: - - '4' - - neutron-api: - charm: cs:~openstack-charmers/neutron-api - num_units: 1 - options: - manage-neutron-plugin-legacy-mode: true - openstack-origin: *openstack-origin - flat-network-providers: physnet1 - neutron-security-groups: true - to: - - '5' - - keystone: - charm: cs:~openstack-charmers/keystone - num_units: 1 - options: - openstack-origin: *openstack-origin - to: - - '6' - - neutron-gateway: - charm: cs:~openstack-charmers/neutron-gateway - num_units: 1 - options: - openstack-origin: *openstack-origin - bridge-mappings: physnet1:br-ex - to: - - '7' - - glance: - charm: cs:~openstack-charmers/glance - num_units: 1 - options: - openstack-origin: *openstack-origin - to: - - '8' - - neutron-openvswitch: - charm: cs:~openstack-charmers/neutron-openvswitch - - placement: - charm: cs:~openstack-charmers/placement - num_units: 1 - options: - openstack-origin: *openstack-origin - to: - - '9' - - nova-compute: - charm: ../../../nova-compute - num_units: 1 - storage: - ephemeral-device: '40G' - options: - openstack-origin: *openstack-origin - config-flags: auto_assign_floating_ip=False - enable-live-migration: false - aa-profile-mode: enforce - debug: true - pool-type: erasure-coded - ec-profile-k: 4 - ec-profile-m: 2 - libvirt-image-backend: rbd - to: - - '10' - -relations: - - - 'ceph-osd:mon' - - 'ceph-mon:osd' - - - - 'nova-compute:ceph' - - 'ceph-mon:client' - - - - 'nova-compute:image-service' - - 'glance:image-service' - - - - 'nova-compute:amqp' - - 'rabbitmq-server:amqp' - - - - 'nova-cloud-controller:shared-db' - - 'nova-cloud-controller-mysql-router:shared-db' - - - 'nova-cloud-controller-mysql-router:db-router' - - 'mysql-innodb-cluster:db-router' - - - - 'nova-cloud-controller:identity-service' - - 'keystone:identity-service' - - - - 'nova-cloud-controller:amqp' - - 'rabbitmq-server:amqp' - - - - 'nova-cloud-controller:cloud-compute' - - 'nova-compute:cloud-compute' - - - - 'nova-cloud-controller:image-service' - - 'glance:image-service' - - - - 'keystone:shared-db' - - 'keystone-mysql-router:shared-db' - - - 'keystone-mysql-router:db-router' - - 'mysql-innodb-cluster:db-router' - - - - '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' - - - - 'neutron-gateway:amqp' - - 'rabbitmq-server:amqp' - - - - 'nova-cloud-controller:quantum-network-service' - - 'neutron-gateway:quantum-network-service' - - - - '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:identity-service' - - 'keystone:identity-service' - - - - 'nova-compute:neutron-plugin' - - 'neutron-openvswitch:neutron-plugin' - - - - 'rabbitmq-server:amqp' - - 'neutron-openvswitch:amqp' - - - - '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' diff --git a/tests/bundles/groovy-victoria.yaml b/tests/bundles/groovy-victoria.yaml deleted file mode 100644 index b2ec5fe9..00000000 --- a/tests/bundles/groovy-victoria.yaml +++ /dev/null @@ -1,248 +0,0 @@ -variables: - openstack-origin: &openstack-origin distro - -series: groovy - -comment: -- 'machines section to decide order of deployment. database sooner = faster' -machines: - '0': - constraints: mem=3072M - '1': - constraints: mem=3072M - '2': - constraints: mem=3072M - '3': - '4': - constraints: mem=4096M - '5': - '6': - '7': - '8': - '9': - '10': - constraints: mem=4096M cores=4 - '11': - '12': - '13': - '14': - '15': - '16': - '17': - '18': - '19': - -applications: - - nova-cloud-controller-mysql-router: - charm: cs:~openstack-charmers/mysql-router - keystone-mysql-router: - charm: cs:~openstack-charmers/mysql-router - glance-mysql-router: - charm: cs:~openstack-charmers/mysql-router - neutron-api-mysql-router: - charm: cs:~openstack-charmers/mysql-router - placement-mysql-router: - charm: cs:~openstack-charmers/mysql-router - - mysql-innodb-cluster: - charm: cs:~openstack-charmers/mysql-innodb-cluster - num_units: 3 - options: - source: *openstack-origin - to: - - '0' - - '1' - - '2' - - ceph-osd: - charm: cs:~openstack-charmers/ceph-osd - num_units: 6 - storage: - osd-devices: '10G' - options: - source: *openstack-origin - to: - - '11' - - '12' - - '13' - - '14' - - '15' - - '16' - - ceph-mon: - charm: cs:~openstack-charmers/ceph-mon - num_units: 3 - options: - source: *openstack-origin - monitor-count: '3' - to: - - '17' - - '18' - - '19' - - rabbitmq-server: - charm: cs:~openstack-charmers/rabbitmq-server - num_units: 1 - options: - source: *openstack-origin - to: - - '3' - - nova-cloud-controller: - charm: cs:~openstack-charmers/nova-cloud-controller - num_units: 1 - options: - openstack-origin: *openstack-origin - network-manager: Neutron - debug: true - to: - - '4' - - neutron-api: - charm: cs:~openstack-charmers/neutron-api - num_units: 1 - options: - manage-neutron-plugin-legacy-mode: true - openstack-origin: *openstack-origin - flat-network-providers: physnet1 - neutron-security-groups: true - to: - - '5' - - keystone: - charm: cs:~openstack-charmers/keystone - num_units: 1 - options: - openstack-origin: *openstack-origin - to: - - '6' - - neutron-gateway: - charm: cs:~openstack-charmers/neutron-gateway - num_units: 1 - options: - openstack-origin: *openstack-origin - bridge-mappings: physnet1:br-ex - to: - - '7' - - glance: - charm: cs:~openstack-charmers/glance - num_units: 1 - options: - openstack-origin: *openstack-origin - to: - - '8' - - neutron-openvswitch: - charm: cs:~openstack-charmers/neutron-openvswitch - - placement: - charm: cs:~openstack-charmers/placement - num_units: 1 - options: - openstack-origin: *openstack-origin - to: - - '9' - - nova-compute: - charm: ../../../nova-compute - num_units: 1 - storage: - ephemeral-device: '40G' - options: - openstack-origin: *openstack-origin - config-flags: auto_assign_floating_ip=False - enable-live-migration: false - aa-profile-mode: enforce - debug: true - pool-type: erasure-coded - ec-profile-k: 4 - ec-profile-m: 2 - libvirt-image-backend: rbd - to: - - '10' - -relations: - - - 'ceph-osd:mon' - - 'ceph-mon:osd' - - - - 'nova-compute:ceph' - - 'ceph-mon:client' - - - - 'nova-compute:image-service' - - 'glance:image-service' - - - - 'nova-compute:amqp' - - 'rabbitmq-server:amqp' - - - - 'nova-cloud-controller:shared-db' - - 'nova-cloud-controller-mysql-router:shared-db' - - - 'nova-cloud-controller-mysql-router:db-router' - - 'mysql-innodb-cluster:db-router' - - - - 'nova-cloud-controller:identity-service' - - 'keystone:identity-service' - - - - 'nova-cloud-controller:amqp' - - 'rabbitmq-server:amqp' - - - - 'nova-cloud-controller:cloud-compute' - - 'nova-compute:cloud-compute' - - - - 'nova-cloud-controller:image-service' - - 'glance:image-service' - - - - 'keystone:shared-db' - - 'keystone-mysql-router:shared-db' - - - 'keystone-mysql-router:db-router' - - 'mysql-innodb-cluster:db-router' - - - - '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' - - - - 'neutron-gateway:amqp' - - 'rabbitmq-server:amqp' - - - - 'nova-cloud-controller:quantum-network-service' - - 'neutron-gateway:quantum-network-service' - - - - '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:identity-service' - - 'keystone:identity-service' - - - - 'nova-compute:neutron-plugin' - - 'neutron-openvswitch:neutron-plugin' - - - - 'rabbitmq-server:amqp' - - 'neutron-openvswitch:amqp' - - - - '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' diff --git a/tests/bundles/hirsute-wallaby.yaml b/tests/bundles/hirsute-wallaby.yaml deleted file mode 100644 index 78e93ddd..00000000 --- a/tests/bundles/hirsute-wallaby.yaml +++ /dev/null @@ -1,248 +0,0 @@ -variables: - openstack-origin: &openstack-origin distro - -series: hirsute - -comment: -- 'machines section to decide order of deployment. database sooner = faster' -machines: - '0': - constraints: mem=3072M - '1': - constraints: mem=3072M - '2': - constraints: mem=3072M - '3': - '4': - constraints: mem=4096M - '5': - '6': - '7': - '8': - '9': - '10': - constraints: mem=4096M cores=4 - '11': - '12': - '13': - '14': - '15': - '16': - '17': - '18': - '19': - -applications: - - nova-cloud-controller-mysql-router: - charm: cs:~openstack-charmers/mysql-router - keystone-mysql-router: - charm: cs:~openstack-charmers/mysql-router - glance-mysql-router: - charm: cs:~openstack-charmers/mysql-router - neutron-api-mysql-router: - charm: cs:~openstack-charmers/mysql-router - placement-mysql-router: - charm: cs:~openstack-charmers/mysql-router - - mysql-innodb-cluster: - charm: cs:~openstack-charmers/mysql-innodb-cluster - num_units: 3 - options: - source: *openstack-origin - to: - - '0' - - '1' - - '2' - - ceph-osd: - charm: cs:~openstack-charmers/ceph-osd - num_units: 6 - storage: - osd-devices: '10G' - options: - source: *openstack-origin - to: - - '11' - - '12' - - '13' - - '14' - - '15' - - '16' - - ceph-mon: - charm: cs:~openstack-charmers/ceph-mon - num_units: 3 - options: - source: *openstack-origin - monitor-count: '3' - to: - - '17' - - '18' - - '19' - - rabbitmq-server: - charm: cs:~openstack-charmers/rabbitmq-server - num_units: 1 - options: - source: *openstack-origin - to: - - '3' - - nova-cloud-controller: - charm: cs:~openstack-charmers/nova-cloud-controller - num_units: 1 - options: - openstack-origin: *openstack-origin - network-manager: Neutron - debug: true - to: - - '4' - - neutron-api: - charm: cs:~openstack-charmers/neutron-api - num_units: 1 - options: - manage-neutron-plugin-legacy-mode: true - openstack-origin: *openstack-origin - flat-network-providers: physnet1 - neutron-security-groups: true - to: - - '5' - - keystone: - charm: cs:~openstack-charmers/keystone - num_units: 1 - options: - openstack-origin: *openstack-origin - to: - - '6' - - neutron-gateway: - charm: cs:~openstack-charmers/neutron-gateway - num_units: 1 - options: - openstack-origin: *openstack-origin - bridge-mappings: physnet1:br-ex - to: - - '7' - - glance: - charm: cs:~openstack-charmers/glance - num_units: 1 - options: - openstack-origin: *openstack-origin - to: - - '8' - - neutron-openvswitch: - charm: cs:~openstack-charmers/neutron-openvswitch - - placement: - charm: cs:~openstack-charmers/placement - num_units: 1 - options: - openstack-origin: *openstack-origin - to: - - '9' - - nova-compute: - charm: ../../../nova-compute - num_units: 1 - storage: - ephemeral-device: '40G' - options: - openstack-origin: *openstack-origin - config-flags: auto_assign_floating_ip=False - enable-live-migration: false - aa-profile-mode: enforce - debug: true - pool-type: erasure-coded - ec-profile-k: 4 - ec-profile-m: 2 - libvirt-image-backend: rbd - to: - - '10' - -relations: - - - 'ceph-osd:mon' - - 'ceph-mon:osd' - - - - 'nova-compute:ceph' - - 'ceph-mon:client' - - - - 'nova-compute:image-service' - - 'glance:image-service' - - - - 'nova-compute:amqp' - - 'rabbitmq-server:amqp' - - - - 'nova-cloud-controller:shared-db' - - 'nova-cloud-controller-mysql-router:shared-db' - - - 'nova-cloud-controller-mysql-router:db-router' - - 'mysql-innodb-cluster:db-router' - - - - 'nova-cloud-controller:identity-service' - - 'keystone:identity-service' - - - - 'nova-cloud-controller:amqp' - - 'rabbitmq-server:amqp' - - - - 'nova-cloud-controller:cloud-compute' - - 'nova-compute:cloud-compute' - - - - 'nova-cloud-controller:image-service' - - 'glance:image-service' - - - - 'keystone:shared-db' - - 'keystone-mysql-router:shared-db' - - - 'keystone-mysql-router:db-router' - - 'mysql-innodb-cluster:db-router' - - - - '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' - - - - 'neutron-gateway:amqp' - - 'rabbitmq-server:amqp' - - - - 'nova-cloud-controller:quantum-network-service' - - 'neutron-gateway:quantum-network-service' - - - - '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:identity-service' - - 'keystone:identity-service' - - - - 'nova-compute:neutron-plugin' - - 'neutron-openvswitch:neutron-plugin' - - - - 'rabbitmq-server:amqp' - - 'neutron-openvswitch:amqp' - - - - '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' diff --git a/tests/bundles/impish-xena.yaml b/tests/bundles/impish-xena.yaml deleted file mode 100644 index 987f771b..00000000 --- a/tests/bundles/impish-xena.yaml +++ /dev/null @@ -1,248 +0,0 @@ -variables: - openstack-origin: &openstack-origin distro - -series: impish - -comment: -- 'machines section to decide order of deployment. database sooner = faster' -machines: - '0': - constraints: mem=3072M - '1': - constraints: mem=3072M - '2': - constraints: mem=3072M - '3': - '4': - constraints: mem=4096M - '5': - '6': - '7': - '8': - '9': - '10': - constraints: mem=4096M cores=4 - '11': - '12': - '13': - '14': - '15': - '16': - '17': - '18': - '19': - -applications: - - nova-cloud-controller-mysql-router: - charm: cs:~openstack-charmers/mysql-router - keystone-mysql-router: - charm: cs:~openstack-charmers/mysql-router - glance-mysql-router: - charm: cs:~openstack-charmers/mysql-router - neutron-api-mysql-router: - charm: cs:~openstack-charmers/mysql-router - placement-mysql-router: - charm: cs:~openstack-charmers/mysql-router - - mysql-innodb-cluster: - charm: cs:~openstack-charmers/mysql-innodb-cluster - num_units: 3 - options: - source: *openstack-origin - to: - - '0' - - '1' - - '2' - - ceph-osd: - charm: cs:~openstack-charmers/ceph-osd - num_units: 6 - storage: - osd-devices: '10G' - options: - source: *openstack-origin - to: - - '11' - - '12' - - '13' - - '14' - - '15' - - '16' - - ceph-mon: - charm: cs:~openstack-charmers/ceph-mon - num_units: 3 - options: - source: *openstack-origin - monitor-count: '3' - to: - - '17' - - '18' - - '19' - - rabbitmq-server: - charm: cs:~openstack-charmers/rabbitmq-server - num_units: 1 - options: - source: *openstack-origin - to: - - '3' - - nova-cloud-controller: - charm: cs:~openstack-charmers/nova-cloud-controller - num_units: 1 - options: - openstack-origin: *openstack-origin - network-manager: Neutron - debug: true - to: - - '4' - - neutron-api: - charm: cs:~openstack-charmers/neutron-api - num_units: 1 - options: - manage-neutron-plugin-legacy-mode: true - openstack-origin: *openstack-origin - flat-network-providers: physnet1 - neutron-security-groups: true - to: - - '5' - - keystone: - charm: cs:~openstack-charmers/keystone - num_units: 1 - options: - openstack-origin: *openstack-origin - to: - - '6' - - neutron-gateway: - charm: cs:~openstack-charmers/neutron-gateway - num_units: 1 - options: - openstack-origin: *openstack-origin - bridge-mappings: physnet1:br-ex - to: - - '7' - - glance: - charm: cs:~openstack-charmers/glance - num_units: 1 - options: - openstack-origin: *openstack-origin - to: - - '8' - - neutron-openvswitch: - charm: cs:~openstack-charmers/neutron-openvswitch - - placement: - charm: cs:~openstack-charmers/placement - num_units: 1 - options: - openstack-origin: *openstack-origin - to: - - '9' - - nova-compute: - charm: ../../../nova-compute - num_units: 1 - storage: - ephemeral-device: '40G' - options: - openstack-origin: *openstack-origin - config-flags: auto_assign_floating_ip=False - enable-live-migration: false - aa-profile-mode: enforce - debug: true - pool-type: erasure-coded - ec-profile-k: 4 - ec-profile-m: 2 - libvirt-image-backend: rbd - to: - - '10' - -relations: - - - 'ceph-osd:mon' - - 'ceph-mon:osd' - - - - 'nova-compute:ceph' - - 'ceph-mon:client' - - - - 'nova-compute:image-service' - - 'glance:image-service' - - - - 'nova-compute:amqp' - - 'rabbitmq-server:amqp' - - - - 'nova-cloud-controller:shared-db' - - 'nova-cloud-controller-mysql-router:shared-db' - - - 'nova-cloud-controller-mysql-router:db-router' - - 'mysql-innodb-cluster:db-router' - - - - 'nova-cloud-controller:identity-service' - - 'keystone:identity-service' - - - - 'nova-cloud-controller:amqp' - - 'rabbitmq-server:amqp' - - - - 'nova-cloud-controller:cloud-compute' - - 'nova-compute:cloud-compute' - - - - 'nova-cloud-controller:image-service' - - 'glance:image-service' - - - - 'keystone:shared-db' - - 'keystone-mysql-router:shared-db' - - - 'keystone-mysql-router:db-router' - - 'mysql-innodb-cluster:db-router' - - - - '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' - - - - 'neutron-gateway:amqp' - - 'rabbitmq-server:amqp' - - - - 'nova-cloud-controller:quantum-network-service' - - 'neutron-gateway:quantum-network-service' - - - - '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:identity-service' - - 'keystone:identity-service' - - - - 'nova-compute:neutron-plugin' - - 'neutron-openvswitch:neutron-plugin' - - - - 'rabbitmq-server:amqp' - - 'neutron-openvswitch:amqp' - - - - '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' diff --git a/tests/bundles/trusty-mitaka.yaml b/tests/bundles/trusty-mitaka.yaml deleted file mode 100644 index 90001996..00000000 --- a/tests/bundles/trusty-mitaka.yaml +++ /dev/null @@ -1,93 +0,0 @@ -series: trusty -relations: -- - nova-compute:image-service - - glance:image-service -- - nova-compute:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:shared-db - - percona-cluster:shared-db -- - nova-cloud-controller:identity-service - - keystone:identity-service -- - nova-cloud-controller:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:cloud-compute - - nova-compute:cloud-compute -- - nova-cloud-controller:image-service - - glance:image-service -- - keystone:shared-db - - percona-cluster:shared-db -- - glance:identity-service - - keystone:identity-service -- - glance:shared-db - - percona-cluster:shared-db -- - glance:amqp - - rabbitmq-server:amqp -- - neutron-gateway:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:quantum-network-service - - neutron-gateway:quantum-network-service -- - neutron-api:shared-db - - percona-cluster:shared-db -- - neutron-api:amqp - - rabbitmq-server:amqp -- - neutron-api:neutron-api - - nova-cloud-controller:neutron-api -- - neutron-api:identity-service - - keystone:identity-service -- - nova-compute:neutron-plugin - - neutron-openvswitch:neutron-plugin -- - rabbitmq-server:amqp - - neutron-openvswitch:amqp -applications: - rabbitmq-server: - charm: cs:~openstack-charmers/rabbitmq-server - num_units: 1 - percona-cluster: - charm: cs:trusty/percona-cluster - num_units: 1 - options: - max-connections: 1000 - innodb-buffer-pool-size: 256M - nova-cloud-controller: - charm: cs:~openstack-charmers/nova-cloud-controller - num_units: 1 - constraints: mem=4G - options: - openstack-origin: cloud:trusty-mitaka - debug: true - network-manager: Neutron - neutron-api: - charm: cs:~openstack-charmers/neutron-api - num_units: 1 - options: - openstack-origin: cloud:trusty-mitaka - flat-network-providers: physnet1 - neutron-security-groups: true - keystone: - charm: cs:~openstack-charmers/keystone - num_units: 1 - options: - openstack-origin: cloud:trusty-mitaka - neutron-gateway: - charm: cs:~openstack-charmers/neutron-gateway - num_units: 1 - options: - openstack-origin: cloud:trusty-mitaka - bridge-mappings: physnet1:br-ex - glance: - charm: cs:~openstack-charmers/glance - num_units: 1 - options: - openstack-origin: cloud:trusty-mitaka - neutron-openvswitch: - charm: cs:~openstack-charmers/neutron-openvswitch - nova-compute: - charm: ../../../nova-compute - num_units: 1 - constraints: mem=4G cores=4 - options: - openstack-origin: cloud:trusty-mitaka - config-flags: auto_assign_floating_ip=False - enable-live-migration: false - aa-profile-mode: enforce - debug: true diff --git a/tests/bundles/xenial-mitaka.yaml b/tests/bundles/xenial-mitaka.yaml deleted file mode 100644 index 5686542a..00000000 --- a/tests/bundles/xenial-mitaka.yaml +++ /dev/null @@ -1,87 +0,0 @@ -series: xenial -relations: -- - nova-compute:image-service - - glance:image-service -- - nova-compute:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:shared-db - - percona-cluster:shared-db -- - nova-cloud-controller:identity-service - - keystone:identity-service -- - nova-cloud-controller:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:cloud-compute - - nova-compute:cloud-compute -- - nova-cloud-controller:image-service - - glance:image-service -- - keystone:shared-db - - percona-cluster:shared-db -- - glance:identity-service - - keystone:identity-service -- - glance:shared-db - - percona-cluster:shared-db -- - glance:amqp - - rabbitmq-server:amqp -- - neutron-gateway:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:quantum-network-service - - neutron-gateway:quantum-network-service -- - neutron-api:shared-db - - percona-cluster:shared-db -- - neutron-api:amqp - - rabbitmq-server:amqp -- - neutron-api:neutron-api - - nova-cloud-controller:neutron-api -- - neutron-api:identity-service - - keystone:identity-service -- - nova-compute:neutron-plugin - - neutron-openvswitch:neutron-plugin -- - rabbitmq-server:amqp - - neutron-openvswitch:amqp -applications: - rabbitmq-server: - charm: cs:~openstack-charmers/rabbitmq-server - num_units: 1 - percona-cluster: - charm: cs:~openstack-charmers/percona-cluster - num_units: 1 - options: - max-connections: 1000 - innodb-buffer-pool-size: 256M - nova-cloud-controller: - charm: cs:~openstack-charmers/nova-cloud-controller - num_units: 1 - constraints: mem=4G - options: - network-manager: Neutron - debug: true - neutron-api: - charm: cs:~openstack-charmers/neutron-api - num_units: 1 - options: - flat-network-providers: physnet1 - neutron-security-groups: true - keystone: - charm: cs:~openstack-charmers/keystone - num_units: 1 - neutron-gateway: - charm: cs:~openstack-charmers/neutron-gateway - num_units: 1 - options: - bridge-mappings: physnet1:br-ex - glance: - charm: cs:~openstack-charmers/glance - num_units: 1 - neutron-openvswitch: - charm: cs:~openstack-charmers/neutron-openvswitch - nova-compute: - charm: ../../../nova-compute - num_units: 1 - constraints: mem=4G cores=4 - options: - config-flags: auto_assign_floating_ip=False - enable-live-migration: false - aa-profile-mode: enforce - ephemeral-device: /dev/vdb - ephemeral-unmount: /mnt - debug: true diff --git a/tests/bundles/xenial-ocata.yaml b/tests/bundles/xenial-ocata.yaml deleted file mode 100644 index fb8379d1..00000000 --- a/tests/bundles/xenial-ocata.yaml +++ /dev/null @@ -1,95 +0,0 @@ -series: xenial -relations: -- - nova-compute:image-service - - glance:image-service -- - nova-compute:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:shared-db - - percona-cluster:shared-db -- - nova-cloud-controller:identity-service - - keystone:identity-service -- - nova-cloud-controller:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:cloud-compute - - nova-compute:cloud-compute -- - nova-cloud-controller:image-service - - glance:image-service -- - keystone:shared-db - - percona-cluster:shared-db -- - glance:identity-service - - keystone:identity-service -- - glance:shared-db - - percona-cluster:shared-db -- - glance:amqp - - rabbitmq-server:amqp -- - neutron-gateway:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:quantum-network-service - - neutron-gateway:quantum-network-service -- - neutron-api:shared-db - - percona-cluster:shared-db -- - neutron-api:amqp - - rabbitmq-server:amqp -- - neutron-api:neutron-api - - nova-cloud-controller:neutron-api -- - neutron-api:identity-service - - keystone:identity-service -- - nova-compute:neutron-plugin - - neutron-openvswitch:neutron-plugin -- - rabbitmq-server:amqp - - neutron-openvswitch:amqp -applications: - rabbitmq-server: - charm: cs:~openstack-charmers/rabbitmq-server - num_units: 1 - percona-cluster: - charm: cs:~openstack-charmers/percona-cluster - num_units: 1 - options: - max-connections: 1000 - innodb-buffer-pool-size: 256M - nova-cloud-controller: - charm: cs:~openstack-charmers/nova-cloud-controller - num_units: 1 - constraints: mem=4G - options: - openstack-origin: cloud:xenial-ocata - network-manager: Neutron - debug: true - neutron-api: - charm: cs:~openstack-charmers/neutron-api - num_units: 1 - options: - openstack-origin: cloud:xenial-ocata - flat-network-providers: physnet1 - neutron-security-groups: true - keystone: - charm: cs:~openstack-charmers/keystone - num_units: 1 - options: - openstack-origin: cloud:xenial-ocata - neutron-gateway: - charm: cs:~openstack-charmers/neutron-gateway - num_units: 1 - options: - openstack-origin: cloud:xenial-ocata - bridge-mappings: physnet1:br-ex - glance: - charm: cs:~openstack-charmers/glance - num_units: 1 - options: - openstack-origin: cloud:xenial-ocata - neutron-openvswitch: - charm: cs:~openstack-charmers/neutron-openvswitch - nova-compute: - charm: ../../../nova-compute - num_units: 1 - constraints: mem=4G cores=4 - options: - openstack-origin: cloud:xenial-ocata - config-flags: auto_assign_floating_ip=False - enable-live-migration: false - aa-profile-mode: enforce - ephemeral-device: /dev/vdb - ephemeral-unmount: /mnt - debug: true diff --git a/tests/bundles/xenial-pike.yaml b/tests/bundles/xenial-pike.yaml deleted file mode 100644 index f63ea93b..00000000 --- a/tests/bundles/xenial-pike.yaml +++ /dev/null @@ -1,95 +0,0 @@ -series: xenial -relations: -- - nova-compute:image-service - - glance:image-service -- - nova-compute:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:shared-db - - percona-cluster:shared-db -- - nova-cloud-controller:identity-service - - keystone:identity-service -- - nova-cloud-controller:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:cloud-compute - - nova-compute:cloud-compute -- - nova-cloud-controller:image-service - - glance:image-service -- - keystone:shared-db - - percona-cluster:shared-db -- - glance:identity-service - - keystone:identity-service -- - glance:shared-db - - percona-cluster:shared-db -- - glance:amqp - - rabbitmq-server:amqp -- - neutron-gateway:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:quantum-network-service - - neutron-gateway:quantum-network-service -- - neutron-api:shared-db - - percona-cluster:shared-db -- - neutron-api:amqp - - rabbitmq-server:amqp -- - neutron-api:neutron-api - - nova-cloud-controller:neutron-api -- - neutron-api:identity-service - - keystone:identity-service -- - nova-compute:neutron-plugin - - neutron-openvswitch:neutron-plugin -- - rabbitmq-server:amqp - - neutron-openvswitch:amqp -applications: - rabbitmq-server: - charm: cs:~openstack-charmers/rabbitmq-server - num_units: 1 - percona-cluster: - charm: cs:~openstack-charmers/percona-cluster - num_units: 1 - options: - max-connections: 1000 - innodb-buffer-pool-size: 256M - nova-cloud-controller: - charm: cs:~openstack-charmers/nova-cloud-controller - num_units: 1 - constraints: mem=4G - options: - openstack-origin: cloud:xenial-pike - network-manager: Neutron - debug: true - neutron-api: - charm: cs:~openstack-charmers/neutron-api - num_units: 1 - options: - openstack-origin: cloud:xenial-pike - flat-network-providers: physnet1 - neutron-security-groups: true - keystone: - charm: cs:~openstack-charmers/keystone - num_units: 1 - options: - openstack-origin: cloud:xenial-pike - neutron-gateway: - charm: cs:~openstack-charmers/neutron-gateway - num_units: 1 - options: - openstack-origin: cloud:xenial-pike - bridge-mappings: physnet1:br-ex - glance: - charm: cs:~openstack-charmers/glance - num_units: 1 - options: - openstack-origin: cloud:xenial-pike - neutron-openvswitch: - charm: cs:~openstack-charmers/neutron-openvswitch - nova-compute: - charm: ../../../nova-compute - num_units: 1 - constraints: mem=4G cores=4 - options: - openstack-origin: cloud:xenial-pike - config-flags: auto_assign_floating_ip=False - enable-live-migration: false - aa-profile-mode: enforce - ephemeral-device: /dev/vdb - ephemeral-unmount: /mnt - debug: true diff --git a/tests/bundles/xenial-queens.yaml b/tests/bundles/xenial-queens.yaml deleted file mode 100644 index 96353d27..00000000 --- a/tests/bundles/xenial-queens.yaml +++ /dev/null @@ -1,95 +0,0 @@ -series: xenial -relations: -- - nova-compute:image-service - - glance:image-service -- - nova-compute:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:shared-db - - percona-cluster:shared-db -- - nova-cloud-controller:identity-service - - keystone:identity-service -- - nova-cloud-controller:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:cloud-compute - - nova-compute:cloud-compute -- - nova-cloud-controller:image-service - - glance:image-service -- - keystone:shared-db - - percona-cluster:shared-db -- - glance:identity-service - - keystone:identity-service -- - glance:shared-db - - percona-cluster:shared-db -- - glance:amqp - - rabbitmq-server:amqp -- - neutron-gateway:amqp - - rabbitmq-server:amqp -- - nova-cloud-controller:quantum-network-service - - neutron-gateway:quantum-network-service -- - neutron-api:shared-db - - percona-cluster:shared-db -- - neutron-api:amqp - - rabbitmq-server:amqp -- - neutron-api:neutron-api - - nova-cloud-controller:neutron-api -- - neutron-api:identity-service - - keystone:identity-service -- - nova-compute:neutron-plugin - - neutron-openvswitch:neutron-plugin -- - rabbitmq-server:amqp - - neutron-openvswitch:amqp -applications: - rabbitmq-server: - charm: cs:~openstack-charmers/rabbitmq-server - num_units: 1 - percona-cluster: - charm: cs:~openstack-charmers/percona-cluster - num_units: 1 - options: - max-connections: 1000 - innodb-buffer-pool-size: 256M - nova-cloud-controller: - charm: cs:~openstack-charmers/nova-cloud-controller - num_units: 1 - constraints: mem=4G - options: - openstack-origin: cloud:xenial-queens - network-manager: Neutron - debug: true - neutron-api: - charm: cs:~openstack-charmers/neutron-api - num_units: 1 - options: - openstack-origin: cloud:xenial-queens - flat-network-providers: physnet1 - neutron-security-groups: true - keystone: - charm: cs:~openstack-charmers/keystone - num_units: 1 - options: - openstack-origin: cloud:xenial-queens - neutron-gateway: - charm: cs:~openstack-charmers/neutron-gateway - num_units: 1 - options: - openstack-origin: cloud:xenial-queens - bridge-mappings: physnet1:br-ex - glance: - charm: cs:~openstack-charmers/glance - num_units: 1 - options: - openstack-origin: cloud:xenial-queens - neutron-openvswitch: - charm: cs:~openstack-charmers/neutron-openvswitch - nova-compute: - charm: ../../../nova-compute - num_units: 1 - constraints: mem=4G cores=4 - options: - openstack-origin: cloud:xenial-queens - config-flags: auto_assign_floating_ip=False - enable-live-migration: false - aa-profile-mode: enforce - ephemeral-device: /dev/vdb - ephemeral-unmount: /mnt - debug: true diff --git a/tests/tests.yaml b/tests/tests.yaml index 2b64f05f..5253fc4a 100644 --- a/tests/tests.yaml +++ b/tests/tests.yaml @@ -1,28 +1,14 @@ charm_name: nova-compute smoke_bundles: -- bionic-train +- ceph: focal-ussuri gate_bundles: -- ceph: groovy-victoria -- ceph: focal-wallaby -- ceph: focal-victoria - ceph: focal-ussuri - bionic-ussuri - bionic-train -- bionic-stein -- bionic-queens -- xenial-mitaka -dev_bundles: -- trusty-mitaka -- xenial-ocata -- xenial-pike -- xenial-queens -- bionic-rocky -- ceph: focal-xena -- ceph: hirsute-wallaby -- ceph: impish-xena +dev_bundles: [] configure: - ceph: @@ -56,6 +42,4 @@ tests: - zaza.openstack.charm_tests.nova.tests.SecurityTests tests_options: - force_deploy: - - groovy-victoria - - impish-xena + force_deploy: [] diff --git a/tox.ini b/tox.ini index ba4fd5b6..d99d7183 100644 --- a/tox.ini +++ b/tox.ini @@ -37,12 +37,22 @@ setenv = VIRTUAL_ENV={envdir} install_command = {toxinidir}/pip.sh install {opts} {packages} commands = stestr run --slowest {posargs} -allowlist_externals = juju +allowlist_externals = + charmcraft + rename.sh passenv = HOME TERM CS_* OS_* TEST_* deps = -r{toxinidir}/test-requirements.txt -[testenv:py35] -basepython = python3.5 +[testenv:build] +basepython = python3 +deps = -r{toxinidir}/build-requirements.txt +commands = + charmcraft clean + charmcraft -v build + {toxinidir}/rename.sh + +[testenv:py3] +basepython = python3 deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt @@ -50,21 +60,31 @@ deps = -r{toxinidir}/requirements.txt basepython = python3.6 deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt +commands = stestr run --slowest {posargs} [testenv:py37] basepython = python3.7 deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt +commands = stestr run --slowest {posargs} [testenv:py38] basepython = python3.8 deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt +commands = stestr run --slowest {posargs} -[testenv:py3] -basepython = python3 +[testenv:py39] +basepython = python3.9 deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt +commands = stestr run --slowest {posargs} + +[testenv:py310] +basepython = python3.10 +deps = -r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt +commands = stestr run --slowest {posargs} [testenv:pep8] basepython = python3