Fix the log information argument mistake
Log information in _numa_fit_instance_cell has taken memory_usage as the argument to show the cpu usage.Need replace memory_usage to cpu_usage in the log expression. Change-Id: I30286855119a9c34d96dfb8d0505af3f908ec1ae
This commit is contained in:
@@ -1023,7 +1023,7 @@ def _numa_fit_instance_cell(host_cell, instance_cell, limit_cell=None,
|
||||
LOG.debug('Host cell has limitations on usable CPUs. There are '
|
||||
'not enough free CPUs to schedule this instance. '
|
||||
'Usage: %(usage)d, limit: %(limit)d',
|
||||
{'usage': memory_usage, 'limit': cpu_limit})
|
||||
{'usage': cpu_usage, 'limit': cpu_limit})
|
||||
return
|
||||
|
||||
pagesize = None
|
||||
|
||||
Reference in New Issue
Block a user