Merge "Fix invalid variable issue with StorageNFS"

This commit is contained in:
Zuul 2019-10-25 04:23:53 +00:00 committed by Gerrit Code Review
commit a77f030732
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,6 @@
---
fixes:
- |
An incorrect lookup issue with respect to the StorageNFS network has
been fixed. See `Launchpad bug 1849393
<https://bugs.launchpad.net/tripleo/+bug/1849393>`_ for more details.

View File

@ -14,7 +14,7 @@
{% set _ = vip_data.__setitem__('network_virtual_ips', network_virtual_ips) %}
{% for network in enabled_networks %}
{% if network == 'StorageNFS' %}
{% set _ = vip_data.__setitem__('ganesha_vip', (net_vip_map[storagenfs_net_name])) %}
{% set _ = vip_data.__setitem__('ganesha_vip', (net_vip_map[networks['StorageNFS']['name_lower']])) %}
{% endif %}
{% if network == 'StorageDashboard' %}
{% set _ = vip_data.__setitem__('ceph_grafana_vip', (net_vip_map.storage_dashboard)) %}