MaxMemoryExceededError uses max_processors value
See 3bb1595d1f/nova_dpm/virt/dpm/utils.py (L38-L44)
Especially the line: config_mem=CONF.dpm.max_processors,
That should be "max_memory".
Closes-Bug: #1687051
Change-Id: I3e631550b29647234404638e201f40f362311d89
Signed-off-by: Prabhat Ranjan <pranjank@in.ibm.com>
This commit is contained in:
parent
163ee6f3b7
commit
0c66a91884
|
@ -37,7 +37,7 @@ def validate_host_conf(cpc):
|
||||||
|
|
||||||
if (CONF.dpm.max_memory > cpc.get_property('storage-customer')):
|
if (CONF.dpm.max_memory > cpc.get_property('storage-customer')):
|
||||||
raise exceptions.MaxMemoryExceededError(
|
raise exceptions.MaxMemoryExceededError(
|
||||||
config_mem=CONF.dpm.max_processors,
|
config_mem=CONF.dpm.max_memory,
|
||||||
cpcsubset_name=CONF.host,
|
cpcsubset_name=CONF.host,
|
||||||
max_mem=cpc.get_property('storage-customer'),
|
max_mem=cpc.get_property('storage-customer'),
|
||||||
cpcid=CONF.dpm.cpc_object_id,
|
cpcid=CONF.dpm.cpc_object_id,
|
||||||
|
|
Loading…
Reference in New Issue