Support Volume Backup Quota
Since quota take volumes, snapshots and gigabytes into account, it also needs to take backup into account.
1. Backup create API is not admin interface, users of projects could create any number of backups.
2. If some evil users create many more big backups to exhaust the free space of backup storage-backend, it would cause cinder-backup in the state of rejecting service.
Based on these two points, I think it is necessary to support volume backup quota.
Blueprint information
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Cinder Blueprints Support Volume Backup Quota
Gerrit topic: https:/
Addressed by: https:/
Support Volume Backup Quota
Details change as follows:
Since backup volume operation and volume/snapshot always use different storage back-end and backup doesn't need snapshot,
I have add an config item backup_gigabytes to control project's backup capacity instead of directly using gigabytes and
remove no_backup_quota config item.
Volume backup does not have a dependency relationship with volume_type, so remove the backup_volume_type quota item.
Test result:
​Pass Jenkins​ Test and wait other CIs' result.
---- ling-yun 2014-09-02