Deleting a port on a system with 1K ports takes too long
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
In Progress
|
High
|
Rodolfo Alonso |
Bug Description
When attempting to delete a port on a system with 1K ports, it takes around 35 seconds to complete:
$ time openstack port delete port60_2
real 0m34.367s
user 0m3.497s
sys 0m0.187s
Log is *full* of the following messages when I issue the CLI:
neutron-
To be precise: 896 messages like this ^
$ sudo journalctl -u devstack@q-svc | grep "Attributes excluded by policy engine" | wc -l
33626
$ time openstack port delete port60_2
real 0m34.367s
user 0m3.497s
sys 0m0.187s
$ sudo journalctl -u devstack@q-svc | grep "Attributes excluded by policy engine" | wc -l
34522
I'm using networking-ovn as mechanism-driver but looks unrelated to the backend :?
Deleting the port from admin user doesn't cause those messages and the operation takes around 5 seconds instead of 35.