a03fe36fa6
This change uses a common DHCPAgentContext and takes care to check for a pre-existing setting in the dhcp_agent.ini. Only allowing a config change if there is no pre-existing setting. Please review and merge charm-helpers PR: https://github.com/juju/charm-helpers/pull/422 Partial-Bug: #1831935 func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/157 Change-Id: Ia01c637b0837a4e594d16f6565c605460ad3f922
130 lines
3.3 KiB
YAML
130 lines
3.3 KiB
YAML
variables:
|
|
openstack-origin: &openstack-origin cloud:bionic-stein
|
|
|
|
series: &series bionic
|
|
|
|
machines:
|
|
0:
|
|
constraints: "mem=3072M"
|
|
1: {}
|
|
2: {}
|
|
3: {}
|
|
4: {}
|
|
5: {}
|
|
6: {}
|
|
7:
|
|
constraints: "root-disk=20G mem=4G"
|
|
8:
|
|
constraints: "root-disk=20G mem=4G"
|
|
|
|
# We specify machine placements for these to improve iteration
|
|
# time, given that machine "0" comes up way before machine "7"
|
|
applications:
|
|
percona-cluster:
|
|
charm: cs:~openstack-charmers-next/percona-cluster
|
|
num_units: 1
|
|
options:
|
|
source: *openstack-origin
|
|
to:
|
|
- '0'
|
|
rabbitmq-server:
|
|
charm: cs:~openstack-charmers-next/rabbitmq-server
|
|
num_units: 1
|
|
options:
|
|
source: *openstack-origin
|
|
to:
|
|
- '1'
|
|
neutron-api:
|
|
charm: cs:~openstack-charmers-next/neutron-api
|
|
series: *series
|
|
num_units: 1
|
|
options:
|
|
flat-network-providers: physnet1
|
|
neutron-security-groups: true
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '2'
|
|
keystone:
|
|
charm: cs:~openstack-charmers-next/keystone
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '3'
|
|
glance:
|
|
charm: cs:~openstack-charmers-next/glance
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '4'
|
|
neutron-openvswitch:
|
|
charm: cs:~openstack-charmers-next/neutron-openvswitch
|
|
neutron-gateway:
|
|
charm: "../../../neutron-gateway"
|
|
num_units: 1
|
|
options:
|
|
bridge-mappings: physnet1:br-ex
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '5'
|
|
nova-cloud-controller:
|
|
charm: cs:~openstack-charmers-next/nova-cloud-controller
|
|
num_units: 1
|
|
options:
|
|
network-manager: Neutron
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '6'
|
|
nova-compute:
|
|
charm: cs:~openstack-charmers-next/nova-compute
|
|
num_units: 2
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '7'
|
|
- '8'
|
|
relations:
|
|
- - '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:neutron-plugin-api'
|
|
- 'neutron-gateway:neutron-plugin-api'
|
|
- - 'neutron-api:identity-service'
|
|
- 'keystone:identity-service'
|
|
- - 'keystone:shared-db'
|
|
- 'percona-cluster:shared-db'
|
|
- - 'nova-compute:neutron-plugin'
|
|
- 'neutron-openvswitch:neutron-plugin'
|
|
- - 'nova-cloud-controller:shared-db'
|
|
- 'percona-cluster:shared-db'
|
|
- - 'neutron-gateway:amqp'
|
|
- 'rabbitmq-server:amqp'
|
|
- - 'nova-cloud-controller:amqp'
|
|
- 'rabbitmq-server:amqp'
|
|
- - 'nova-compute:amqp'
|
|
- 'rabbitmq-server:amqp'
|
|
- - 'neutron-openvswitch:amqp'
|
|
- 'rabbitmq-server:amqp'
|
|
- - 'neutron-openvswitch:neutron-plugin-api'
|
|
- 'neutron-api:neutron-plugin-api'
|
|
- - 'nova-cloud-controller:identity-service'
|
|
- 'keystone:identity-service'
|
|
- - 'nova-cloud-controller:cloud-compute'
|
|
- 'nova-compute:cloud-compute'
|
|
- - 'glance:identity-service'
|
|
- 'keystone:identity-service'
|
|
- - 'glance:shared-db'
|
|
- 'percona-cluster:shared-db'
|
|
- - 'glance:amqp'
|
|
- 'rabbitmq-server:amqp'
|
|
- - 'nova-compute:image-service'
|
|
- 'glance:image-service'
|
|
- - 'nova-cloud-controller:image-service'
|
|
- 'glance:image-service'
|
|
- - 'nova-cloud-controller:quantum-network-service'
|
|
- 'neutron-gateway:quantum-network-service'
|