Wrong image ref after unshelve
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Lucian Petrut | ||
compute-hyperv |
Fix Released
|
Undecided
|
Lucian Petrut |
Bug Description
After an instance is unshelved, the instance image ref will point to the original image instead of the snapshot created during the shelving [1][2].
Subsequent instance operations will use the wrong image id. For example, in case of cold migrations, Hyper-V instances will be unable to boot since the differencing images will have the wrong base [3]. Other image related operations might be affected as well.
As pointed out by Matt Riedemann on the patch [1], Nova shouldn't set back the original image id, instead it should use the snapshot id.
[1] I3bba0a23004461
[2] https:/
[3] http://
Changed in nova: | |
assignee: | nobody → Lucian Petrut (petrutlucian94) |
Changed in compute-hyperv: | |
assignee: | nobody → Lucian Petrut (petrutlucian94) |
Changed in compute-hyperv: | |
status: | New → Fix Released |
Fix: https:/ /review. opendev. org/c/openstack /nova/+ /765924