Fix port creation issue appeared with postgresql backend
IPAllocationPool has relation to IPAvailabilityRange which is setup to
load eagerly. Eager loading is implemented with left outer join which is
incompatible with with_lockmode('update') on postgresql.
The fix redefines eager loading with options(joinedload) making it use
inner join.
Reviewed: https:/ /review. openstack. org/43305 github. com/openstack/ neutron/ commit/ e43c5c1ea6441ad 7d36e25bd283a5a 580bf5cb09
Committed: http://
Submitter: Jenkins
Branch: master
commit e43c5c1ea6441ad 7d36e25bd283a5a 580bf5cb09
Author: Eugene Nikanorov <email address hidden>
Date: Thu Aug 22 19:08:34 2013 +0400
Fix port creation issue appeared with postgresql backend
IPAllocatio nPool has relation to IPAvailabilityRange which is setup to 'update' ) on postgresql.
load eagerly. Eager loading is implemented with left outer join which is
incompatible with with_lockmode(
The fix redefines eager loading with options(joinedload) making it use
inner join.
fixes bug 1215350
Change-Id: I148d37f2a1c2a3 40327d36c240eb8 173aee9219a