summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorRajesh Tailor <ratailor@redhat.com>2022-08-10 18:15:04 +0530
committerRajesh Tailor <ratailor@redhat.com>2022-08-26 12:28:00 +0530
commit6eed55bf55469f4ceaa7d4d4eb1be635e14bc73b (patch)
tree2dc77fe733b3dd10324faf7003066de71b9a3529 /releasenotes
parentddcc286ee1b70b53bccf21bdf602d9482b74ee0d (diff)
downloadnova-6eed55bf55469f4ceaa7d4d4eb1be635e14bc73b.tar.gz
Fix rescue volume-based instance
As of now, when attempting to rescue a volume-based instance using an image without the hw_rescue_device and/or hw_rescue_bus properties set, the rescue api call fails (as non-stable rescue for volume-based instances are not supported) leaving the instance in error state. This change checks for hw_rescue_device/hw_rescue_bus image properties before attempting to rescue and if the property is not set, then fail with proper error message, without changing instance state. Related-Bug: #1978958 Closes-Bug: #1926601 Change-Id: Id4c8c5f3b32985ac7d3d7c833b82e0876f7367c1
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/rescue-volume-based-instance-c6e3fba236d90be7.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/releasenotes/notes/rescue-volume-based-instance-c6e3fba236d90be7.yaml b/releasenotes/notes/rescue-volume-based-instance-c6e3fba236d90be7.yaml
new file mode 100644
index 0000000000..7e80059b80
--- /dev/null
+++ b/releasenotes/notes/rescue-volume-based-instance-c6e3fba236d90be7.yaml
@@ -0,0 +1,6 @@
+---
+fixes:
+ - |
+ Fix rescuing volume based instance by adding a check for 'hw_rescue_disk'
+ and 'hw_rescue_device' properties in image metadata before attempting
+ to rescue instance.