<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#000066">Hi Harald, Thanks for your explanation.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#000066"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#000066">'
/usr/share/openstack-tripleo-heat-templates/
' was just happened during copy-pasting here :)</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#000066"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#000066">I exported the overcloud plan, and it was exactly same as what I sent before.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#000066"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#000066">I redeployed everything and it didn't help either.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#000066"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#000066">What are the problems of my network-isolation.yaml and network-environment.yaml files in your opinion?</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#000066">I have to add that in this environment I don't know why the external network doesn't provide Internet for VMs.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#000066">But everything else works fine.<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#000066"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#000066">I don't have any Vlan configured in my environment and I'm planning to only have flat and geneve networks, and having external network for every compute node so I can ignore provisioning network bottleneck and spof.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#000066"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#000066">Regards,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#000066">Reza<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 6 May 2020 at 17:10, Harald Jensås <<a href="mailto:hjensas@redhat.com">hjensas@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, 2020-05-06 at 14:00 +0430, Reza Bakhshayeshi wrote:<br>
> here is my deploy command:<br>
> <br>
> openstack overcloud deploy \<br>
> --control-flavor control \<br>
> --compute-flavor compute \<br>
> --templates ~/openstack-tripleo-heat-templates \<br>
> -r /home/stack/roles_data.yaml \<br>
> -e /home/stack/containers-prepare-parameter.yaml \<br>
> -e environment.yaml \<br>
> -e /usr/share/openstack-tripleo-heat-<br>
> templates/environments/services/octavia.yaml \<br>
<br>
This is not related, but:<br>
Why use '/usr/share/openstack-tripleo-heat-templates/' and not<br>
'~/openstack-tripleo-heat-templates/' here?<br>
<br>
> -e ~/openstack-tripleo-heat-templates/environments/services/neutron-<br>
> ovn-dvr-ha.yaml \<br>
> -e ~/openstack-tripleo-heat-templates/environments/docker-ha.yaml \<br>
> -e ~/openstack-tripleo-heat-templates/environments/network-<br>
> isolation.yaml \<br>
> -e ~/openstack-tripleo-heat-templates/environments/network-<br>
> environment.yaml \<br>
<br>
Hm, I'm not sure network-isolation.yaml and network-environment.yaml<br>
contains what you expect. Can you do a plan export?<br>
<br>
openstack overcloud plan export --output-file oc-plan.tar.gz overcloud<br>
<br>
Then have a look at `environments/network-isolation.yaml` and <br>
`environments/network-environment.yaml` in the plan?<br>
<br>
I think you may want to copy these two files out of the templates tree<br>
and use the out of tree copies instead.<br>
<br>
> --timeout 360 \<br>
> --ntp-server <a href="http://time.google.com" rel="noreferrer" target="_blank">time.google.com</a> -vvv<br>
> <br>
> network-environment.yaml:<br>
> <a href="http://paste.openstack.org/show/793179/" rel="noreferrer" target="_blank">http://paste.openstack.org/show/793179/</a><br>
> <br>
> network-isolation.yaml:<br>
> <a href="http://paste.openstack.org/show/793181/" rel="noreferrer" target="_blank">http://paste.openstack.org/show/793181/</a><br>
> <br>
> compute-dvr.yaml<br>
> <a href="http://paste.openstack.org/show/793183/" rel="noreferrer" target="_blank">http://paste.openstack.org/show/793183/</a><br>
> <br>
> I didn't modify network_data.yaml<br>
> <br>
> <br>
<br>
<br>
--<br>
Harald<br>
<br>
> On Wed, 6 May 2020 at 05:27, Harald Jensås <<a href="mailto:hjensas@redhat.com" target="_blank">hjensas@redhat.com</a>><br>
> wrote:<br>
> > On Tue, 2020-05-05 at 23:25 +0430, Reza Bakhshayeshi wrote:<br>
> > > Hi all.<br>
> > > The default way of compute node for accessing Internet if through<br>
> > > undercloud.<br>
> > > I'm going to assign an IP from External network to each compute<br>
> > node<br>
> > > with default route.<br>
> > > But the deployment can't assign an IP to br-ex and fails with:<br>
> > > <br>
> > > " raise AddrFormatError('invalid IPNetwork %s'<br>
> > %<br>
> > > addr)",<br>
> > > "netaddr.core.AddrFormatError: invalid IPNetwork<br>
> > ",<br>
> > > <br>
> > > Actually 'ip_netmask': '' is empty during deployment for compute<br>
> > > nodes.<br>
> > > I've added external network to compute node role:<br>
> > > External:<br>
> > > subnet: external_subnet<br>
> > > <br>
> > > and for network interface:<br>
> > > - type: ovs_bridge<br>
> > > name: bridge_name<br>
> > > mtu:<br>
> > > get_param: ExternalMtu<br>
> > > dns_servers:<br>
> > > get_param: DnsServers<br>
> > > use_dhcp: false<br>
> > > addresses:<br>
> > > - ip_netmask:<br>
> > > get_param: ExternalIpSubnet<br>
> > > routes:<br>
> > > list_concat_unique:<br>
> > > - get_param: ExternalInterfaceRoutes<br>
> > > - - default: true<br>
> > > next_hop:<br>
> > > get_param:<br>
> > ExternalInterfaceDefaultRoute<br>
> > > members:<br>
> > > - type: interface<br>
> > > name: nic3<br>
> > > mtu:<br>
> > > get_param: ExternalMtu<br>
> > > use_dhcp: false<br>
> > > primary: true<br>
> > > <br>
> > > Any suggestion would be grateful.<br>
> > > Regards,<br>
> > > Reza<br>
> > > <br>
> > <br>
> > I think we need more information to see what the issue is.<br>
> > - your deploy command?<br>
> > - content of network_data.yaml used (unless the default)<br>
> > - environment files related to network-isolation, network-<br>
> > environment, <br>
> > network-isolation?<br>
> > <br>
> > <br>
> > --<br>
> > Harald<br>
> > <br>
> > <br>
<br>
</blockquote></div>