58 lines
1004 B
YAML
58 lines
1004 B
YAML
variables:
|
|
openstack-origin: &openstack-origin cloud:jammy-bobcat
|
|
|
|
series: jammy
|
|
|
|
machines:
|
|
'0':
|
|
constraints: mem=3072M
|
|
'1':
|
|
constraints: mem=3072M
|
|
'2':
|
|
constraints: mem=3072M
|
|
'3':
|
|
'4':
|
|
'5':
|
|
|
|
applications:
|
|
|
|
keystone-mysql-router:
|
|
charm: ch:mysql-router
|
|
channel: latest/edge
|
|
|
|
mysql-innodb-cluster:
|
|
charm: ch:mysql-innodb-cluster
|
|
num_units: 3
|
|
options:
|
|
source: *openstack-origin
|
|
to:
|
|
- '0'
|
|
- '1'
|
|
- '2'
|
|
channel: latest/edge
|
|
|
|
keystone:
|
|
charm: ch:keystone
|
|
num_units: 3
|
|
options:
|
|
token-expiration: 60
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '3'
|
|
- '4'
|
|
- '5'
|
|
channel: yoga/edge
|
|
|
|
keystone-hacluster:
|
|
charm: ../../hacluster.charm
|
|
subordinate-to:
|
|
- keystone
|
|
|
|
relations:
|
|
- - 'keystone:shared-db'
|
|
- 'keystone-mysql-router:shared-db'
|
|
- - 'keystone-hacluster:ha'
|
|
- 'keystone:ha'
|
|
- - "keystone-mysql-router:db-router"
|
|
- "mysql-innodb-cluster:db-router"
|