Bug 1544561

Summary: Neutron ERROR DBDuplicateEntry ipallocations
Product: Red Hat OpenStack Reporter: Ihar Hrachyshka <ihrachys>
Component: openstack-neutronAssignee: Ihar Hrachyshka <ihrachys>
Status: CLOSED ERRATA QA Contact: Toni Freger <tfreger>
Severity: medium Docs Contact:
Priority: medium    
Version: 9.0 (Mitaka)CC: amuller, ccollett, chrisw, ihrachys, jlibosva, jraju, mbayer, mmethot, nyechiel, ragiman, srevivo, tfreger
Target Milestone: zstreamKeywords: Triaged, ZStream
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-7.2.0-34.el7ost Doc Type: Bug Fix
Doc Text:
Cause: Neutron API layer was not handling DBDuplicateErrors raised by IPAM code that could happen when multiple API consumers create ports in the same network and allocate addresses from the same pools. Consequence: Instead of retrying IP allocation when the error happens, Neutron API returned the error back to the API consumer, with error code 500. Fix: now whenever the error is raised from IPAM code, it is retried as needed. Result: no HTTP error code 500 returned, and all ports get correct unique IP allocations.
Story Points: ---
Clone Of: 1533592 Environment:
Last Closed: 2018-03-15 12:40:35 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: 1533592    
Bug Blocks:    

Comment 5 errata-xmlrpc 2018-03-15 12:40: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://access.redhat.com/errata/RHBA-2018:0534