← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1377012] Re: Can't delete an image in deleted status

 

Unfortunately, we cannot re-delete Image via the API by design.

Another approach for this real issue might be to use the scrubber to
keep track of such leftover data and retry deletes. Please provide your
suggestions here: https://review.openstack.org/#/c/125156/

** Changed in: glance
       Status: Triaged => Won't Fix

** Changed in: glance
   Importance: Medium => Undecided

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

Title:
  Can't delete an image in deleted status

Status in OpenStack Image Registry and Delivery Service (Glance):
  Won't Fix

Bug description:
  I'm trying to delete an image that has a status of "deleted"

  It's not deleted as I can do an image-show and it returns plus I can
  see it in image_locations and it exists in the backend which for us is
  swift

  glance image-show 17c6077c-99f0-41c7-9bd2-175216330990
  +-------------------------------------------+--------------------------------------+
  | Property                                  | Value                                |
  +-------------------------------------------+--------------------------------------+
  | checksum                                  | c9ef771d317595fd3654ca69a4be5f31     |
  | container_format                          | bare                                 |
  | created_at                                | 2014-05-22T07:58:23                  |
  | deleted                                   | True                                 |
  | deleted_at                                | 2014-05-23T02:16:53                  |
  | disk_format                               | raw                                  |
  | id                                        | 17c6077c-99f0-41c7-9bd2-175216330990 |
  | is_public                                 | True                                 |
  | min_disk                                  | 10                                   |
  | min_ram                                   | 0                                    |
  | name                                      | XXXXXX                    |
  | owner                                     | XXXXX     |
  | protected                                 | False                                |
  | size                                      | 10737418240                          |
  | status                                    | deleted                              |
  | updated_at                                | 2014-05-23T02:16:53                  |
  +-------------------------------------------+--------------------------------------+

  glance image-delete 17c6077c-99f0-41c7-9bd2-175216330990
  Request returned failure status.
  404 Not Found
  Image 17c6077c-99f0-41c7-9bd2-175216330990 not found.
      (HTTP 404): Unable to delete image 17c6077c-99f0-41c7-9bd2-175216330990

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


References