bosh_aws_cpi 1.2579.0 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,8 @@ module Bosh::AwsCloud
7
7
  # a sane amount of retries on AWS (~25 minutes),
8
8
  # as things can take anywhere between a minute and forever
9
9
  DEFAULT_TRIES = 54
10
- MAX_SLEEP_EXPONENT = 5
10
+ MAX_SLEEP_TIME = 15
11
+ DEFAULT_WAIT_ATTEMPTS = 600 / MAX_SLEEP_TIME # 10 minutes
11
12
 
12
13
  def self.for_instance(args)
13
14
  raise ArgumentError, "args should be a Hash, but `#{args.class}' given" unless args.is_a?(Hash)
@@ -17,10 +18,17 @@ module Bosh::AwsCloud
17
18
  validate_states(valid_states, target_state)
18
19
 
19
20
  ignored_errors = [
20
- AWS::EC2::Errors::InvalidInstanceID::NotFound,
21
- AWS::Core::Resource::NotFound
21
+ Bosh::Retryable::ErrorMatcher.new(
22
+ AWS::Errors::ServerError,
23
+ /The service is unavailable. Please try again shortly./,
24
+ ),
22
25
  ]
23
26
 
27
+ if target_state == :running
28
+ ignored_errors << AWS::EC2::Errors::InvalidInstanceID::NotFound
29
+ ignored_errors << AWS::Core::Resource::NotFound
30
+ end
31
+
24
32
  new.for_resource(resource: instance, errors: ignored_errors, target_state: target_state) do |current_state|
25
33
  if target_state == :running && current_state == :terminated
26
34
  logger.error("instance #{instance.id} terminated while starting")
@@ -95,7 +103,7 @@ module Bosh::AwsCloud
95
103
  valid_states = [:completed]
96
104
  validate_states(valid_states, target_state)
97
105
 
98
- new.for_resource(resource: snapshot, target_state: target_state, tries: 18) do |current_state|
106
+ new.for_resource(resource: snapshot, target_state: target_state) do |current_state|
99
107
  current_state == target_state
100
108
  end
101
109
  end
@@ -130,12 +138,21 @@ module Bosh::AwsCloud
130
138
  end
131
139
  end
132
140
 
133
- def self.sleep_callback(description, tries)
141
+ def self.sleep_callback(description, options)
142
+ max_sleep_time = options.fetch(:max, MAX_SLEEP_TIME)
134
143
  lambda do |num_tries, error|
135
- sleep_time = 2**[num_tries, MAX_SLEEP_EXPONENT].min # Exp backoff: 1, 2, 4, 8 ... up to max 32
144
+ if options[:tries_before_max] && num_tries >= options[:tries_before_max]
145
+ time = max_sleep_time
146
+ else
147
+ if options[:exponential]
148
+ time = [options[:interval] ** num_tries, max_sleep_time].min
149
+ else
150
+ time = [1 + options[:interval] * num_tries, max_sleep_time].min
151
+ end
152
+ end
136
153
  Bosh::AwsCloud::ResourceWait.logger.debug("#{error.class}: `#{error.message}'") if error
137
- Bosh::AwsCloud::ResourceWait.logger.debug("#{description}, retrying in #{sleep_time} seconds (#{num_tries}/#{tries})")
138
- sleep_time
154
+ Bosh::AwsCloud::ResourceWait.logger.debug("#{description}, retrying in #{time} seconds (#{num_tries}/#{options[:total]})")
155
+ time
139
156
  end
140
157
  end
141
158
 
@@ -143,10 +160,6 @@ module Bosh::AwsCloud
143
160
  Bosh::Clouds::Config.logger
144
161
  end
145
162
 
146
- def self.task_checkpoint
147
- Bosh::Clouds::Config.task_checkpoint
148
- end
149
-
150
163
  def initialize
151
164
  @started_at = Time.now
152
165
  end
@@ -159,7 +172,10 @@ module Bosh::AwsCloud
159
172
  tries = args.fetch(:tries, DEFAULT_TRIES).to_i
