[Openstack] dhcp request can't reach br-int of network node

Li, Chen chen.li at intel.com
Wed Feb 12 05:04:10 UTC 2014


I will check openvswitch open-flow tables:

ovs-ofctl  show br-int
......
1(int-br-eth4): addr:5a:cb:04:ab:33:90
     config:     0
     state:      0
     current:    10GB-FD COPPER
     speed: 10000 Mbps now, 0 Mbps max
2(tap130bc000-fb): addr:36:86:30:f5:bc:da
     config:     0
     state:      0
     current:    10GB-FD COPPER
     speed: 10000 Mbps now, 0 Mbps max
......

ovs-ofctl dump-flows br-int
NXST_FLOW reply (xid=0x4):
cookie=0x0, duration=432224.342s, table=0, n_packets=24419311, n_bytes=1619005477, idle_age=204, hard_age=65534, priority=3,in_port=1,dl_vlan=2999 actions=mod_vlan_vid:1,NORMAL
cookie=0x0, duration=432235.912s, table=0, n_packets=445090, n_bytes=117218014, idle_age=8, hard_age=65534, priority=2,in_port=1 actions=drop
cookie=0x0, duration=432236.951s, table=0, n_packets=21963102, n_bytes=1207410551474, idle_age=65534, hard_age=65534, priority=1 actions=NORMAL

Thanks.
-chen

From: Vikash Kumar [mailto:vikash.kumar at oneconvergence.com]
Sent: Wednesday, February 12, 2014 12:41 PM
To: Chris Baker
Cc: openstack
Subject: Re: [Openstack] dhcp request can't reach br-int of network node

U can try few things quickly.
a) Connectivity between ur compute node and n/w node. Check the interfaces.
b) Check the route entry.

Ur compute node can ping to n/w node. U can also chk the vlan tag settings on ovs bridge.

On Fri, Feb 7, 2014 at 10:11 PM, Chris Baker <openstack2014 at qq.com<mailto:openstack2014 at qq.com>> wrote:
Hi guys,

My havana installation has 3 nodes:
control node, runs keystone APIs and neutron server;
network node, runs l3, dhcp, metadata, ovs agents; with VLAN mode
compute node, runs nova compute and ovs agents;

repo from http://repos.fedorapeople.org/repos/openstack/openstack-havana<http://repos.fedorapeople.org/repos/openstack/openstack-havana/>, and the os gets updated well with latest kernel.


Currently my VM can't get dhcp ack from network node.
Based the topology picture for the package flow:
http://docs.openstack.org/admin-guide-cloud/content/figures/10/a/common/figures/under-the-hood-scenario-1-ovs-network.png

With the tcpdump result on both network and compute node, it says the dhcp request successfully leaves compute node, and it can reach the "int-br-eth1" of network node, but not the next step br "br-int", so the dnsmasq would not able to ack. I think this is the problem why I can't get dhcp ipaddr.

# uname -r
2.6.32-358.123.2.openstack.el6.x86_64

# ip netns  (should we say namespace works well?)
qdhcp-11f3adc1-6a2e-429b-9679-b565347e2f74
qdhcp-4aaa7c19-7864-4b17-aebc-d6aa354d4cd5
qdhcp-285e259e-e3ec-4149-81db-8e94e1713aa2
qdhcp-4044cdf0-717b-4628-9ce0-a9ff49533d8f
qrouter-76c9b884-5928-42f4-a016-afab1b72066b

Anyone can help where/which section I should check for the issue next? or let me know if other info is needed.
Thanks a lot.

Chris

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140212/0bd1fb3b/attachment.html>


More information about the Openstack mailing list