<font size=2 face="sans-serif">I am trying to delete the Storage, StorageMgmt,
Tenant, and Management networks and trying to deploy using TripleO.</font><br><br><font size=2 face="sans-serif">The following patch </font><a href="https://hamzy.fedorapeople.org/0001-RedisVipPort-error-internal_api.patch"><font size=2 color=blue face="sans-serif">https://hamzy.fedorapeople.org/0001-RedisVipPort-error-internal_api.patch</font></a><font size=2 face="sans-serif">applied on top of /usr/share/openstack-tripleo-heat-templates from openstack-tripleo-heat-templates-8.0.2-14.el7ost.noarch</font><br><br><font size=2 face="sans-serif">yields the following error:</font><br><br><font size=2 face="sans-serif">(undercloud) [stack@oscloud5 ~]$ openstack
overcloud deploy --templates -e ~/templates/node-info.yaml -e ~/templates/overcloud_images.yaml
-e ~/templates/environments/network-environment.yaml -e ~/templates/environments/network-isolation.yaml
-e ~/templates/environments/config-debug.yaml --ntp-server pool.ntp.org
--control-scale 1 --compute-scale 1 --control-flavor control --compute-flavor
compute 2>&1 | tee output.overcloud.deploy</font><br><font size=2 face="sans-serif">...</font><br><font size=2 face="sans-serif">overcloud.RedisVirtualIP:</font><br><font size=2 face="sans-serif"> resource_type: OS::TripleO::Network::Ports::RedisVipPort</font><br><font size=2 face="sans-serif"> physical_resource_id:</font><br><font size=2 face="sans-serif"> status: CREATE_FAILED</font><br><font size=2 face="sans-serif"> status_reason: |</font><br><font size=2 face="sans-serif"> resources.RedisVirtualIP:
Property error: resources.VipPort.properties.network: Error validating
value 'internal_api': Unable to find network with name or id 'internal_api'</font><br><font size=2 face="sans-serif">...</font><br><br><font size=2 face="sans-serif">The following patch seems to fix it:</font><br><br><font size=2 face="sans-serif">8<-----8<-----8<-----8<-----8<-----</font><br><font size=2 face="sans-serif">diff --git a/environments/network-isolation.j2.yaml
b/environments/network-isolation.j2.yaml</font><br><font size=2 face="sans-serif">index 3d4f59b..07cb748 100644</font><br><font size=2 face="sans-serif">--- a/environments/network-isolation.j2.yaml</font><br><font size=2 face="sans-serif">+++ b/environments/network-isolation.j2.yaml</font><br><font size=2 face="sans-serif">@@ -20,7 +20,13 @@ resource_registry:</font><br><font size=2 face="sans-serif"> {%- for network in networks
if network.vip and network.enabled|default(true) %}</font><br><font size=2 face="sans-serif"> OS::TripleO::Network::Ports::{{network.name}}VipPort:
../network/ports/{{network.name_lower|default(network.name.lower())}}.yaml</font><br><font size=2 face="sans-serif"> {%- endfor %}</font><br><font size=2 face="sans-serif">+{%- for role in roles -%}</font><br><font size=2 face="sans-serif">+ {%- if internal_api in role.networks|default([])
and internal_api.enabled|default(true) %}</font><br><font size=2 face="sans-serif"> OS::TripleO::Network::Ports::RedisVipPort:
../network/ports/vip.yaml</font><br><font size=2 face="sans-serif">+ {%- else %}</font><br><font size=2 face="sans-serif">+ # Avoid weird jinja2 bugs that
don't output a newline...</font><br><font size=2 face="sans-serif">+ {%- endif %}</font><br><font size=2 face="sans-serif">+{%- endfor -%}</font><br><font size=2 face="sans-serif"> </font><br><font size=2 face="sans-serif"> # Port assignments by role,
edit role definition to assign networks to roles.</font><br><font size=2 face="sans-serif"> {%- for role in roles %}</font><br><font size=2 face="sans-serif">8<-----8<-----8<-----8<-----8<-----</font><br><br><font size=2 face="sans-serif">Note that I had to do an else clause
because jinja2 would not output the newline that was outside of the for
block.</font><br><br><font size=2 face="sans-serif">Am I following the correct path to fix
this issue?</font><br><br><font size=2 face="sans-serif">-- <br>Mark<br><br>You must be the change you wish to see in the world. -- Mahatma Gandhi<br>Never let the future disturb you. You will meet it, if you have to, with
the same weapons of reason which today arm you against the present. --
Marcus Aurelius</font><BR>