clc-chef-metal-vsphere 0.3.17 → 0.3.18

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
  SHA1:
3
- metadata.gz: 3b0c4dd9dae64818686e099b41f1cb311f6c881f
4
- data.tar.gz: 7be6d68e6ef5a3621130d58b6226ecd3accd60d0
3
+ metadata.gz: 1af91c22e6628b4464932aa8e00c5bd8e98579d2
4
+ data.tar.gz: de6c8d8d4ba8b4598c47650f3d7efb1ec04492e9
5
5
  SHA512:
6
- metadata.gz: 22ede6ed4068081c171c9a1449434db54c3dfa07253e4c0fe76e1b2e280cdb79ef097be028ca10d090c2f01682fa42e297934d1c8c8cae51abb7e1a507e43aa9
7
- data.tar.gz: be3b6fb95e507a4f433d5a94c5c4fca0cd83eeb2c22dba97b8cb0d68762394e04f965051c74315319982414760b02a53f0e8fec3d2059b2f96f97fab02ac3bd4
6
+ metadata.gz: 420b870bd00a8b10e8b680ffa6a54f008f7fcd31e205e3d4d2dd9343010aae55d71bf83d6cc9cbbfc18ff678cabbe9e32d80009268896015e51d0e28d1281212
7
+ data.tar.gz: c174befdfccf2787129d72c4823ca0e8c07cd31ee87bc33042ed0215e3d43963f151602bc0c6ae827b7b61ac0c82ae85e7f6a6ebbc75303842998f889bac8266
@@ -1,3 +1,3 @@
1
1
  module ChefMetalVsphere
2
- VERSION = '0.3.17'
2
+ VERSION = '0.3.18'
3
3
  end
@@ -433,7 +433,12 @@ module ChefMetalVsphere
433
433
  end
434
434
 
435
435
  def wait_for_transport(action_handler, machine_spec, machine_options, vm)
436
- transport = transport_for(machine_spec, machine_options, vm)
436
+ begin
437
+ transport = transport_for(machine_spec, machine_options, vm)
438
+ rescue Exception => e
439
+ Chef::Log.warn "Unable to obtain transport: #{e}"
440
+ end
441
+
437
442
  if transport.nil? || !transport.available?
438
443
  if action_handler.should_perform_actions
439
444
  action_handler.report_progress "waiting for #{machine_spec.name} (#{vm.config.instanceUuid} on #{driver_url}) to be connectable (transport up and running) ..."
@@ -483,7 +488,7 @@ module ChefMetalVsphere
483
488
  def ip_for(bootstrap_options, vm)
484
489
  if has_static_ip(bootstrap_options)
485
490
  bootstrap_options[:customization_spec][:ipsettings][:ip]
486
- elsif vm.guest.respond_to?('ipaddress')
491
+ else
487
492
  vm.guest.ipaddress
488
493
  end
489
494
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clc-chef-metal-vsphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.17
4
+ version: 0.3.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - CenturyLink Cloud