ControlPlaneSubnetCidr in net_vip_map_external

network/ports/net_vip_map_external.j2.yaml needs the
ControlPlaneSubnetCidr parameter, since the resource
in overcloud.yaml is passing the property.

Change-Id: Ide91bd5956bcbbec36d865865c32cc6430d59a49
Closes-Bug: #1864912
This commit is contained in:
Harald Jensås 2020-02-26 19:58:19 +01:00
parent 6ba727a493
commit 6167279363
3 changed files with 22 additions and 0 deletions

View File

@ -14,6 +14,12 @@ parameters:
ControlPlaneIp:
default: ''
type: string
ControlPlaneSubnetCidr: # Here for compatibility with ctlplane_vip.yaml
default: ''
description: >
The subnet CIDR of the control plane network. (The parameter is
automatically resolved from the ctlplane subnet's cidr attribute.)
type: string
{%- for network in networks if network.vip|default(false) and network.enabled|default(true) %}
{{network.name}}Ip:
default: ''

View File

@ -14,6 +14,12 @@ parameters:
ControlPlaneIp:
default: ''
type: string
ControlPlaneSubnetCidr: # Here for compatibility with ctlplane_vip.yaml
default: ''
description: >
The subnet CIDR of the control plane network. (The parameter is
automatically resolved from the ctlplane subnet's cidr attribute.)
type: string
{%- for network in networks if network.vip|default(false) and network.enabled|default(true) %}
{{network.name}}Ip:
default: ''

View File

@ -0,0 +1,10 @@
---
fixes:
- |
The parameter ``ControlPlaneSubnetCidr`` was missing in the
``network/ports/net_vip_map_external.j2.yaml`` and
``network/ports/net_vip_map_external_v6.j2.yaml`` template files. This
caused deployment failure since the ``VipMap`` resource pass this
property. (See Bug:
`#1864912 <https://bugs.launchpad.net/tripleo/+bug/1864912>`_)