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.
Change-Id: I7a2c9a8a59ce313c7d242230eeb5da69986bfbd4
Closes-Bug: #1424593
(cherry picked from commit 29dd67ff754eba3064549886c0906a83500d1879)
Reviewed: https:/ /review. openstack. org/198816 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=c2f2281bc5c 1283f4ec424346c 44a46b4f0c0cae
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit c2f2281bc5c1283 f4ec424346c44a4 6b4f0c0cae
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 064549886c0906a 83500d1879)
Closes-Bug: #1424593
(cherry picked from commit 29dd67ff754eba3