c331210e22
Converting the charm to binary builds provides two benefits: - build time issues are moved to testing rather than (failing) at the install time, which can often happen after the charm is pushed to the charmhub. - the install time is much, much faster. This means upgrades take < 1m rather 3-4m. Change-Id: Ib4f4a8acf807de0406b9588d32750e3a48ff2841
99 lines
1.6 KiB
YAML
99 lines
1.6 KiB
YAML
variables:
|
|
openstack-origin: &openstack-origin distro
|
|
|
|
local_overlay_enabled: False
|
|
|
|
series: jammy
|
|
|
|
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':
|
|
|
|
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
|
|
|
|
vault:
|
|
num_units: 1
|
|
charm: ../../../vault_ubuntu-22.04-amd64.charm
|
|
to:
|
|
- '3'
|
|
|
|
keystone:
|
|
charm: ch:keystone
|
|
num_units: 1
|
|
options:
|
|
admin-password: openstack
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '4'
|
|
channel: latest/edge
|
|
|
|
ceph-mon:
|
|
charm: ch:ceph-mon
|
|
num_units: 3
|
|
options:
|
|
source: *openstack-origin
|
|
to:
|
|
- '5'
|
|
- '6'
|
|
- '7'
|
|
channel: latest/edge
|
|
|
|
ceph-osd:
|
|
charm: ch:ceph-osd
|
|
num_units: 3
|
|
options:
|
|
osd-encrypt: true
|
|
osd-encrypt-keymanager: vault
|
|
source: *openstack-origin
|
|
storage:
|
|
osd-devices: 10G,2
|
|
to:
|
|
- '8'
|
|
- '9'
|
|
- '10'
|
|
channel: latest/edge
|
|
|
|
relations:
|
|
- - 'keystone:shared-db'
|
|
- 'keystone-mysql-router:shared-db'
|
|
- - 'keystone-mysql-router:db-router'
|
|
- 'mysql-innodb-cluster:db-router'
|
|
|
|
- - 'vault:certificates'
|
|
- 'keystone:certificates'
|
|
|
|
- - 'vault:secrets'
|
|
- 'ceph-osd:secrets-storage'
|
|
|
|
- - 'ceph-mon:osd'
|
|
- 'ceph-osd:mon'
|