eb39635b4d
This charm enables the deployment of the cloudkitty service in the Openstack environment, cloudkitty service provides rating as a service based on metrics, it handles field mapping rules to calculate costs and generate reports for the end-user. Cloudkitty charm can relate to mysql, rabbitmq-server, gnocchi and keystone. func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/929 Change-Id: I35353c24c779b226d5edd2641a3177258849122b
286 lines
5.3 KiB
YAML
286 lines
5.3 KiB
YAML
variables:
|
|
openstack-origin: &openstack-origin distro
|
|
|
|
series: focal
|
|
|
|
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':
|
|
series: focal
|
|
'5':
|
|
'6':
|
|
'7':
|
|
'8':
|
|
'9':
|
|
'10':
|
|
'11':
|
|
'12':
|
|
'13':
|
|
'14':
|
|
'15':
|
|
'16':
|
|
'17':
|
|
'18':
|
|
'19':
|
|
|
|
applications:
|
|
keystone-mysql-router:
|
|
charm: ch:mysql-router
|
|
channel: latest/edge
|
|
glance-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
|
|
gnocchi-mysql-router:
|
|
charm: ch:mysql-router
|
|
channel: latest/edge
|
|
|
|
|
|
mysql-innodb-cluster:
|
|
charm: ch:mysql-innodb-cluster
|
|
channel: latest/edge
|
|
num_units: 3
|
|
options:
|
|
source: *openstack-origin
|
|
to:
|
|
- '0'
|
|
- '1'
|
|
- '2'
|
|
|
|
rabbitmq-server:
|
|
charm: ch:rabbitmq-server
|
|
channel: latest/edge
|
|
num_units: 1
|
|
options:
|
|
source: *openstack-origin
|
|
to:
|
|
- '3'
|
|
|
|
memcached:
|
|
charm: ch:memcached
|
|
channel: latest/edge
|
|
num_units: 1
|
|
# Note that holding memcached at focal as it's not available at jammy yet.
|
|
series: focal
|
|
to:
|
|
- '4'
|
|
|
|
ceph-osd:
|
|
charm: ch:ceph-osd
|
|
channel: latest/edge
|
|
num_units: 3
|
|
storage:
|
|
osd-devices: 'cinder,10G'
|
|
options:
|
|
source: *openstack-origin
|
|
to:
|
|
- '5'
|
|
- '6'
|
|
- '7'
|
|
|
|
ceph-mon:
|
|
charm: ch:ceph-mon
|
|
channel: latest/edge
|
|
num_units: 3
|
|
options:
|
|
source: *openstack-origin
|
|
to:
|
|
- '8'
|
|
- '9'
|
|
- '10'
|
|
|
|
keystone:
|
|
charm: ch:keystone
|
|
channel: latest/edge
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '11'
|
|
|
|
glance:
|
|
charm: ch:glance
|
|
channel: latest/edge
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '12'
|
|
|
|
nova-cloud-controller:
|
|
charm: ch:nova-cloud-controller
|
|
channel: latest/edge
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '13'
|
|
|
|
placement:
|
|
charm: ch:placement
|
|
channel: latest/edge
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '14'
|
|
|
|
nova-compute:
|
|
charm: ch:nova-compute
|
|
channel: latest/edge
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '15'
|
|
|
|
ceilometer:
|
|
charm: ch:ceilometer
|
|
channel: latest/edge
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '16'
|
|
|
|
gnocchi:
|
|
charm: ch:gnocchi
|
|
channel: latest/edge
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '17'
|
|
|
|
ceilometer-agent:
|
|
charm: ch:ceilometer-agent
|
|
channel: latest/edge
|
|
|
|
cloudkitty:
|
|
charm: ../../cloudkitty.charm
|
|
num_units: 1
|
|
to:
|
|
- '18'
|
|
|
|
mysql:
|
|
charm: ch:mysql
|
|
channel: latest/edge
|
|
num_units: 1
|
|
to:
|
|
- '19'
|
|
|
|
relations:
|
|
|
|
- - 'cloudkitty'
|
|
- 'mysql'
|
|
|
|
- - 'cloudkitty'
|
|
- 'keystone'
|
|
|
|
- - 'cloudkitty'
|
|
- 'gnocchi'
|
|
|
|
- - 'cloudkitty'
|
|
- 'rabbitmq-server'
|
|
|
|
- - 'ceilometer:amqp'
|
|
- 'rabbitmq-server:amqp'
|
|
|
|
- - 'ceilometer:identity-notifications'
|
|
- 'keystone:identity-notifications'
|
|
|
|
- - 'ceilometer:ceilometer-service'
|
|
- 'ceilometer-agent:ceilometer-service'
|
|
|
|
- - 'ceilometer:metric-service'
|
|
- 'gnocchi:metric-service'
|
|
|
|
- - 'ceilometer:identity-credentials'
|
|
- 'keystone:identity-credentials'
|
|
|
|
- - 'keystone:shared-db'
|
|
- 'keystone-mysql-router:shared-db'
|
|
- - 'keystone-mysql-router:db-router'
|
|
- 'mysql-innodb-cluster:db-router'
|
|
|
|
- - 'ceilometer-agent:amqp'
|
|
- 'rabbitmq-server:amqp'
|
|
|
|
- - 'nova-compute:nova-ceilometer'
|
|
- 'ceilometer-agent:nova-ceilometer'
|
|
|
|
- - 'nova-compute:amqp'
|
|
- 'rabbitmq-server:amqp'
|
|
|
|
- - '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'
|
|
|
|
- - 'nova-compute:image-service'
|
|
- 'glance:image-service'
|
|
|
|
- - '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:amqp'
|
|
- 'rabbitmq-server:amqp'
|
|
|
|
- - 'nova-cloud-controller:identity-service'
|
|
- 'keystone:identity-service'
|
|
|
|
- - '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'
|
|
|
|
- - 'ceph-mon:osd'
|
|
- 'ceph-osd:mon'
|
|
|
|
- - 'gnocchi:shared-db'
|
|
- 'gnocchi-mysql-router:shared-db'
|
|
- - 'gnocchi-mysql-router:db-router'
|
|
- 'mysql-innodb-cluster:db-router'
|
|
|
|
- - 'gnocchi:storage-ceph'
|
|
- 'ceph-mon:client'
|
|
|
|
- - 'gnocchi:coordinator-memcached'
|
|
- 'memcached:cache'
|
|
|
|
- - 'gnocchi:identity-service'
|
|
- 'keystone:identity-service'
|