Comment 16 for bug 1528031

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

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

commit 6854a9a4fab1ac55a3c8f30a3f0e0d116692414d
Author: Kevin Benton <email address hidden>
Date: Fri Feb 5 23:07:12 2016 -0800

    Protect 'show' and 'index' with Retry decorator

    Commit 77de9653fd60a802b11f157972f7b3e81497e8a7 added a RetryRequest
    exception to the policy engine for when items disappeared during policy
    enforcement lookups. However, the API was not catching them for the
    show and list operations.

    This patch adds the decorators to the two methods to catch any
    retry exception that may be emitted from the policy engine or
    wherever else.

    CONFLICT: The custom neutron decorator had not been added yet in
              neutron.db.api so this uses oslo_db_api directly.

    Closes-Bug: #1528031
    Change-Id: If4aea5245cdbb2ea545e9a96d73386e3c21a3696
    (cherry-picked from 2a27361cf50259281924dbdaba3f06367ef327e7)