manageiq-smartstate 0.2.18 → 0.2.18.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b5d3f16341f777e8898434cb020defb3c65cf0e
|
4
|
+
data.tar.gz: a182bd98a38c356a58074cc63b4dafca2e33bf38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76cab0918545b5a4f2a8584ca4d54e456bcd2e60bdbe30bcb91de7d71274092d3a1029ada5ec62ec822d753e41c9a2a015dd83a02bda738e4e6f721da43b8529
|
7
|
+
data.tar.gz: e9774c092351fbe8dfd763ad9cdafcbf4a7ccf077660e8e737758117e4723eb05c646ec387dacf2306fd7bd49f7821c9f7cd35552fcec06740cae31c36486bb0
|
@@ -137,8 +137,14 @@ class MiqOpenStackInstance
|
|
137
137
|
$log.warn "#{log_prefix}: pointer from instance doesn't match #{snapshot_image_id}"
|
138
138
|
end
|
139
139
|
$log.info "#{log_prefix}: deleting snapshot image"
|
140
|
-
|
141
|
-
|
140
|
+
|
141
|
+
image = compute_service.images.get(image_id)
|
142
|
+
image.metadata.each do |m|
|
143
|
+
next unless m.key == "block_device_mapping"
|
144
|
+
m.value.each do |volume_snapshot|
|
145
|
+
volume_snapshot_id = volume_snapshot["snapshot_id"]
|
146
|
+
delete_volume_snapshot(volume_snapshot_id) if volume_snapshot_id
|
147
|
+
end
|
142
148
|
end
|
143
149
|
snapshot.destroy
|
144
150
|
snapshot_metadata.destroy
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: manageiq-smartstate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.18
|
4
|
+
version: 0.2.18.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ManageIQ Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: azure-armrest
|