Comment 10 for bug 1398830

Revision history for this message
Zhi Yan Liu (lzy-dev) wrote : Re: Glance image leak when in saving state

Thanks Abhishek's analysis.

>>> IMO, image deletion should not be allowed when the image is in saving state.

IMO, seems it's a easiest solution as to make a limitation/checking on api level for end user. However I'm a little worried if it reduces usability from end user's perspective. And more, from some cross-project cases, image could dead on 'saving' status, e.g. Nova capture image failed/hang on upload step, then end user or client code e.g. Nova, need a way to delete the dead image from Glance.