Can not create a new image with the same ID of an already deleted one

Solution Verified - Updated -

Issue

  • glance image-create specifying ID returns 409 Conflict: An image with identifier $UUID already exists (HTTP 409).
  • Instance with an deleted image id does not start.
  • An accidentally deleted image cannot be restored, causing instances with ephemeral based on it not to boot.

    2016-10-04 16:31:59.326 4020 ERROR oslo_messaging.rpc.dispatcher [req-e3451c32-1a2c-4d03-8c28-74cfc7593ac3 b898d2d4bbd14552bd05efa6538cbf13 ddf408fec8f94c589369ac69a196508f - - -] Exception during message handling: Image 57426954-d1a0-439a-b5ee-00e09ef07683 could not be found.
    <snip: TRACEBACK>
    2016-10-04 16:31:59.326 4020 TRACE oslo_messaging.rpc.dispatcher ImageNotFound: Image 57426954-d1a0-439a-b5ee-00e09ef07683 could not be found.
    

Environment

  • Red Hat OpenStack Platform (RHOSP) 7.0 (Kilo)
  • Red Hat OpenStack Platform (RHOSP) 8.0 (Liberty)
  • Red Hat OpenStack Platform (RHOSP) 9.0 (Mitaka)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content