Duplicate external_ip in NAT table lead to loss of N/S connectivity
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
New
|
High
|
Unassigned | ||
ovn (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
In a busy CI cloud Neutron appears to leave behind stale NAT records. When this happens a new instance may come around referencing the same external_ip, and the new instance will have connectivity issues.
An example showing this situation:
$ sudo ovn-nbctl list nat|grep -B5 -A5 10.245.165.87
_uuid : 97e89f15-
allowed_ext_ips : []
exempted_ext_ips : []
external_ids : {"neutron:
external_ip : "10.245.165.87"
external_mac : []
external_port_range : ""
logical_ip : "172.16.0.90"
logical_port : "85bf473a-
options : {}
--
_uuid : 2dc59d66-
allowed_ext_ips : []
exempted_ext_ips : []
external_ids : {"neutron:
external_ip : "10.245.165.87"
external_mac : []
external_port_range : ""
logical_ip : "10.5.0.26"
logical_port : "08adde8a-
options : {stateless="true"}
So the questions then become:
1) Are there anything to de done with the OVN data structure to prevent this from happening.
2) What can Neutron do to not leave these records behind and/or clean them up.
tags: | added: ovn |
Changed in neutron: | |
importance: | Undecided → High |