160
173
  target_state = args.fetch(:target_state)
161
174
 
162
- sleep_cb = self.class.sleep_callback("Waiting for #{desc} to be #{target_state}", tries)
175
+ sleep_cb = self.class.sleep_callback(
176
+ "Waiting for #{desc} to be #{target_state}",
177
+ { interval: 2, total: tries, max: 32, exponential: true }
178
+ )
163
179
  errors << AWS::EC2::Errors::RequestLimitExceeded
164
180
  ensure_cb = Proc.new do |retries|
165
181
  cloud_error("Timed out waiting for #{desc} to be #{target_state}, took #{time_passed}s") if retries == tries
@@ -167,7 +183,6 @@ module Bosh::AwsCloud
167
183
 
168
184
  state = nil
169
185
  Bosh::Retryable.new(tries: tries, sleep: sleep_cb, on: errors, ensure: ensure_cb).retryer do
170
- Bosh::AwsCloud::ResourceWait.task_checkpoint
171
186
 
172
187
  state = resource.method(state_method).call
173
188
  if state == :error || state == :failed
@@ -0,0 +1,129 @@
1
+ require "common/common"
2
+ require "time"
3
+
4
+ module Bosh::AwsCloud
5
+ class SpotManager
6
+ TOTAL_WAIT_TIME_IN_SECONDS = 300
7
+ RETRY_COUNT = 10
8
+
9
+ def initialize(region)
10
+ @region = region
11
+ @logger = Bosh::Clouds::Config.logger
12
+ end
13
+
14
+ def create(instance_params, spot_bid_price)
15
+ @instance_params = instance_params
16
+ spot_request_spec = create_spot_request_spec(instance_params, spot_bid_price)
17
+ @logger.debug("Requesting spot instance with: #{spot_request_spec.inspect}")
18
+
19
+ begin
20
+ @spot_instance_requests = @region.client.request_spot_instances(spot_request_spec)
21
+ @logger.debug("Got spot instance requests: #{@spot_instance_requests.inspect}")
22
+ rescue => e
23
+ raise Bosh::Clouds::VMCreationFailed.new(false), e.inspect
24
+ end
25
+
26
+ wait_for_spot_instance
27
+ end
28
+
29
+ private
30
+
31
+ def wait_for_spot_instance
32
+ instance = nil
33
+
34
+ # Query the spot request state until it becomes "active".
35
+ # This can result in the errors listed below; this is normally because AWS has
36
+ # been slow to update its state so the correct response is to wait a bit and try again.
37
+ errors = [AWS::EC2::Errors::InvalidSpotInstanceRequestID::NotFound]
38
+ Bosh::Common.retryable(sleep: TOTAL_WAIT_TIME_IN_SECONDS/RETRY_COUNT, tries: RETRY_COUNT, on: errors) do |_, error|
39
+ @logger.warn("Retrying after expected error: #{error}") if error
40
+
41
+ status = spot_instance_request_status
42
+ case status[:state]
43
+ when 'failed'
44
+ fail_spot_creation("VM spot instance creation failed: #{status.inspect}")
45
+ when 'open'
46
+ if status[:status] != nil && status[:status][:code] == 'price-too-low'
47
+ fail_spot_creation("Cannot create VM spot instance because bid price is too low: #{status.inspect}. Reverting to creating ondemand instance")
48
+ end
49
+ when 'active'
50
+ @logger.info("Spot request instances fulfilled: #{status.inspect}")
51
+ instance = @region.instances[status[:instance_id]]
52
+ end
53
+ end
54
+
55
+ instance
56
+ rescue Bosh::Common::RetryCountExceeded
57
+ fail_spot_creation("Timed out waiting for spot request #{@spot_instance_requests.inspect} to be fulfilled. Reverting to creating ondemand instance")
58
+ end
59
+
60
+ def create_spot_request_spec(instance_params, spot_price)
61
+ spec = {
62
+ spot_price: "#{spot_price}",
63
+ instance_count: 1,
64
+ launch_specification: {
65
+ image_id: instance_params[:image_id],
66
+ key_name: instance_params[:key_name],
67
+ instance_type: instance_params[:instance_type],
68
+ user_data: Base64.encode64(instance_params[:user_data]),
69
+ placement: {
70
+ availability_zone: instance_params[:availability_zone]
71
+ },
72
+ network_interfaces: [
73
+ {
74
+ subnet_id: instance_params[:subnet].subnet_id,
75
+ device_index: 0,
76
+ private_ip_address: instance_params[:private_ip_address]
77
+ }
78
+ ]
79
+ }
80
+ }
81
+ security_groups = resolve_security_group_ids(instance_params[:security_groups])
82
+ unless security_groups.empty?
83
+ spec[:launch_specification][:network_interfaces][0][:groups] = security_groups
84
+ end
85
+
86
+ if instance_params[:block_device_mappings]
87
+ spec[:launch_specification][:block_device_mappings] = instance_params[:block_device_mappings]
88
+ end
89
+
90
+ spec
91
+ end
92
+
93
+ def spot_instance_request_status
94
+ @logger.debug('Checking state of spot instance requests...')
95
+ response = @region.client.describe_spot_instance_requests(
96
+ spot_instance_request_ids: spot_instance_request_ids
97
+ )
98
+ status = response[:spot_instance_request_set][0] # There is only ever 1
99
+ @logger.debug("Spot instance request status: #{status.inspect}")
100
+ status
101
+ end
102
+
103
+ def fail_spot_creation(message)
104
+ @logger.warn(message)
105
+ cancel_pending_spot_requests
106
+ raise Bosh::Clouds::VMCreationFailed.new(false), message
107
+ end
108
+
109
+ def spot_instance_request_ids
110
+ @spot_instance_requests[:spot_instance_request_set].map { |r| r[:spot_instance_request_id] }
111
+ end
112
+
113
+ def cancel_pending_spot_requests
114
+ @logger.warn("Failed to create spot instance: #{@spot_instance_requests.inspect}. Cancelling request...")
115
+ cancel_response = @region.client.cancel_spot_instance_requests(
116
+ spot_instance_request_ids: spot_instance_request_ids
117
+ )
118
+ @logger.warn("Spot cancel request returned: #{cancel_response.inspect}")
119
+ end
120
+
121
+ def resolve_security_group_ids(security_group_names)
122
+ return [] unless security_group_names
123
+ @region.security_groups.inject([]) do |security_group_ids, group|
124
+ security_group_ids << group.security_group_id if security_group_names.include?(group.name)
125
+ security_group_ids
126
+ end
127
+ end
128
+ end
129
+ end
@@ -22,7 +22,7 @@ module Bosh::AwsCloud
22
22
  ResourceWait.for_snapshot(snapshot: snapshot, state: :completed)
