← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1495884] Re: image's backend file was deleted while it was still being use.

 

https://blueprints.launchpad.net/glance/+spec/add-location-manage-
mechanism

** Changed in: glance
       Status: New => Invalid

** Changed in: glance
     Assignee: wangxiyuan (wangxiyuan) => (unassigned)

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

Title:
  image's backend file was deleted while it was still being use.

Status in Glance:
  Invalid

Bug description:
  Reproduce:

  1.create an image A, add backend 'X'  to it's location .

  2.create another image B, add the same backend 'X' to it's location.

  3.show the two image, their status are both 'active'.

  4.delete image A.  After this setep, the backend X will be deleted as
  well.

  5. show the image B. Its status is still 'active'. Obviously, image
  B's backend file  'X' has been deleted, So B can't be use anymore.

  So IMHO, before we delete the backend file, we should check that
  whether the file is being use. If yes, we should not delete it
  directly.

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


References