Comment 2 for bug 1064386

Revision history for this message
Dan Prince (dan-prince) wrote :

Hi Arathi,

Couple of things here.:

In the case you describe above... did the instance being snapshotted go into an ERROR state? If so I think Nova is doing the correctly thing here.

I do agree that we could do better about reporting this type of errors back to the user. Ideally we'd keep track of more fine grained error messages so that the user might better understand what the initial cause of the error was. There are a couple Nova features dealing with this that might get implemented in the future. In the scope of this ticket however I think Nova is mostly doing things correctly.

---

From a Glance prospective there is actually an image scrubber feature that already exists and is meant to help cleanup images in an itermittent state. If we need to do anything to cleanup images stuck in a 'SAVING' state I think perhaps the right place for that code to go is there. Have a look at the Glance API's scrub_time, delayed_delete, and the associated glance-scrubber bin file.