Bug 2089348 - Timeout while performing creating/deleting actions on shared provider network with a large amount of subnets
Summary: Timeout while performing creating/deleting actions on shared provider network...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-networking-ovn
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z4
: 16.2 (Train on RHEL 8.4)
Assignee: Fernando Royo
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On:
Blocks: 2100090 2109413 2109418
TreeView+ depends on / blocked
 
Reported: 2022-05-23 13:31 UTC by Luca Davidde
Modified: 2022-12-07 19:23 UTC (History)
13 users (show)

Fixed In Version: python-networking-ovn-7.4.2-2.20220409154863.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2100090 2109413 2109418 (view as bug list)
Environment:
Last Closed: 2022-12-07 19:22:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 844959 0 None MERGED Optimize queries for port operations 2022-06-15 10:02:30 UTC
Red Hat Issue Tracker OSP-15345 0 None None None 2022-05-23 14:05:57 UTC
Red Hat Product Errata RHBA-2022:8794 0 None None None 2022-12-07 19:23:16 UTC

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


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