bosh_vsphere_cpi 1.2671.0 → 1.2681.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
  SHA1:
3
- metadata.gz: 61fe7694316b32f7754a050430807d0e494a8cd4
4
- data.tar.gz: 8f1613cd5d4c197e1349aa292fba39781caebb81
3
+ metadata.gz: 2bde657ed3ef649e9dc1ca96db740fae0f71f360
4
+ data.tar.gz: 7b30e604f728041839a475a92488be9ccfef16fa
5
5
  SHA512:
6
- metadata.gz: df097b72c016f06b3c49871603d15df7a383bf9f32ff522226d04cb91cd3c518ae1d0d0b6b23710685933d079d916f7dd17c3577fdcca0d44c65e859b13022b9
7
- data.tar.gz: af36fb7f81b6e45a65d7c97edbe1f47ad99c45a1badae540b15611ad4ab9bf808c5c04c79ba4f5e685774356b4a5728080d6d1fb0ab605134a2c47067290cf1a
6
+ metadata.gz: f8ee983b031a9d6091c9ffe52b5e8e7bfa72191e92ab4f365eead704268514dcb633a3a2579fa07b7db6abc821e62666e3f9f657e0e186c003ebc8107e488bd7
7
+ data.tar.gz: 6217f9a6ab7b838c14133cbdda36e183f5cf35c6e225cec503af074b3c1c73208c5da417b667e6a35b6d4721e9d1233c82ce011a3245d206d41e36e4d8422139
@@ -295,7 +295,7 @@ module VSphereCloud
295
295
  value = '' if value.nil? # value is required
296
296
  fields_manager.set_field(vm, name_to_key_id[name], value)
297
297
  end
298
- rescue SoapException => e
298
+ rescue SoapError => e
299
299
  if e.fault.kind_of?(Vim::Fault::NoPermission)
300
300
  @logger.warn("Can't set custom fields due to lack of " +
301
301
  "permission: #{e.message}")
@@ -315,7 +315,7 @@ module VSphereCloud
315
315
  begin
316
316
  vm.shutdown_guest
317
317
  rescue => e
318
- @logger.debug("Ignoring possible race condition when a VM has powered off by the time we ask it to shutdown: #{e.message}")
318
+ @logger.debug("Ignoring possible race condition when a VM has powered off by the time we ask it to shutdown: #{e.inspect}")
319
319
  end
320
320
 
321
321
  wait_until_off(vm, 60)
@@ -1,7 +1,7 @@
1
1
  module Bosh
2
2
  module Clouds
3
3
  class VSphere
4
- VERSION = '1.2671.0'
4
+ VERSION = '1.2681.0'
5
5
  end
6
6
  end
7
7
  end
@@ -36,9 +36,9 @@ module VimSdk
36
36
  elsif status == 200
37
37
  result = object
38
38
  elsif object.kind_of?(Vmodl::MethodFault)
39
- raise SoapException.new(object.msg, object)
39
+ raise SoapError.new(object.msg, object)
40
40
  else
41
- raise SoapException.new("Unknown SOAP fault", object)
41
+ raise SoapError.new("Unknown SOAP fault", object)
42
42
  end
43
43
  else
44
44
  raise Net::HTTPError.new("#{status}", nil)
@@ -74,7 +74,7 @@ module VimSdk
74
74
  fault = Vmodl::Fault::MethodNotFound.new
75
75
  fault.receiver = managed_object
76
76
  fault.method = info.name
77
- raise SoapException(fault)
77
+ raise SoapError(fault)
78
78
  end
79
79
 
80
80
  namespace_map = SOAP_NAMESPACE_MAP.dup
@@ -1,5 +1,5 @@
1
1
  module VimSdk
2
- class SoapException < Exception
2
+ class SoapError < StandardError
3
3
 
4
4
  attr_reader :fault
5
5
 
@@ -9,4 +9,4 @@ module VimSdk
9
9
  end
10
10
 
11
11
  end
12
- end
12
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bosh_vsphere_cpi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2671.0
4
+ version: 1.2681.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - VMware
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-31 00:00:00.000000000 Z
11
+ date: 2014-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bosh_common
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.2671.0
19
+ version: 1.2681.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.2671.0
26
+ version: 1.2681.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bosh_cpi
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.2671.0
33
+ version: 1.2681.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.2671.0
40
+ version: 1.2681.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: membrane
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -138,7 +138,7 @@ dependencies:
138
138
  version: 2.4.0
139
139
  description: |-
140
140
  BOSH VSphere CPI
141
- 03191d
141
+ c8f6a2
142
142
  email: support@cloudfoundry.com
143
143
  executables:
144
144
  - vsphere_cpi