vmpooler-provider-vsphere 3.2.0 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fffe96c8acdca139a57fe09f70b06baac16f7ffdd26cce31ebe93e749e039242
4
- data.tar.gz: 900a3ef190c298d0ac5eec7f6ea6c10b5fc5d9e71ce6396553e4b03f63f7c332
3
+ metadata.gz: 20c2a4a1b0dc357031f0b0267ec960c14cb459da7ce7acf0c21afe367d63e97c
4
+ data.tar.gz: a77f8880fdc9b0b3dcf27825beaa51bf9e35cf10ed455b8303a3bf51d581a5ce
5
5
  SHA512:
6
- metadata.gz: b09c4d95fd08cb91532d62692c1d3c667fe13a28fc452dc2547406a922e4a52974a10b79720149ec66bab853eda88f307ab2fc26c74ad924fd188ad951f0b040
7
- data.tar.gz: dd61822914b5f2b900179c92e32c1182a5262f009c9dfb943135ff1c4058c93fb0f4c304e0ceeaf1848b72cdd8410f99972a7181cf8597fd59d9d456f5de0166
6
+ metadata.gz: 03a9c20a95b03c1c1cb732b21e5ef3bc6250f9d92c323c8193f76f8a1cfc628a5b1da9daf1a046302c1d8b162e0d3d47a7fed60687676fad6df8235902eda828
7
+ data.tar.gz: e89be73a7264cf4729f156174a78f0f10d2354b275a87005c1cc5b1e84af99306e9f81afb4964e9c47da951c0158a34113221749d403f0a6ab36e967ade561d2
@@ -555,14 +555,15 @@ module Vmpooler
555
555
  true
556
556
  end
557
557
 
558
- def vm_ready?(pool_name, vm_name)
558
+ def vm_ready?(pool_name, vm_name, redis)
559
559
  begin
560
560
  domain = domain(pool_name)
561
561
  open_socket(vm_name, domain)
562
- rescue StandardError => _e
562
+ rescue StandardError => e
563
+ redis.hset("vmpooler__vm__#{vm_name}", 'open_socket_error', e.to_s)
563
564
  return false
564
565
  end
565
-
566
+ redis.hdel("vmpooler__vm__#{vm_name}", 'open_socket_error')
566
567
  true
567
568
  end
568
569
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VmpoolerProviderVsphere
4
- VERSION = '3.2.0'
4
+ VERSION = '3.3.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vmpooler-provider-vsphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-10 00:00:00.000000000 Z
11
+ date: 2023-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement