yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #84778
[Bug 1907216] Re: Wrong image ref after unshelve
Moving this to invalid based on the comments from Lucian on [1]
I think this should be fixed at the Hyper-V driver level. The stashed image will be removed
from Glance once the instance is unstashed, so there's no value in updating the Nova
instance db record to point to it. In fact, users are probably interested in the original
image.
[1] https://review.opendev.org/c/openstack/nova/+/765924
** Changed in: nova
Status: New => Confirmed
** Changed in: nova
Status: Confirmed => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1907216
Title:
Wrong image ref after unshelve
Status in compute-hyperv:
New
Status in OpenStack Compute (nova):
Invalid
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] I3bba0a230044613e07122a6d122597e5b8d43438
[2] https://github.com/openstack/nova/blob/22.0.1/nova/compute/manager.py#L6625
[3] http://paste.openstack.org/raw/800822/
To manage notifications about this bug go to:
https://bugs.launchpad.net/compute-hyperv/+bug/1907216/+subscriptions
References