Merge pull request #41 from alop/quotas

Quotas
This commit is contained in:
John Dewey 2013-03-01 15:47:37 -08:00
commit 5a10b120b5
2 changed files with 12 additions and 3 deletions

View File

@ -59,6 +59,15 @@ default["cinder"]["user"] = "cinder"
# Should equal total backend storage, default is 10TB
default["cinder"]["max_gigabytes"] = "10000"
# Storage availability zone
# Default is nova
default["cinder"]["storage_availability_zone"] = "nova"
# Quota definitions
default["cinder"]["quota_volumes"] = "10"
default["cinder"]["quota_gigabytes"] = "1000"
default["cinder"]["quota_driver"] = "cinder.quota.DbQuotaDriver"
# This user's password is stored in an encrypted databag
# and accessed with openstack-common cookbook library's
# user_password routine. You are expected to create

View File

@ -184,10 +184,10 @@ auth_strategy=keystone
######## defined in cinder.quota ########
# quota_volumes=10
quota_volumes=<%= node["cinder"]["quota_volumes"] %>
#### (IntOpt) number of volumes allowed per project
# quota_gigabytes=1000
quota_gigabytes=<%= node["cinder"]["quota_gigabytes"] %>
#### (IntOpt) number of volume gigabytes allowed per project
# reservation_expire=86400
@ -199,7 +199,7 @@ auth_strategy=keystone
# max_age=0
#### (IntOpt) number of seconds between subsequent usage refreshes
# quota_driver=cinder.quota.DbQuotaDriver
quota_driver=<%= node["cinder"]["quota_driver"] %>
#### (StrOpt) default driver to use for quota checks