ovn-org / ovn-heater

Mega script to deploy/configure/run OVN scale tests.
Apache License 2.0
12 stars 12 forks source link

ovn-tester: Fix exceptions while adding LBs after leadership transfer. #167

Closed igsilya closed 1 year ago

igsilya commented 1 year ago

Python IDL reconnects on leadership transfer before receiving reply for an in-progress transaction. But the transaction might, and likely will, actually succeed. So the LB may already exist after re-connection. Let ovsdbapp know about that, so it doesn't throw exceptions when this happens.

This doesn't solve all the possible issues with other types of resources, but LBs are the most common after ports that already have a proper handling in place.

Closes: https://github.com/ovn-org/ovn-heater/issues/146