Bug 1041821

Summary: [RFE][glance]: Allow users to select S3 Reduced Redundancy Storage
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/glance/+spec/s3-reduced-redundancy
Whiteboard: upstream_milestone_none upstream_status_unknown upstream_definition_new
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:08:56 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:29:29 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/glance/+spec/s3-reduced-redundancy.

Description:

Amazon offers a reduced redundancy option to allow users control their costs by sacrificing some reliability.

The boto s3 client supports this option, so the glance add_image API should allow users to specify s3-specific image properties that cause the option to be selected.

One option would be to apply this QoS across-the-board for all images stored in S3
if a global config option is set, however it would usually depend on the nature of the image as to whether RSS is appropriate (e.g. custom images or snapshots are less reproducible and hence should be stored with maximum redundancy).

So the other option would be to support a generic header to allow the user to hint via a generic header (e.g. x-glance-reduced-redundancy) that reduced storage redundancy is acceptable for a particular image (with the caveat that this hint may have no effect if the underlying store only provides a single level of redundancy, as does Swift).

Specification URL (additional information):

None