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

Make sequential quota updates in cinder and manila

parent db6ae317
Pipeline #977149 passed with stages
in 5 minutes and 19 seconds
......@@ -80,29 +80,35 @@ workflows:
action: cinder.quotas_update 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'
on-success:
- update_volume_quota_io1
- update_volume_quota_cp1
- update_volume_quota_cpio1
- update_volume_quota_wig_cp1
- update_volume_quota_wig_cpio1
update_volume_quota_io1:
action: cinder.quotas_update 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'
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'
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'
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'
update_volume_quota_standard:
action: cinder.quotas_update tenant_id=<% $.id %> volumes_standard=10 gigabytes_standard=250 snapshots_standard='-1'
glance:
description: Initializes a project on the image service and sets default quotas
......@@ -123,14 +129,16 @@ workflows:
action: manila.quotas_update tenant_id=<% $.id %> shares=0 snapshots=0 gigabytes=0 snapshot_gigabytes=0
on-success:
- update_share_testing_quota
- update_share_production_quota
- update_share_hpc_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
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
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
......
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