[PYTHON] Security group rule upper limit

Event

When adding a lot of rules to the security group, the following error occurs.

Error message in /var/log/neutron/server.log

create failed (client error): Quota exceeded for resources: ['security_group_rule']

python-neutronclient error message

neutronclient.common.exceptions.OverQuotaClient: Quota exceeded for resources: ['security_group_rule']

Message when adding manually

"Failed".

solution

In neutron.conf

#Number of security groups allowed per tenant. A negative value means # unlimited. # quota_security_group = 10

# Number of security group rules allowed per tenant. A negative value means # unlimited. # quota_security_group_rule = 100

If you set these two values to -1, it will be solved! !! By the way, if there is a space before quota_ *, it will not work properly. Make sure q comes to the first character.

Finally, to reflect the settings #systemctl restart neutron-server

Make sure it is running #systemctl status neutron-server

Recommended Posts

Security group rule upper limit
About the upper limit of threads-max