openstack_taster 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/openstack_taster.rb +4 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3136ac3caf68b72c12a44e82bae215bba9d92b3
|
4
|
+
data.tar.gz: 703757cd7e3c18576d6908082c80a7e4ef5213b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ac7a02977641cc3107f4001c46b3f15bb32aec2448cfe21ee2f1befe02e7524dbb4aefdda506ec549c70a9a0b5feb1b56c458b4451bddb2e3987a24bb3ee069
|
7
|
+
data.tar.gz: 3aa828cbdf287fe757c1cf4c3a30e69ad503f3fb94254b6074b171ffb9ee5c28f357e3a97a8d08eb00fca457efc14788731dbcf38df0de65501adb5167c45e27
|
data/lib/openstack_taster.rb
CHANGED
@@ -303,9 +303,13 @@ class OpenStackTaster
|
|
303
303
|
end
|
304
304
|
|
305
305
|
if mount && detach
|
306
|
+
error_log(instance.logger, 'info', "Deleting volume #{volume.id}.", true)
|
307
|
+
volume.destroy if volume.ready?
|
306
308
|
error_log(instance.logger, 'info', "\nVolume testing passed!.", true)
|
307
309
|
true
|
308
310
|
else
|
311
|
+
error_log(instance.logger, 'info', "Deleting volume #{volume.id}.", true)
|
312
|
+
volume.destroy if volume.ready?
|
309
313
|
error_log(
|
310
314
|
instance.logger,
|
311
315
|
'error',
|
@@ -315,8 +319,6 @@ class OpenStackTaster
|
|
315
319
|
error_log(instance.logger, 'error', "\nEncountered failures.", true)
|
316
320
|
false
|
317
321
|
end
|
318
|
-
error_log(instance.logger, 'info', "Deleting volume #{volume.id}.", true)
|
319
|
-
volume.destroy if volume.ready?
|
320
322
|
end
|
321
323
|
|
322
324
|
# A helper method to execute a series of commands remotely on an instance. This helper
|