made max_gigabytes tunable

This commit is contained in:
alop
2013-02-14 13:37:50 -08:00
parent 5db8a42e2b
commit 3c26676963
2 changed files with 5 additions and 1 deletions

View File

@@ -55,6 +55,10 @@ default["cinder"]["group"] = "cinder"
# operating system user that services will run under
default["cinder"]["user"] = "cinder"
# Maximum allocatable gigabytes
# Should equal total backend storage, default is 10TB
default["cinder"]["max_gigabytes"] = "10000"
# 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

@@ -502,7 +502,7 @@ rabbit_virtual_host=<%= @rabbit_virtual_host %>
######## defined in cinder.scheduler.simple ########
# max_gigabytes=10000
max_gigabytes=<%= node["cinder"]["max_gigabytes"] %>
#### (IntOpt) maximum number of volume gigabytes to allow per host