OVN should clear conntrack state on zone assignment
Bug #1538696 reported by
Russell Bryant
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-ovn |
Fix Released
|
High
|
Babu Shanmugam |
Bug Description
When ovn-controller assigns a conntrack zone ID to a port, it's possible for there to be existing entries in that zone that should be cleared. The zone could have been used for a previous port, for example.
The fix isn't completely obvious here for a couple of reasons:
1) We shouldn't assume that the linux kernel conntrack is what's in use. It's datapath specific.
2) If ovn-controller restarts, we actually really do want to make sure we choose the same zone ID, otherwise a restart of ovn-controller has a data path impact, where it really shouldn't.
Changed in networking-ovn: | |
assignee: | nobody → Ramu Ramamurthy (ramu-ramamurthy) |
Changed in networking-ovn: | |
importance: | Undecided → High |
To post a comment you must log in.
ovn/controller/ binding. c, function update_ct_zones() has this comment:
/* xxx We should erase any old entries for this
* xxx zone, but we need a generic interface to the conntrack
* xxx table. */