6eed55bf55
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
7 lines
193 B
YAML
7 lines
193 B
YAML
---
|
|
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.
|