made max_gigabytes tunable
This commit is contained in:
		@@ -55,6 +55,10 @@ default["cinder"]["group"] = "cinder"
 | 
				
			|||||||
# operating system user that services will run under
 | 
					# operating system user that services will run under
 | 
				
			||||||
default["cinder"]["user"] = "cinder"
 | 
					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
 | 
					# This user's password is stored in an encrypted databag
 | 
				
			||||||
# and accessed with openstack-common cookbook library's
 | 
					# and accessed with openstack-common cookbook library's
 | 
				
			||||||
# user_password routine.  You are expected to create
 | 
					# user_password routine.  You are expected to create
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -502,7 +502,7 @@ rabbit_virtual_host=<%= @rabbit_virtual_host %>
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
######## defined in cinder.scheduler.simple ########
 | 
					######## defined in cinder.scheduler.simple ########
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# max_gigabytes=10000
 | 
					max_gigabytes=<%= node["cinder"]["max_gigabytes"] %>
 | 
				
			||||||
#### (IntOpt) maximum number of volume gigabytes to allow per host
 | 
					#### (IntOpt) maximum number of volume gigabytes to allow per host
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user