Update peers with API addresses

Use default_update_peers which will publish admin, internal and public
addresses to peers.

Change-Id: I1bf1f7272ab42c248ae86fede17c5cdd5f3892bc
Closes-Bug: #1858132
(cherry picked from commit 38353df4d2)
This commit is contained in:
David Ames 2020-03-27 14:43:15 -07:00
parent 11331ca79d
commit 0622749212
5 changed files with 5 additions and 4 deletions

View File

@ -22,6 +22,7 @@ import charm.openstack.aodh as aodh
charm.use_defaults(
'certificates.available',
'cluster.available',
)

View File

@ -52,7 +52,7 @@ applications:
to:
- '4'
mongodb:
charm: cs:~1chb1n/trusty/mongodb
charm: cs:trusty/mongodb
num_units: 1
to:
- '5'

View File

@ -52,7 +52,7 @@ applications:
to:
- '4'
mongodb:
charm: cs:~1chb1n/xenial/mongodb
charm: cs:xenial/mongodb
num_units: 1
to:
- '5'

View File

@ -52,7 +52,7 @@ applications:
to:
- '4'
mongodb:
charm: cs:~1chb1n/xenial/mongodb
charm: cs:xenial/mongodb
num_units: 1
to:
- '5'

View File

@ -94,7 +94,7 @@ applications:
to:
- '12'
mongodb:
charm: cs:~1chb1n/xenial/mongodb
charm: cs:xenial/mongodb
num_units: 1
to:
- '13'