]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Count Snapshots towards volume/gigabyte quotas.
authorJohn Griffith <john.griffith@solidfire.com>
Mon, 11 Mar 2013 15:21:56 +0000 (09:21 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Thu, 14 Mar 2013 17:19:54 +0000 (11:19 -0600)
commit4b52b1481e3cb6c358252826785228638b0f717d
treedffed5700f34b8c1d3f4bef81dc110eff352fdcc
parentb8885203c12e2a963c614183a832063bf5ffdc48
Count Snapshots towards volume/gigabyte quotas.

Cinder has quotas and limits for volume-count and Gigabytes used,
however we were only counting volumes against these quotas.

This change introduces a snapshot-count limit and also counts
snapshots against this Gigabytes quota allowed for a Tenant.

Fixed bug: 1137927

Change-Id: Ib9b00b84b05597de9b5725a7f5898fe10a20b9d9
cinder/exception.py
cinder/quota.py
cinder/tests/api/contrib/test_backups.py
cinder/tests/test_quota.py
cinder/volume/api.py
etc/cinder/cinder.conf.sample