Bug 1378123 - Allow retry on DB error for precommit [osp-9]
Summary: Allow retry on DB error for precommit [osp-9]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 9.0 (Mitaka)
Hardware: All
OS: Linux
high
urgent
Target Milestone: async
: 9.0 (Mitaka)
Assignee: Hynek Mlnarik
QA Contact: GenadiC
URL:
Whiteboard: hot
Depends On: 1377518
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-21 14:05 UTC by Hynek Mlnarik
Modified: 2019-12-16 06:51 UTC (History)
11 users (show)

Fixed In Version: openstack-neutron-8.1.2-6.el7ost
Doc Type: Bug Fix
Doc Text:
Due to the nature of concurrency, database precommit errors can occasionally occur. The precommit may issue database transactions, depending on the mechanism driver. Certain operations (for example, on subnets, routers) touch many other resources in a single database transaction (for example, IP allocation, ports). In addition, a background operation by the mechanism driver, (such as background sync, periodic resource monitoring) may touch those database tables in a different order. Consequently, a transaction may sometimes fail in the precommit phase. With this update, a retry is performed on the precommit failure. As a result, this can mitigate precommit issues.
Clone Of: 1377518
Environment:
Last Closed: 2016-12-21 16:48:35 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 361679 0 None MERGED Check for StaleData errors in retry decorator 2020-09-04 13:02:35 UTC
OpenStack gerrit 361681 0 None MERGED Support for MultipleExceptions in db_api decorators 2020-09-04 13:02:34 UTC
OpenStack gerrit 373031 0 None MERGED ml2: allow retry on retriabable db error by precommit 2020-09-04 13:02:35 UTC
OpenStack gerrit 373102 0 None MERGED Convert multiple exception types in the API 2020-09-04 13:02:40 UTC
Red Hat Product Errata RHBA-2016:2984 0 normal SHIPPED_LIVE openstack-neutron bug fix advisory 2016-12-21 21:35:36 UTC

Comment 4 GenadiC 2016-11-24 10:06:53 UTC
The code is indeed in the 9 version.
Is it enough to verify this, or should I use additional steps to try to reproduce the problem doesn't exist anymore

Comment 5 Hynek Mlnarik 2016-11-24 13:16:58 UTC
This is not question for me but rather for your lead. Toni?

Comment 6 GenadiC 2016-11-24 13:44:56 UTC
Verified that the code is in the 9 version - openstack-neutron-8.1.2-12.el7ost.noarch

Comment 8 errata-xmlrpc 2016-12-21 16:48:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2984.html


Note You need to log in before you can comment on or make changes to this bug.