Fixed a bug in execute_overload of the global manager

This commit is contained in:
Anton Beloglazov 2012-12-20 10:13:03 +11:00
parent 4f25f41d6b
commit a4146545a6

View File

@ -537,7 +537,7 @@ def execute_overload(config, state, host, vm_uuids):
for vm in vms_cpu.keys():
if not vm in vms_ram:
del vms_cpu[i]
del vms_cpu[vm]
time_step = int(config['data_collector_interval'])
migration_time = common.calculate_migration_time(