mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 18:08:42 -05:00
Thread thread thread
This commit is contained in:
parent
f78c8352d5
commit
d29552eaa6
1 changed files with 22 additions and 20 deletions
|
|
@ -209,6 +209,7 @@ loop do
|
|||
$redis.srem('vmware_host_pool__ready__'+pool['name'], vm)
|
||||
end
|
||||
|
||||
Thread.new {
|
||||
if (
|
||||
(! $vsphere_helper.find_vms(vm)[vm]) or
|
||||
($vsphere_helper.find_vms(vm)[vm].summary.guest.toolsRunningStatus != 'guestToolsRunning') or
|
||||
|
|
@ -234,6 +235,7 @@ loop do
|
|||
# Metrics
|
||||
$redis.lpush('vmware_host_pool_metrics__deploy_fail', '1')
|
||||
end
|
||||
}
|
||||
end
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue