Update git submodules
* Update networking-ovn from branch 'master' - Merge "Fix metadata agent proxy list updates race condition" - Fix metadata agent proxy list updates race condition When multiple instances are being spawned and/or teared down at the same time, multiple updates to the "neutron-metadata-proxy-networks" list may race each other resulting in some networks UUIDs to go missing in that process. One of the problems with these updates is that the external_ids column in the OVSDBs only supports string type values so, the "list" is an actual comma-separated string. In order to add or remove an item from from it the code in networking-ovn needs to transform it from and back to string and commit the whole thing to OVN database when saving it. When it races, commits may overwrite each other. In order to fix this problem this patch is adding a file lock on the method that manipulates this list and commit it to the database. It's important to note that the metadata agent only updates the Chassis entry which it's currently running on, therefore we do not need a distributed lock (the file lock, being local works). I was able to reproduce this problem fairly consistently by concurrently spawning 50 instances each time with BrowBeat (see bug ticket for more information). After this fix was applied I could attest that the problem was resolved. Change-Id: Idc7bae88ed6f3ec44541b38f559a0296d2159449 Closes-Bug: #1831224 Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
This commit is contained in:
parent
ad6f64228b
commit
ebc62242ba
|
@ -1 +1 @@
|
|||
Subproject commit 66d192012c46c417b48462fe9437c9f20f7599e7
|
||||
Subproject commit 4d1afe4c7b429dc7e1ace9d1bafcd6555b3d3abb
|
Loading…
Reference in New Issue