Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1041740 - [RFE][glance]: Adding status property to image location
[RFE][glance]: Adding status property to image location
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-glance (Show other bugs)
unspecified
Unspecified Unspecified
medium Severity medium
: ---
: 7.0 (Kilo)
Assigned To: Flavio Percoco
Tzach Shefi
https://blueprints.launchpad.net/glan...
upstream_milestone_next upstream_stat...
: FutureFeature, OtherQA, Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-12 14:07 EST by RHOS Integration
Modified: 2016-04-26 16:40 EDT (History)
6 users (show)

See Also:
Fixed In Version: openstack-glance-2015.1.0-6.el7ost
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-05 09:10:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:1548 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2015-08-05 13:07:06 EDT

  None (edit)
Description RHOS Integration 2013-12-12 14:07:12 EST
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-25 22:16:05 EST
Code was merged upstream
Tracking for Kilo feature freeze
Sean
Comment 14 errata-xmlrpc 2015-08-05 09:10:58 EDT
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.