<div dir="ltr"><div>====updates<br><br></div>I have deleted my networks, rebooted my machines and configured an other network. Now I can see the qr bridge mapped to the router but still can't ping the external gateway:<br><br>====[root@localhost ~(keystone_admin)]# ip netns exec qrouter-85fa9459-503d-4996-86f3-6042604fed74 ip r<br>default via 192.168.5.1 dev qg-e1b584b4-db<br><a href="http://10.0.0.0/24">10.0.0.0/24</a> dev qr-7b330e0e-5c  proto kernel  scope link  src 10.0.0.1<br><a href="http://192.168.5.0/24">192.168.5.0/24</a> dev qg-e1b584b4-db  proto kernel  scope link  src 192.168.5.70<br><br>====[root@localhost ~(keystone_admin)]# ip netns exec qrouter-85fa9459-503d-4996-86f3-6042604fed74 ip a<br>1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN<br>    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00<br>    inet <a href="http://127.0.0.1/8">127.0.0.1/8</a> scope host lo<br>       valid_lft forever preferred_lft forever<br>    inet6 ::1/128 scope host<br>       valid_lft forever preferred_lft forever<br>12: qg-e1b584b4-db: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN<br>    link/ether fa:16:3e:68:83:f8 brd ff:ff:ff:ff:ff:ff<br>    inet <a href="http://192.168.5.70/24">192.168.5.70/24</a> brd 192.168.5.255 scope global qg-e1b584b4-db<br>       valid_lft forever preferred_lft forever<br>    inet <a href="http://192.168.5.73/32">192.168.5.73/32</a> brd 192.168.5.73 scope global qg-e1b584b4-db<br>       valid_lft forever preferred_lft forever<br>    inet6 fe80::f816:3eff:fe68:83f8/64 scope link<br>       valid_lft forever preferred_lft forever<br>13: qr-7b330e0e-5c: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN<br>    link/ether fa:16:3e:92:9c:90 brd ff:ff:ff:ff:ff:ff<br>    inet <a href="http://10.0.0.1/24">10.0.0.1/24</a> brd 10.0.0.255 scope global qr-7b330e0e-5c<br>       valid_lft forever preferred_lft forever<br>    inet6 fe80::f816:3eff:fe92:9c90/64 scope link<br>       valid_lft forever preferred_lft forever<br><br><br>=====[root@localhost ~(keystone_admin)]# ip netns exec qrouter-85fa9459-503d-4996-86f3-6042604fed74 ping 192.168.5.1<br>PING 192.168.5.1 (192.168.5.1) 56(84) bytes of data.<br>From 192.168.5.70 icmp_seq=10 Destination Host Unreachable<br>From 192.168.5.70 icmp_seq=11 Destination Host Unreachable<br>From 192.168.5.70 icmp_seq=12 Destination Host Unreachable<br>From 192.168.5.70 icmp_seq=13 Destination Host Unreachable<br>From 192.168.5.70 icmp_seq=14 Destination Host Unreachable<br>From 192.168.5.70 icmp_seq=15 Destination Host Unreachable<br>From 192.168.5.70 icmp_seq=16 Destination Host Unreachable<br>From 192.168.5.70 icmp_seq=17 Destination Host Unreachable<br><br><br>=====[root@localhost ~(keystone_admin)]# ovs-vsctl show<br>19de58db-509d-4de8-bd88-9222019b13f1<br>    Bridge br-int<br>        fail_mode: secure<br>        Port "tap2decc1bc-bf"<br>            tag: 2<br>            Interface "tap2decc1bc-bf"<br>                type: internal<br>        Port br-int<br>            Interface br-int<br>                type: internal<br>        Port patch-tun<br>            Interface patch-tun<br>                type: patch<br>                options: {peer=patch-int}<br>        Port "qr-7b330e0e-5c"<br>            tag: 2<br>            Interface "qr-7b330e0e-5c"<br>                type: internal<br>        Port "qvo164afbd4-0c"<br>            tag: 2<br>            Interface "qvo164afbd4-0c"<br>    Bridge br-ex<br>        Port "eth0"<br>            Interface "eth0"<br>        Port br-ex<br>            Interface br-ex<br>                type: internal<br>        Port "qg-e1b584b4-db"<br>            Interface "qg-e1b584b4-db"<br>                type: internal<br>    Bridge br-tun<br>        Port br-tun<br>            Interface br-tun<br>                type: internal<br>        Port "vxlan-c0a80520"<br>            Interface "vxlan-c0a80520"<br>                type: vxlan<br>                options: {df_default="true", in_key=flow, local_ip="192.168.5.33", out_key=flow, remote_ip="192.168.5.32"}<br>        Port patch-int<br>            Interface patch-int<br>                type: patch<br>                options: {peer=patch-tun}<br>    ovs_version: "2.3.1"<br><br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-19 11:58 GMT+02:00 ICHIBA Sara <span dir="ltr"><<a href="mailto:ichi.sara@gmail.com" target="_blank">ichi.sara@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">can you show me your plugin.ini file? /etc/neutron/plugin.ini  and the other file /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini<br><br></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">2015-05-19 10:47 GMT+02:00 Boris Derzhavets <span dir="ltr"><<a href="mailto:bderzhavets@hotmail.com" target="_blank">bderzhavets@hotmail.com</a>></span>:<br></span><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">There is one thing , which I clearly see . It is qrouter-namespace misconfiguration.  There is no qr-xxxxx bridge attached to br-int<br>Picture , in general, should look like this<br><br>ubuntu@ubuntu-System:~$ sudo ip netns exec qrouter-6cb93ddd-2637-449d-8b10-7c07da49ee8c route -n<br><br>Kernel IP routing table<br>Destination     Gateway         Genmask         Flags Metric Ref    Use Iface<br>0.0.0.0         192.168.12.15   0.0.0.0         UG    0      0        0   qg-a753a8f5-c8<br>10.254.1.0      0.0.0.0         255.255.255.0   U     0      0      0    qr-393d9f71-53<br>192.168.12.0    0.0.0.0         255.255.255.0   U     0      0        0 qg-a753a8f5-c8<br><br>ubuntu@ubuntu-System:~$ sudo ip netns exec qrouter-6cb93ddd-2637-449d-8b10-7c07da49ee8c ifconfig<br>lo        Link encap:Local Loopback  <br>          inet addr:127.0.0.1  Mask:255.0.0.0<br>          inet6 addr: ::1/128 Scope:Host<br>          UP LOOPBACK RUNNING  MTU:65536  Metric:1<br>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br>          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br>          collisions:0 txqueuelen:0 <br>          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)<br><br>qg-a753a8f5-c8 Link encap:Ethernet  HWaddr fa:16:3e:a2:11:b4  <br>          inet addr:192.168.12.150  Bcast:192.168.12.255  Mask:255.255.255.0<br>          inet6 addr: fe80::f816:3eff:fea2:11b4/64 Scope:Link<br>          UP BROADCAST RUNNING  MTU:1500  Metric:1<br>          RX packets:24504 errors:0 dropped:0 overruns:0 frame:0<br>          TX packets:17367 errors:0 dropped:0 overruns:0 carrier:0<br>          collisions:0 txqueuelen:0 <br>          RX bytes:24328699 (24.3 MB)  TX bytes:1443691 (1.4 MB)<br><br>qr-393d9f71-53 Link encap:Ethernet  HWaddr fa:16:3e:9e:ec:01  <br>          inet addr:10.254.1.1  Bcast:10.254.1.255  Mask:255.255.255.0<br>          inet6 addr: fe80::f816:3eff:fe9e:ec01/64 Scope:Link<br>          UP BROADCAST RUNNING  MTU:1500  Metric:1<br>          RX packets:22487 errors:0 dropped:5 overruns:0 frame:0<br>          TX packets:24736 errors:0 dropped:0 overruns:0 carrier:0<br>          collisions:0 txqueuelen:0 <br>          RX bytes:2379287 (2.3 MB)  TX bytes:24338711 (24.3 MB)<br><br>I would also advise you to post a question also on <a href="http://ask.openstack.org" target="_blank">ask.openstack.org</a><br><br>Boris.<br><br><br><div><hr>Date: Tue, 19 May 2015 09:48:58 +0200<br>From: <a href="mailto:ichi.sara@gmail.com" target="_blank">ichi.sara@gmail.com</a><br>To: <a href="mailto:rdo-list@redhat.com" target="_blank">rdo-list@redhat.com</a><br>Subject: [Rdo-list] [Neutron] router can't ping external gateway<div><div><br><br><div dir="ltr"><div><div><div><div>Hey people,<br></div>I have an issue with my networking. I connected my openstack to an external network I did all the changes required. But still my router can't reach the external gateway.<br><br></div>=====ifcfg-br-ex<br>DEVICE=br-ex<br>DEVICETYPE=ovs<br>TYPE=OVSBridge<br>BOOTPROTO=static<br>IPADDR=192.168.5.33<br>NETMASK=255.255.255.0<br>ONBOOT=yes<br>GATEWAY=192.168.5.1<br>DNS1=8.8.8.8<br>DNS2=192.168.5.1<br><br><br></div>====ifcfg-eth0<br>DEVICE=eth0<br>HWADDR=00:0c:29:a2:b1:b9<br>ONBOOT=yes<br>TYPE=OVSPort<br>NM_CONTROLLED=yes<br>DEVICETYPE=ovs<br>OVS_BRIDGE=br-ex<br><br>======[root@localhost ~(keystone_admin)]# ovs-vsctl show<br>19de58db-509d-4de8-bd88-9222019b13f1<br>    Bridge br-int<br>        fail_mode: secure<br>        Port "tap8652132e-b8"<br>            tag: 1<br>            Interface "tap8652132e-b8"<br>                type: internal<br>        Port br-int<br>            Interface br-int<br>                type: internal<br>        Port patch-tun<br>            Interface patch-tun<br>                type: patch<br>                options: {peer=patch-int}<br>    Bridge br-ex<br>        Port "qg-5f8ebe30-40"<br>            Interface "qg-5f8ebe30-40"<br>                type: internal<br>        Port "eth0"<br>            Interface "eth0"<br>        Port br-ex<br>            Interface br-ex<br>                type: internal<br>    Bridge br-tun<br>        Port "vxlan-c0a80520"<br>            Interface "vxlan-c0a80520"<br>                type: vxlan<br>                options: {df_default="true", in_key=flow, local_ip="192.168.5.33", out_key=flow, remote_ip="192.168.5.32"}<br>        Port br-tun<br>            Interface br-tun<br>                type: internal<br>        Port patch-int<br>            Interface patch-int<br>                type: patch<br>                options: {peer=patch-tun}<br>    ovs_version: "2.3.1"<br><br>=====[root@localhost ~(keystone_admin)]# ping 192.168.5.1<br>PING 192.168.5.1 (192.168.5.1) 56(84) bytes of data.<br>64 bytes from <a href="http://192.168.5.1" target="_blank">192.168.5.1</a>: icmp_seq=1 ttl=64 time=1.76 ms<br>64 bytes from <a href="http://192.168.5.1" target="_blank">192.168.5.1</a>: icmp_seq=2 ttl=64 time=1.88 ms<br>64 bytes from <a href="http://192.168.5.1" target="_blank">192.168.5.1</a>: icmp_seq=3 ttl=64 time=1.45 ms<br>^C<br>--- 192.168.5.1 ping statistics ---<br>3 packets transmitted, 3 received, 0% packet loss, time 2002ms<br>rtt min/avg/max/mdev = 1.452/1.699/1.880/0.187 ms<br>[root@localhost ~(keystone_admin)]#<br><br>======[root@localhost ~(keystone_admin)]# ip netns exec qrouter-85fa9459-503d-4996-86f3-6042604fed74 ip a<br>1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN<br>    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00<br>    inet <a href="http://127.0.0.1/8" target="_blank">127.0.0.1/8</a> scope host lo<br>       valid_lft forever preferred_lft forever<br>    inet6 ::1/128 scope host<br>       valid_lft forever preferred_lft forever<br>14: qg-5f8ebe30-40: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN<br>    link/ether fa:16:3e:c2:1b:5e brd ff:ff:ff:ff:ff:ff<br>    inet <a href="http://192.168.5.70/24" target="_blank">192.168.5.70/24</a> brd 192.168.5.255 scope global qg-5f8ebe30-40<br>       valid_lft forever preferred_lft forever<br>    inet6 fe80::f816:3eff:fec2:1b5e/64 scope link<br>       valid_lft forever preferred_lft forever<br>[root@localhost ~(keystone_admin)]#<br><br><br>======[root@localhost ~(keystone_admin)]# ip r<br>default via 192.168.5.1 dev br-ex<br>default via 192.168.4.1 dev eth1<br><a href="http://169.254.0.0/16" target="_blank">169.254.0.0/16</a> dev eth0  scope link  metric 1002<br><a href="http://169.254.0.0/16" target="_blank">169.254.0.0/16</a> dev eth1  scope link  metric 1003<br><a href="http://169.254.0.0/16" target="_blank">169.254.0.0/16</a> dev br-ex  scope link  metric 1005<br><a href="http://192.168.4.0/24" target="_blank">192.168.4.0/24</a> dev eth1  proto kernel  scope link  src 192.168.4.14<br><a href="http://192.168.5.0/24" target="_blank">192.168.5.0/24</a> dev br-ex  proto kernel  scope link  src 192.168.5.33<br>[root@localhost ~(keystone_admin)]#<br><br><br>======[root@localhost ~(keystone_admin)]# ip netns exec qrouter-85fa9459-503d-4996-86f3-6042604fed74 ip r<br>default via 192.168.5.1 dev qg-5f8ebe30-40<br><a href="http://192.168.5.0/24" target="_blank">192.168.5.0/24</a> dev qg-5f8ebe30-40  proto kernel  scope link  src 192.168.5.70<br>[root@localhost ~(keystone_admin)]#<br><br><br>======[root@localhost ~(keystone_admin)]# ip netns exec qrouter-85fa9459-503d-4996-86f3-6042604fed74 ping 192.168.5.1<br>PING 192.168.5.1 (192.168.5.1) 56(84) bytes of data.<br>^C<br>--- 192.168.5.1 ping statistics ---<br>5 packets transmitted, 0 received, 100% packet loss, time 3999ms<br><br></div>any hints??<br><div><br><br><br><br></div></div>
<br></div></div>_______________________________________________
Rdo-list mailing list
<a href="mailto:Rdo-list@redhat.com" target="_blank">Rdo-list@redhat.com</a>
<a href="https://www.redhat.com/mailman/listinfo/rdo-list" target="_blank">https://www.redhat.com/mailman/listinfo/rdo-list</a>

To unsubscribe: <a href="mailto:rdo-list-unsubscribe@redhat.com" target="_blank">rdo-list-unsubscribe@redhat.com</a></div>                                          </div></div>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>