<div dir="ltr">I've fixed the semicolon issue and below are the <span class="inbox-inbox-Apple-converted-space"> </span>/etc/os-net-config/config.json<span class="inbox-inbox-Apple-converted-space"> files of the nodes</span><div><br></div><div><div>[heat-admin@overcloud-controller-0 ~]$ cat /etc/os-net-config/config.json | python -m json.tool</div><div>{</div><div> "network_config": [</div><div> {</div><div> "addresses": [</div><div> {</div><div> "ip_netmask": "<a href="http://192.0.2.16/24">192.0.2.16/24</a>"</div><div> }</div><div> ],</div><div> "dns_servers": [</div><div> "192.168.60.100"</div><div> ],</div><div> "name": "nic1",</div><div> "routes": [</div><div> {</div><div> "ip_netmask": "<a href="http://169.254.169.254/32">169.254.169.254/32</a>",</div><div> "next_hop": "192.0.2.1"</div><div> }</div><div> ],</div><div> "type": "interface",</div><div> "use_dhcp": false</div><div> },</div><div> {</div><div> "dns_servers": [</div><div> "192.168.60.100"</div><div> ],</div><div> "members": [</div><div> {</div><div> "name": "nic2",</div><div> "primary": true,</div><div> "type": "interface"</div><div> },</div><div> {</div><div> "addresses": [</div><div> {</div><div> "ip_netmask": "<a href="http://172.16.0.10/24">172.16.0.10/24</a>"</div><div> }</div><div> ],</div><div> "type": "vlan",</div><div> "vlan_id": 201</div><div> },</div><div> {</div><div> "addresses": [</div><div> {</div><div> "ip_netmask": "<a href="http://172.18.0.14/24">172.18.0.14/24</a>"</div><div> }</div><div> ],</div><div> "type": "vlan",</div><div> "vlan_id": 202</div><div> },</div><div> {</div><div> "addresses": [</div><div> {</div><div> "ip_netmask": "<a href="http://172.19.0.12/24">172.19.0.12/24</a>"</div><div> }</div><div> ],</div><div> "type": "vlan",</div><div> "vlan_id": 203</div><div> },</div><div> {</div><div> "addresses": [</div><div> {</div><div> "ip_netmask": "<a href="http://172.17.0.11/24">172.17.0.11/24</a>"</div><div> }</div><div> ],</div><div> "type": "vlan",</div><div> "vlan_id": 204</div><div> }</div><div> ],</div><div> "name": "br-mng",</div><div> "type": "ovs_bridge"</div><div> },</div><div> {</div><div> "addresses": [</div><div> {</div><div> "ip_netmask": "<a href="http://192.168.60.66/24">192.168.60.66/24</a>"</div><div> }</div><div> ],</div><div> "dns_servers": [</div><div> "192.168.60.100"</div><div> ],</div><div> "members": [</div><div> {</div><div> "name": "nic3",</div><div> "primary": true,</div><div> "type": "interface"</div><div> }</div><div> ],</div><div> "name": "br-ex",</div><div> "routes": [</div><div> {</div><div> "default": true,</div><div> "next_hop": "192.168.60.1"</div><div> }</div><div> ],</div><div> "type": "ovs_bridge",</div><div> "use_dhcp": false</div><div> }</div><div> ]</div><div>}</div><div>[heat-admin@overcloud-controller-0 ~]$ </div></div><div><br></div><div><br></div><div><div>[heat-admin@overcloud-compute-0 ~]$ cat /etc/os-net-config/config.json | python -m json.tool</div><div>{</div><div> "network_config": [</div><div> {</div><div> "addresses": [</div><div> {</div><div> "ip_netmask": "<a href="http://192.0.2.6/24">192.0.2.6/24</a>"</div><div> }</div><div> ],</div><div> "dns_servers": [</div><div> "192.168.60.100"</div><div> ],</div><div> "name": "nic1",</div><div> "routes": [</div><div> {</div><div> "ip_netmask": "<a href="http://169.254.169.254/32">169.254.169.254/32</a>",</div><div> "next_hop": "192.0.2.1"</div><div> },</div><div> {</div><div> "default": true,</div><div> "next_hop": "192.0.2.1"</div><div> }</div><div> ],</div><div> "type": "interface",</div><div> "use_dhcp": false</div><div> },</div><div> {</div><div> "members": [</div><div> {</div><div> "name": "nic2",</div><div> "primary": true,</div><div> "type": "interface"</div><div> },</div><div> {</div><div> "addresses": [</div><div> {</div><div> "ip_netmask": "<a href="http://172.16.0.11/24">172.16.0.11/24</a>"</div><div> }</div><div> ],</div><div> "type": "vlan",</div><div> "vlan_id": 201</div><div> },</div><div> {</div><div> "addresses": [</div><div> {</div><div> "ip_netmask": "<a href="http://172.18.0.10/24">172.18.0.10/24</a>"</div><div> }</div><div> ],</div><div> "type": "vlan",</div><div> "vlan_id": 202</div><div> },</div><div> {</div><div> "addresses": [</div><div> {</div><div> "ip_netmask": "<a href="http://172.17.0.10/24">172.17.0.10/24</a>"</div><div> }</div><div> ],</div><div> "type": "vlan",</div><div> "vlan_id": 204</div><div> }</div><div> ],</div><div> "name": "br-ex",</div><div> "type": "ovs_bridge"</div><div> },</div><div> {</div><div> "members": [</div><div> {</div><div> "mtu": 9000,</div><div> "name": "nic3",</div><div> "primary": true,</div><div> "type": "interface"</div><div> }</div><div> ],</div><div> "mtu": 9000,</div><div> "name": "br-down",</div><div> "type": "ovs_bridge"</div><div> },</div><div> {</div><div> "members": [</div><div> {</div><div> "mtu": 9000,</div><div> "name": "nic4",</div><div> "primary": true,</div><div> "type": "interface"</div><div> }</div><div> ],</div><div> "mtu": 9000,</div><div> "name": "br-up",</div><div> "type": "ovs_bridge"</div><div> }</div><div> ]</div><div>}</div><div>[heat-admin@overcloud-compute-0 ~]$ </div></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Apr 3, 2017 at 10:03 PM Dan Sneddon <<a href="mailto:dsneddon@redhat.com">dsneddon@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 04/03/2017 06:03 AM, Samuel Monderer wrote:<br class="gmail_msg">
> Hi Marius,<br class="gmail_msg">
><br class="gmail_msg">
> Attached is the controller node template.<br class="gmail_msg">
> I've also added below the ovs-vsct show results for both the compute and<br class="gmail_msg">
> control node<br class="gmail_msg">
> For some reason there is also a bridge called "undef" in both the<br class="gmail_msg">
> controller and the compute<br class="gmail_msg">
><br class="gmail_msg">
> [heat-admin@overcloud-controller-0 ~]$ sudo ovs-vsctl show<br class="gmail_msg">
> 00ce4561-418d-4161-b907-3b2222930f35<br class="gmail_msg">
> Manager "ptcp:6640:127.0.0.1"<br class="gmail_msg">
> Bridge br-int<br class="gmail_msg">
> Controller "tcp:<a href="http://127.0.0.1:6633" rel="noreferrer" class="gmail_msg" target="_blank">127.0.0.1:6633</a> <<a href="http://127.0.0.1:6633" rel="noreferrer" class="gmail_msg" target="_blank">http://127.0.0.1:6633</a>>"<br class="gmail_msg">
> fail_mode: secure<br class="gmail_msg">
> Port br-int<br class="gmail_msg">
> Interface br-int<br class="gmail_msg">
> type: internal<br class="gmail_msg">
> Bridge undef<br class="gmail_msg">
> Port undef<br class="gmail_msg">
> Interface undef<br class="gmail_msg">
> type: internal<br class="gmail_msg">
> Bridge br-mng<br class="gmail_msg">
> fail_mode: standalone<br class="gmail_msg">
> Port "vlan204"<br class="gmail_msg">
> tag: 204<br class="gmail_msg">
> Interface "vlan204"<br class="gmail_msg">
> type: internal<br class="gmail_msg">
> Port "vlan202"<br class="gmail_msg">
> tag: 202<br class="gmail_msg">
> Interface "vlan202"<br class="gmail_msg">
> type: internal<br class="gmail_msg">
> Port br-mng<br class="gmail_msg">
> Interface br-mng<br class="gmail_msg">
> type: internal<br class="gmail_msg">
> Port "vlan203"<br class="gmail_msg">
> tag: 203<br class="gmail_msg">
> Interface "vlan203"<br class="gmail_msg">
> type: internal<br class="gmail_msg">
> Port "eno2"<br class="gmail_msg">
> Interface "eno2"<br class="gmail_msg">
> Port "vlan201"<br class="gmail_msg">
> tag: 201<br class="gmail_msg">
> Interface "vlan201"<br class="gmail_msg">
> type: internal<br class="gmail_msg">
> Bridge br-up<br class="gmail_msg">
> Port br-up<br class="gmail_msg">
> Interface br-up<br class="gmail_msg">
> type: internal<br class="gmail_msg">
> Bridge br-ex<br class="gmail_msg">
> fail_mode: standalone<br class="gmail_msg">
> Port br-ex<br class="gmail_msg">
> Interface br-ex<br class="gmail_msg">
> type: internal<br class="gmail_msg">
> Port "eno3"<br class="gmail_msg">
> Interface "eno3"<br class="gmail_msg">
> ovs_version: "2.5.0"<br class="gmail_msg">
> [heat-admin@overcloud-controller-0 ~]$<br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> [heat-admin@overcloud-compute-0 ~]$ sudo ovs-vsctl show<br class="gmail_msg">
> 2f6bccd5-9653-42df-a1db-8cb5c3b0293a<br class="gmail_msg">
> Manager "ptcp:6640:127.0.0.1"<br class="gmail_msg">
> Bridge br-down<br class="gmail_msg">
> fail_mode: standalone<br class="gmail_msg">
> Port br-down<br class="gmail_msg">
> Interface br-down<br class="gmail_msg">
> type: internal<br class="gmail_msg">
> Port "em3"<br class="gmail_msg">
> Interface "em3"<br class="gmail_msg">
> Bridge br-up<br class="gmail_msg">
> fail_mode: standalone<br class="gmail_msg">
> Port br-up<br class="gmail_msg">
> Interface br-up<br class="gmail_msg">
> type: internal<br class="gmail_msg">
> Port "em4"<br class="gmail_msg">
> Interface "em4"<br class="gmail_msg">
> Bridge br-ex<br class="gmail_msg">
> fail_mode: standalone<br class="gmail_msg">
> Port "vlan204"<br class="gmail_msg">
> tag: 204<br class="gmail_msg">
> Interface "vlan204"<br class="gmail_msg">
> type: internal<br class="gmail_msg">
> Port "vlan202"<br class="gmail_msg">
> tag: 202<br class="gmail_msg">
> Interface "vlan202"<br class="gmail_msg">
> type: internal<br class="gmail_msg">
> Port "vlan201"<br class="gmail_msg">
> tag: 201<br class="gmail_msg">
> Interface "vlan201"<br class="gmail_msg">
> type: internal<br class="gmail_msg">
> Port br-ex<br class="gmail_msg">
> Interface br-ex<br class="gmail_msg">
> type: internal<br class="gmail_msg">
> Port "em2"<br class="gmail_msg">
> Interface "em2"<br class="gmail_msg">
> Bridge br-int<br class="gmail_msg">
> Controller "tcp:<a href="http://127.0.0.1:6633" rel="noreferrer" class="gmail_msg" target="_blank">127.0.0.1:6633</a> <<a href="http://127.0.0.1:6633" rel="noreferrer" class="gmail_msg" target="_blank">http://127.0.0.1:6633</a>>"<br class="gmail_msg">
> fail_mode: secure<br class="gmail_msg">
> Port br-int<br class="gmail_msg">
> Interface br-int<br class="gmail_msg">
> type: internal<br class="gmail_msg">
> Bridge undef<br class="gmail_msg">
> Port undef<br class="gmail_msg">
> Interface undef<br class="gmail_msg">
> type: internal<br class="gmail_msg">
> ovs_version: "2.5.0"<br class="gmail_msg">
> [heat-admin@overcloud-compute-0 ~]$<br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> On Fri, Mar 31, 2017 at 1:01 PM Marius Cornea <<a href="mailto:marius@remote-lab.net" class="gmail_msg" target="_blank">marius@remote-lab.net</a><br class="gmail_msg">
> <mailto:<a href="mailto:marius@remote-lab.net" class="gmail_msg" target="_blank">marius@remote-lab.net</a>>> wrote:<br class="gmail_msg">
><br class="gmail_msg">
> Hi Samuel,<br class="gmail_msg">
><br class="gmail_msg">
> Could you please share the nic template used for the controller node?<br class="gmail_msg">
> The bridges should be created according to the nic template so I would<br class="gmail_msg">
> like to see how it looks.<br class="gmail_msg">
><br class="gmail_msg">
> Thanks!<br class="gmail_msg">
><br class="gmail_msg">
> On Thu, Mar 30, 2017 at 4:59 PM, Samuel Monderer<br class="gmail_msg">
> <<a href="mailto:smonderer@vasonanetworks.com" class="gmail_msg" target="_blank">smonderer@vasonanetworks.com</a> <mailto:<a href="mailto:smonderer@vasonanetworks.com" class="gmail_msg" target="_blank">smonderer@vasonanetworks.com</a>>><br class="gmail_msg">
> wrote:<br class="gmail_msg">
> > Hi,<br class="gmail_msg">
> ><br class="gmail_msg">
> > I would like to test my VNF on an openstack environment deployed using<br class="gmail_msg">
> > TripleO.<br class="gmail_msg">
> > For that I need to setup flat provider networks that go only to<br class="gmail_msg">
> the compute<br class="gmail_msg">
> > node.<br class="gmail_msg">
> > I tried deploying an overcoud with additional neutron bridge<br class="gmail_msg">
> mappings as<br class="gmail_msg">
> > following<br class="gmail_msg">
> ><br class="gmail_msg">
> > Added NeutronBridgeMappings: "<br class="gmail_msg">
> > datacentre:br-ex,physdown;br-down,physup:br-up" to network<br class="gmail_msg">
> environment file<br class="gmail_msg">
> > Added following resources to compute.yaml file<br class="gmail_msg">
> ><br class="gmail_msg">
> > -<br class="gmail_msg">
> > type: ovs_bridge<br class="gmail_msg">
> > name: br-down<br class="gmail_msg">
> > mtu: 9000<br class="gmail_msg">
> > members:<br class="gmail_msg">
> > -<br class="gmail_msg">
> > type: interface<br class="gmail_msg">
> > name: ens4f0<br class="gmail_msg">
> > # force the MAC address of the bridge to this<br class="gmail_msg">
> interface<br class="gmail_msg">
> > primary: true<br class="gmail_msg">
> > -<br class="gmail_msg">
> > type: ovs_bridge<br class="gmail_msg">
> > name: br-up<br class="gmail_msg">
> > mtu: 9000<br class="gmail_msg">
> > members:<br class="gmail_msg">
> > -<br class="gmail_msg">
> > type: interface<br class="gmail_msg">
> > name: ens4f1<br class="gmail_msg">
> > # force the MAC address of the bridge to this<br class="gmail_msg">
> interface<br class="gmail_msg">
> > primary: true<br class="gmail_msg">
> ><br class="gmail_msg">
> > This will create the intended OVS bridges on the the compute node<br class="gmail_msg">
> with the<br class="gmail_msg">
> > interfaces connected.<br class="gmail_msg">
> ><br class="gmail_msg">
> > The unwanted side effect it that ii also created the bridges on the<br class="gmail_msg">
> > controller node without any interfaces connected to it<br class="gmail_msg">
> ><br class="gmail_msg">
> > Is there a way to have the undercloud create the bridges only on<br class="gmail_msg">
> the compute<br class="gmail_msg">
> > nodes and not on the controller nodes???<br class="gmail_msg">
> ><br class="gmail_msg">
> > Samuel<br class="gmail_msg">
> ><br class="gmail_msg">
> > _______________________________________________<br class="gmail_msg">
> > rdo-list mailing list<br class="gmail_msg">
> > <a href="mailto:rdo-list@redhat.com" class="gmail_msg" target="_blank">rdo-list@redhat.com</a> <mailto:<a href="mailto:rdo-list@redhat.com" class="gmail_msg" target="_blank">rdo-list@redhat.com</a>><br class="gmail_msg">
> > <a href="https://www.redhat.com/mailman/listinfo/rdo-list" rel="noreferrer" class="gmail_msg" target="_blank">https://www.redhat.com/mailman/listinfo/rdo-list</a><br class="gmail_msg">
> ><br class="gmail_msg">
> > To unsubscribe: <a href="mailto:rdo-list-unsubscribe@redhat.com" class="gmail_msg" target="_blank">rdo-list-unsubscribe@redhat.com</a><br class="gmail_msg">
> <mailto:<a href="mailto:rdo-list-unsubscribe@redhat.com" class="gmail_msg" target="_blank">rdo-list-unsubscribe@redhat.com</a>><br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> _______________________________________________<br class="gmail_msg">
> rdo-list mailing list<br class="gmail_msg">
> <a href="mailto:rdo-list@redhat.com" class="gmail_msg" target="_blank">rdo-list@redhat.com</a><br class="gmail_msg">
> <a href="https://www.redhat.com/mailman/listinfo/rdo-list" rel="noreferrer" class="gmail_msg" target="_blank">https://www.redhat.com/mailman/listinfo/rdo-list</a><br class="gmail_msg">
><br class="gmail_msg">
> To unsubscribe: <a href="mailto:rdo-list-unsubscribe@redhat.com" class="gmail_msg" target="_blank">rdo-list-unsubscribe@redhat.com</a><br class="gmail_msg">
><br class="gmail_msg">
<br class="gmail_msg">
You've got a syntax error in your bridge_mappings (semicolon instead of<br class="gmail_msg">
colon). This is causing your "undef" bridge.<br class="gmail_msg">
<br class="gmail_msg">
Also, it is expected behavior that if you define a bridge in a bridge<br class="gmail_msg">
mapping, but you don't include that bridge in the NIC template, that you<br class="gmail_msg">
will end up with a bridge with no interfaces attached. It shouldn't hurt<br class="gmail_msg">
anything.<br class="gmail_msg">
<br class="gmail_msg">
--<br class="gmail_msg">
Dan Sneddon | Senior Principal Software Engineer<br class="gmail_msg">
<a href="mailto:dsneddon@redhat.com" class="gmail_msg" target="_blank">dsneddon@redhat.com</a> | <a href="http://redhat.com/openstack" rel="noreferrer" class="gmail_msg" target="_blank">redhat.com/openstack</a><br class="gmail_msg">
dsneddon:irc | @dxs:twitter<br class="gmail_msg">
</blockquote></div>