[Openstack] Fwd: Fwd: Unable to reach the vm from outside[from qrouter unable to reach both internal and external network]

Amit Kumar kumaramit124 at gmail.com
Mon Jul 31 11:37:55 UTC 2017


---------- Forwarded message ----------
From: Amit Kumar <kumaramit124 at gmail.com>
Date: Sat, Jul 29, 2017 at 2:39 PM
Subject: Re: [Openstack] Fwd: Unable to reach the vm from outside[from
qrouter unable to reach both internal and external network]
To: Brian Haley <haleyb.dev at gmail.com>
Cc: openstack at lists.openstack.org, chandra kumar <chandr20 at gmail.com>


Hi,
     From the qrouter able to ping external and dhcp ip but vm is not
getting
dhcp ip address when I use interface_driver
=neutron.agent.linux.interface.OVSInterfaceDriver
the dhcp-agent.ini.

if I use neutron.agent.linux.interface.BridgeInterfaceDriver as my
interface driver vm is getting the ip address

but unable to reach the vm from the qrouter.



in l3-agent.ini if i use interface_driver =
neutron.agent.linux.interface.OVSInterfaceDriver
(qr interface is getting vlan tag as 1) and
I am able to reach the external network from qrouter but unable to ping the
vm.

but if I use interface_driver =
neutron.agent.linux.interface.BridgeInterfaceDriver(qr
interface is set with dead vlan tag 4095)

if this is the case I am able to reach the vm from qrouter but from qrouter
unable to reach the external network.


Thanks & Regards
Amit K

On Fri, Jul 28, 2017 at 9:27 PM, Brian Haley <haleyb.dev at gmail.com> wrote:

> On 07/28/2017 05:54 AM, Amit Kumar wrote:
>
>> Hi,
>>
>> Recently i have installed the openstack newton on Ubuntu 16.04. Brought
>> up one controller and 2 compute nodes. All services are up and running
>> unable to reach the vm from outside
>>
>>
>> I have logged in to the qrouter tried pinging the internal network as
>> well the br-ex  unable to reach either side
>>
>
> Did you update the security groups to allow ICMP?
>
> -Brian
>
> ip netns
>>
>> qrouter-3dbfca3a-1e95-43db-8901-4ee90d44e3f3
>> qdhcp-87453284-bf21-4c17-bddf-0742dd394573 (id: 2)
>> qdhcp-2faf6ae5-21bc-4c2a-8c8f-9bbec5cf2ae6 (id: 1)
>>
>>
>> ip netns exec qrouter-3dbfca3a-1e95-43db-8901-4ee90d44e3f3 ifconfig
>>
>> lo        Link encap:Local Loopback
>>            inet addr:127.0.0.1  Mask:255.0.0.0
>>            inet6 addr: ::1/128 Scope:Host
>>            UP LOOPBACK RUNNING  MTU:65536  Metric:1
>>            RX packets:200 errors:0 dropped:0 overruns:0 frame:0
>>            TX packets:200 errors:0 dropped:0 overruns:0 carrier:0
>>            collisions:0 txqueuelen:1
>>            RX bytes:21596 (21.5 KB)  TX bytes:21596 (21.5 KB)
>>
>> qg-3b436f92-71 Link encap:Ethernet  HWaddr fa:16:3e:cd:62:dd
>>            inet addr:172.24.4.5  Bcast:172.24.4.255  Mask:255.255.255.0
>>            inet6 addr: fe80::f816:3eff:fecd:62dd/64 Scope:Link
>>            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>            RX packets:84 errors:0 dropped:0 overruns:0 frame:0
>>            TX packets:161 errors:0 dropped:0 overruns:0 carrier:0
>>            collisions:0 txqueuelen:1
>>            RX bytes:2972 (2.9 KB)  TX bytes:7558 (7.5 KB)
>>
>> qr-9aeaa6a2-c2 Link encap:Ethernet  HWaddr fa:16:3e:0c:21:43
>>            inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0
>>            inet6 addr: fe80::f816:3eff:fe0c:2143/64 Scope:Link
>>            UP BROADCAST RUNNING MULTICAST  MTU:1450  Metric:1
>>            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>            TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
>>            collisions:0 txqueuelen:1
>>            RX bytes:0 (0.0 B)  TX bytes:4148 (4.1 KB)
>>
>>
>> _ovs- configuration at network node_
>>
>> e0c37f1f-4c88-419d-a703-9f6b84325c08
>>      Manager "ptcp:6640:127.0.0.1"
>>          is_connected: true
>>      Bridge br-tun
>>          Controller "tcp:127.0.0.1:6633 <http://127.0.0.1:6633>"
>>              is_connected: true
>>          fail_mode: secure
>>          Port "gre-0a00001f"
>>              Interface "gre-0a00001f"
>>                  type: gre
>>                  options: {df_default="true", in_key=flow,
>> local_ip="10.0.0.100", out_key=flow, remote_ip="10.0.0.31"}
>>          Port br-tun
>>              Interface br-tun
>>                  type: internal
>>          Port patch-int
>>              Interface patch-int
>>                  type: patch
>>                  options: {peer=patch-tun}
>>      Bridge br-int
>>          Controller "tcp:127.0.0.1:6633 <http://127.0.0.1:6633>"
>>              is_connected: true
>>          fail_mode: secure
>>          Port int-br-ex
>>              Interface int-br-ex
>>                  type: patch
>>                  options: {peer=phy-br-ex}
>>          Port "qg-3b436f92-71"
>>              Interface "qg-3b436f92-71"
>>                  type: internal
>>          Port "qr-9aeaa6a2-c2"
>>              tag: 1
>>              Interface "qr-9aeaa6a2-c2"
>>                  type: internal
>>          Port patch-tun
>>              Interface patch-tun
>>                  type: patch
>>                  options: {peer=patch-int}
>>          Port br-int
>>              Interface br-int
>>                  type: internal
>>      Bridge br-ex
>>          Controller "tcp:127.0.0.1:6633 <http://127.0.0.1:6633>"
>>              is_connected: true
>>          fail_mode: secure
>>          Port br-ex
>>              Interface br-ex
>>                  type: internal
>>          Port phy-br-ex
>>              Interface phy-br-ex
>>                  type: patch
>>                  options: {peer=int-br-ex}
>>      ovs_version: "2.6.1"
>>
>> ovs-configuration at compute node
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> Thanks & Regards
>> Amit Kumar
>>
>>
>> _______________________________________________
>> Mailing list: http://lists.openstack.org/cgi
>> -bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe : http://lists.openstack.org/cgi
>> -bin/mailman/listinfo/openstack
>>
>>
>


-- 
Thanks & Regards
Amit Kumar



-- 
Thanks & Regards
Amit Kumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170731/82fadc43/attachment.html>


More information about the Openstack mailing list