Ability to store snapshots and images to different places

Registered by S├ębastien Han on 2013-05-14

The main idea is that Images and Snapshots don't require the same reliability level. Basically snapshots are more criticital than images.

It depends on the Glance store used but most of them can be really flexible:

*File: could be 2 distincts directories that point to different filesystem mount points. Let's say different level of RAID for the images and the snapshots.
* Swift no use case for now since tiering doesn't exit
* S3, could point to different buckets
* RBD, one pool for the images (replica count of 2) and one pool for the snapshots (replica count of 3).

The blueprint might need to be implemented separately for each backend.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

<jbresnah>
This seems very interesting. Can this be achieved now by having the uploader of the snapshot select a different store or is there more to this?
</jbresnah>

{ "rosmaita" : "I'm with jbresnah on this, presumably there would be a price difference for different reliability/access speed of storage, would want to allow the uploader to choose rather than just have glance make the snapshot/image decision for them" }

<jpretorius>
Great idea - would it not be simpler if Glance could use the cinder back-end? It would then have access to multiple backing stores and having options for the uploader to choose the backing store actually becomes a possibility?
</jpretorius>

I don't believe snapshots and images are actually distinct as far as glance is concerned--they're all just images. In that model, the client that uploads the image data (probably Nova) can specify at least in v1 images what store to use via a string. So it seems there is not really work to do here?
markwash rejected 2014-02-15

@markwash: as far as I know you can specify the same store multiple times. So yes you can select a specific store but this not really what I'd like to achieve. So maybe glance could support several sub-stores?

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.