Bug 1041733

Summary: [RFE][glance]: Recover/Reuse image from pending-delete/deleted state
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: openstack-glanceAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact: Tzach Shefi <tshefi>
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: eglynn, fpercoco, markmc, scohen, tshefi, yeylon
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/glance/+spec/image-recover
Whiteboard: upstream_milestone_none upstream_status_slow-progress upstream_definition_drafting
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-30 19:37:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-12 19:04:55 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/glance/+spec/image-recover.

Description:

1. Recover image from pending-delete state
    We claim that the image in pending-delete state is recoverable, but actually, we don't support that.
    See https://wiki.openstack.org/wiki/Glance-image-recover to get more details.
    And we're using https://etherpad.openstack.org/p/glance-v2-image-recovery to track the design discussion.

2. Reuse image(id) from deleted state. There are 2 user sceanrios can be referenced.
    a) Replicator. User replicates image from endpoint A to B, then delete an one of replicated images from B. Next replicate will failed since there will be a image id conflict.
    b) Sometimes, user import images from another 3rd party repository, such as vCenter image lib. However, he will run into problem when an image was deleted and then readd.

Specification URL (additional information):

None

Comment 5 Sean Cohen 2015-06-30 19:37:02 UTC
The patch was abandoned upstream