Change the percentage of var and temp to spare more for system

Cinder volume is going to be created on system partition if
no other block device is found. Tempest needs at least 5g for
volume tests, so we spare more for system partition. Also fixed
some typo in message template.

Change-Id: I490ff31ae5f6ba6ed1abce64a5237da92294b360
This commit is contained in:
zhaoxinyu 2014-03-28 18:23:16 +00:00
parent a9601ad07b
commit 3b4501758b

View File

@ -67,9 +67,9 @@ STORAGE_NETMASK = '255.255.255.0'
STORAGE_IP_GATEWAY = '172.16.100.1'
STORAGE_NIC = 'eth0'
STORAGE_PROMISC = 0
HOME_PERCENTAGE = 40
TMP_PERCENTAGE = 10
VAR_PERCENTAGE = 15
HOME_PERCENTAGE = 5
TMP_PERCENTAGE = 5
VAR_PERCENTAGE = 10
#ROLES_LIST = [['os-dashboard']]
PRESET_VALUES = {
@ -230,8 +230,8 @@ print 'set networking config to cluster %s status: %s, resp: %s' % (
status, resp = client.set_partition(
cluster_id,
home_percentage=HOME_PERCENTAGE,
tmp_partition_percentage=TMP_PERCENTAGE,
var_partition_percentage=VAR_PERCENTAGE)
tmp_percentage=TMP_PERCENTAGE,
var_percentage=VAR_PERCENTAGE)
print 'set partition config to cluster %s status: %s, resp: %s' % (
cluster_id, status, resp)