Something wrong with the flow tables after openvswitch initialized??
Hi list,
My environment is Ubuntu12.04.3 + Havana with three nodes:
server node: neutron-server
network node: neutron-
compute node: neutron-
I can create a VM and network sucessfully but the vm can't get ip.
compute node:
root@havana-cn:~# ovs-vsctl show
d4599681-
Bridge "br1"
Port "br1"
Bridge br-int
Port "tap45b4b1af-27"
tag: 1
Port patch-tun
Port br-int
Bridge br-tun
Port br-tun
Port patch-int
Port "gre-1"
ovs_version: "1.10.2"
root@havana-cn:~# ovs-ofctl show br-tun
OFPT_FEATURES_REPLY (xid=0x2): dpid:00006e57df
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE
1(patch-int): addr:aa:
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
2(gre-1): addr:52:
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
LOCAL(br-tun): addr:6e:
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
OFPT_GET_
network node:
root@havana-net:~# ovs-vsctl show
be6364ba-
Bridge br-int
Port "tap89dbfa13-8f"
tag: 1
Port patch-tun
Port br-int
Bridge br-tun
Port br-tun
Port "gre-2"
Port patch-int
ovs_version: "1.10.2"
root@havana-net:~# ovs-ofctl show br-tun
OFPT_FEATURES_REPLY (xid=0x2): dpid:0000568a33
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE
1(patch-int): addr:9a:
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
2(gre-2): addr:32:
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
LOCAL(br-tun): addr:56:
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
OFPT_GET_
When i run udhcpc, i can't get the data packages from network node. and can't even get data packages from the br-tun in compute node.(tcpdump -i br-tun)
Here is the dump-flows in compute node.
root@havana-cn:~# ovs-ofctl dump-flows br-tun
NXST_FLOW reply (xid=0x4):
cookie=0x0, duration=44.008s, table=0, n_packets=0, n_bytes=0, idle_age=44, priority=
cookie=0x0, duration=43.217s, table=0, n_packets=0, n_bytes=0, idle_age=43, priority=
cookie=0x0, duration=43.961s, table=0, n_packets=5, n_bytes=378, idle_age=34, priority=0 actions=drop
cookie=0x0, duration=43.876s, table=1, n_packets=0, n_bytes=0, idle_age=43, priority=
cookie=0x0, duration=43.922s, table=1, n_packets=0, n_bytes=0, idle_age=43, priority=
cookie=0x0, duration=43.837s, table=2, n_packets=0, n_bytes=0, idle_age=43, priority=0 actions=drop
cookie=0x0, duration=43.79s, table=3, n_packets=0, n_bytes=0, idle_age=43, priority=0 actions=drop
cookie=0x0, duration=43.743s, table=10, n_packets=0, n_bytes=0, idle_age=43, priority=1 actions=
cookie=0x0, duration=43.695s, table=20, n_packets=0, n_bytes=0, idle_age=43, priority=0 actions=
cookie=0x0, duration=43.648s, table=21, n_packets=0, n_bytes=0, idle_age=43, priority=0 actions=drop
When i change the flow to the following in network and compute node, the vm can the ip from dhcp agent.
ovs-ofctl dump-flows br-tun
cookie=0x0, duration=7435.355s, table=0, n_packets=14, n_bytes=3628, idle_age=7327, priority=0 actions=NORMAL
is there something wrong with the flow table??
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- neutron Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Shuquan Huang
- Solved:
- Last query:
- Last reply: