Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1426726

Summary: DB Deadlock error on VLAN creations ML2 vlan allocations
Product: Red Hat OpenStack Reporter: Ajay Kalambur <akalambu>
Component: openstack-neutronAssignee: Jakub Libosvar <jlibosva>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: high Docs Contact:
Priority: high    
Version: 10.0 (Newton)CC: amuller, chrisw, jdonohue, jlibosva, mnadeem, nyechiel, oblaut, pablo.iranzo, srevivo, wlehman
Target Milestone: z3Keywords: Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-9.2.0-6.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-28 15:31:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1321623, 1335596    

Description Ajay Kalambur 2017-02-24 17:00:49 UTC
Started hitting the following bug which has been upstreamed but the fix is not present in RHEL/OSP10/neutron
https://review.openstack.org/#/c/361534/


Please backport this to OSP10/Newton as we started hitting this frequently. You can reproduce it with 3 controllers and a larger vlan range

Comment 5 Eran Kuris 2017-04-18 08:24:21 UTC
Verified code exist: 
/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/type_vlan.py

ENV:
openstack overcloud deploy --debug --templates \
--libvirt-type kvm \
--ntp-server clock.redhat.com \
--control-scale 3 \
--control-flavor controller \--compute-scale 1 \
--compute-flavor compute \
--neutron-network-type vlan \
--neutron-disable-tunneling \
--neutron-bridge-mappings datacentre:br-ex,tenant:br-isolated \
--neutron-network-vlan-ranges tenant:1000:2000 \
-e /home/stack/virt/network/network-environment.yaml \

Version OSP-10 
$ rpm -qa |grep openstack-neutron-9.2
openstack-neutron-9.2.0-8.el7ost.noarch

Fixed

Comment 8 errata-xmlrpc 2017-06-28 15:31:11 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://access.redhat.com/errata/RHBA-2017:1594