Public bug reported:

Currently it is possible to delete the glance images, even if instances are 
still referencing it.
This is in particular an issue once you deleted the image and tried to 
resize/migrate instances to a new host.
The new host can't download the image from glance and the instance can't start 
anymore due to the missing qemu backing file. In case of a resize, the action 
does abort since the coalescing of the qemu file, happening during resize,  can 
not be completed without the qemu backing file. 
This issue usually causes manual intervention to reset the instance action, 
state and manual search/copy of the base image file to the target host.
The ideal state would be to prevent image-delete requests as long as active 
instances are still referencing it.

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1485635

Title:
  Delete image should not progress as long as instances using it

Status in Glance:
  New

Bug description:
  Currently it is possible to delete the glance images, even if instances are 
still referencing it.
  This is in particular an issue once you deleted the image and tried to 
resize/migrate instances to a new host.
  The new host can't download the image from glance and the instance can't 
start anymore due to the missing qemu backing file. In case of a resize, the 
action does abort since the coalescing of the qemu file, happening during 
resize,  can not be completed without the qemu backing file. 
  This issue usually causes manual intervention to reset the instance action, 
state and manual search/copy of the base image file to the target host.
  The ideal state would be to prevent image-delete requests as long as active 
instances are still referencing it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1485635/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to