← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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

** Affects: glance
     Importance: Undecided
         Status: New

** Description changed:

  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                  |
  +-------------------------------------------+--------------------------------------+
- sam@cloudboy:~/cloud-init$ glance image-delete 17c6077c-99f0-41c7-9bd2-175216330990
+ 
+ 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
+     (HTTP 404): Unable to delete image 17c6077c-99f0-41c7-9bd2-175216330990

-- 
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):
  New

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


Follow ups

References