mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
Ensure vm is removed from migrations
This commit is contained in:
parent
048ab4433a
commit
021633cd49
3 changed files with 4 additions and 13 deletions
|
|
@ -925,6 +925,7 @@ module Vmpooler
|
|||
finish = migrate_vm_and_record_timing(pool_name, vm_name, vm_hash, target_host_object, target_host_name)
|
||||
#logger.log('s', "Provider_hosts is: #{provider.provider_hosts}")
|
||||
logger.log('s', "[>] [#{pool_name}] '#{vm_name}' migrated from #{vm_hash['host_name']} to #{target_host_name} in #{finish} seconds")
|
||||
ensure
|
||||
$redis.srem('vmpooler__migration', vm_name)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue