Bug 1170475

Summary: [RFE][glance]: Add capabilities to storage driver
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: openstack-glanceAssignee: Flavio Percoco <fpercoco>
Status: CLOSED ERRATA QA Contact: nlevinki <nlevinki>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ddomingo, eglynn, fpercoco, markmc, scohen, yeylon
Target Milestone: Upstream M3Keywords: FutureFeature, OtherQA
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/glance/+spec/store-capabilities
Whiteboard: upstream_milestone_kilo-3 upstream_definition_approved upstream_status_implemented
Fixed In Version: openstack-glance-2015.1.0-6.el7ost Doc Type: Enhancement
Doc Text:
The glance_store library now supports more storage capabilities. As such, you now have more granular control over what operations are allowed in a specific store. This release features the following capabilities: - READ_ACCESS: Generic read access - WRITE_ACCESS: Generic write access - RW_ACCESS : READ_ACCESS and WRITE_ACCESS - READ_OFFSET: Read all bits from a offset (Included in READ_ACCESS) - WRITE_OFFSET: Write all bits to a offset (Included in WRITE_ACCESS) - RW_OFFSET : READ_OFFSET and WRITE_OFFSET - READ_CHUNK : Read required length of bits (Included in READ_ACCESS) - WRITE_CHUNK: Write required length of bits (Included in WRITE_ACCESS) - RW_CHUNK: READ_CHUNK and WRITE_CHUNK - READ_RANDOM: READ_OFFSET and READ_CHUNK - WRITE_RANDOM: WRITE_OFFSET and WRITE_CHUNK - RW_RANDOM: RW_OFFSET and RW_CHUNK - DRIVER_REUSABLE: driver is stateless and its instance can be reused safely
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-05 13:19:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description RHOS Integration 2014-12-04 05:12:42 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/glance/+spec/store-capabilities.

Description:

Storage capabilities is used to indicate the static and dynamic ability
of the storage driver instance based on current driver implementation and
particular driver configuration and backend storage status at runtime.

Use storage capabilities, glance_store can do more proper operations on
storage to support upper layer request, like to enable or disable image
adding function to glance, or if allow glance reuse driver instance for all
request according to whether the driver and/or the operation session of
backend storage is stateless.

Specification URL (additional information):

https://review.openstack.org/138310

Comment 6 errata-xmlrpc 2015-08-05 13:19:23 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