Fix invalid variable issue with StorageNFS
The `ganesha_vip` comes from a network
called StorageNFS; but its lookup in the
`net_vip_map` dictionary was incorrect.
Change-Id: I5a8b49cce65963d35b610e138808030ed84de2de
Closes-Bug: #1849393
(cherry picked from commit e3625095ea
)
This commit is contained in:
parent
3441a4655a
commit
aa034a8c36
|
@ -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.
|
|
@ -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)) %}
|
||||
|
|
Loading…
Reference in New Issue