From f922a1bf58d15319162f14d3f736564c7a8f4f27 Mon Sep 17 00:00:00 2001 From: anish-mudaraddi Date: Wed, 1 May 2024 15:46:49 +0100 Subject: [PATCH] BUG: increase default quota for external rules --- actions/workflows/project.create.external.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/actions/workflows/project.create.external.yaml b/actions/workflows/project.create.external.yaml index 10f2f5032..d939f72fd 100644 --- a/actions/workflows/project.create.external.yaml +++ b/actions/workflows/project.create.external.yaml @@ -46,6 +46,7 @@ tasks: do: - create_network - create_router + - set_default_quota - allocate_floating_ips - set_project_defaults - wait_for_default_security_group @@ -76,6 +77,18 @@ tasks: network_identifier="<% ctx().network_uuid %>" project_identifier=<% ctx().project_uuid %> + set_default_quota: + action: stackstorm_openstack.quota.set project=<% ctx().project_name %> security_group_rules=200 + next: + - when: <% succeeded() %> + do: + - create_security_group_rules + - create_tcp_rules + - create_udp_rules + - when: <% failed() %> + publish: stderr="Failed setting quota for project <% ctx().project_name %>, Error <% result() %>" + do: fail + allocate_floating_ips: action: stackstorm_openstack.floating.ip_addr.create cloud_account=<% ctx().cloud_account %>