Skip to content

Commit 2f32964

Browse files
committed
Prevent load balancer creation errors
Octavia load balancers are launched using the service project. With default quotas, load balancer creation can quickly fail: Quota exceeded for instances: Requested 1, but already used 10 of 10 instances (HTTP 403) Add a new example setting required service project quotas to unlimited to avoid these failures.
1 parent ebab9f7 commit 2f32964

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

examples/projects-octavia.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
###############################################################################
3+
# Configuration of OpenStack user environment for OpenStack.
4+
5+
# List of OpenStack projects. Format is as required by the stackhpc.os-projects
6+
# role.
7+
openstack_projects:
8+
- "{{ openstack_service_project }}"
9+
10+
# Definition of the openstack service project. Format is as required by the
11+
# stackhpc.os-projects role. Quotas are set to unlimited to avoid Octavia load
12+
# balancer creation failing on quota limits.
13+
openstack_service_project:
14+
name: service
15+
project_domain: default
16+
user_domain: default
17+
quotas: "{{ openstack_octavia_unlimited_quotas }}"
18+
19+
# Dict of quotas to set for service project when Octavia is used.
20+
openstack_octavia_unlimited_quotas:
21+
cores: -1
22+
fixed_ips: -1
23+
floatingip: -1
24+
injected_file_size: -1
25+
injected_files: -1
26+
instances: -1
27+
ram: -1
28+
security_group: -1
29+
security_group_rule: -1

0 commit comments

Comments
 (0)