Skip to content

Commit

Permalink
BUG: increase default quota for external rules
Browse files Browse the repository at this point in the history
  • Loading branch information
anish-mudaraddi committed May 1, 2024
1 parent 70fffc1 commit f922a1b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions actions/workflows/project.create.external.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ tasks:
do:
- create_network
- create_router
- set_default_quota
- allocate_floating_ips
- set_project_defaults
- wait_for_default_security_group
Expand Down Expand Up @@ -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 %>
Expand Down

0 comments on commit f922a1b

Please sign in to comment.