mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
test
This commit is contained in:
parent
35a497b159
commit
8d818fe105
1 changed files with 2 additions and 1 deletions
|
|
@ -210,8 +210,9 @@ module Vmpooler
|
|||
|
||||
# last boot time is displayed in API, and used by alarming script
|
||||
pipeline.hset('vmpooler__lastboot', pool, Time.now.to_s)
|
||||
pipeline.sadd("vmpooler__migrating__#{vm}", vm)
|
||||
end
|
||||
$logger.log('s', "[>] [#{pool}] '#{vm}' MIGRATING")
|
||||
provider.migrate_vm(pool, vm)
|
||||
|
||||
$metrics.timing("time_to_ready_state.#{pool}", finish)
|
||||
$logger.log('s', "[>] [#{pool}] '#{vm}' moved from 'pending' to 'ready' queue") unless request_id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue