*** This bug is a duplicate of bug 1398830 ***
    https://bugs.launchpad.net/bugs/1398830

** This bug is no longer a duplicate of bug 1188532
   image download process won't terminate after deleting image from dashboard
** This bug has been marked a duplicate of bug 1398830
   Glance image leak when in saving state (CVE-2014-9623)

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

Title:
  image data cannot be removed when deleting a saving status image

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Committed

Bug description:
  The image data in /var/lib/glance/images/ cannot be removed when I
  delete a image that status is saving.

  1. create a image
   glance image-create --name image-v1 --disk-format raw --container-format 
bare --file xx.image --is-public true

  2. list the created image, the status is saving
  [root@node2 ~]# glance image-list
  
+--------------------------------------+----------+-------------+------------------+------+--------+
  | ID                                   | Name     | Disk Format | Container 
Format | Size | Status |
  
+--------------------------------------+----------+-------------+------------------+------+--------+
  | 00ec3d8d-41a5-4f7c-9448-694099a39bcf | image-v1 | raw         | bare        
     | 18   | saving |
  
+--------------------------------------+----------+-------------+------------------+------+--------+

  3. delete the created image
  glance image-delete image-v1

  4. the image has been deleted but the image data still exists
  [root@node2 ~]# glance image-list
  +----+------+-------------+------------------+------+--------+
  | ID | Name | Disk Format | Container Format | Size | Status |
  +----+------+-------------+------------------+------+--------+
  +----+------+-------------+------------------+------+--------+

  [root@node2 ~]# ls /var/lib/glance/images
  00ec3d8d-41a5-4f7c-9448-694099a39bcf

  This problem exists in both v1 and v2 API.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to