Commit eeea91b4 authored by Jose Castro Leon's avatar Jose Castro Leon

Send region in every initialization workflow

parent 42f26323
Pipeline #1073304 passed with stage
in 2 minutes and 41 seconds
......@@ -34,10 +34,12 @@ workflows:
type: direct
input:
- id
- region
tasks:
update_compute_quota:
action: nova.quotas_update
input:
action_region: <% $.region %>
tenant_id: <% $.id %>
cores: 10
ram: 20480
......@@ -48,6 +50,7 @@ workflows:
type: direct
input:
- id
- region
tasks:
empty_task:
action: std.noop
......@@ -57,6 +60,7 @@ workflows:
type: direct
input:
- id
- region
tasks:
empty_task:
action: std.noop
......@@ -66,6 +70,7 @@ workflows:
type: direct
input:
- id
- region
tasks:
empty_task:
action: std.noop
......@@ -75,46 +80,92 @@ workflows:
type: direct
input:
- id
- region
tasks:
update_volume_quota:
action: cinder.quotas_update tenant_id=<% $.id %> volumes=10 gigabytes=250 snapshots=20 backups=0 backup_gigabytes=0
action: cinder.quotas_update
input:
action_region: <% $.region %>
tenant_id: <% $.id %>
volumes: 10
gigabytes: 250
snapshots: 20
backups: 0
backup_gigabytes: 0
on-success:
- update_volume_quota_standard
update_volume_quota_standard:
action: cinder.quotas_update tenant_id=<% $.id %> volumes_standard=10 gigabytes_standard=250 snapshots_standard='-1'
action: cinder.quotas_update
input:
action_region: <% $.region %>
tenant_id: <% $.id %>
volumes_standard: 10
gigabytes_standard: 250
snapshots_standard: '-1'
on-success:
- update_volume_quota_io1
update_volume_quota_io1:
action: cinder.quotas_update tenant_id=<% $.id %> volumes_io1=0 gigabytes_io1=0 snapshots_io1='-1'
action: cinder.quotas_update
input:
action_region: <% $.region %>
tenant_id: <% $.id %>
volumes_io1: 0
gigabytes_io1: 0
snapshots_io1: '-1'
on-success:
- update_volume_quota_cp1
update_volume_quota_cp1:
action: cinder.quotas_update tenant_id=<% $.id %> volumes_cp1=0 gigabytes_cp1=0 snapshots_cp1='-1'
action: cinder.quotas_update
input:
action_region: <% $.region %>
tenant_id: <% $.id %>
volumes_cp1: 0
gigabytes_cp1: 0
snapshots_cp1: '-1'
on-success:
- update_volume_quota_cpio1
update_volume_quota_cpio1:
action: cinder.quotas_update tenant_id=<% $.id %> volumes_cpio1=0 gigabytes_cpio1=0 snapshots_cpio1='-1'
action: cinder.quotas_update
input:
action_region: <% $.region %>
tenant_id: <% $.id %>
volumes_cpio1: 0
gigabytes_cpio1: 0
snapshots_cpio1: '-1'
on-success:
- update_volume_quota_wig_cp1
update_volume_quota_wig_cp1:
action: cinder.quotas_update tenant_id=<% $.id %> volumes_wig-cp1=0 gigabytes_wig-cp1=0 snapshots_wig-cp1='-1'
action: cinder.quotas_update
input:
action_region: <% $.region %>
tenant_id: <% $.id %>
volumes_wig-cp1: 0
gigabytes_wig-cp1: 0
snapshots_wig-cp1: '-1'
on-success:
- update_volume_quota_wig_cpio1
update_volume_quota_wig_cpio1:
action: cinder.quotas_update tenant_id=<% $.id %> volumes_wig-cpio1=0 gigabytes_wig-cpio1=0 snapshots_wig-cpio1='-1'
action: cinder.quotas_update
input:
action_region: <% $.region %>
tenant_id: <% $.id %>
volumes_wig-cpio1: 0
gigabytes_wig-cpio1: 0
snapshots_wig-cpio1: '-1'
glance:
description: Initializes a project on the image service and sets default quotas
type: direct
input:
- id
- region
tasks:
empty_task:
action: std.noop
......@@ -124,30 +175,63 @@ workflows:
type: direct
input:
- id
- region
tasks:
update_share_global_quota:
action: manila.quotas_update tenant_id=<% $.id %> shares=0 snapshots=0 gigabytes=0 snapshot_gigabytes=0
input:
action_region: <% $.region %>
tenant_id: <% $.id %>
shares: 0
snapshots: 0
gigabytes: 0
snapshot_gigabytes: 0
on-success:
- update_share_testing_quota
update_share_testing_quota:
action: manila.quotas_update tenant_id=<% $.id %> share_type='feee95c5-9b20-4bd4-bc15-9269f012e399' shares=0 snapshots=0 gigabytes=0 snapshot_gigabytes=0
action: manila.quotas_update
input:
action_region: <% $.region %>
tenant_id: <% $.id %>
share_type: 'feee95c5-9b20-4bd4-bc15-9269f012e399'
shares: 0
snapshots: 0
gigabytes: 0
snapshot_gigabytes: 0
on-success:
- update_share_production_quota
update_share_production_quota:
action: manila.quotas_update tenant_id=<% $.id %> share_type='ec0cae55-27ee-4105-a5ef-6103eb92506c' shares=0 snapshots=0 gigabytes=0 snapshot_gigabytes=0
action: manila.quotas_update
input:
action_region: <% $.region %>
tenant_id: <% $.id %>
share_type: 'ec0cae55-27ee-4105-a5ef-6103eb92506c'
shares: 0
snapshots: 0
gigabytes: 0
snapshot_gigabytes: 0
on-success:
- update_share_hpc_quota
update_share_hpc_quota:
action: manila.quotas_update tenant_id=<% $.id %> share_type='95b905bd-69f4-4496-a1ca-890c61a45590' shares=0 snapshots=0 gigabytes=0 snapshot_gigabytes=0
action: manila.quotas_update
input:
action_region: <% $.region %>
tenant_id: <% $.id %>
share_type: '95b905bd-69f4-4496-a1ca-890c61a45590'
shares: 0
snapshots: 0
gigabytes: 0
snapshot_gigabytes: 0
heat:
description: Initializes a project on the orchestration service and sets default quotas
type: direct
input:
- id
- region
tasks:
empty_task:
action: std.noop
......@@ -157,15 +241,67 @@ workflows:
type: direct
input:
- id
- region
tasks:
empty_task:
action: std.noop
neutron:
description: Initializes a project on the network service and sets default quotas
description: Initializes a project on the network service and sets default quotas on default region
type: direct
input:
- id
- region
tasks:
empty_task:
action: std.noop
neutron_point8:
description: Initializes a project on the network service and sets default quotas on point8 region
type: direct
input:
- id
- region
tasks:
empty_task:
action: std.noop
neutron_batch:
description: Initializes a project on the network service and sets default quotas on batch region
type: direct
input:
- id
- region
tasks:
empty_task:
action: std.noop
neutron_sdn1:
description: Initializes a project on the network service and sets default quotas on sdn1 region
type: direct
input:
- id
- region
tasks:
empty_task:
action: std.noop
magnum:
description: Initializes a project on the container infrastructure service and sets default quotas
type: direct
input:
- id
- region
tasks:
empty_task:
action: std.noop
mistral:
description: Initializes a project on the workflow service and sets default quotas
type: direct
input:
- id
- region
tasks:
empty_task:
action: std.noop
......@@ -257,22 +393,3 @@ workflows:
enabled: true
rgw_access: <% $.access_key %>
rgw_secret: <% $.secret_key %>
magnum:
description: Initializes a project on the container infrastructure service and sets default quotas
type: direct
input:
- id
tasks:
empty_task:
action: std.noop
mistral:
description: Initializes a project on the workflow service and sets default quotas
type: direct
input:
- id
tasks:
empty_task:
action: std.noop
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment