Make server group quota unlimited for Octavia

When a user creates a HA load balancer in Octavia, Octavia creates
server groups as part of the load balancer resources. However because
the default quotas related to server group are very low and we have all
load balancer resources in the common service project, users can create
very limited number of HA load balancers by default.

This patch disables the quota limits of the server-group-members and
server-groups of the service project, so that HA load balancer creation
is not blocked by these quotas.

Closes-Bug: #1914018
Change-Id: I0048fec8c1e19bd20b1edcd23f2490456fe1cd12
Srinivas Atmakuri 2021-02-01 15:08:14 +05:30
parent 65eafe7cb6
commit 06470bc4d6
1 changed files with 4 additions and 1 deletions

View File

@ -2,4 +2,7 @@
- name: increase quotas for project used for amphora
shell: |
openstack quota set --cores -1 --ram -1 --ports -1 --instances -1 --secgroups -1 --secgroup-rules -1 {{ auth_project_name }}
openstack quota set --cores -1 --ram -1 --ports -1 --instances -1 \
--secgroups -1 --secgroup-rules -1 \
--server-group-members -1 --server-groups -1 \
{{ auth_project_name }}