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

Bug 1813640

Summary: Instances on error: 'Failed to allocate networks(s)' as neutron fails to prioritize port create
Product: Red Hat OpenStack Reporter: Srinivas Atmakuri <satmakur>
Component: openstack-neutronAssignee: Brian Haley <bhaley>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: akatz, amuller, bcafarel, bhaley, camorris, chrisw, harsh.kotak, jamsmith, jmelvin, molasaga, scohen
Target Milestone: z12Keywords: Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-12.1.1-13.el7ost Doc Type: Bug Fix
Doc Text:
This update assigns higher priority to port create and update messages received by the neutron DHCP agent during processing to decrease 'Failed to allocate network' errors when booting instances.
Story Points: ---
Clone Of:
: 1820379 (view as bug list) Environment:
Last Closed: 2020-06-24 11:53:08 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: 1381612    

Description Srinivas Atmakuri 2020-03-15 04:11:20 UTC
Description of problem:
Seen a lot of instances on error related to 'Failed to allocate network(s)' problem which is related to networks with a large number of ports that are syncing with neutron server.

If a new DHCP port is getting created it's queued up and it takes more than 300 secs to be processed resulting on nova failing to attach the interface.

Version-Release number of selected component (if applicable):
Red Hat OpenStack Platform - 13 (RHOSP-13)

How reproducible:
The problem occurs under heavier load

Steps to Reproduce:
1. 
2.
3.

Actual results:
Instances fail.

Expected results:
Instances to not fail.

Additional info:
An upstream patch https://review.opendev.org/#/c/709824/ seem to address this issue.

Comment 2 Bernard Cafarelli 2020-03-16 14:41:47 UTC
Please note that linked review is still marked as in progress in master development - we will push to make progress on it, working on backport for queens/OSP13 will only be possible after that

Comment 29 Bernard Cafarelli 2020-05-11 08:08:22 UTC
*** Bug 1832349 has been marked as a duplicate of this bug. ***

Comment 31 Brian Haley 2020-06-15 19:53:51 UTC
Added doc text.

Comment 33 errata-xmlrpc 2020-06-24 11:53:08 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-2020:2724