mirror of
https://github.com/puppetlabs/vmpooler-provider-ec2.git
synced 2026-01-26 10:28:41 -05:00
log vm_ready? error from provider whn vmpooler cannot tcp to port 22
This commit is contained in:
parent
28c5331e38
commit
b178aba883
1 changed files with 2 additions and 1 deletions
|
|
@ -395,7 +395,8 @@ module Vmpooler
|
|||
vm_name = vm_ip unless vm_ip.nil?
|
||||
end
|
||||
open_socket(vm_name, domain_set)
|
||||
rescue StandardError => _e
|
||||
rescue StandardError => e
|
||||
@logger.log('s', "[!] [#{pool_name}] '#{vm_name}' instance cannot be reached by vmpooler on tcp port 22; #{e}")
|
||||
return false
|
||||
end
|
||||
true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue