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 +4 -4
- data/lib/cloud/aws/resource_wait.rb +9 -6
- data/lib/cloud/aws/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 642c278aa2b54c3abfdef8316a6790c6b0702e9c
|
4
|
+
data.tar.gz: baa8cbd2b190ad66feef209b7521c4c452945394
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
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")
|
data/lib/cloud/aws/version.rb
CHANGED
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.
|
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-
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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
|
-
|
141
|
+
44f0b8
|
142
142
|
email: support@cloudfoundry.com
|
143
143
|
executables:
|
144
144
|
- aws_cpi
|