VM on hostb cannot access dnsmasq on hosta to get ip with gre tunnel by OVSQuantumTunnelAgent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I found the br-tun has the flows set:
[root@robinlinux ~]# ovs-ofctl show br-tun
OFPT_FEATURES_REPLY (xid=0x1): ver:0x1, dpid:0000b2dea5
n_tables:255, n_buffers:256
features: capabilities:0xc7, actions:0xfff
1(patch-int): addr:aa:
config: 0
state: 0
2(gre-0): addr:76:
config: 0
state: 0
3(gre-1): addr:52:
config: 0
state: 0
LOCAL(br-tun): addr:b2:
config: PORT_DOWN
state: LINK_DOWN
OFPT_GET_
[root@robinlinux ~]# ovs-ofctl dump-flows br-tun
NXST_FLOW reply (xid=0x4):
cookie=0x0, duration=66.985s, table=0, n_packets=0, n_bytes=0, priority=
cookie=0x0, duration=69.593s, table=0, n_packets=2, n_bytes=652, priority=
cookie=0x0, duration=1884.901s, table=0, n_packets=449, n_bytes=145796, priority=1 actions=drop
It seems we have just flows for connection between br-int and br-tun, have no flows out/in for gre port. So all traffic on gre port are dropped by default rule 3#.
I can make it work by:
1. removing gre port's in_key and out_key options
2. changing default drop to normal rule
Thanks
What you show here seems correct. I would not make either of the changes you suggest, as they will break things.
It would be best if you could show me the "dump-flows' and "show" output for both "br-tun" and "br-int" on both hosts, and explain what two taps devices should be able to communicate, but can't.
Also, can you confirm that you are running the absolute latest from master? There was a recent commit that added db.commit() that can cause stale db data that results in wiring issues.
Also posting logs from the agents can be helpful.