9221ef5674
- Set default branch for git review/gerrit to stable/zed - Switch tests to stable. - Switch to using stable charm-helpers branch. - Switch to using stable charm.openstack branch. - Switch to using stable zaza, zaza-openstack-tests branch - (reactive charms) Add build.lock file - (classic charms) make sync - (reactive: not reactive plugin): lock charm-tools < 3.1 - (reactive: with reactive plugin): lock charm snap to 3.x/stable Change-Id: I757bf16d2604dd9ffda2ec45c3b98fe09f583d1c
260 lines
5.4 KiB
YAML
260 lines
5.4 KiB
YAML
variables:
|
|
openstack-origin: &openstack-origin cloud:jammy-zed
|
|
|
|
series: jammy
|
|
|
|
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':
|
|
'5':
|
|
'6':
|
|
'7':
|
|
'8':
|
|
'9':
|
|
'10':
|
|
constraints: mem=8192M
|
|
'11':
|
|
|
|
applications:
|
|
|
|
nova-cloud-controller-mysql-router:
|
|
charm: ch:mysql-router
|
|
channel: 8.0/edge
|
|
placement-mysql-router:
|
|
charm: ch:mysql-router
|
|
channel: 8.0/edge
|
|
keystone-mysql-router:
|
|
charm: ch:mysql-router
|
|
channel: 8.0/edge
|
|
glance-mysql-router:
|
|
charm: ch:mysql-router
|
|
channel: 8.0/edge
|
|
neutron-api-mysql-router:
|
|
charm: ch:mysql-router
|
|
channel: 8.0/edge
|
|
cinder-mysql-router:
|
|
charm: ch:mysql-router
|
|
channel: 8.0/edge
|
|
|
|
mysql-innodb-cluster:
|
|
charm: ch:mysql-innodb-cluster
|
|
num_units: 3
|
|
to:
|
|
- '0'
|
|
- '1'
|
|
- '2'
|
|
channel: 8.0/edge
|
|
|
|
rabbitmq-server:
|
|
charm: ch:rabbitmq-server
|
|
num_units: 1
|
|
to:
|
|
- '3'
|
|
channel: 3.9/edge
|
|
|
|
nova-cloud-controller:
|
|
charm: ch:nova-cloud-controller
|
|
num_units: 1
|
|
options:
|
|
network-manager: Neutron
|
|
debug: true
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '4'
|
|
channel: zed/edge
|
|
|
|
placement:
|
|
charm: ch:placement
|
|
num_units: 1
|
|
constraints: mem=1G
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '5'
|
|
channel: zed/edge
|
|
|
|
neutron-api:
|
|
charm: ch:neutron-api
|
|
num_units: 1
|
|
options:
|
|
flat-network-providers: physnet1
|
|
neutron-security-groups: true
|
|
manage-neutron-plugin-legacy-mode: true
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '6'
|
|
channel: zed/edge
|
|
|
|
keystone:
|
|
charm: ch:keystone
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '7'
|
|
channel: zed/edge
|
|
|
|
neutron-gateway:
|
|
charm: ch:neutron-gateway
|
|
num_units: 1
|
|
options:
|
|
bridge-mappings: physnet1:br-ex
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '8'
|
|
channel: zed/edge
|
|
|
|
glance:
|
|
charm: ch:glance
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '9'
|
|
channel: zed/edge
|
|
|
|
neutron-openvswitch:
|
|
charm: ch:neutron-openvswitch
|
|
channel: zed/edge
|
|
|
|
nova-compute:
|
|
charm: ch:nova-compute
|
|
num_units: 1
|
|
constraints: mem=4G cores=4
|
|
storage:
|
|
ephemeral-device: '40G'
|
|
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
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '10'
|
|
channel: zed/edge
|
|
|
|
cinder:
|
|
charm: ../../cinder.charm
|
|
num_units: 1
|
|
storage:
|
|
block-devices: '40G'
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
glance-api-version: 2
|
|
block-device: None
|
|
overwrite: "true"
|
|
to:
|
|
- '11'
|
|
|
|
cinder-lvm:
|
|
charm: ch:cinder-lvm
|
|
options:
|
|
block-device: "/mnt/cinder-lvm-block|20G"
|
|
config-flags: "target_helper=lioadm"
|
|
channel: zed/edge
|
|
|
|
relations:
|
|
|
|
- - 'cinder:storage-backend'
|
|
- 'cinder-lvm:storage-backend'
|
|
|
|
- - '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'
|
|
|
|
- - 'cinder:shared-db'
|
|
- 'cinder-mysql-router:shared-db'
|
|
- - 'cinder-mysql-router:db-router'
|
|
- 'mysql-innodb-cluster:db-router'
|
|
|
|
- - 'cinder:identity-service'
|
|
- 'keystone:identity-service'
|
|
|
|
- - 'cinder:amqp'
|
|
- 'rabbitmq-server:amqp'
|
|
|
|
- - 'cinder:image-service'
|
|
- 'glance:image-service'
|