diff --git a/playbooks/octavia-files.yaml b/playbooks/octavia-files.yaml index a1112858d..3f8096c26 100644 --- a/playbooks/octavia-files.yaml +++ b/playbooks/octavia-files.yaml @@ -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" diff --git a/playbooks/roles/octavia-overcloud-config/tasks/main.yml b/playbooks/roles/octavia-overcloud-config/tasks/main.yml index 568337764..cafc7c32c 100644 --- a/playbooks/roles/octavia-overcloud-config/tasks/main.yml +++ b/playbooks/roles/octavia-overcloud-config/tasks/main.yml @@ -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 diff --git a/playbooks/roles/octavia-overcloud-config/tasks/quotas.yml b/playbooks/roles/octavia-overcloud-config/tasks/quotas.yml new file mode 100644 index 000000000..caa513022 --- /dev/null +++ b/playbooks/roles/octavia-overcloud-config/tasks/quotas.yml @@ -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 }} diff --git a/workbooks/octavia_post.yaml b/workbooks/octavia_post.yaml index f0f141dee..56a6d2ccb 100644 --- a/workbooks/octavia_post.yaml +++ b/workbooks/octavia_post.yaml @@ -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 %>