00b86b28f4
Summary of changes: - Drop 'source' override in mysql-innodb-cluster and rabbitmq-server - Fix 'openstack-origin' Change-Id: I19faecbcfebdaf5dcf0d0346c5d0b0eed02866aa
225 lines
4.0 KiB
YAML
225 lines
4.0 KiB
YAML
variables:
|
|
openstack-origin: &openstack-origin distro
|
|
|
|
series: kinetic
|
|
|
|
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':
|
|
'11':
|
|
'12':
|
|
'13':
|
|
'14':
|
|
'15':
|
|
'16':
|
|
'17':
|
|
'18':
|
|
|
|
applications:
|
|
|
|
cinder-mysql-router:
|
|
charm: ch:mysql-router
|
|
channel: latest/edge
|
|
glance-mysql-router:
|
|
charm: ch:mysql-router
|
|
channel: latest/edge
|
|
keystone-mysql-router:
|
|
charm: ch:mysql-router
|
|
channel: latest/edge
|
|
|
|
mysql-innodb-cluster:
|
|
charm: ch:mysql-innodb-cluster
|
|
num_units: 3
|
|
to:
|
|
- '0'
|
|
- '1'
|
|
- '2'
|
|
channel: latest/edge
|
|
|
|
ceph-mon:
|
|
charm: ch:ceph-mon
|
|
num_units: 3
|
|
options:
|
|
expected-osd-count: 3
|
|
source: *openstack-origin
|
|
to:
|
|
- '3'
|
|
- '4'
|
|
- '5'
|
|
channel: latest/edge
|
|
|
|
ceph-osd:
|
|
charm: ch:ceph-osd
|
|
num_units: 6
|
|
storage:
|
|
osd-devices: 10G
|
|
options:
|
|
source: *openstack-origin
|
|
to:
|
|
- '6'
|
|
- '7'
|
|
- '8'
|
|
- '16'
|
|
- '17'
|
|
- '18'
|
|
channel: latest/edge
|
|
|
|
ceph-proxy:
|
|
charm: ../../ceph-proxy.charm
|
|
num_units: 1
|
|
options:
|
|
source: *openstack-origin
|
|
to:
|
|
- '9'
|
|
|
|
ceph-radosgw:
|
|
charm: ch:ceph-radosgw
|
|
num_units: 1
|
|
options:
|
|
source: *openstack-origin
|
|
pool-type: erasure-coded
|
|
ec-profile-k: 4
|
|
ec-profile-m: 2
|
|
to:
|
|
- '10'
|
|
channel: latest/edge
|
|
|
|
cinder:
|
|
charm: ch:cinder
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
block-device: ""
|
|
ephemeral-unmount: ""
|
|
glance-api-version: 2
|
|
overwrite: "false"
|
|
constraints: mem=2048
|
|
to:
|
|
- '11'
|
|
channel: latest/edge
|
|
|
|
cinder-ceph:
|
|
charm: ch:cinder-ceph
|
|
options:
|
|
restrict-ceph-pools: True
|
|
pool-type: erasure-coded
|
|
ec-profile-k: 4
|
|
ec-profile-m: 2
|
|
ec-profile-plugin: lrc
|
|
ec-profile-locality: 3
|
|
channel: latest/edge
|
|
|
|
keystone:
|
|
charm: ch:keystone
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
admin-password: openstack
|
|
constraints: mem=1024
|
|
to:
|
|
- '12'
|
|
channel: latest/edge
|
|
|
|
rabbitmq-server:
|
|
charm: ch:rabbitmq-server
|
|
num_units: 1
|
|
constraints: mem=1024
|
|
to:
|
|
- '13'
|
|
channel: latest/edge
|
|
|
|
glance:
|
|
charm: ch:glance
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
pool-type: erasure-coded
|
|
ec-profile-k: 4
|
|
ec-profile-m: 2
|
|
ec-profile-plugin: jerasure
|
|
to:
|
|
- '14'
|
|
channel: latest/edge
|
|
|
|
nova-compute:
|
|
charm: ch:nova-compute
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
pool-type: erasure-coded
|
|
ec-profile-k: 4
|
|
ec-profile-m: 2
|
|
ec-profile-plugin: isa
|
|
libvirt-image-backend: rbd
|
|
to:
|
|
- '15'
|
|
channel: latest/edge
|
|
|
|
|
|
relations:
|
|
|
|
- - 'ceph-osd:mon'
|
|
- 'ceph-mon:osd'
|
|
|
|
- - 'ceph-proxy:radosgw'
|
|
- 'ceph-radosgw:mon'
|
|
|
|
- - 'cinder:amqp'
|
|
- 'rabbitmq-server:amqp'
|
|
|
|
- - 'cinder:shared-db'
|
|
- 'cinder-mysql-router:shared-db'
|
|
- - 'cinder-mysql-router:db-router'
|
|
- 'mysql-innodb-cluster:db-router'
|
|
|
|
- - 'keystone:shared-db'
|
|
- 'keystone-mysql-router:shared-db'
|
|
- - 'keystone-mysql-router:db-router'
|
|
- 'mysql-innodb-cluster:db-router'
|
|
|
|
- - 'cinder:identity-service'
|
|
- 'keystone:identity-service'
|
|
|
|
- - 'cinder-ceph:storage-backend'
|
|
- 'cinder:storage-backend'
|
|
|
|
- - 'cinder-ceph:ceph'
|
|
- 'ceph-proxy:client'
|
|
|
|
- - 'glance:image-service'
|
|
- 'nova-compute:image-service'
|
|
|
|
- - '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:ceph'
|
|
- 'ceph-proxy:client'
|
|
|
|
- - 'nova-compute:ceph-access'
|
|
- 'cinder-ceph:ceph-access'
|
|
|
|
- - 'nova-compute:amqp'
|
|
- 'rabbitmq-server:amqp'
|
|
|
|
- - 'nova-compute:ceph'
|
|
- 'ceph-proxy:client'
|