From 06470bc4d64c9e832d06a2e54ae6a3363a720008 Mon Sep 17 00:00:00 2001 From: Srinivas Atmakuri Date: Mon, 1 Feb 2021 15:08:14 +0530 Subject: [PATCH] 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 --- .../roles/octavia_overcloud_config/tasks/quotas.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tripleo_ansible/roles/octavia_overcloud_config/tasks/quotas.yml b/tripleo_ansible/roles/octavia_overcloud_config/tasks/quotas.yml index 9a655a3a7..6cae41806 100644 --- a/tripleo_ansible/roles/octavia_overcloud_config/tasks/quotas.yml +++ b/tripleo_ansible/roles/octavia_overcloud_config/tasks/quotas.yml @@ -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 }}