manageiq-smartstate 0.2.22 → 0.2.23
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e8eef7c82120801ecfa16b92e487e837bebab649
|
|
4
|
+
data.tar.gz: 2736b5d2d4f12b6089e32de36d071507696bd55a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 925dbb492e59ef0b02f39cfd58011a50fed100aa7549322acaecae9de5ce2815e471de6f3ec07c296a3f5fa833bbce94c006a565ad24f6e798765848380ec220
|
|
7
|
+
data.tar.gz: 67cf93ff45b1d115859bf21cbbf0647abd517b2965666367a33817104d5ca8752f784c1bc8edcac1fa7faa8b44e603139f26095561140d8aede3b51c41d0b591
|
|
@@ -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.
|
|
4
|
+
version: 0.2.23
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ManageIQ Developers
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-06-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: azure-armrest
|