From 3b4501758b1b7726095eea4d0cf53d266be32957 Mon Sep 17 00:00:00 2001 From: zhaoxinyu Date: Fri, 28 Mar 2014 18:23:16 +0000 Subject: [PATCH] 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 --- compass/apiclient/example.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/compass/apiclient/example.py b/compass/apiclient/example.py index ff1bc117..e5f45bba 100755 --- a/compass/apiclient/example.py +++ b/compass/apiclient/example.py @@ -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)