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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/openstack_taster.rb +4 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2f23a80c511e0cdf522d55d4e398b7f8ba95d9d5
4
- data.tar.gz: 4337f06484caba1510f9e0fa6b46ce1708c7e107
3
+ metadata.gz: d3136ac3caf68b72c12a44e82bae215bba9d92b3
4
+ data.tar.gz: 703757cd7e3c18576d6908082c80a7e4ef5213b6
5
5
  SHA512:
6
- metadata.gz: 970215a90be5debc307211a6733e02a016949ea7fd2165bcef7ae4c9b3d5a6a6ce9879abd9ff4100d15a2042682ac8995b08924306e73b5fb01040cd3474437d
7
- data.tar.gz: da521ffbf76233edca3d11d94ff634ea99b1a4306aa9942b3a2288d11bd15e168e4df432ad15de6636ec8e151d7d9332175ff521ed5890ce4898d0ea0fee3a1a
6
+ metadata.gz: 1ac7a02977641cc3107f4001c46b3f15bb32aec2448cfe21ee2f1befe02e7524dbb4aefdda506ec549c70a9a0b5feb1b56c458b4451bddb2e3987a24bb3ee069
7
+ data.tar.gz: 3aa828cbdf287fe757c1cf4c3a30e69ad503f3fb94254b6074b171ffb9ee5c28f357e3a97a8d08eb00fca457efc14788731dbcf38df0de65501adb5167c45e27
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openstack_taster
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OSU Open Source Lab