GaneshaNetwork - fallback -> external -> ctlplane

The GaneshaNetwork attempted to fallback to the external
network in the case when storage_nfs network does not
exists. It should also fallback to ctlplane in the case that
the external network does not exist.

Related-Bug: #1946239
Change-Id: I5804621a3081209bbae63193c1e09601826f4275
This commit is contained in:
Harald Jensås 2021-10-08 14:47:23 +02:00
parent fca797a8cb
commit c0b778301f
1 changed files with 1 additions and 1 deletions

View File

@ -405,7 +405,7 @@ parameter_defaults:
RedisNetwork: {{ _service_nets.get('internal_api', 'ctlplane') }}
# Guest VMs use GaneshaNetwork and connot reach ctlplane network,
# so default to external when storage_nfs is not available.
GaneshaNetwork: {{ _service_nets.get('storage_nfs', 'external') }}
GaneshaNetwork: {{ _service_nets.get('storage_nfs', _service_nets.get('external', 'ctlplane')) }}
MysqlNetwork: {{ _service_nets.get('internal_api', 'ctlplane') }}
SnmpdNetwork: ctlplane
CephClusterNetwork: {{ _service_nets.get('storage_mgmt', 'ctlplane') }}