<div dir="ltr"><div><div><div><div><div><div>Hi Sławek Kapłoński,<br><br></div>Thank you for your response.<br><br>1. In br-provider bridge I don't see any interface through which packets should be send. Is this bridge used as "external bridge"?<br></div>Yes, it is used as "External Bridge". i added the interface eth12 within the <b>node01_neutron_agents container</b> to br-brovider bridge. I can now ping the gateway IP address on the
provider network but still unable to ping the the floating IP of the VM:<br>root@node01-utility-container-edc0f67a:~# <b>neutron router-port-list core-router</b><br>+--------------------------------------+------+-------------------+------------------------------------------------------+<br>| id | name | mac_address | fixed_ips |<br>+--------------------------------------+------+-------------------+------------------------------------------------------+<br>| 19ab7b32-198b-4392-a5b3-dc2d323d69a4 | | fa:16:3e:dd:c9:02 | {"subnet_id": "63acfd17-55d7-4147-926e- |<br>| | | | 6ee75c9e7f55", "ip_address": "<b>10.1.4.107</b>"} |<br>| 3c527c3c-5e51-489c-80a0-02a3eeba679d | | fa:16:3e:6c:b5:72 | {"subnet_id": "b42b5af9-efcf-42df-bb0f- |<br>| | | | e080d606fdf0", "ip_address": "192.168.3.1"} |<br>| f67e4a28-f7c5-480b-8343-ff80d8ef4753 | | fa:16:3e:8d:db:fc | {"subnet_id": "b42b5af9-efcf-42df-bb0f- |<br>| | | | e080d606fdf0", "ip_address": "192.168.3.5"} |<br>+--------------------------------------+------+-------------------+------------------------------------------------------+<br>maas-user@ubuntu:~$<b> ping 10.1.4.107</b><br>PING 10.1.4.107 (10.1.4.107) 56(84) bytes of data.<br>64 bytes from <a href="http://10.1.4.107">10.1.4.107</a>: icmp_seq=1 ttl=64 time=0.996 ms<br>64 bytes from <a href="http://10.1.4.107">10.1.4.107</a>: icmp_seq=2 ttl=64 time=0.715 ms<br>64 bytes from <a href="http://10.1.4.107">10.1.4.107</a>: icmp_seq=3 ttl=64 time=0.699 ms<br>64 bytes from <a href="http://10.1.4.107">10.1.4.107</a>: icmp_seq=4 ttl=64 time=0.730 ms<br><br>root@node01-utility-container-edc0f67a:~# <b>openstack server list</b><br>WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils<br>+--------------------------------------+----------------------+--------+---------------------------------+------------+<br>| ID | Name | Status | Networks | Image Name |<br>+--------------------------------------+----------------------+--------+---------------------------------+------------+<br>| b6684532-c1b2-4e18-89bd-28fc7d2d6efb | selfservice-instance | ACTIVE | project=192.168.3.9, <b>10.1.4.111</b> | cirros |<br>+--------------------------------------+----------------------+--------+---------------------------------+------------+<br><br>root@node01:~# <b>ping 10.1.4.111</b><br>PING 10.1.4.111 (10.1.4.111) 56(84) bytes of data.<br>From 10.1.200.25 icmp_seq=1 Destination Host Unreachable<br>From 10.1.200.25 icmp_seq=2 Destination Host Unreachable<br>From 10.1.200.25 icmp_seq=3 Destination Host Unreachable<br><br><br>3. From where You are trying to ping this vm? Is it the same host or<br>
another one? Is it connected to same vlan?<br></div>Yes, it is the same host and the same VLAN. I forgot to mention that i used DVR setup.<br><br>The problem i have is that i don't know which interface should i add to br-provider on the compute node. br-vlan bridge is already attached to my external interface, that is why i got confused.<br><br></div>Can you please advice on this.<br><br></div>Thanks,<br></div>Hamza<br><div><div><div><div><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 26 November 2016 at 22:48, Sławek Kapłoński <span dir="ltr"><<a href="mailto:slawek@kaplonski.pl" target="_blank">slawek@kaplonski.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
1. In br-provider bridge I don't see any interface through which packets<br>
should be send. Is this bridge used as "external bridge"?<br>
2. Please check also Openflow rules in bridges - it's important to have<br>
proper rules on bridges<br>
3. From where You are trying to ping this vm? Is it the same host or<br>
another one? Is it connected to same vlan?<br>
4. When You are trying to ping Your vm what You see on interfaces on<br>
Your host?<br>
<br>
--<br>
Best regards / Pozdrawiam<br>
Sławek Kapłoński<br>
<a href="mailto:slawek@kaplonski.pl">slawek@kaplonski.pl</a><br>
<span class=""><br>
On Sat, 26 Nov 2016, Achi Hamza wrote:<br>
<br>
> Hi All,<br>
><br>
> Context:<br>
> openstack-ansible tag: 14.0.1<br>
> ML2 plug-in: OpenvSwitch<br>
> Project / External networks: VLAN<br>
> OS: Ubuntu 16.0.4<br>
><br>
> I would like to implement OVS with VLANs following these 2 docs [1][2] but<br>
> things didn't work for me. I cannot ping my provider network:<br>
><br>
</span>> root@node01-utility-container-<wbr>edc0f67a:~# *openstack server list*<br>
<span class="">> WARNING: openstackclient.common.utils is deprecated and will be removed<br>
> after Jun 2017. Please use osc_lib.utils<br>
> +-----------------------------<wbr>---------+-------------------+<wbr>--------+---------------------<wbr>+------------+<br>
> | ID | Name | Status |<br>
> Networks | Image Name |<br>
> +-----------------------------<wbr>---------+-------------------+<wbr>--------+---------------------<wbr>+------------+<br>
> | ed7e7c76-dcf2-431e-8bb1-<wbr>0541391f64ed | provider-instance | ACTIVE |<br>
> physnet1=10.1.4.103 | cirros |<br>
> +-----------------------------<wbr>---------+-------------------+<wbr>--------+---------------------<wbr>+------------+<br>
><br>
</span>> root@node01-utility-container-<wbr>edc0f67a:~# *ping 10.1.4.103*<br>
<span class="">> PING 10.1.4.103 (10.1.4.103) 56(84) bytes of data.<br>
> From 10.1.200.25 icmp_seq=1 Destination Host Unreachable<br>
> From 10.1.200.25 icmp_seq=2 Destination Host Unreachable<br>
> From 10.1.200.25 icmp_seq=3 Destination Host Unreachable<br>
><br>
><br>
> This is how my OpenvSwitch configuration looks:<br>
</span>> root@node01:~# *ovs-vsctl show*<br>
<div><div class="h5">> 29613dde-944b-4449-ab09-<wbr>af906a6f74c6<br>
> Manager "ptcp:6640:127.0.0.1"<br>
> is_connected: true<br>
> Bridge br-int<br>
> Controller "tcp:<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">127.0.0.1:6633</a>"<br>
> is_connected: true<br>
> fail_mode: secure<br>
> Port int-br-provider<br>
> Interface int-br-provider<br>
> type: patch<br>
> options: {peer=phy-br-provider}<br>
> Port br-int<br>
> Interface br-int<br>
> type: internal<br>
> Port "qvobb7afbfb-18"<br>
> tag: 1<br>
> Interface "qvobb7afbfb-18"<br>
> Bridge br-provider<br>
> Controller "tcp:<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">127.0.0.1:6633</a>"<br>
> is_connected: true<br>
> fail_mode: secure<br>
> Port phy-br-provider<br>
> Interface phy-br-provider<br>
> type: patch<br>
> options: {peer=int-br-provider}<br>
> Port br-provider<br>
> Interface br-provider<br>
> type: internal<br>
> ovs_version: "2.6.0"<br>
><br>
><br>
> Please advice on what might be wrong on my setup.<br>
><br>
> Thank you,<br>
> Hamza<br>
><br>
> [1]<br>
> <a href="http://docs.openstack.org/developer/openstack-ansible-os_neutron/app-openvswitch.html" rel="noreferrer" target="_blank">http://docs.openstack.org/<wbr>developer/openstack-ansible-<wbr>os_neutron/app-openvswitch.<wbr>html</a><br>
> [2]<br>
> <a href="https://medium.com/@travistruman/configuring-openstack-ansible-for-open-vswitch-b7e70e26009d#.wylhu7pqh" rel="noreferrer" target="_blank">https://medium.com/@<wbr>travistruman/configuring-<wbr>openstack-ansible-for-open-<wbr>vswitch-b7e70e26009d#.<wbr>wylhu7pqh</a><br>
<br>
</div></div>> ______________________________<wbr>_________________<br>
> OpenStack-operators mailing list<br>
> <a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.<wbr>openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-operators</a><br>
<br>
</blockquote></div><br></div>