Comment 14 for bug 1504465

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/kilo)

Reviewed: https://review.openstack.org/259516
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=ca63e55112f9a4fc2117aeadd8ac0c22438e5e41
Submitter: Jenkins
Branch: stable/kilo

commit ca63e55112f9a4fc2117aeadd8ac0c22438e5e41
Author: Brandon Logan <email address hidden>
Date: Tue Dec 8 18:24:28 2015 -0600

    Force service provider relationships to load

    A race condition was exposed in the LBaaS V2 db layer that was caused by a
    hack to get around this issue. The real issue is that since the
    ProviderResourceAssociation is inserted independently, any models that were
    created before this insert will not have their relationship with the
    ProviderResourceAssocation loaded. Using the session.expire_all method will
    force the session to retrieve all new data and load this relationship for any
    resource that uses this relationship.

    Change-Id: I940b541f4ef9c489126cd2d215b1d857f0624de0
    Closes-Bug: #1504465
    (cherry picked from commit f218929bc5126466b2a79b56d32e9cf042aa176d)