Commit 37efcf3
committed
Make sure OVN PG is present before adding a SG rule
It's possible to have a security group created on one
controller and then a security group rule created on a
different controller quickly enough that the second
controller does not yet see that security group in its
local cache of the OVN northbound database. Check if
the port group is present or not in the idl's local copy
of the database before creating the security group rule.
Closes-bug: #2090921
Change-Id: If6a60eb086b9bcdfd90e154879561ba569f45750
Signed-off-by: Brian Haley <haleyb.dev@gmail.com>
(cherry picked from commit be4fb73)1 parent 23ba73e commit 37efcf3
2 files changed
Lines changed: 19 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
299 | 308 | | |
300 | 309 | | |
301 | 310 | | |
302 | 311 | | |
303 | 312 | | |
304 | 313 | | |
305 | 314 | | |
306 | | - | |
307 | | - | |
| 315 | + | |
308 | 316 | | |
309 | 317 | | |
310 | 318 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4522 | 4522 | | |
4523 | 4523 | | |
4524 | 4524 | | |
| 4525 | + | |
| 4526 | + | |
| 4527 | + | |
| 4528 | + | |
| 4529 | + | |
| 4530 | + | |
| 4531 | + | |
| 4532 | + | |
| 4533 | + | |
4525 | 4534 | | |
4526 | 4535 | | |
4527 | 4536 | | |
| |||
0 commit comments