Avoid synchronizing session when deleting networkdhcpagentbinding
Synchronizing session on delete leads to traces in neutron-server
logs when such binding is deleted concurrently.
Also, catch and ignore ObjectDeletedError during iterating over
bindings, that is possible since the code is not within a transaction.
Reviewed: https:/ /review. openstack. org/171588 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=29dd67ff754 eba3064549886c0 906a83500d1879
Committed: https:/
Submitter: Jenkins
Branch: master
commit 29dd67ff754eba3 064549886c0906a 83500d1879
Author: Eugene Nikanorov <email address hidden>
Date: Wed Apr 8 00:15:43 2015 +0400
Avoid synchronizing session when deleting networkdhcpagen tbinding
Synchronizing session on delete leads to traces in neutron-server
logs when such binding is deleted concurrently.
Also, catch and ignore ObjectDeletedError during iterating over
bindings, that is possible since the code is not within a transaction.
Change-Id: I7a2c9a8a59ce31 3c7d242230eeb5d a69986bfbd4
Closes-Bug: #1424593