How to fix an error when the security group quotas are exhausted?¶
Within the RSserver module, to restrict user access to the TRS instance, when connecting to Standard type project, a security group is created, which includes rules that allow the user to provide access to the instance assigned to him (for more details, see here). If the quotas of security groups are exhausted, the following errors appear in RSserver logs:
Could not assign security group to server with id 57c0a8d5-2c29-4b2b-b0a5-c28b5b11de35. Quota exceeded for resources: ['security_group']
To eliminate such errors, you need to increase the quotas to an adequate level or set the value -1
, which means there are no limits. There are two ways to change the value of the current quotas:
In the GUI Dashboard in the tabs “Identity”-“Projects” and “TRS”-“Projects” using actions “Modify Quotas” and “Edit Project”.
Using the
neutron quota-update
command in the console. Example of a command that modifies security group quotas and security group rules:neutron quota-update --security-group "-1" --security-group-rule "-1" --tenant-id 55019a16591b4b018029a01e89a316fe