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)
Reviewed: https:/ /review. openstack. org/276697 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=6854a9a4fab 1ac55a3c8f30a3f 0e0d116692414d
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit 6854a9a4fab1ac5 5a3c8f30a3f0e0d 116692414d
Author: Kevin Benton <email address hidden>
Date: Fri Feb 5 23:07:12 2016 -0800
Protect 'show' and 'index' with Retry decorator
Commit 77de9653fd60a80 2b11f157972f7b3 e81497e8a7 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 ea545e9a96d7338 6e3c21a3696 81924dbdaba3f06 367ef327e7)
Change-Id: If4aea5245cdbb2
(cherry-picked from 2a27361cf502592