Commit 18f8a72
Don't print traceback if standard attr is missing on update
If northd is very busy, it may happen port is deleted when handling an
LSP down event causing standard attribute being gone when bumping ovn
revision number. This is because the port is set down in SB DB first and
then northd propagates that to NB DB, and then the event is emited.
This patch just makes sure the traceback is not printed in case this
happens.
Conflicts:
neutron/tests/unit/plugins/ml2/drivers/ovn/mech_driver/test_mech_driver.py
TrivialFix
Closes-bug: #2069442
Change-Id: I7d21e4adc27fab411346e0458c92191e69ce6b30
Signed-off-by: Jakub Libosvar <[email protected]>
(cherry picked from commit 8ab385f)1 parent f7e35b2 commit 18f8a72
File tree
2 files changed
+27
-5
lines changed- neutron
- plugins/ml2/drivers/ovn/mech_driver
- tests/unit/plugins/ml2/drivers/ovn/mech_driver
2 files changed
+27
-5
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
768 | 768 | | |
769 | 769 | | |
770 | 770 | | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
771 | 774 | | |
772 | 775 | | |
773 | 776 | | |
| |||
Lines changed: 24 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2247 | 2247 | | |
2248 | 2248 | | |
2249 | 2249 | | |
2250 | | - | |
2251 | | - | |
| 2250 | + | |
| 2251 | + | |
| 2252 | + | |
| 2253 | + | |
| 2254 | + | |
2252 | 2255 | | |
2253 | 2256 | | |
2254 | 2257 | | |
| |||
2266 | 2269 | | |
2267 | 2270 | | |
2268 | 2271 | | |
| 2272 | + | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
2269 | 2276 | | |
2270 | | - | |
2271 | | - | |
2272 | | - | |
| 2277 | + | |
2273 | 2278 | | |
2274 | 2279 | | |
2275 | 2280 | | |
| |||
2279 | 2284 | | |
2280 | 2285 | | |
2281 | 2286 | | |
| 2287 | + | |
| 2288 | + | |
| 2289 | + | |
| 2290 | + | |
| 2291 | + | |
| 2292 | + | |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
| 2298 | + | |
| 2299 | + | |
| 2300 | + | |
2282 | 2301 | | |
2283 | 2302 | | |
2284 | 2303 | | |
| |||
0 commit comments