ef5f2f417e
* sync charm-helpers to classic charms * change openstack-origin/source default to zed * align testing with zed * add new zed bundles * add zed bundles to tests.yaml * add zed tests to osci.yaml and .zuul.yaml * update build-on and run-on bases * add bindep.txt for py310 * sync tox.ini and requirements.txt for ruamel * use charmcraft_channel 2.0/stable * drop reactive plugin overrides * move interface/layer env vars to charmcraft.yaml Change-Id: I68434d15a68d087a4fd704d9dde6e5a878d5cdca
243 lines
5.1 KiB
YAML
243 lines
5.1 KiB
YAML
variables:
|
|
openstack-origin: &openstack-origin distro
|
|
|
|
series: &series kinetic
|
|
|
|
machines:
|
|
0:
|
|
constraints: "mem=3072M"
|
|
1:
|
|
constraints: "mem=3072M"
|
|
2:
|
|
constraints: "mem=3072M"
|
|
3:
|
|
4:
|
|
5:
|
|
6:
|
|
7:
|
|
constraints: "root-disk=20G mem=4G cores=4"
|
|
8:
|
|
9:
|
|
10:
|
|
11:
|
|
constaints: "mem=2048M"
|
|
12:
|
|
constaints: "mem=2048M"
|
|
|
|
# We specify machine placements for these to improve iteration
|
|
# time, given that machine "0" comes up way before machine "7"
|
|
applications:
|
|
|
|
heat-mysql-router:
|
|
charm: ch:mysql-router
|
|
channel: latest/edge
|
|
nova-cloud-controller-mysql-router:
|
|
charm: ch:mysql-router
|
|
channel: latest/edge
|
|
placement-mysql-router:
|
|
charm: ch:mysql-router
|
|
channel: latest/edge
|
|
keystone-mysql-router:
|
|
charm: ch:mysql-router
|
|
channel: latest/edge
|
|
glance-mysql-router:
|
|
charm: ch:mysql-router
|
|
channel: latest/edge
|
|
neutron-api-mysql-router:
|
|
charm: ch:mysql-router
|
|
channel: latest/edge
|
|
|
|
mysql-innodb-cluster:
|
|
charm: ch:mysql-innodb-cluster
|
|
num_units: 3
|
|
options:
|
|
source: *openstack-origin
|
|
to:
|
|
- '0'
|
|
- '1'
|
|
- '2'
|
|
channel: latest/edge
|
|
|
|
keystone:
|
|
charm: ch:keystone
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '3'
|
|
channel: latest/edge
|
|
|
|
rabbitmq-server:
|
|
charm: ch:rabbitmq-server
|
|
num_units: 1
|
|
options:
|
|
source: *openstack-origin
|
|
to:
|
|
- '4'
|
|
channel: latest/edge
|
|
|
|
glance:
|
|
charm: ch:glance
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '5'
|
|
channel: latest/edge
|
|
|
|
nova-cloud-controller:
|
|
charm: ch:nova-cloud-controller
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
api-rate-limit-rules: "( POST, '*', .*, 9999, MINUTE );"
|
|
network-manager: Neutron
|
|
to:
|
|
- '6'
|
|
channel: latest/edge
|
|
|
|
nova-compute:
|
|
charm: ch:nova-compute
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
config-flags: 'auto_assign_floating_ip=False'
|
|
enable-live-migration: "False"
|
|
to:
|
|
- '7'
|
|
channel: latest/edge
|
|
|
|
placement:
|
|
charm: ch:placement
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
debug: "True"
|
|
to:
|
|
- '8'
|
|
channel: latest/edge
|
|
|
|
neutron-gateway:
|
|
charm: ch:neutron-gateway
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '9'
|
|
channel: latest/edge
|
|
|
|
neutron-api:
|
|
charm: ch:neutron-api
|
|
num_units: 1
|
|
options:
|
|
manage-neutron-plugin-legacy-mode: true
|
|
neutron-plugin: ovs
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '10'
|
|
channel: latest/edge
|
|
|
|
neutron-openvswitch:
|
|
charm: ch:neutron-openvswitch
|
|
channel: latest/edge
|
|
|
|
heat:
|
|
charm: ../../heat.charm
|
|
num_units: 2
|
|
constraints: mem=2048
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
debug: "True"
|
|
verbose: "True"
|
|
to:
|
|
- '11'
|
|
- '12'
|
|
|
|
relations:
|
|
- - 'heat:amqp'
|
|
- 'rabbitmq-server:amqp'
|
|
|
|
- - 'heat:identity-service'
|
|
- 'keystone:identity-service'
|
|
|
|
- - "heat:shared-db"
|
|
- "heat-mysql-router:shared-db"
|
|
- - "heat-mysql-router:db-router"
|
|
- "mysql-innodb-cluster:db-router"
|
|
|
|
- - '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'
|
|
|
|
- - "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'
|
|
|
|
- - "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'
|