Bug 2089348

Summary: Timeout while performing creating/deleting actions on shared provider network with a large amount of subnets
Product: Red Hat OpenStack Reporter: Luca Davidde <ldavidde>
Component: python-networking-ovnAssignee: Fernando Royo <froyo>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.2 (Train)CC: apevec, chrisw, ekuris, froyo, gconsalv, jschluet, jveiraca, lhh, ltamagno, majopela, mtomaska, riramos, scohen
Target Milestone: z4Keywords: Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-networking-ovn-7.4.2-2.20220409154863.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2100090 2109413 2109418 (view as bug list) Environment:
Last Closed: 2022-12-07 19:22:28 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: 2100090, 2109413, 2109418    

Description Luca Davidde 2022-05-23 13:31:34 UTC
Description of problem:
Customer is facing timeout hits while creating subnets in a network with a large amount of subnets already created.

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

How reproducible:
everytime

Steps to Reproduce:
1. Create a shared provider network on a VLAN
2. Create a large subnet pool (e.g. /15) 
3. Create subnets from the subnet pool in a loop and capture the time it takes to create as the total count increases

Actual results:
Every subnet takes more time than the previous to be created

Expected results:
subnet creation takes the correct amount of time without hitting the haproxy timeout.

Additional info:
For step 3, when there are a few subnets it should create/delete quite quickly (less than 10s). However they have seen that it can take around 2-3 minutes to create/delete a subnet on this network when we have ~1100 subnets, which exceeds the default HA proxy timeout of 2m. Currently they have a 5m timeout, but since they need to create ~4000 subnets on this network they will probably have to increase this timeout even further.

Comment 35 errata-xmlrpc 2022-12-07 19:22:28 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 (Release of components for Red Hat OpenStack Platform 16.2.4), 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-2022:8794