Support Volume Backup Quota

Registered by ling-yun

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

Status:
Complete
Approver:
John Griffith
Priority:
Low
Drafter:
ling-yun
Direction:
Approved
Assignee:
ling-yun
Definition:
Approved
Series goal:
Accepted for juno
Implementation:
Implemented
Milestone target:
milestone icon 2014.2
Started by
ling-yun
Completed by
ling-yun

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/s,n,z

Addressed by: https://review.openstack.org/105997
    Cinder Blueprints Support Volume Backup Quota

Gerrit topic: https://review.openstack.org/#q,topic:bp/support-volume-backup-quota,n,z

Addressed by: https://review.openstack.org/111460
    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

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.