114 lines
2.3 KiB
YAML
114 lines
2.3 KiB
YAML
variables:
|
|
openstack-origin: &openstack-origin cloud:bionic-rocky
|
|
|
|
series: &series bionic
|
|
|
|
machines:
|
|
0:
|
|
constraints: "mem=3072M"
|
|
1: {}
|
|
2: {}
|
|
3: {}
|
|
4: {}
|
|
5: {}
|
|
6: {}
|
|
7: {}
|
|
8: {}
|
|
9: {}
|
|
10: {}
|
|
11: {}
|
|
|
|
# We specify machine placements for these to improve iteration
|
|
# time, given that machine "0" comes up way before machine "6"
|
|
applications:
|
|
percona-cluster:
|
|
charm: cs:~openstack-charmers/percona-cluster
|
|
num_units: 1
|
|
options:
|
|
source: *openstack-origin
|
|
to:
|
|
- '0'
|
|
channel: candidate
|
|
rabbitmq-server:
|
|
charm: cs:~openstack-charmers/rabbitmq-server
|
|
num_units: 1
|
|
options:
|
|
source: *openstack-origin
|
|
to:
|
|
- '1'
|
|
channel: candidate
|
|
keystone:
|
|
charm: cs:~openstack-charmers/keystone
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '2'
|
|
channel: candidate
|
|
ceilometer:
|
|
charm: cs:~openstack-charmers/ceilometer
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '3'
|
|
channel: candidate
|
|
ceph-osd:
|
|
charm: cs:~openstack-charmers/ceph-osd
|
|
num_units: 3
|
|
storage:
|
|
osd-devices: 'cinder,10G'
|
|
options:
|
|
source: *openstack-origin
|
|
to:
|
|
- '4'
|
|
- '5'
|
|
- '6'
|
|
channel: candidate
|
|
ceph-mon:
|
|
charm: cs:~openstack-charmers/ceph-mon
|
|
num_units: 3
|
|
options:
|
|
expected-osd-count: 3
|
|
monitor-count: '3'
|
|
source: *openstack-origin
|
|
to:
|
|
- '7'
|
|
- '8'
|
|
- '9'
|
|
channel: candidate
|
|
gnocchi:
|
|
series: *series
|
|
charm: ../../../gnocchi
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '10'
|
|
memcached:
|
|
charm: cs:~memcached-team/memcached
|
|
num_units: 1
|
|
to:
|
|
- '11'
|
|
relations:
|
|
- - 'keystone:shared-db'
|
|
- 'percona-cluster:shared-db'
|
|
- - 'ceph-osd:mon'
|
|
- 'ceph-mon:osd'
|
|
- - 'ceilometer:amqp'
|
|
- 'rabbitmq-server:amqp'
|
|
- - 'ceilometer:identity-credentials'
|
|
- 'keystone:identity-credentials'
|
|
- - 'ceilometer:identity-notifications'
|
|
- 'keystone:identity-notifications'
|
|
- - 'ceilometer:metric-service'
|
|
- 'gnocchi:metric-service'
|
|
- - 'gnocchi:identity-service'
|
|
- 'keystone:identity-service'
|
|
- - 'gnocchi:shared-db'
|
|
- 'percona-cluster:shared-db'
|
|
- - 'gnocchi:storage-ceph'
|
|
- 'ceph-mon:client'
|
|
- - 'gnocchi:coordinator-memcached'
|
|
- 'memcached:cache'
|