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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bde657ed3ef649e9dc1ca96db740fae0f71f360
|
4
|
+
data.tar.gz: 7b30e604f728041839a475a92488be9ccfef16fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8ee983b031a9d6091c9ffe52b5e8e7bfa72191e92ab4f365eead704268514dcb633a3a2579fa07b7db6abc821e62666e3f9f657e0e186c003ebc8107e488bd7
|
7
|
+
data.tar.gz: 6217f9a6ab7b838c14133cbdda36e183f5cf35c6e225cec503af074b3c1c73208c5da417b667e6a35b6d4721e9d1233c82ce011a3245d206d41e36e4d8422139
|
data/lib/cloud/vsphere/cloud.rb
CHANGED
@@ -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
|
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.
|
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)
|
@@ -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
|
39
|
+
raise SoapError.new(object.msg, object)
|
40
40
|
else
|
41
|
-
raise
|
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
|
77
|
+
raise SoapError(fault)
|
78
78
|
end
|
79
79
|
|
80
80
|
namespace_map = SOAP_NAMESPACE_MAP.dup
|
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.
|
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
|
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.
|
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.
|
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.
|
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.
|
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
|
-
|
141
|
+
c8f6a2
|
142
142
|
email: support@cloudfoundry.com
|
143
143
|
executables:
|
144
144
|
- vsphere_cpi
|