[OVN] Left-over namespaces left in the environment by ovn-metadata-agent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
After running performance tests (with browbeat [0]) in a lab it was noticed that the ovn-metadata-agent is leaving some namespaces left in the environment:
$ ip netns
ovnmeta-
ovnmeta-
ovnmeta-
ovnmeta-
...
Things are cleaned up upon restarting the ovn-metadata-agent service/container:
2019-06-07 12:23:09.065 1047753 INFO networking_
2019-06-07 12:23:10.136 1047753 INFO networking_
2019-06-07 12:23:11.206 1047753 INFO networking_
2019-06-07 12:23:12.292 1047753 INFO networking_
...
Changed in networking-ovn: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
importance: | Medium → High |
Likely because we're just monitoring the UPDATE of Port_Binding table [0] and a port may be deleted before it transitions to up so we should react to deletion of rows.
[0] https:/ /github. com/openstack/ networking- ovn/blob/ 6.0.0.0rc1/ networking_ ovn/agent/ metadata/ agent.py# L75