CloudyScripts 1.8.34 → 1.8.35
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.
- data/Rakefile +1 -1
- data/lib/help/state_transition_helper.rb +4 -1
- metadata +4 -4
data/Rakefile
CHANGED
|
@@ -12,7 +12,7 @@ require 'rake/testtask'
|
|
|
12
12
|
|
|
13
13
|
spec = Gem::Specification.new do |s|
|
|
14
14
|
s.name = 'CloudyScripts'
|
|
15
|
-
s.version = '1.8.
|
|
15
|
+
s.version = '1.8.35'
|
|
16
16
|
s.has_rdoc = true
|
|
17
17
|
s.extra_rdoc_files = ['README.rdoc', 'LICENSE']
|
|
18
18
|
s.summary = 'Scripts to facilitate programming for infrastructure clouds.'
|
|
@@ -314,7 +314,10 @@ module StateTransitionHelper
|
|
|
314
314
|
while timeout > 0
|
|
315
315
|
res = ec2_handler().describe_volumes(:volume_id => volume_id)
|
|
316
316
|
vol_state = res['volumeSet']['item'][0]['status']
|
|
317
|
-
attachment_state =
|
|
317
|
+
attachment_state = "attaching"
|
|
318
|
+
if res['volumeSet']['item'][0]['attachmentSet'] != nil
|
|
319
|
+
attachment_state = res['volumeSet']['item'][0]['attachmentSet']['item'][0]['status']
|
|
320
|
+
end
|
|
318
321
|
@logger.debug "storage attaching: volume state: #{vol_state}, attachment state: #{attachment_state}"
|
|
319
322
|
if vol_state == 'in-use' && attachment_state == 'attached'
|
|
320
323
|
done = true
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: CloudyScripts
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 113
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 8
|
|
9
|
-
-
|
|
10
|
-
version: 1.8.
|
|
9
|
+
- 35
|
|
10
|
+
version: 1.8.35
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Matthias Jung
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-08-
|
|
18
|
+
date: 2011-08-09 00:00:00 +00:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|