Increase services project quotas when deploying Octavia

Octavia currently launches load balancer VMs in the services tenant
which has very low quotas by default. This patch increases the values
through the API for the services project to permit lots of load
balancers.

Closes Bug: #1769896

Change-Id: I6b87b147d301dea3251fe4509b04cd4b9b27ddba
This commit is contained in:
Brent Eagles 2018-05-10 13:59:47 -02:30 committed by Carlos Goncalves
parent c73e3d790b
commit 287f110d18
4 changed files with 7 additions and 0 deletions

View File

@ -35,6 +35,7 @@
ca_private_key_path: "{{ ca_private_key_path }}"
ca_passphrase: "{{ ca_passphrase }}"
client_cert_path: "{{ client_cert_path }}"
auth_project_name: "{{ auth_project_name }}"
environment:
OS_USERNAME: "{{ os_username }}"
OS_USER_DOMAIN_NAME: "Default"

View File

@ -1,5 +1,6 @@
---
# Previously was a stack in the overcloud
- include_tasks: network.yml
- include_tasks: quotas.yml
- include_tasks: certs_gen.yml
when: generate_certs

View File

@ -0,0 +1,4 @@
---
- name: increase quotas for project used for amphora
shell: |
openstack quota set --cores -1 --ram -1 --ports -1 --instances -1 --secgroups -1 {{ auth_project_name }}

View File

@ -142,6 +142,7 @@ workflows:
client_cert_path: <% $.client_cert_path %>
generate_certs: <% $.generate_certs %>
mgmt_port_dev: <% $.mgmt_port_dev %>
auth_project_name: <% $.auth_project_name %>
on-complete: purge_local_temp_dir
purge_local_temp_dir:
action: tripleo.files.remove_temp_dir path=<% $.undercloud_local_dir %>