cinder/releasenotes/notes/fix-reimage-image-snap-15ecd5fce9973d5d.yaml
Rajat Dhasmana ae22195df7 Fix reimage with snapshot backed image
When we create a snapshot of a server that is volume-backed,
glance creates a zero sized metadata entry of the image which
is backed by the volume snapshot.
When we try to reimage a volume with that given image, we need
to fetch the volume snapshot details from the image metadata.
Now to reimage, we need to create a new volume from snapshot and
copy the data from our snapshot-volume to our original volume
for which we use the generic revert to snapshot mechanism as
it performs the same steps.

Closes-Bug: #2062539

Change-Id: Ic4bf44c320ad53b514178ecd4d5f57f037169bfe
2025-03-19 18:34:08 +05:30

6 lines
162 B
YAML

---
fixes:
- |
`Bug #2062539 <https://bugs.launchpad.net/cinder/+bug/2062539>`_: Fixed
reimage operation when the image is backed by a volume snapshot.