Update firewall policy interface timeout when it's associated with a large number of rules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
In Progress
|
High
|
dongdong |
Bug Description
* High level description: When the firewall policy is associated with thousands of rules, the update firewall policy(
* Pre-conditions: The firewall policy is associated with a large number of rules.
* Step-by-step reproduction steps:
When the firewall policy is associated with thousands of rules, the update firewall policy(
I added logs to the update firewall policy interface and eventually found that it took 429 seconds to call the _delete_
log detail:"2024-09-11 16:27:14.749 132 INFO neutron_
2024-09-11 16:34:23.942 132 INFO neutron_
"
Further logging revealed that _delete_
I performed a direct join query from the database, which is extremely fast and negligible. This might indicate a performance issue with SQLAlchemy, but there might also be room for performance optimization in _delete_
* Version:
** OpenStack version: Zed
** Linux Kernel: Linux node-1 5.4.119-19.0009.14
description: | updated |
description: | updated |
Related fix proposed to branch: master /review. opendev. org/c/openstack /neutron- fwaas/+ /928979
Review: https:/