yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #21074
[Bug 1191115] Re: No way to change the image state to kill if error during nova instance snapshot
proposed fix abandoned. Over year old. If this still persists we should
open a new bug.
** Changed in: glance
Status: In Progress => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1191115
Title:
No way to change the image state to kill if error during nova instance
snapshot
Status in OpenStack Image Registry and Delivery Service (Glance):
Invalid
Bug description:
When there is a failure in nova snapshot before uploading the image to
glance (for example failure on hypervisor capturing the disk image as
a file) there is no way to notify glance that this image is in error
state nor the is a way to set it to kill. This will result on
uncertainty from a client side checking image state, image state will
be in queue until the call from nova to upload which will then go to
saving and the active or killed depending on the success of upload to
store. If an error occurs before image upload request, nova cannot
call update with image to upload and image will stay in queue state.
Client will not be able to determine if this is a long running
snapshot or something bad has happened.
One suggestion could be to add a new known property named error to the
update request. If api sees this it will then set the image to error
and add the error to image metadata. I will try a couple of things
here, but wanted to get other folks to pitch in on possible solutions.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1191115/+subscriptions