Get the CIDR of the neutron port for NetworkConfig
Since GroupVars moved to overcloud.j2.yaml in https://review.opendev.org/677218 the CIDR set in '{{network.name_lower}}_cidr' in groupvars is limited to one of the subnets on the network. When a network have multiple subnets with different subnet prefixes, this becomes a problem as nodes are configured with the from subnet mask. This change moves them to AnsibleHostVars. Closes-Bug: #1895899 Change-Id: I4e4e5b1195d17f59c825a3f7df73920921e1f86echanges/30/750130/4
parent
90c5e52461
commit
cd53ae79c7
@ -0,0 +1,12 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Ansible GroupVars incorrectly keept a single subnet prefix per-network.
|
||||
This caused a problem when multiple subnets using different subnet
|
||||
prefixes where defined. Resulting in the wrong subnet prefix being
|
||||
referenced in the NetworkConfig for roles.
|
||||
|
||||
AnsibleHostVars stores networks subnet prefixes instead.
|
||||
See bug: `1895899
|
||||
<https://bugs.launchpad.net/tripleo/+bug/1895899>`_.
|
||||
|
Loading…
Reference in New Issue