Add machine agnostic (lxd compatible) test bundles
This patch copies the two existing test bundles and makes them compatible with running in a localhost LXD provider environment.
This commit is contained in:
parent
09ced63747
commit
0913885309
272
tests/bundles/jammy-antelope-lxd.yaml
Normal file
272
tests/bundles/jammy-antelope-lxd.yaml
Normal file
@ -0,0 +1,272 @@
|
||||
# Please refer to the OpenStack Charms Deployment Guide for more information.
|
||||
# https://docs.openstack.org/project-deploy-guide/charm-deployment-guide
|
||||
#
|
||||
# NOTE: Please review the value for the configuration option
|
||||
# `bridge-interface-mappings` for the `ovn-chassis` charm (see `data-port` variable).
|
||||
# Refer to the [Open Virtual Network (OVN)](https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/latest/app-ovn.html)
|
||||
# section of the [OpenStack Charms Deployment Guide](https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/latest/)
|
||||
# for more information.
|
||||
|
||||
series: jammy
|
||||
variables:
|
||||
openstack-origin: &openstack-origin cloud:jammy-antelope
|
||||
data-port: &data-port br-ex:ext
|
||||
worker-multiplier: &worker-multiplier 0.25
|
||||
osd-devices: &osd-devices /dev/sdb /dev/vdb /dev/sdc
|
||||
expected-osd-count: &expected-osd-count 3
|
||||
expected-mon-count: &expected-mon-count 3
|
||||
ovn-channel: &ovn-channel latest/edge
|
||||
openstack-channel: &openstack-channel latest/edge
|
||||
mysql-channel: &mysql-channel 8.0/edge
|
||||
|
||||
relations:
|
||||
- - nova-compute:amqp
|
||||
- rabbitmq-server:amqp
|
||||
- - nova-cloud-controller:identity-service
|
||||
- keystone:identity-service
|
||||
- - glance:identity-service
|
||||
- keystone:identity-service
|
||||
- - neutron-api:identity-service
|
||||
- keystone:identity-service
|
||||
- - neutron-api:amqp
|
||||
- rabbitmq-server:amqp
|
||||
- - glance:amqp
|
||||
- rabbitmq-server:amqp
|
||||
- - nova-cloud-controller:image-service
|
||||
- glance:image-service
|
||||
- - nova-compute:image-service
|
||||
- glance:image-service
|
||||
- - nova-cloud-controller:cloud-compute
|
||||
- nova-compute:cloud-compute
|
||||
- - nova-cloud-controller:amqp
|
||||
- rabbitmq-server:amqp
|
||||
- - openstack-dashboard:identity-service
|
||||
- keystone:identity-service
|
||||
- - nova-cloud-controller:neutron-api
|
||||
- neutron-api:neutron-api
|
||||
- - cinder:image-service
|
||||
- glance:image-service
|
||||
- - cinder:amqp
|
||||
- rabbitmq-server:amqp
|
||||
- - cinder:identity-service
|
||||
- keystone:identity-service
|
||||
- - cinder:cinder-volume-service
|
||||
- nova-cloud-controller:cinder-volume-service
|
||||
- - placement:identity-service
|
||||
- keystone:identity-service
|
||||
- - placement:placement
|
||||
- nova-cloud-controller:placement
|
||||
- - keystone:shared-db
|
||||
- keystone-mysql-router:shared-db
|
||||
- - cinder:shared-db
|
||||
- cinder-mysql-router:shared-db
|
||||
- - glance:shared-db
|
||||
- glance-mysql-router:shared-db
|
||||
- - nova-cloud-controller:shared-db
|
||||
- nova-mysql-router:shared-db
|
||||
- - neutron-api:shared-db
|
||||
- neutron-mysql-router:shared-db
|
||||
- - openstack-dashboard:shared-db
|
||||
- dashboard-mysql-router:shared-db
|
||||
- - placement:shared-db
|
||||
- placement-mysql-router:shared-db
|
||||
- - vault:shared-db
|
||||
- vault-mysql-router:shared-db
|
||||
- - keystone-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - cinder-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - nova-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - glance-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - neutron-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - dashboard-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - placement-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - vault-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - neutron-api-plugin-ovn:neutron-plugin
|
||||
- neutron-api:neutron-plugin-api-subordinate
|
||||
- - ovn-central:certificates
|
||||
- vault:certificates
|
||||
- - ovn-central:ovsdb-cms
|
||||
- neutron-api-plugin-ovn:ovsdb-cms
|
||||
- - neutron-api:certificates
|
||||
- vault:certificates
|
||||
- - ovn-chassis:nova-compute
|
||||
- nova-compute:neutron-plugin
|
||||
- - ovn-chassis:certificates
|
||||
- vault:certificates
|
||||
- - ovn-chassis:ovsdb
|
||||
- ovn-central:ovsdb
|
||||
- - vault:certificates
|
||||
- neutron-api-plugin-ovn:certificates
|
||||
- - vault:certificates
|
||||
- cinder:certificates
|
||||
- - vault:certificates
|
||||
- glance:certificates
|
||||
- - vault:certificates
|
||||
- keystone:certificates
|
||||
- - vault:certificates
|
||||
- nova-cloud-controller:certificates
|
||||
- - vault:certificates
|
||||
- openstack-dashboard:certificates
|
||||
- - vault:certificates
|
||||
- placement:certificates
|
||||
- - vault:certificates
|
||||
- mysql-innodb-cluster:certificates
|
||||
- - manila:shared-db
|
||||
- manila-mysql-router:shared-db
|
||||
- - manila-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - manila
|
||||
- rabbitmq-server
|
||||
- - manila
|
||||
- keystone
|
||||
- - manila:manila-plugin
|
||||
- manila-flashblade:manila-plugin
|
||||
- - manila:certificates
|
||||
- vault:certificates
|
||||
|
||||
applications:
|
||||
cinder-mysql-router:
|
||||
charm: mysql-router
|
||||
channel: *mysql-channel
|
||||
cinder:
|
||||
charm: cinder
|
||||
channel: *openstack-channel
|
||||
num_units: 1
|
||||
options:
|
||||
block-device: None
|
||||
glance-api-version: 2
|
||||
worker-multiplier: *worker-multiplier
|
||||
openstack-origin: *openstack-origin
|
||||
glance-mysql-router:
|
||||
charm: mysql-router
|
||||
channel: *mysql-channel
|
||||
glance:
|
||||
charm: glance
|
||||
channel: *openstack-channel
|
||||
num_units: 1
|
||||
options:
|
||||
worker-multiplier: *worker-multiplier
|
||||
openstack-origin: *openstack-origin
|
||||
keystone-mysql-router:
|
||||
charm: mysql-router
|
||||
channel: *mysql-channel
|
||||
keystone:
|
||||
charm: keystone
|
||||
channel: *openstack-channel
|
||||
num_units: 1
|
||||
options:
|
||||
worker-multiplier: *worker-multiplier
|
||||
openstack-origin: *openstack-origin
|
||||
neutron-mysql-router:
|
||||
charm: mysql-router
|
||||
channel: *mysql-channel
|
||||
neutron-api-plugin-ovn:
|
||||
charm: neutron-api-plugin-ovn
|
||||
channel: *openstack-channel
|
||||
neutron-api:
|
||||
charm: neutron-api
|
||||
channel: *openstack-channel
|
||||
num_units: 1
|
||||
options:
|
||||
neutron-security-groups: true
|
||||
flat-network-providers: physnet1
|
||||
worker-multiplier: *worker-multiplier
|
||||
openstack-origin: *openstack-origin
|
||||
placement-mysql-router:
|
||||
charm: mysql-router
|
||||
channel: *mysql-channel
|
||||
placement:
|
||||
charm: placement
|
||||
channel: *openstack-channel
|
||||
num_units: 1
|
||||
options:
|
||||
worker-multiplier: *worker-multiplier
|
||||
openstack-origin: *openstack-origin
|
||||
nova-mysql-router:
|
||||
charm: mysql-router
|
||||
channel: *mysql-channel
|
||||
nova-cloud-controller:
|
||||
charm: nova-cloud-controller
|
||||
channel: *openstack-channel
|
||||
num_units: 1
|
||||
options:
|
||||
network-manager: Neutron
|
||||
worker-multiplier: *worker-multiplier
|
||||
openstack-origin: *openstack-origin
|
||||
nova-compute:
|
||||
charm: nova-compute
|
||||
channel: *openstack-channel
|
||||
num_units: 3
|
||||
options:
|
||||
config-flags: default_ephemeral_format=ext4
|
||||
enable-live-migration: true
|
||||
enable-resize: true
|
||||
migration-auth-type: ssh
|
||||
openstack-origin: *openstack-origin
|
||||
dashboard-mysql-router:
|
||||
charm: mysql-router
|
||||
channel: *mysql-channel
|
||||
openstack-dashboard:
|
||||
charm: openstack-dashboard
|
||||
channel: *openstack-channel
|
||||
num_units: 1
|
||||
options:
|
||||
openstack-origin: *openstack-origin
|
||||
rabbitmq-server:
|
||||
charm: rabbitmq-server
|
||||
channel: 3.8/edge
|
||||
num_units: 1
|
||||
mysql-innodb-cluster:
|
||||
charm: mysql-innodb-cluster
|
||||
channel: *mysql-channel
|
||||
num_units: 3
|
||||
options:
|
||||
enable-binlogs: true
|
||||
innodb-buffer-pool-size: 8G
|
||||
max-connections: 4000
|
||||
wait-timeout: 3600
|
||||
ovn-central:
|
||||
charm: ovn-central
|
||||
channel: *ovn-channel
|
||||
num_units: 3
|
||||
options:
|
||||
source: *openstack-origin
|
||||
ovn-chassis:
|
||||
charm: ovn-chassis
|
||||
channel: *ovn-channel
|
||||
# Please update the `bridge-interface-mappings` to values suitable for the
|
||||
# hardware used in your deployment. See the referenced documentation at the
|
||||
# top of this file.
|
||||
options:
|
||||
ovn-bridge-mappings: physnet1:br-ex
|
||||
bridge-interface-mappings: *data-port
|
||||
vault-mysql-router:
|
||||
charm: mysql-router
|
||||
channel: *mysql-channel
|
||||
vault:
|
||||
charm: vault
|
||||
channel: latest/edge
|
||||
options:
|
||||
auto-generate-root-ca-cert: false
|
||||
num_units: 1
|
||||
manila:
|
||||
charm: manila
|
||||
num_units: 1
|
||||
channel: *openstack-channel
|
||||
options:
|
||||
openstack-origin: *openstack-origin
|
||||
default-share-backend: 'nas'
|
||||
manila-mysql-router:
|
||||
charm: mysql-router
|
||||
channel: *mysql-channel
|
||||
|
||||
manila-flashblade:
|
||||
charm: ../../manila-flashblade.charm
|
||||
num_units: 0
|
273
tests/bundles/jammy-zed-lxd.yaml
Normal file
273
tests/bundles/jammy-zed-lxd.yaml
Normal file
@ -0,0 +1,273 @@
|
||||
# Please refer to the OpenStack Charms Deployment Guide for more information.
|
||||
# https://docs.openstack.org/project-deploy-guide/charm-deployment-guide
|
||||
#
|
||||
# NOTE: Please review the value for the configuration option
|
||||
# `bridge-interface-mappings` for the `ovn-chassis` charm (see `data-port` variable).
|
||||
# Refer to the [Open Virtual Network (OVN)](https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/latest/app-ovn.html)
|
||||
# section of the [OpenStack Charms Deployment Guide](https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/latest/)
|
||||
# for more information.
|
||||
|
||||
series: jammy
|
||||
variables:
|
||||
openstack-origin: &openstack-origin cloud:jammy-zed
|
||||
data-port: &data-port br-ex:ext
|
||||
worker-multiplier: &worker-multiplier 0.25
|
||||
osd-devices: &osd-devices /dev/sdb /dev/vdb /dev/sdc
|
||||
expected-osd-count: &expected-osd-count 3
|
||||
expected-mon-count: &expected-mon-count 3
|
||||
ovn-channel: &ovn-channel latest/edge
|
||||
openstack-channel: &openstack-channel zed/edge
|
||||
mysql-channel: &mysql-channel 8.0/edge
|
||||
|
||||
relations:
|
||||
- - nova-compute:amqp
|
||||
- rabbitmq-server:amqp
|
||||
- - nova-cloud-controller:identity-service
|
||||
- keystone:identity-service
|
||||
- - glance:identity-service
|
||||
- keystone:identity-service
|
||||
- - neutron-api:identity-service
|
||||
- keystone:identity-service
|
||||
- - neutron-api:amqp
|
||||
- rabbitmq-server:amqp
|
||||
- - glance:amqp
|
||||
- rabbitmq-server:amqp
|
||||
- - nova-cloud-controller:image-service
|
||||
- glance:image-service
|
||||
- - nova-compute:image-service
|
||||
- glance:image-service
|
||||
- - nova-cloud-controller:cloud-compute
|
||||
- nova-compute:cloud-compute
|
||||
- - nova-cloud-controller:amqp
|
||||
- rabbitmq-server:amqp
|
||||
- - openstack-dashboard:identity-service
|
||||
- keystone:identity-service
|
||||
- - nova-cloud-controller:neutron-api
|
||||
- neutron-api:neutron-api
|
||||
- - cinder:image-service
|
||||
- glance:image-service
|
||||
- - cinder:amqp
|
||||
- rabbitmq-server:amqp
|
||||
- - cinder:identity-service
|
||||
- keystone:identity-service
|
||||
- - cinder:cinder-volume-service
|
||||
- nova-cloud-controller:cinder-volume-service
|
||||
- - placement:identity-service
|
||||
- keystone:identity-service
|
||||
- - placement:placement
|
||||
- nova-cloud-controller:placement
|
||||
- - keystone:shared-db
|
||||
- keystone-mysql-router:shared-db
|
||||
- - cinder:shared-db
|
||||
- cinder-mysql-router:shared-db
|
||||
- - glance:shared-db
|
||||
- glance-mysql-router:shared-db
|
||||
- - nova-cloud-controller:shared-db
|
||||
- nova-mysql-router:shared-db
|
||||
- - neutron-api:shared-db
|
||||
- neutron-mysql-router:shared-db
|
||||
- - openstack-dashboard:shared-db
|
||||
- dashboard-mysql-router:shared-db
|
||||
- - placement:shared-db
|
||||
- placement-mysql-router:shared-db
|
||||
- - vault:shared-db
|
||||
- vault-mysql-router:shared-db
|
||||
- - keystone-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - cinder-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - nova-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - glance-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - neutron-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - dashboard-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - placement-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - vault-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - neutron-api-plugin-ovn:neutron-plugin
|
||||
- neutron-api:neutron-plugin-api-subordinate
|
||||
- - ovn-central:certificates
|
||||
- vault:certificates
|
||||
- - ovn-central:ovsdb-cms
|
||||
- neutron-api-plugin-ovn:ovsdb-cms
|
||||
- - neutron-api:certificates
|
||||
- vault:certificates
|
||||
- - ovn-chassis:nova-compute
|
||||
- nova-compute:neutron-plugin
|
||||
- - ovn-chassis:certificates
|
||||
- vault:certificates
|
||||
- - ovn-chassis:ovsdb
|
||||
- ovn-central:ovsdb
|
||||
- - vault:certificates
|
||||
- neutron-api-plugin-ovn:certificates
|
||||
- - vault:certificates
|
||||
- cinder:certificates
|
||||
- - vault:certificates
|
||||
- glance:certificates
|
||||
- - vault:certificates
|
||||
- keystone:certificates
|
||||
- - vault:certificates
|
||||
- nova-cloud-controller:certificates
|
||||
- - vault:certificates
|
||||
- openstack-dashboard:certificates
|
||||
- - vault:certificates
|
||||
- placement:certificates
|
||||
- - vault:certificates
|
||||
- mysql-innodb-cluster:certificates
|
||||
- - manila:shared-db
|
||||
- manila-mysql-router:shared-db
|
||||
- - manila-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - manila
|
||||
- rabbitmq-server
|
||||
- - manila
|
||||
- keystone
|
||||
- - manila:manila-plugin
|
||||
- manila-flashblade:manila-plugin
|
||||
- - manila:certificates
|
||||
- vault:certificates
|
||||
|
||||
applications:
|
||||
cinder-mysql-router:
|
||||
charm: mysql-router
|
||||
channel: *mysql-channel
|
||||
cinder:
|
||||
charm: cinder
|
||||
channel: *openstack-channel
|
||||
num_units: 1
|
||||
options:
|
||||
block-device: None
|
||||
glance-api-version: 2
|
||||
worker-multiplier: *worker-multiplier
|
||||
openstack-origin: *openstack-origin
|
||||
glance-mysql-router:
|
||||
charm: mysql-router
|
||||
channel: *mysql-channel
|
||||
glance:
|
||||
charm: glance
|
||||
channel: *openstack-channel
|
||||
num_units: 1
|
||||
options:
|
||||
worker-multiplier: *worker-multiplier
|
||||
openstack-origin: *openstack-origin
|
||||
keystone-mysql-router:
|
||||
charm: mysql-router
|
||||
channel: *mysql-channel
|
||||
keystone:
|
||||
charm: keystone
|
||||
channel: *openstack-channel
|
||||
num_units: 1
|
||||
options:
|
||||
worker-multiplier: *worker-multiplier
|
||||
openstack-origin: *openstack-origin
|
||||
neutron-mysql-router:
|
||||
charm: mysql-router
|
||||
channel: *mysql-channel
|
||||
neutron-api-plugin-ovn:
|
||||
charm: neutron-api-plugin-ovn
|
||||
channel: *openstack-channel
|
||||
neutron-api:
|
||||
charm: neutron-api
|
||||
channel: *openstack-channel
|
||||
num_units: 1
|
||||
options:
|
||||
neutron-security-groups: true
|
||||
flat-network-providers: physnet1
|
||||
worker-multiplier: *worker-multiplier
|
||||
openstack-origin: *openstack-origin
|
||||
placement-mysql-router:
|
||||
charm: mysql-router
|
||||
channel: *mysql-channel
|
||||
placement:
|
||||
charm: placement
|
||||
channel: *openstack-channel
|
||||
num_units: 1
|
||||
options:
|
||||
worker-multiplier: *worker-multiplier
|
||||
openstack-origin: *openstack-origin
|
||||
nova-mysql-router:
|
||||
charm: mysql-router
|
||||
channel: *mysql-channel
|
||||
nova-cloud-controller:
|
||||
charm: nova-cloud-controller
|
||||
channel: *openstack-channel
|
||||
num_units: 1
|
||||
options:
|
||||
network-manager: Neutron
|
||||
worker-multiplier: *worker-multiplier
|
||||
openstack-origin: *openstack-origin
|
||||
nova-compute:
|
||||
charm: nova-compute
|
||||
channel: *openstack-channel
|
||||
num_units: 3
|
||||
options:
|
||||
config-flags: default_ephemeral_format=ext4
|
||||
enable-live-migration: true
|
||||
enable-resize: true
|
||||
migration-auth-type: ssh
|
||||
openstack-origin: *openstack-origin
|
||||
dashboard-mysql-router:
|
||||
charm: mysql-router
|
||||
channel: *mysql-channel
|
||||
openstack-dashboard:
|
||||
charm: openstack-dashboard
|
||||
channel: *openstack-channel
|
||||
num_units: 1
|
||||
options:
|
||||
openstack-origin: *openstack-origin
|
||||
rabbitmq-server:
|
||||
charm: rabbitmq-server
|
||||
channel: latest/edge
|
||||
num_units: 1
|
||||
mysql-innodb-cluster:
|
||||
charm: mysql-innodb-cluster
|
||||
channel: *mysql-channel
|
||||
num_units: 3
|
||||
options:
|
||||
enable-binlogs: true
|
||||
innodb-buffer-pool-size: 8G
|
||||
max-connections: 4000
|
||||
wait-timeout: 3600
|
||||
ovn-central:
|
||||
charm: ovn-central
|
||||
channel: *ovn-channel
|
||||
num_units: 3
|
||||
options:
|
||||
source: *openstack-origin
|
||||
ovn-chassis:
|
||||
charm: ovn-chassis
|
||||
channel: *ovn-channel
|
||||
# Please update the `bridge-interface-mappings` to values suitable for the
|
||||
# hardware used in your deployment. See the referenced documentation at the
|
||||
# top of this file.
|
||||
options:
|
||||
ovn-bridge-mappings: physnet1:br-ex
|
||||
bridge-interface-mappings: *data-port
|
||||
vault-mysql-router:
|
||||
charm: mysql-router
|
||||
channel: *mysql-channel
|
||||
vault:
|
||||
charm: vault
|
||||
channel: latest/edge
|
||||
options:
|
||||
auto-generate-root-ca-cert: false
|
||||
num_units: 1
|
||||
manila:
|
||||
charm: manila
|
||||
num_units: 1
|
||||
channel: *openstack-channel
|
||||
options:
|
||||
openstack-origin: *openstack-origin
|
||||
default-share-backend: 'nas'
|
||||
manila-mysql-router:
|
||||
charm: mysql-router
|
||||
channel: *mysql-channel
|
||||
|
||||
manila-flashblade:
|
||||
charm: ../../manila-flashblade.charm
|
||||
num_units: 0
|
||||
|
Loading…
Reference in New Issue
Block a user