add/remove router interface uses multiple OVSDB transactions
Bug #1756388 reported by
Lucas Alvares Gomes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-ovn |
Fix Released
|
Medium
|
Lucas Alvares Gomes |
Bug Description
When adding a router port in the L3 plugin we are using 2 separated OVSDB transaction one to create the lrouter port [0] or updated it [1] and another one for the NAT rules [2].
This can be problematic because if something fails in between these two operations the database can be in an inconsistent state.
The method remove_
We should refactor the code to combine these database changes into one transaction to avoid leaving the database in an inconsistent state.
Changed in networking-ovn: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Lucas Alvares Gomes (lucasagomes) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/553853
Review: https:/