Comment 13 for bug 1673243

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

Reviewed: https://review.openstack.org/460911
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=acb1dfb7632717abac41a61bc81100f2d62c0845
Submitter: Jenkins
Branch: stable/newton

commit acb1dfb7632717abac41a61bc81100f2d62c0845
Author: Kevin Benton <email address hidden>
Date: Wed Mar 15 12:42:33 2017 -0700

    Use correct retry mechanism in tags

    This replaces wrap_db_retry with
    neutron.db.api.retry_if_session_inactive() in the tags
    plugin.

    wrap_db_retry is missing a bunch of exception types we
    can encounter and are expected to retry in normal database
    operations in Neutron (e.g. staledataerror in the bug report).

    This patch doesn't include a unit test because there is already
    quite a bit of coverage ensuring the decorator handles these types
    of exceptions.

    Conflicts:
     neutron/services/tag/tag_plugin.py

    Closes-Bug: #1673243
    Change-Id: I65b10ee54301401cd4525152a82a604ac8744582
    (cherry picked from commit 44b6fcb4d26eaa5e28f147d903482f8fdd37d911)
    (cherry picked from commit 185d3728352a684c14d97c5100f664ed313f75be)