23
23
 
24
24
  params = image_params(snapshot.id)
25
- image = region.images.create(params)
25
+ image = region.images[region.client.register_image(params).image_id]
26
26
  ResourceWait.for_image(image: image, state: :available)
27
27
 
28
28
  TagManager.tag(image, 'Name', params[:description]) if params[:description]
@@ -68,7 +68,7 @@ module Bosh::AwsCloud
68
68
 
69
69
  logger.debug("stemcell copy output:\n#{result.output}")
70
70
  rescue Bosh::Exec::Error => e
71
- raise Bosh::Clouds::CloudError, "Unable to copy stemcell root image: #{e.message}"
71
+ raise Bosh::Clouds::CloudError, "Unable to copy stemcell root image: #{e.message}\nScript output:\n#{e.output}"
72
72
  end
73
73
 
74
74
  # checks if the stemcell-copy script can be found in
@@ -82,21 +82,40 @@ module Bosh::AwsCloud
82
82
  end
83
83
 
84
84
  def image_params(snapshot_id)
85
- root_device_name = stemcell_properties["root_device_name"]
86
85
  architecture = stemcell_properties["architecture"]
87
-
88
- aki = AKIPicker.new(region).pick(architecture, root_device_name)
89
-
90
- params = {
91
- :name => "BOSH-#{SecureRandom.uuid}",
92
- :architecture => architecture,
93
- :kernel_id => aki,
94
- :root_device_name => root_device_name,
95
- :block_device_mappings => {
96
- "/dev/sda" => {:snapshot_id => snapshot_id},
97
- "/dev/sdb" => "ephemeral0"
98
- }
99
- }
86
+ virtualization_type = stemcell_properties["virtualization_type"]
87
+
88
+ params = if virtualization_type == 'hvm'
89
+ {
90
+ :virtualization_type => virtualization_type,
91
+ :root_device_name => "/dev/xvda",
92
+ :sriov_net_support => "simple",
93
+ :block_device_mappings => [
94
+ {
95
+ :device_name => "/dev/xvda",
96
+ :ebs => {
97
+ :snapshot_id => snapshot_id,
98
+ },
99
+ },
100
+ ],
101
+ }
102
+ else
103
+ root_device_name = stemcell_properties["root_device_name"]
104
+ aki = AKIPicker.new(region).pick(architecture, root_device_name)
105
+
106
+ {
107
+ :kernel_id => aki,
108
+ :root_device_name => root_device_name,
109
+ :block_device_mappings => [
110
+ {
111
+ :device_name => "/dev/sda",
112
+ :ebs => {
113
+ :snapshot_id => snapshot_id,
114
+ },
115
+ },
116
+ ],
117
+ }
118
+ end
100
119
 
