Jinja template for overcloud VMs is currently configured to skip
adding network to VM's definition if forward_mode: 'nat' is set
for this network. As a result, libvirt networks with enabled NAT
forwarding mode could not be used by overcloud nodes for external
connectivity.
It is not a problem for single-nic scenarios: director node is
used to connect overcloud nodes to external networks. But this
limitation makes it hard to create infrastructure for overcloud
deployments with multiple NICs and network isolation.
This patch adds flexibility by allowing users to force adding
network connections to overcloud VMs even if forward_mode: 'nat'
is set for this network. This patch doesn't change current
behavior if force_ovc parameter is not defined for any network.
Reviewed: https:/ /review. opendev. org/760174 /git.openstack. org/cgit/ openstack/ tripleo- quickstart/ commit/ ?id=a8ff5de91c6 e9e315afe5ebc2d e108069e0e8f42
Committed: https:/
Submitter: Zuul
Branch: master
commit a8ff5de91c6e9e3 15afe5ebc2de108 069e0e8f42
Author: Alexey Stupnikov <email address hidden>
Date: Wed Oct 28 16:43:49 2020 +0100
Add option to add NAT networks to overcloud nodes
Jinja template for overcloud VMs is currently configured to skip
adding network to VM's definition if forward_mode: 'nat' is set
for this network. As a result, libvirt networks with enabled NAT
forwarding mode could not be used by overcloud nodes for external
connectivity.
It is not a problem for single-nic scenarios: director node is
used to connect overcloud nodes to external networks. But this
limitation makes it hard to create infrastructure for overcloud
deployments with multiple NICs and network isolation.
This patch adds flexibility by allowing users to force adding
network connections to overcloud VMs even if forward_mode: 'nat'
is set for this network. This patch doesn't change current
behavior if force_ovc parameter is not defined for any network.
Change-Id: Ibd2e40878b8fd4 b1e4db7f654c251 b4968da8b85
Partial-Bug: #1666916