bosh_openstack_cpi 1.2969.0 → 1.2972.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: 374520ba749531e7916aab64a87db63030216309
4
- data.tar.gz: 038e4951ed10a8118d656f7a10871008e2016d3d
3
+ metadata.gz: 91e241765d59fc6ad3b09a4892072d203c889c98
4
+ data.tar.gz: 3574ce7a19cb6f670e8e0bae59bf127821020991
5
5
  SHA512:
6
- metadata.gz: b7259583d7641cde868315367e42abb729d2663ef58c8e6270e649c55871c2f16412794fa83bf2c4ad7627be3d62cfcc9a0cd26e86da03ccd7683cd591c425f6
7
- data.tar.gz: 767e70960762463dd6746a2ccffb6851b5074a9b60323756960d38d203d3943dc38a2a57283313a35a2e8e8de4a7eb24a5514d92569ffd3d10b2d9a042099cb0
6
+ metadata.gz: c4fecfd1b4c5f84111c4971689075a254d4f38de1ec0943e90259f6e61ef82f8113b6a14eef01612489f78aa24b8c6a65c80772973386f26e8a9b472f4b30513
7
+ data.tar.gz: 921ddaaa1ad2ff354a839843fefcb50112db2165f9c95bcaaf614e2f66556c0273d6f84158fc341d3dddc62cf812a2341369587d3089330d2082b9b64f9beef8
@@ -547,13 +547,14 @@ module Bosh::OpenStackCloud
547
547
  # @raise [Bosh::Clouds::CloudError] if volume is not found
548
548
  def snapshot_disk(disk_id, metadata)
549
549
  with_thread_name("snapshot_disk(#{disk_id})") do
550
+ metadata = Hash[metadata.map{|key,value| [key.to_s, value] }]
550
551
  volume = with_openstack { @openstack.volumes.get(disk_id) }
551
552
  cloud_error("Volume `#{disk_id}' not found") unless volume
552
553
 
553
554
  devices = []
554
555
  volume.attachments.each { |attachment| devices << attachment['device'] unless attachment.empty? }
555
556
 
556
- description = [:deployment, :job, :index].collect { |key| metadata[key] }
557
+ description = ['deployment', 'job', 'index'].collect { |key| metadata[key] }
557
558
  description << devices.first.split('/').last unless devices.empty?
558
559
  snapshot_params = {
559
560
  :name => "snapshot-#{generate_unique_name}",
@@ -3,6 +3,6 @@
3
3
 
4
4
  module Bosh
5
5
  module OpenStackCloud
6
- VERSION = '1.2969.0'
6
+ VERSION = '1.2972.0'
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bosh_openstack_cpi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2969.0
4
+ version: 1.2972.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piston Cloud Computing / VMware
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-07 00:00:00.000000000 Z
11
+ date: 2015-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog
@@ -30,42 +30,42 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.2969.0
33
+ version: 1.2972.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.2969.0
40
+ version: 1.2972.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bosh_cpi
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.2969.0
47
+ version: 1.2972.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 1.2969.0
54
+ version: 1.2972.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bosh-registry
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 1.2969.0
61
+ version: 1.2972.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 1.2969.0
68
+ version: 1.2972.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: httpclient
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -166,7 +166,7 @@ dependencies:
166
166
  version: '0'
167
167
  description: |-
168
168
  BOSH OpenStack CPI
169
- a2411c
169
+ a6d1e9
170
170
  email: support@cloudfoundry.com
171
171
  executables:
172
172
  - bosh_openstack_console