Jump to: navigation, search

Difference between revisions of "Glance-image-recover"

(Created page with "== Overview == This proposal aims to recover an image which is in 'pending-delete' state so as to provide the revert capability for user to get the deleted image back. == Gen...")
 
(Overview)
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
This proposal aims to recover an image which is in 'pending-delete' state so as to provide the revert capability for user to get the deleted image back.
+
This proposal aims to recover an image which is in 'pending-delete' state so as to provide the revert capability for the purposes of allowing emergency operational action to recover from an accidental delete
  
 
== General Workflow ==
 
== General Workflow ==

Revision as of 07:37, 20 November 2013

Overview

This proposal aims to recover an image which is in 'pending-delete' state so as to provide the revert capability for the purposes of allowing emergency operational action to recover from an accidental delete

General Workflow

  1. User enable the delayed_delete in glance-api.conf
  2. Delete a specific image
  3. List the images which are 'pending-delete'
  4. User PUT /v2/images/{image-uuid} on the requested image to recover it
  5. Eventually, the requested image should be in 'active' state after recovering successfully.

Known code impact

1. List pending-delete image 2. Only allow 'active' image to be in 'pending-delete'

References