101
120
  # old stemcells doesn't have name & version
102
121
  if stemcell_properties["name"] && stemcell_properties["version"]
@@ -104,6 +123,13 @@ module Bosh::AwsCloud
104
123
  params[:description] = name
105
124
  end
106
125
 
126
+ params.merge!(
127
+ :name => "BOSH-#{SecureRandom.uuid}",
128
+ :architecture => architecture,
129
+ )
130
+
131
+ params[:block_device_mappings].push(*default_ephemeral_disk_mapping)
132
+
107
133
  params
108
134
  end
109
135
 
@@ -0,0 +1,44 @@
1
+ module Bosh
2
+ module AwsCloud
3
+ class VolumeProperties
4
+ include Helpers
5
+
6
+ attr_reader :size, :type, :iops, :az, :encrypted
7
+
8
+ def initialize(options)
9
+ @size = options[:size] || 0
10
+ @type = options[:type] || 'standard'
11
+ @iops = options[:iops]
12
+ @az = options[:az]
13
+ @encrypted = options[:encrypted] || false
14
+ end
15
+
16
+ def validate!
17
+ case @type
18
+ when 'standard'
19
+ cloud_error('AWS CPI minimum disk size is 1 GiB') if @size < 1024
20
+ cloud_error('AWS CPI maximum disk size is 1 TiB') if @size > 1024 * 1000
21
+ cloud_error("Cannot specify an 'iops' value when disk type is '#{@type}'. 'iops' is only allowed for 'io1' volume types.") unless @iops.nil?
22
+ when 'gp2'
23
+ cloud_error('AWS CPI minimum disk size is 1 GiB') if @size < 1024
24
+ cloud_error('AWS CPI maximum disk size is 16 TiB') if @size > 1024 * 16000
25
+ cloud_error("Cannot specify an 'iops' value when disk type is '#{@type}'. 'iops' is only allowed for 'io1' volume types.") unless @iops.nil?
26
+ when 'io1'
27
+ validate_iops
28
+ else
29
+ cloud_error("AWS CPI supports only gp2, io1, or standard disk type, received: #{@type}")
30
+ end
31
+ end
32
+
33
+ private
34
+
35
+ def validate_iops
36
+ cloud_error("Must specify an 'iops' value when the volume type is 'io1'") if @iops.nil?
37
+ cloud_error('AWS CPI minimum disk size is 4 GiB') if @size < 1024 * 4
38
+ cloud_error('AWS CPI maximum disk size is 16 TiB') if @size > 1024 * 16000
39
+ cloud_error('AWS CPI maximum iops is 20000') if @iops >= 20000
40
+ cloud_error('AWS CPI maximum ratio iops/size is 30') if (@iops / (@size / 1024)).floor >= 30
41
+ end
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,22 @@
1
+ module Bosh
2
+ module AwsCloud
3
+ class VolumesCreatePresenter
4
+ attr_reader :volume_properties
5
+ def initialize(volume_properties)
6
+ @volume_properties = volume_properties
7
+ end
8
+
9
+ def present
10
+ volume_options = {
11
+ size: (volume_properties.size / 1024.0).ceil,
12
+ availability_zone: volume_properties.az,
13
+ volume_type: volume_properties.type,
14
+ encrypted: volume_properties.encrypted
15
+ }
16
+ volume_options[:iops] = volume_properties.iops if volume_properties.iops
17
+ volume_options
18
+ end
19
+ end
20
+ end
21
+ end
22
+
data/lib/cloud/aws.rb CHANGED
@@ -21,7 +21,6 @@ require "bosh/registry/client"
21
21
  require "cloud"
