ipallocation instances live between retries
Bug #1556178 reported by
Kevin Benton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Kevin Benton |
Bug Description
The retry decorator doesn't clear the session between each retry. This is normally not an issue; however, if some called code holds onto a reference a reference of a DB object that will conflict with a newly created one, we will get errors like the following:
FlushError: New instance <IPAllocation at 0x7fd98001ce50> with identity key (<class 'neutron.
tags: | added: db |
Changed in neutron: | |
importance: | High → Low |
summary: |
- sqlalchemy weakrefs live between retries in unit tests + ipallocation instances live between retries in unit tests |
Changed in neutron: | |
milestone: | newton-1 → mitaka-rc1 |
Changed in neutron: | |
milestone: | mitaka-rc1 → newton-1 |
tags: | added: mitaka-rc-potential |
tags: | added: neutron-proactive-backport-potential |
tags: | removed: neutron-proactive-backport-potential |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/291795
Review: https:/