Merge "Set ganesha_vip when no StoragetNFS network" into stable/victoria

This commit is contained in:
Zuul 2021-08-10 20:18:50 +00:00 committed by Gerrit Code Review
commit 92b72e3362
1 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,11 @@
{% if network == 'StorageNFS' %}
{% set _ = vip_data.__setitem__('ganesha_vip', (net_vip_map[networks['StorageNFS']['name_lower']])) %}
{% endif %}
{% if not vip_data.ganesha_vip is defined %}
{% if 'External' in enabled_networks %}
{% set _ = vip_data.__setitem__('ganesha_vip', (net_vip_map[networks['External']['name_lower']])) %}
{% endif %}
{% endif %}
{% if network == 'StorageDashboard' %}
{% set _ = vip_data.__setitem__('ceph_dashboard_vip', (net_vip_map[networks['StorageDashboard']['name_lower']])) %}
{% endif %}