22
22
  require "cloud/aws/helpers"
23
23
  require "cloud/aws/cloud"
24
- require "cloud/aws/version"
25
24
 
26
25
  require "cloud/aws/aki_picker"
27
26
  require "cloud/aws/network_configurator"
@@ -32,9 +31,14 @@ require "cloud/aws/dynamic_network"
32
31
  require "cloud/aws/manual_network"
33
32
  require "cloud/aws/vip_network"
34
33
  require "cloud/aws/instance_manager"
34
+ require "cloud/aws/instance"
35
+ require "cloud/aws/spot_manager"
35
36
  require "cloud/aws/tag_manager"
36
37
  require "cloud/aws/availability_zone_selector"
37
38
  require "cloud/aws/resource_wait"
39
+ require "cloud/aws/volume_properties"
40
+ require "cloud/aws/volumes_create_presenter"
41
+ require "cloud/aws/instances_create_presenter"
38
42
 
39
43
  module Bosh
40
44
  module Clouds
@@ -16,7 +16,7 @@ IMAGE="$1"
16
16
  OUTPUT="$2"
17
17
 
18
18
  # workaround for issue on 12.04 LTS, use LANG=C
19
- echo ${IMAGE} | LANG=C egrep '^/[A-za-z0-9_/-]+/image$' > /dev/null 2>&1
19
+ echo ${IMAGE} | LANG=C egrep '^/[A-Za-z0-9_/-]+/image$' > /dev/null 2>&1
20
20
  if [ $? -ne 0 ]; then
21
21
  echo "ERROR: illegal image file: ${IMAGE}"
22
22
  exit 1
@@ -34,4 +34,4 @@ if [ ! -b ${OUTPUT} ]; then
34
34
  fi
35
35
 
36
36
  # copy image to block device with 1 MB block size
37
- tar -xzf ${IMAGE} -O root.img | dd bs=1M of=${OUTPUT}
37
+ tar -xzf ${IMAGE} -O root.img | dd bs=1M of=${OUTPUT}
@@ -0,0 +1,5 @@
1
+ #!/bin/bash
2
+
3
+ set -ex
4
+
5
+ bundle package --all --all-platforms
metadata CHANGED
@@ -1,121 +1,108 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bosh_aws_cpi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2579.0
5
- prerelease:
4
+ version: 2.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - VMware
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-05-24 00:00:00.000000000 Z
11
+ date: 2016-09-09 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: aws-sdk
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - '='
20
18
  - !ruby/object:Gem::Version
21
- version: 1.32.0
19
+ version: 1.60.2
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - '='
28
25
  - !ruby/object:Gem::Version
29
- version: 1.32.0
26
+ version: 1.60.2
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: bosh_common
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
- version: 1.2579.0
33
+ version: '0'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
- version: 1.2579.0
40
+ version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: bosh_cpi
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
- version: 1.2579.0
47
+ version: '0'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - ">="
60
53
  - !ruby/object:Gem::Version
