Avoid IPAM driver reusing a session that has been rolled back
With the in-tree pluggable IPAM driver, IPAM rollback tries to use the
DB session after it has been rolled back due to an exception. This
driver doesn't need roll back, so fix this by adding a method to the
driver signalling that rollback shouldn't be attempted.
Reviewed: https:/ /review. openstack. org/348956 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=67984850228 f6f26a72504b9f4 64a5fbcaac59e6
Committed: https:/
Submitter: Jenkins
Branch: master
commit 67984850228f6f2 6a72504b9f464a5 fbcaac59e6
Author: Carl Baldwin <email address hidden>
Date: Fri Jul 29 10:10:48 2016 -0600
Avoid IPAM driver reusing a session that has been rolled back
With the in-tree pluggable IPAM driver, IPAM rollback tries to use the
DB session after it has been rolled back due to an exception. This
driver doesn't need roll back, so fix this by adding a method to the
driver signalling that rollback shouldn't be attempted.
Change-Id: Ic254789e58a8a5 1cd1aa943cb71de 12410f4c0a7
Closes-Bug: #1603162
Related-Bug: #1516156