Bug 1041740 - [RFE][glance]: Adding status property to image location
Summary: [RFE][glance]: Adding status property to image location
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-glance
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 7.0 (Kilo)
Assignee: Flavio Percoco
QA Contact: Tzach Shefi
URL: https://blueprints.launchpad.net/glan...
Whiteboard: upstream_milestone_next upstream_stat...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 19:07 UTC by RHOS Integration
Modified: 2016-04-26 20:40 UTC (History)
6 users (show)

Fixed In Version: openstack-glance-2015.1.0-6.el7ost
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-05 13:10:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:1548 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2015-08-05 17:07:06 UTC

Description RHOS Integration 2013-12-12 19:07:12 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/glance/+spec/image-location-status.

Description:

Adding status for each image backend storage location to optimize Glance deployment mode. Operator can deploy glance more easy and keep high performance, and using a centralized scrubber service but deploy it on each glance-api node.

1. Add a status field to image location DB entry. Three possible states are 'active', 'pending_delete', and 'deleted'.
2. Keep location status be internal, only display/export locations by API if they are 'active'.
3. The public API doesn't need to change.
4. Image location status migration initially:
image-status => location-status
--------------------------------------------
queued => <None>
saving => <None>
active => active
pending_delete => pending_delete
killed or deleted => deleted
5. Image location status transition DAG diagram:
image upload data or new location(s) added ==>
    'active' status ==> image deleted by api controller ==>
        if CONF.delayed_delete disable ==> delete image  ==> 'deleted' status (end)
                                             |---- enabled ==> schedule delayed delete ==> 'pending_delete' status
                                                                                 ==> Scrubber delete image  ==> 'deleted' status (end)

Specification URL (additional information):

None

Comment 8 Sean Cohen 2015-01-26 03:16:05 UTC
Code was merged upstream
Tracking for Kilo feature freeze
Sean

Comment 14 errata-xmlrpc 2015-08-05 13:10:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2015:1548


Note You need to log in before you can comment on or make changes to this bug.