61
- version: 1.2579.0
54
+ version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: bosh-registry
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ~>
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
- version: 1.2579.0
61
+ version: '0'
70
62
  type: :runtime
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ~>
66
+ - - ">="
76
67
  - !ruby/object:Gem::Version
77
- version: 1.2579.0
68
+ version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: httpclient
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
73
  - - '='
84
74
  - !ruby/object:Gem::Version
85
- version: 2.2.4
75
+ version: 2.7.1
86
76
  type: :runtime
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
80
  - - '='
92
81
  - !ruby/object:Gem::Version
93
- version: 2.2.4
82
+ version: 2.7.1
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: yajl-ruby
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - ">="
100
88
  - !ruby/object:Gem::Version
101
89
  version: 0.8.2
102
90
  type: :runtime
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - ">="
108
95
  - !ruby/object:Gem::Version
109
96
  version: 0.8.2
110
- description: ! 'BOSH AWS CPI
111
-
112
- 4fef83'
97
+ description: BOSH AWS CPI
113
98
  email: support@cloudfoundry.com
114
99
  executables:
100
+ - aws_cpi
115
101
  - bosh_aws_console
116
102
  extensions: []
117
103
  extra_rdoc_files: []
118
104
  files:
105
+ - bin/aws_cpi
119
106
  - bin/bosh_aws_console
120
107
  - lib/bosh_aws_cpi.rb
121
108
  - lib/cloud/aws.rb
@@ -124,46 +111,46 @@ files:
124
111
  - lib/cloud/aws/cloud.rb
125
112
  - lib/cloud/aws/dynamic_network.rb
126
113
  - lib/cloud/aws/helpers.rb
114
+ - lib/cloud/aws/instance.rb
127
115
  - lib/cloud/aws/instance_manager.rb
116
+ - lib/cloud/aws/instances_create_presenter.rb
128
117
  - lib/cloud/aws/light_stemcell.rb
129
118
  - lib/cloud/aws/manual_network.rb
130
119
  - lib/cloud/aws/network.rb
131
120
  - lib/cloud/aws/network_configurator.rb
132
121
  - lib/cloud/aws/resource_wait.rb
122
+ - lib/cloud/aws/spot_manager.rb
133
123
  - lib/cloud/aws/stemcell.rb
134
124
  - lib/cloud/aws/stemcell_creator.rb
135
125
  - lib/cloud/aws/stemcell_finder.rb
136
126
  - lib/cloud/aws/tag_manager.rb
137
- - lib/cloud/aws/version.rb
138
127
  - lib/cloud/aws/vip_network.rb
128
+ - lib/cloud/aws/volume_properties.rb
129
+ - lib/cloud/aws/volumes_create_presenter.rb
139
130
  - scripts/stemcell-copy.sh
140
- - README.md
131
+ - scripts/vendor_gems
141
132
  homepage: https://github.com/cloudfoundry/bosh
142
133
  licenses:
143
134
  - Apache 2.0
135
+ metadata: {}
144
136
  post_install_message:
145
137
  rdoc_options: []
146
138
  require_paths:
147
139
  - lib
148
140
  required_ruby_version: !ruby/object:Gem::Requirement
149
- none: false
150
141
  requirements:
151
- - - ! '>='
142
+ - - ">="
152
143
  - !ruby/object:Gem::Version
153
144
  version: 1.9.3
154
145
  required_rubygems_version: !ruby/object:Gem::Requirement
155
- none: false
156
146
  requirements:
157
- - - ! '>='
147
+ - - ">="
158
148
  - !ruby/object:Gem::Version
159
149
  version: '0'
160
- segments:
161
- - 0
162
- hash: -4462017562395544086
163
150
  requirements: []
164
151
  rubyforge_project:
165
- rubygems_version: 1.8.23
152
+ rubygems_version: 2.6.4
166
153
  signing_key:
167
- specification_version: 3
154
+ specification_version: 4
168
155
  summary: BOSH AWS CPI
169
156
  test_files: []