Removed uneccasary cpu meter dividing
This commit is contained in:
@@ -334,8 +334,6 @@ class WorkloadStabilization(base.WorkloadStabilizationBaseStrategy):
|
|||||||
else:
|
else:
|
||||||
if meter_name == 'host_ram_usage':
|
if meter_name == 'host_ram_usage':
|
||||||
avg_meter /= oslo_utils.units.Ki
|
avg_meter /= oslo_utils.units.Ki
|
||||||
if meter_name == 'host_cpu_usage':
|
|
||||||
avg_meter /= 100
|
|
||||||
LOG.debug('Load of %(metric)s for %(node)s is %(value)s',
|
LOG.debug('Load of %(metric)s for %(node)s is %(value)s',
|
||||||
{'metric': metric,
|
{'metric': metric,
|
||||||
'node': node_id,
|
'node': node_id,
|
||||||
|
|||||||
Reference in New Issue
Block a user