From b6a5dc04918de366f2114ae8297e66e5b7d72682 Mon Sep 17 00:00:00 2001 From: James Page Date: Wed, 6 Nov 2024 11:27:10 +0000 Subject: [PATCH 1/2] Dalmatian and Epoxy suppoort Add bundles and test configuration for testing Dalmatian and Epoxy on Noble. --- .../tests/bundles/noble-dalmatian.yaml | 614 ++++++++++++++++++ .../tests/bundles/noble-epoxy.yaml | 614 ++++++++++++++++++ tests/distro-regression/tests/tests.yaml | 2 + 3 files changed, 1230 insertions(+) create mode 100644 tests/distro-regression/tests/bundles/noble-dalmatian.yaml create mode 100644 tests/distro-regression/tests/bundles/noble-epoxy.yaml diff --git a/tests/distro-regression/tests/bundles/noble-dalmatian.yaml b/tests/distro-regression/tests/bundles/noble-dalmatian.yaml new file mode 100644 index 00000000..eeea253d --- /dev/null +++ b/tests/distro-regression/tests/bundles/noble-dalmatian.yaml @@ -0,0 +1,614 @@ +variables: + source: &source cloud:noble-dalmatian/proposed + openstack-origin: &openstack-origin cloud:noble-dalmatian/proposed + # Set retrofit-series to jammy because noble images aren't + # available by default. + retrofit-series: &retrofit-series jammy + openstack-channel: &openstack-channel latest/edge + ceph-channel: &ceph-channel latest/edge + ovn-channel: &ovn-channel latest/edge + mysql-channel: &mysql-channel latest/edge + rabbitmq-channel: &rabbitmq-channel latest/edge + memcached-channel: &memcached-channel latest/edge + vault-channel: &vault-channel latest/edge +series: &series noble +applications: + aodh: + charm: ch:aodh + num_units: 1 + options: + openstack-origin: *openstack-origin + constraints: mem=1024 + channel: *openstack-channel + aodh-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + barbican: + charm: ch:barbican + num_units: 1 + options: + openstack-origin: *openstack-origin + constraints: mem=1024 + channel: *openstack-channel + barbican-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + ceilometer: + charm: ch:ceilometer + num_units: 1 + options: + openstack-origin: *openstack-origin + constraints: mem=1024 + channel: *openstack-channel + ceilometer-agent: + charm: ch:ceilometer-agent + channel: *openstack-channel + ceph-fs: + num_units: 1 + charm: ch:ceph-fs + options: + source: *source + channel: *ceph-channel + ceph-mon: + charm: ch:ceph-mon + num_units: 3 + options: + expected-osd-count: 3 + source: *source + constraints: mem=1024 + channel: *ceph-channel + ceph-osd: + charm: ch:ceph-osd + num_units: 3 + options: + source: *source + storage: + osd-devices: cinder,50G + constraints: mem=4096 + channel: *ceph-channel + cinder: + charm: ch:cinder + num_units: 1 + options: + block-device: None + glance-api-version: 2 + openstack-origin: *openstack-origin + constraints: mem=1024 + channel: *openstack-channel + cinder-ceph: + charm: ch:cinder-ceph + channel: *openstack-channel + cinder-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + designate: + charm: ch:designate + num_units: 1 + options: + nameservers: ns1.ubuntu.com. + neutron-domain: serverstack.ubuntu.com. + neutron-domain-email: bob@serverstack.ubuntu.com + nova-domain: serverstack.ubuntu.com. + nova-domain-email: bob@serverstack.ubuntu.com + openstack-origin: *openstack-origin + constraints: mem=1024 + channel: *openstack-channel + designate-bind: + charm: ch:designate-bind + num_units: 1 + channel: *openstack-channel + designate-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + glance: + charm: ch:glance + num_units: 1 + options: + openstack-origin: *openstack-origin + constraints: mem=1024 + channel: *openstack-channel + glance-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + gnocchi: + charm: ch:gnocchi + num_units: 1 + options: + openstack-origin: *openstack-origin + channel: *openstack-channel + gnocchi-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + heat: + charm: ch:heat + num_units: 1 + options: + openstack-origin: *openstack-origin + channel: *openstack-channel + heat-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + keystone: + charm: ch:keystone + num_units: 1 + options: + admin-password: openstack + openstack-origin: *openstack-origin + constraints: mem=1024 + channel: *openstack-channel + keystone-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + magnum: + charm: ch:magnum + num_units: 1 + options: + openstack-origin: *openstack-origin + channel: *openstack-channel + magnum-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + magnum-dashboard: + charm: ch:magnum-dashboard + channel: *openstack-channel + manila: + charm: ch:manila + num_units: 1 + options: + default-share-backend: cephfsnfs1 + share-protocols: NFS + openstack-origin: *openstack-origin + channel: *openstack-channel + manila-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + manila-ganesha: + charm: ch:manila-ganesha + num_units: 1 + options: + openstack-origin: *openstack-origin + channel: *openstack-channel + manila-ganesha-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + memcached: + charm: ch:memcached + num_units: 1 + constraints: mem=1024 + channel: *memcached-channel + series: jammy + mysql-innodb-cluster: + charm: ch:mysql-innodb-cluster + num_units: 3 + constraints: mem=4096 + channel: *mysql-channel + vault: + charm: ch:vault + num_units: 1 + channel: *vault-channel + vault-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + ovn-central: + charm: ch:ovn-central + num_units: 3 + options: + source: *openstack-origin + channel: *ovn-channel + neutron-api-plugin-ovn: + charm: ch:neutron-api-plugin-ovn + channel: *openstack-channel + ovn-chassis: + charm: ch:ovn-chassis + channel: *ovn-channel + options: + prefer-chassis-as-gw: true + neutron-api: + charm: ch:neutron-api + num_units: 1 + options: + neutron-security-groups: true + flat-network-providers: physnet1 + openstack-origin: *openstack-origin + enable-ml2-port-security: true + enable-qos: true + enable-vlan-trunking: true + constraints: mem=1024 + channel: *openstack-channel + neutron-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + nova-cloud-controller: + charm: ch:nova-cloud-controller + num_units: 1 + options: + network-manager: Neutron + openstack-origin: *openstack-origin + constraints: mem=4096 + channel: *openstack-channel + nova-compute: + charm: ch:nova-compute + num_units: 3 + options: + enable-live-migration: true + enable-resize: true + migration-auth-type: ssh + openstack-origin: *openstack-origin + constraints: root-disk=40G mem=4G + channel: *openstack-channel + nova-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + openstack-dashboard: + charm: ch:openstack-dashboard + num_units: 1 + options: + openstack-origin: *openstack-origin + constraints: mem=1024 + channel: *openstack-channel + placement: + charm: ch:placement + num_units: 1 + options: + openstack-origin: *openstack-origin + constraints: mem=1024 + channel: *openstack-channel + placement-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + rabbitmq-server: + charm: ch:rabbitmq-server + num_units: 1 + options: + source: *source + constraints: mem=1024 + channel: *rabbitmq-channel + swift-proxy: + charm: ch:swift-proxy + num_units: 1 + options: + openstack-origin: *openstack-origin + replicas: 3 + swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae + zone-assignment: manual + constraints: mem=1024 + channel: *openstack-channel + swift-storage-z1: + charm: ch:swift-storage + num_units: 1 + options: + openstack-origin: *openstack-origin + zone: 1 + storage: + block-devices: cinder,10G + constraints: mem=1024 + channel: *openstack-channel + swift-storage-z2: + charm: ch:swift-storage + num_units: 1 + options: + openstack-origin: *openstack-origin + zone: 2 + storage: + block-devices: cinder,10G + constraints: mem=1024 + channel: *openstack-channel + swift-storage-z3: + charm: ch:swift-storage + num_units: 1 + options: + openstack-origin: *openstack-origin + zone: 3 + storage: + block-devices: cinder,10G + constraints: mem=1024 + channel: *openstack-channel + watcher-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + watcher: + charm: ch:watcher + channel: *openstack-channel + num_units: 1 + options: + openstack-origin: *openstack-origin + datasources: gnocchi + planner: weight + planner-config: > + { + + + "weights": "change_node_power_state:9,change_nova_service_state:50,migrate:30,nop:70,resize:20,sleep:40,turn_host_to_acpi_s3_state:10,volume_migrate:60", + "parallelization": "change_node_power_state:2,change_nova_service_state:1,migrate:2,nop:1,resize:2,sleep:1,turn_host_to_acpi_s3_state:2,volume_migrate:2" + } + + octavia: + charm: ch:octavia + num_units: 1 + options: + openstack-origin: *openstack-origin + spare-pool-size: 2 + loadbalancer-topology: 'ACTIVE_STANDBY' + constraints: mem=4096 + channel: *openstack-channel + octavia-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + glance-simplestreams-sync: + series: jammy + charm: ch:glance-simplestreams-sync + num_units: 1 + options: + use_swift: true + constraints: root-disk=8G + channel: *openstack-channel + octavia-diskimage-retrofit: + series: jammy + charm: ch:octavia-diskimage-retrofit + options: + amp-image-tag: 'octavia-amphora' + retrofit-series: *retrofit-series + channel: *openstack-channel +relations: + - - nova-cloud-controller:amqp + - rabbitmq-server:amqp + - - nova-cloud-controller:image-service + - glance:image-service + - - nova-cloud-controller:identity-service + - keystone:identity-service + - - nova-compute:cloud-compute + - nova-cloud-controller:cloud-compute + - - nova-compute:amqp + - rabbitmq-server:amqp + - - nova-compute:image-service + - glance:image-service + - - nova-compute:ceph + - ceph-mon:client + - - glance:identity-service + - keystone:identity-service + - - glance:ceph + - ceph-mon:client + - - glance:image-service + - cinder:image-service + - - glance:amqp + - rabbitmq-server:amqp + - - cinder:amqp + - rabbitmq-server:amqp + - - cinder:cinder-volume-service + - nova-cloud-controller:cinder-volume-service + - - cinder:identity-service + - keystone:identity-service + - - cinder:storage-backend + - cinder-ceph:storage-backend + - - cinder-ceph:ceph + - ceph-mon:client + - - openstack-dashboard:identity-service + - keystone:identity-service + - - swift-proxy:identity-service + - keystone:identity-service + - - swift-proxy:swift-storage + - swift-storage-z1:swift-storage + - - swift-proxy:swift-storage + - swift-storage-z2:swift-storage + - - swift-proxy:swift-storage + - swift-storage-z3:swift-storage + - - ceilometer:identity-service + - keystone:identity-service + - - ceilometer:amqp + - rabbitmq-server:amqp + - - ceilometer-agent:nova-ceilometer + - nova-compute:nova-ceilometer + - - ceilometer-agent:ceilometer-service + - ceilometer:ceilometer-service + - - ceilometer-agent:amqp + - rabbitmq-server:amqp + - - heat:identity-service + - keystone:identity-service + - - heat:amqp + - rabbitmq-server:amqp + - - neutron-api:amqp + - rabbitmq-server:amqp + - - neutron-api:neutron-api + - nova-cloud-controller:neutron-api + - - neutron-api:identity-service + - keystone:identity-service + - - ceph-mon + - ceph-fs + - - ceph-osd:mon + - ceph-mon:osd + - - aodh:amqp + - rabbitmq-server:amqp + - - aodh:identity-service + - keystone:identity-service + - - designate:identity-service + - keystone:identity-service + - - designate:amqp + - rabbitmq-server:amqp + - - designate:dns-backend + - designate-bind:dns-backend + - - designate:coordinator-memcached + - memcached:cache + - - gnocchi:storage-ceph + - ceph-mon:client + - - gnocchi:amqp + - rabbitmq-server:amqp + - - gnocchi:coordinator-memcached + - memcached:cache + - - gnocchi:metric-service + - ceilometer:metric-service + - - gnocchi:identity-service + - keystone:identity-service + - - cinder-ceph:ceph-access + - nova-compute:ceph-access + - - ceilometer:identity-credentials + - keystone:identity-credentials + - - designate:dnsaas + - neutron-api:external-dns + - - barbican:amqp + - rabbitmq-server:amqp + - - barbican:identity-service + - keystone:identity-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 + - - ovn-chassis:ovsdb-subordinate + - octavia:ovsdb-subordinate + - - ovn-central:ovsdb-cms + - octavia:ovsdb-cms + - - vault:certificates + - aodh:certificates + - - vault:certificates + - barbican:certificates + - - vault:certificates + - ceilometer:certificates + - - vault:certificates + - designate:certificates + - - vault:certificates + - gnocchi:certificates + - - vault:certificates + - heat:certificates + - - vault:certificates + - neutron-api-plugin-ovn:certificates + - - vault:certificates + - cinder:certificates + - - vault:certificates + - glance:certificates + - - vault:certificates + - keystone:certificates + - - vault:certificates + - manila:certificates + - - vault:certificates + - nova-cloud-controller:certificates + - - vault:certificates + - placement:certificates + - - vault:certificates + - swift-proxy:certificates + - - vault:certificates + - openstack-dashboard:certificates + - - 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 + - - cinder-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - heat-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - neutron-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - aodh-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - designate-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - gnocchi-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - barbican-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - placement-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - vault:shared-db + - vault-mysql-router:shared-db + - - keystone:shared-db + - keystone-mysql-router:shared-db + - - nova-cloud-controller:shared-db + - nova-mysql-router:shared-db + - - glance:shared-db + - glance-mysql-router:shared-db + - - cinder:shared-db + - cinder-mysql-router:shared-db + - - heat:shared-db + - heat-mysql-router:shared-db + - - neutron-api:shared-db + - neutron-mysql-router:shared-db + - - aodh:shared-db + - aodh-mysql-router:shared-db + - - designate:shared-db + - designate-mysql-router:shared-db + - - gnocchi:shared-db + - gnocchi-mysql-router:shared-db + - - barbican:shared-db + - barbican-mysql-router:shared-db + - - placement:shared-db + - placement-mysql-router:shared-db + - - vault-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - octavia-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - octavia-mysql-router:shared-db + - octavia:shared-db + - - keystone:identity-service + - octavia:identity-service + - - rabbitmq-server:amqp + - octavia:amqp + - - neutron-api:neutron-load-balancer + - octavia:neutron-api + - - glance-simplestreams-sync:juju-info + - octavia-diskimage-retrofit:juju-info + - - keystone:identity-service + - glance-simplestreams-sync:identity-service + - - keystone:identity-credentials + - octavia-diskimage-retrofit:identity-credentials + - - vault:certificates + - octavia:certificates + - - vault:certificates + - octavia-diskimage-retrofit:certificates + - - vault:certificates + - glance-simplestreams-sync:certificates + - - ceph-mon + - manila-ganesha + - - manila:shared-db + - manila-mysql-router:shared-db + - - manila-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - manila-ganesha + - rabbitmq-server + - - manila-ganesha + - keystone + - - manila + - manila-ganesha + - - manila-ganesha:shared-db + - manila-ganesha-mysql-router:shared-db + - - manila-ganesha-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - manila + - rabbitmq-server + - - manila + - keystone + - - watcher:shared-db + - watcher-mysql-router:shared-db + - - watcher-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - watcher:certificates + - vault:certificates + - - keystone:identity-service + - watcher:identity-service + - - rabbitmq-server:amqp + - watcher:amqp + - - magnum:shared-db + - magnum-mysql-router:shared-db + - - magnum-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - magnum:amqp + - rabbitmq-server:amqp + - - magnum:identity-service + - keystone:identity-service + - - magnum:certificates + - vault:certificates + - - openstack-dashboard:dashboard-plugin + - magnum-dashboard:dashboard diff --git a/tests/distro-regression/tests/bundles/noble-epoxy.yaml b/tests/distro-regression/tests/bundles/noble-epoxy.yaml new file mode 100644 index 00000000..9253e628 --- /dev/null +++ b/tests/distro-regression/tests/bundles/noble-epoxy.yaml @@ -0,0 +1,614 @@ +variables: + source: &source cloud:noble-epoxy/proposed + openstack-origin: &openstack-origin cloud:noble-epoxy/proposed + # Set retrofit-series to jammy because noble images aren't + # available by default. + retrofit-series: &retrofit-series jammy + openstack-channel: &openstack-channel latest/edge + ceph-channel: &ceph-channel latest/edge + ovn-channel: &ovn-channel latest/edge + mysql-channel: &mysql-channel latest/edge + rabbitmq-channel: &rabbitmq-channel latest/edge + memcached-channel: &memcached-channel latest/edge + vault-channel: &vault-channel latest/edge +series: &series noble +applications: + aodh: + charm: ch:aodh + num_units: 1 + options: + openstack-origin: *openstack-origin + constraints: mem=1024 + channel: *openstack-channel + aodh-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + barbican: + charm: ch:barbican + num_units: 1 + options: + openstack-origin: *openstack-origin + constraints: mem=1024 + channel: *openstack-channel + barbican-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + ceilometer: + charm: ch:ceilometer + num_units: 1 + options: + openstack-origin: *openstack-origin + constraints: mem=1024 + channel: *openstack-channel + ceilometer-agent: + charm: ch:ceilometer-agent + channel: *openstack-channel + ceph-fs: + num_units: 1 + charm: ch:ceph-fs + options: + source: *source + channel: *ceph-channel + ceph-mon: + charm: ch:ceph-mon + num_units: 3 + options: + expected-osd-count: 3 + source: *source + constraints: mem=1024 + channel: *ceph-channel + ceph-osd: + charm: ch:ceph-osd + num_units: 3 + options: + source: *source + storage: + osd-devices: cinder,50G + constraints: mem=4096 + channel: *ceph-channel + cinder: + charm: ch:cinder + num_units: 1 + options: + block-device: None + glance-api-version: 2 + openstack-origin: *openstack-origin + constraints: mem=1024 + channel: *openstack-channel + cinder-ceph: + charm: ch:cinder-ceph + channel: *openstack-channel + cinder-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + designate: + charm: ch:designate + num_units: 1 + options: + nameservers: ns1.ubuntu.com. + neutron-domain: serverstack.ubuntu.com. + neutron-domain-email: bob@serverstack.ubuntu.com + nova-domain: serverstack.ubuntu.com. + nova-domain-email: bob@serverstack.ubuntu.com + openstack-origin: *openstack-origin + constraints: mem=1024 + channel: *openstack-channel + designate-bind: + charm: ch:designate-bind + num_units: 1 + channel: *openstack-channel + designate-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + glance: + charm: ch:glance + num_units: 1 + options: + openstack-origin: *openstack-origin + constraints: mem=1024 + channel: *openstack-channel + glance-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + gnocchi: + charm: ch:gnocchi + num_units: 1 + options: + openstack-origin: *openstack-origin + channel: *openstack-channel + gnocchi-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + heat: + charm: ch:heat + num_units: 1 + options: + openstack-origin: *openstack-origin + channel: *openstack-channel + heat-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + keystone: + charm: ch:keystone + num_units: 1 + options: + admin-password: openstack + openstack-origin: *openstack-origin + constraints: mem=1024 + channel: *openstack-channel + keystone-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + magnum: + charm: ch:magnum + num_units: 1 + options: + openstack-origin: *openstack-origin + channel: *openstack-channel + magnum-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + magnum-dashboard: + charm: ch:magnum-dashboard + channel: *openstack-channel + manila: + charm: ch:manila + num_units: 1 + options: + default-share-backend: cephfsnfs1 + share-protocols: NFS + openstack-origin: *openstack-origin + channel: *openstack-channel + manila-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + manila-ganesha: + charm: ch:manila-ganesha + num_units: 1 + options: + openstack-origin: *openstack-origin + channel: *openstack-channel + manila-ganesha-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + memcached: + charm: ch:memcached + num_units: 1 + constraints: mem=1024 + channel: *memcached-channel + series: jammy + mysql-innodb-cluster: + charm: ch:mysql-innodb-cluster + num_units: 3 + constraints: mem=4096 + channel: *mysql-channel + vault: + charm: ch:vault + num_units: 1 + channel: *vault-channel + vault-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + ovn-central: + charm: ch:ovn-central + num_units: 3 + options: + source: *openstack-origin + channel: *ovn-channel + neutron-api-plugin-ovn: + charm: ch:neutron-api-plugin-ovn + channel: *openstack-channel + ovn-chassis: + charm: ch:ovn-chassis + channel: *ovn-channel + options: + prefer-chassis-as-gw: true + neutron-api: + charm: ch:neutron-api + num_units: 1 + options: + neutron-security-groups: true + flat-network-providers: physnet1 + openstack-origin: *openstack-origin + enable-ml2-port-security: true + enable-qos: true + enable-vlan-trunking: true + constraints: mem=1024 + channel: *openstack-channel + neutron-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + nova-cloud-controller: + charm: ch:nova-cloud-controller + num_units: 1 + options: + network-manager: Neutron + openstack-origin: *openstack-origin + constraints: mem=4096 + channel: *openstack-channel + nova-compute: + charm: ch:nova-compute + num_units: 3 + options: + enable-live-migration: true + enable-resize: true + migration-auth-type: ssh + openstack-origin: *openstack-origin + constraints: root-disk=40G mem=4G + channel: *openstack-channel + nova-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + openstack-dashboard: + charm: ch:openstack-dashboard + num_units: 1 + options: + openstack-origin: *openstack-origin + constraints: mem=1024 + channel: *openstack-channel + placement: + charm: ch:placement + num_units: 1 + options: + openstack-origin: *openstack-origin + constraints: mem=1024 + channel: *openstack-channel + placement-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + rabbitmq-server: + charm: ch:rabbitmq-server + num_units: 1 + options: + source: *source + constraints: mem=1024 + channel: *rabbitmq-channel + swift-proxy: + charm: ch:swift-proxy + num_units: 1 + options: + openstack-origin: *openstack-origin + replicas: 3 + swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae + zone-assignment: manual + constraints: mem=1024 + channel: *openstack-channel + swift-storage-z1: + charm: ch:swift-storage + num_units: 1 + options: + openstack-origin: *openstack-origin + zone: 1 + storage: + block-devices: cinder,10G + constraints: mem=1024 + channel: *openstack-channel + swift-storage-z2: + charm: ch:swift-storage + num_units: 1 + options: + openstack-origin: *openstack-origin + zone: 2 + storage: + block-devices: cinder,10G + constraints: mem=1024 + channel: *openstack-channel + swift-storage-z3: + charm: ch:swift-storage + num_units: 1 + options: + openstack-origin: *openstack-origin + zone: 3 + storage: + block-devices: cinder,10G + constraints: mem=1024 + channel: *openstack-channel + watcher-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + watcher: + charm: ch:watcher + channel: *openstack-channel + num_units: 1 + options: + openstack-origin: *openstack-origin + datasources: gnocchi + planner: weight + planner-config: > + { + + + "weights": "change_node_power_state:9,change_nova_service_state:50,migrate:30,nop:70,resize:20,sleep:40,turn_host_to_acpi_s3_state:10,volume_migrate:60", + "parallelization": "change_node_power_state:2,change_nova_service_state:1,migrate:2,nop:1,resize:2,sleep:1,turn_host_to_acpi_s3_state:2,volume_migrate:2" + } + + octavia: + charm: ch:octavia + num_units: 1 + options: + openstack-origin: *openstack-origin + spare-pool-size: 2 + loadbalancer-topology: 'ACTIVE_STANDBY' + constraints: mem=4096 + channel: *openstack-channel + octavia-mysql-router: + charm: ch:mysql-router + channel: *mysql-channel + glance-simplestreams-sync: + series: jammy + charm: ch:glance-simplestreams-sync + num_units: 1 + options: + use_swift: true + constraints: root-disk=8G + channel: *openstack-channel + octavia-diskimage-retrofit: + series: jammy + charm: ch:octavia-diskimage-retrofit + options: + amp-image-tag: 'octavia-amphora' + retrofit-series: *retrofit-series + channel: *openstack-channel +relations: + - - nova-cloud-controller:amqp + - rabbitmq-server:amqp + - - nova-cloud-controller:image-service + - glance:image-service + - - nova-cloud-controller:identity-service + - keystone:identity-service + - - nova-compute:cloud-compute + - nova-cloud-controller:cloud-compute + - - nova-compute:amqp + - rabbitmq-server:amqp + - - nova-compute:image-service + - glance:image-service + - - nova-compute:ceph + - ceph-mon:client + - - glance:identity-service + - keystone:identity-service + - - glance:ceph + - ceph-mon:client + - - glance:image-service + - cinder:image-service + - - glance:amqp + - rabbitmq-server:amqp + - - cinder:amqp + - rabbitmq-server:amqp + - - cinder:cinder-volume-service + - nova-cloud-controller:cinder-volume-service + - - cinder:identity-service + - keystone:identity-service + - - cinder:storage-backend + - cinder-ceph:storage-backend + - - cinder-ceph:ceph + - ceph-mon:client + - - openstack-dashboard:identity-service + - keystone:identity-service + - - swift-proxy:identity-service + - keystone:identity-service + - - swift-proxy:swift-storage + - swift-storage-z1:swift-storage + - - swift-proxy:swift-storage + - swift-storage-z2:swift-storage + - - swift-proxy:swift-storage + - swift-storage-z3:swift-storage + - - ceilometer:identity-service + - keystone:identity-service + - - ceilometer:amqp + - rabbitmq-server:amqp + - - ceilometer-agent:nova-ceilometer + - nova-compute:nova-ceilometer + - - ceilometer-agent:ceilometer-service + - ceilometer:ceilometer-service + - - ceilometer-agent:amqp + - rabbitmq-server:amqp + - - heat:identity-service + - keystone:identity-service + - - heat:amqp + - rabbitmq-server:amqp + - - neutron-api:amqp + - rabbitmq-server:amqp + - - neutron-api:neutron-api + - nova-cloud-controller:neutron-api + - - neutron-api:identity-service + - keystone:identity-service + - - ceph-mon + - ceph-fs + - - ceph-osd:mon + - ceph-mon:osd + - - aodh:amqp + - rabbitmq-server:amqp + - - aodh:identity-service + - keystone:identity-service + - - designate:identity-service + - keystone:identity-service + - - designate:amqp + - rabbitmq-server:amqp + - - designate:dns-backend + - designate-bind:dns-backend + - - designate:coordinator-memcached + - memcached:cache + - - gnocchi:storage-ceph + - ceph-mon:client + - - gnocchi:amqp + - rabbitmq-server:amqp + - - gnocchi:coordinator-memcached + - memcached:cache + - - gnocchi:metric-service + - ceilometer:metric-service + - - gnocchi:identity-service + - keystone:identity-service + - - cinder-ceph:ceph-access + - nova-compute:ceph-access + - - ceilometer:identity-credentials + - keystone:identity-credentials + - - designate:dnsaas + - neutron-api:external-dns + - - barbican:amqp + - rabbitmq-server:amqp + - - barbican:identity-service + - keystone:identity-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 + - - ovn-chassis:ovsdb-subordinate + - octavia:ovsdb-subordinate + - - ovn-central:ovsdb-cms + - octavia:ovsdb-cms + - - vault:certificates + - aodh:certificates + - - vault:certificates + - barbican:certificates + - - vault:certificates + - ceilometer:certificates + - - vault:certificates + - designate:certificates + - - vault:certificates + - gnocchi:certificates + - - vault:certificates + - heat:certificates + - - vault:certificates + - neutron-api-plugin-ovn:certificates + - - vault:certificates + - cinder:certificates + - - vault:certificates + - glance:certificates + - - vault:certificates + - keystone:certificates + - - vault:certificates + - manila:certificates + - - vault:certificates + - nova-cloud-controller:certificates + - - vault:certificates + - placement:certificates + - - vault:certificates + - swift-proxy:certificates + - - vault:certificates + - openstack-dashboard:certificates + - - 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 + - - cinder-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - heat-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - neutron-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - aodh-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - designate-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - gnocchi-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - barbican-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - placement-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - vault:shared-db + - vault-mysql-router:shared-db + - - keystone:shared-db + - keystone-mysql-router:shared-db + - - nova-cloud-controller:shared-db + - nova-mysql-router:shared-db + - - glance:shared-db + - glance-mysql-router:shared-db + - - cinder:shared-db + - cinder-mysql-router:shared-db + - - heat:shared-db + - heat-mysql-router:shared-db + - - neutron-api:shared-db + - neutron-mysql-router:shared-db + - - aodh:shared-db + - aodh-mysql-router:shared-db + - - designate:shared-db + - designate-mysql-router:shared-db + - - gnocchi:shared-db + - gnocchi-mysql-router:shared-db + - - barbican:shared-db + - barbican-mysql-router:shared-db + - - placement:shared-db + - placement-mysql-router:shared-db + - - vault-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - octavia-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - octavia-mysql-router:shared-db + - octavia:shared-db + - - keystone:identity-service + - octavia:identity-service + - - rabbitmq-server:amqp + - octavia:amqp + - - neutron-api:neutron-load-balancer + - octavia:neutron-api + - - glance-simplestreams-sync:juju-info + - octavia-diskimage-retrofit:juju-info + - - keystone:identity-service + - glance-simplestreams-sync:identity-service + - - keystone:identity-credentials + - octavia-diskimage-retrofit:identity-credentials + - - vault:certificates + - octavia:certificates + - - vault:certificates + - octavia-diskimage-retrofit:certificates + - - vault:certificates + - glance-simplestreams-sync:certificates + - - ceph-mon + - manila-ganesha + - - manila:shared-db + - manila-mysql-router:shared-db + - - manila-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - manila-ganesha + - rabbitmq-server + - - manila-ganesha + - keystone + - - manila + - manila-ganesha + - - manila-ganesha:shared-db + - manila-ganesha-mysql-router:shared-db + - - manila-ganesha-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - manila + - rabbitmq-server + - - manila + - keystone + - - watcher:shared-db + - watcher-mysql-router:shared-db + - - watcher-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - watcher:certificates + - vault:certificates + - - keystone:identity-service + - watcher:identity-service + - - rabbitmq-server:amqp + - watcher:amqp + - - magnum:shared-db + - magnum-mysql-router:shared-db + - - magnum-mysql-router:db-router + - mysql-innodb-cluster:db-router + - - magnum:amqp + - rabbitmq-server:amqp + - - magnum:identity-service + - keystone:identity-service + - - magnum:certificates + - vault:certificates + - - openstack-dashboard:dashboard-plugin + - magnum-dashboard:dashboard diff --git a/tests/distro-regression/tests/tests.yaml b/tests/distro-regression/tests/tests.yaml index 232b795d..e47ebb7a 100644 --- a/tests/distro-regression/tests/tests.yaml +++ b/tests/distro-regression/tests/tests.yaml @@ -16,6 +16,8 @@ smoke_bundles: - focal_wallaby: lunar-antelope - focal_wallaby: mantic-bobcat - focal_wallaby: noble-caracal + - focal_wallaby: noble-dalmatian + - focal_wallaby: noble-epoxy - bionic_queens_security: bionic-queens-security - focal_ussuri_security: focal-ussuri-security - focal_ussuri_security: jammy-yoga-security From e2fc8c967813e245e254603e7480f00168e5da5c Mon Sep 17 00:00:00 2001 From: James Page Date: Wed, 13 Nov 2024 09:36:54 +0000 Subject: [PATCH 2/2] Switch testing to Juju 3, drop use of constraints file. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 37a7cabd..7a017d69 100644 --- a/tox.ini +++ b/tox.ini @@ -6,6 +6,7 @@ minversion = 3.2.0 [testenv] setenv = VIRTUAL_ENV={envdir} PYTHONHASHSEED=0 + TEST_JUJU3=1 allowlist_externals = juju bash @@ -16,7 +17,6 @@ passenv = OS_* TEST_* deps = - -c{env:TEST_CONSTRAINTS_FILE:{toxinidir}/constraints.txt} -r{toxinidir}/test-requirements.txt install_command = pip install {opts} {packages}