4c64f84058
Nova adds the temporary shelved image ID to libvirt metadata when unshelving image-backed instances. This is corrected when the instance is cold restarted, resized or migrated but causes issues for other services such as Ceilometer which rely on this data being correct. This patch ensures the correct image ID is set in the libvirt domain metadata when image-backed instances are unshelved. Signed-off-by: Callum Dickinson <callum.dickinson@catalystcloud.nz> Co-Authored-By: Jeremy Lamb <jeremy.lamb@catalystcloud.nz> Closes-Bug: #2100588 Change-Id: Ifd9f092299912606931848b2b25b4be6b36effac
13 lines
589 B
YAML
13 lines
589 B
YAML
---
|
|
fixes:
|
|
- |
|
|
When an instance booted from local storage is unshelved,
|
|
the image ID published to the libvirt domain metadata was
|
|
the ID for the temporary Glance image generated to store
|
|
the instance state, instead of the original image as intended.
|
|
Since the temporary image is removed after the instance is
|
|
unshelved, this results in an invalid image ID being stored
|
|
in the libvirt domain metadata. This issue has now been fixed.
|
|
Affected instances will need to be shutdown, restarted, cold
|
|
migrated or shelved-and-unshelved to update the metadata.
|