Bug 1938923

Summary: Router HAProxy config file template is slow to render due to repetitive regex compilations
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: RoutingAssignee: Andrew McDermott <amcdermo>
Status: CLOSED ERRATA QA Contact: Arvind iyengar <aiyengar>
Severity: high Docs Contact:
Priority: high    
Version: 3.11.0CC: aiyengar, aos-bugs, bperkins, hongli, mmasters
Target Milestone: ---   
Target Release: 4.5.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-28 14:23:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1938922    
Bug Blocks:    

Comment 2 Hongan Li 2021-04-06 05:46:57 UTC
verified with 4.5.0-0.nightly-2021-04-05-191932 and no regression, moving to verified.

router logs with more that 3k routes:
I0406 03:48:43.500628       1 router.go:425] template "msg"="writeConfig"  "duration"="482.545799ms"
I0406 03:48:48.524396       1 router.go:425] template "msg"="writeConfig"  "duration"="506.148406ms"
I0406 03:48:53.515454       1 router.go:425] template "msg"="writeConfig"  "duration"="497.081666ms"

Comment 5 errata-xmlrpc 2021-04-28 14:23:53 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 (OpenShift Container Platform 4.5.38 bug fix update), 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-2021:1300