]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Expunge session contents between plugin requests
authorSalvatore Orlando <salv.orlando@gmail.com>
Wed, 15 Jan 2014 20:45:22 +0000 (12:45 -0800)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:12 +0000 (15:20 +0800)
commit4c6d4dc462a4b9e21ff769cde0981fe53b383ffc
treeec36cc168ee1b844ca9ffe2df78e62a6e2e8d990
parent4e4f0bfdfefb6c576f3e0971530d686ed5890d86
Expunge session contents between plugin requests

In the NVP plugin, metadata processing performs several plugin operations
with the same context (and db session). The first operation might leave
persisted objects in the session instance which then conflict with objects
created in the second operation.

Closes-Bug: #1266482

Change-Id: Ic9e2b952013610647aa222f1a8b6e33504b54b37
neutron/plugins/nicira/dhcp_meta/rpc.py