← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1176978] Re: Can't re-use an ID from a previously deleted image

 

** Changed in: glance
       Status: Invalid => In Progress

** Changed in: glance
     Assignee: (unassigned) => Fei Long Wang (flwang)

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

Title:
  Can't re-use an ID from a previously deleted image

Status in OpenStack Image Registry and Delivery Service (Glance):
  In Progress

Bug description:
  Hi all,

  Steps to reproduce it:

  
  $ glance image-create --name foo
  +------------------+--------------------------------------+
  | Property         | Value                                |
  +------------------+--------------------------------------+
  | checksum         | None                                 |
  | container_format | None                                 |
  | created_at       | 2013-05-06T16:08:34                  |
  | deleted          | False                                |
  | deleted_at       | None                                 |
  | disk_format      | None                                 |
  | id               | c3313eda-f6dd-4062-85c8-7ab1bb168cd1 |
  | is_public        | False                                |
  | min_disk         | 0                                    |
  | min_ram          | 0                                    |
  | name             | foo                                  |
  | owner            | 19292b3b597b4ecc9a41103cc312a42f     |
  | protected        | False                                |
  | size             | 0                                    |
  | status           | queued                               |
  | updated_at       | 2013-05-06T16:08:34                  |
  +------------------+--------------------------------------+

  
  $ glance image-delete c3313eda-f6dd-4062-85c8-7ab1bb168cd1

  
  $ glance image-create --name foo --id c3313eda-f6dd-4062-85c8-7ab1bb168cd1
  Request returned failure status.
  409 Conflict
  An image with identifier c3313eda-f6dd-4062-85c8-7ab1bb168cd1 already exists
      (HTTP 409)

  I use the grizzly stable branch from Ubuntu cloud archive, same
  behavior on the debian packages.

  Cheers

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