bosh_aws_cpi 1.3001.0 → 1.3003.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: 5cc02fe5e34e5c23e4483d74a9c96d4275da17b5
4
- data.tar.gz: c6c84247683a789b9937e5579df4eb52415234ae
3
+ metadata.gz: 642c278aa2b54c3abfdef8316a6790c6b0702e9c
4
+ data.tar.gz: baa8cbd2b190ad66feef209b7521c4c452945394
5
5
  SHA512:
6
- metadata.gz: 3fe40b5336de2be667d066780d70dbbd90e8fc4bbc1c8ae9e4550addbb681f5157193e68e28822d2699498b5b4fbafb6190246f5d9b939bce8fe62606ca479c8
7
- data.tar.gz: ee29eac0bdccff42012426351fe63d223d83226a9cf7b6397fa7963adda795af5752210710365337c1616d50e5e7440431202a1df75a8cc59764122bb647343c
6
+ metadata.gz: 37a42870cdef9f08331daa19b3038cd776d6cbdd28226420c3ddc83782fdb27a733458e949c7116d806929d812a6fb54ae4011e8fccaee188192f5cffd6fb945
7
+ data.tar.gz: ade7e7e21162b3a5a567b2d098a4ee8bea39271cb1b4dab1ef49d231d68f8b98f9d215ddd231615edfddccfd1cc3dad45cf345d58e00051f2129275b6c97cc9b
@@ -18,14 +18,17 @@ module Bosh::AwsCloud
18
18
  validate_states(valid_states, target_state)
19
19
 
20
20
  ignored_errors = [
21
- AWS::EC2::Errors::InvalidInstanceID::NotFound,
22
- AWS::Core::Resource::NotFound,
23
- Bosh::Retryable::ErrorMatcher.new(
24
- AWS::Errors::ServerError,
25
- /The service is unavailable. Please try again shortly./,
26
- ),
21
+ Bosh::Retryable::ErrorMatcher.new(
22
+ AWS::Errors::ServerError,
23
+ /The service is unavailable. Please try again shortly./,
24
+ ),
27
25
  ]
28
26
 
27
+ if target_state == :running
28
+ ignored_errors << AWS::EC2::Errors::InvalidInstanceID::NotFound
29
+ ignored_errors << AWS::Core::Resource::NotFound
30
+ end
31
+
29
32
  new.for_resource(resource: instance, errors: ignored_errors, target_state: target_state) do |current_state|
30
33
  if target_state == :running && current_state == :terminated
31
34
  logger.error("instance #{instance.id} terminated while starting")
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module AwsCloud
3
- VERSION = '1.3001.0'
3
+ VERSION = '1.3003.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bosh_aws_cpi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3001.0
4
+ version: 1.3003.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - VMware
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-25 00:00:00.000000000 Z
11
+ date: 2015-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -30,42 +30,42 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.3001.0
33
+ version: 1.3003.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.3001.0
40
+ version: 1.3003.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.3001.0
47
+ version: 1.3003.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.3001.0
54
+ version: 1.3003.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.3001.0
61
+ version: 1.3003.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.3001.0
68
+ version: 1.3003.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: httpclient
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -138,7 +138,7 @@ dependencies:
138
138
  version: '0'
139
139
  description: |-
140
140
  BOSH AWS CPI
141
- 7cc77f
141
+ 44f0b8
142
142
  email: support@cloudfoundry.com
143
143
  executables:
144
144
  - aws_cpi