Add HA testing for Barbican Vault

Changes to tests to deploy barbican and vault with haclustering.
It now deploys 3 units of vault and barbican, together with hacluster
for both applications.
Overlay added to ensure all tests run in HA.
DocImpact
Closes-Bug: #1876107
Implements: High availability testing

Change-Id: Ia7abdc682fd583e15feba68fc11cdb89ab7c41ff
This commit is contained in:
Marco Silva 2020-05-06 15:25:34 +01:00
parent 5eb8923ec0
commit eeb791db53
6 changed files with 34 additions and 10 deletions

View File

@ -26,7 +26,7 @@ applications:
barbican:
series: bionic
charm: cs:~openstack-charmers-next/barbican
num_units: 1
num_units: 3
options:
openstack-origin: cloud:bionic-rocky
barbican-vault:
@ -38,4 +38,4 @@ applications:
num_units: 1
vault:
charm: cs:~openstack-charmers-next/vault
num_units: 1
num_units: 3

View File

@ -26,7 +26,7 @@ applications:
barbican:
series: bionic
charm: cs:~openstack-charmers-next/barbican
num_units: 1
num_units: 3
options:
openstack-origin: cloud:bionic-stein
barbican-vault:
@ -38,4 +38,4 @@ applications:
num_units: 1
vault:
charm: cs:~openstack-charmers-next/vault
num_units: 1
num_units: 3

View File

@ -26,7 +26,7 @@ applications:
barbican:
series: bionic
charm: cs:~openstack-charmers-next/barbican
num_units: 1
num_units: 3
options:
openstack-origin: cloud:bionic-train
barbican-vault:
@ -38,4 +38,4 @@ applications:
num_units: 1
vault:
charm: cs:~openstack-charmers-next/vault
num_units: 1
num_units: 3

View File

@ -25,7 +25,7 @@ applications:
openstack-origin: cloud:bionic-ussuri
barbican:
charm: cs:~openstack-charmers-next/barbican
num_units: 1
num_units: 3
options:
openstack-origin: cloud:bionic-ussuri
barbican-vault:
@ -36,4 +36,4 @@ applications:
num_units: 1
vault:
charm: cs:~openstack-charmers-next/vault
num_units: 1
num_units: 3

View File

@ -16,6 +16,10 @@ machines:
'4':
'5':
'6':
'7':
'8':
'9':
'10':
applications:
@ -46,11 +50,13 @@ applications:
barbican:
charm: cs:~openstack-charmers-next/barbican
num_units: 1
num_units: 3
options:
openstack-origin: *openstack-origin
to:
- '4'
- '9'
- '10'
barbican-vault:
charm: ../../../barbican-vault
@ -66,9 +72,11 @@ applications:
vault:
charm: cs:~openstack-charmers-next/vault
num_units: 1
num_units: 3
to:
- '6'
- '7'
- '8'
relations:

View File

@ -0,0 +1,16 @@
applications:
vault:
options:
vip: '{{ TEST_VIP00 }}'
barbican:
options:
vip: '{{ TEST_VIP01 }}'
vault-hacluster:
charm: cs:~openstack-charmers-next/hacluster
barbican-hacluster:
charm: cs:~openstack-charmers-next/hacluster
relations:
- - vault:ha
- vault-hacluster:ha
- - barbican:ha
- barbican-hacluster:ha