Bug 1377518 - Allow retry on DB error for precommit
Summary: Allow retry on DB error for precommit
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 8.0 (Liberty)
Hardware: All
OS: Linux
high
urgent
Target Milestone: async
: 8.0 (Liberty)
Assignee: Hynek Mlnarik
QA Contact: Toni Freger
URL:
Whiteboard: hot
Depends On:
Blocks: 1194008 1378123
TreeView+ depends on / blocked
 
Reported: 2016-09-20 01:33 UTC by Ajay Kalambur
Modified: 2019-12-16 06:49 UTC (History)
9 users (show)

Fixed In Version: openstack-neutron-7.1.1-7.el7ost
Doc Type: Bug Fix
Doc Text:
Database precommit errors are sometimes inevitable due to the nature of concurrency. Precommit may issue database transactions depending on the mechanism driver, for example, certain operations on subnets and routers may interact with many other resources in a single database transaction (for example, IP allocation, ports). In addition, background operations for mechanism drivers (for example, background sync, monitoring resources periodically, among others) may touch those database tables with other requests. As a result of this behavior, transactions may sometimes fail during the precommit phase. With this update, the transaction will retry on failure, resulting in the mitigation of precommit issues.
Clone Of:
: 1378123 (view as bug list)
Environment:
Last Closed: 2016-10-11 15:12:10 UTC
Target Upstream Version:
Embargoed:


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:32 UTC
OpenStack gerrit 361681 0 None MERGED Support for MultipleExceptions in db_api decorators 2020-09-04 13:02:38 UTC
OpenStack gerrit 373031 0 None MERGED ml2: allow retry on retriabable db error by precommit 2020-09-04 13:02:39 UTC
OpenStack gerrit 373102 0 None MERGED Convert multiple exception types in the API 2020-09-04 13:02:32 UTC
Red Hat Product Errata RHBA-2016:2052 0 normal SHIPPED_LIVE openstack-neutron bug fix advisory 2016-10-11 19:11:23 UTC

Description Ajay Kalambur 2016-09-20 01:33:54 UTC
Description of problem:


On OSP8/Liberty we are missing a critical bug fix from upstream neutron which causes a problem for a lot of Cisco plugins and causes our precommit to fail intermittently 

https://github.com/openstack/neutron/commit/7e69891412e967a8509fe6877501114e148f7518

is the commit we need and there are a few bugs associated with that

Our customer hit this issue and a quick patch on OSP8 with new RPM is needed

Comment 5 Toni Freger 2016-10-06 11:37:05 UTC
All code exist within the release openstack-neutron-7.1.1-7.el7ost

Comment 7 errata-xmlrpc 2016-10-11 15:12:10 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-2052.html


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