Enable the ability to pass in volume attributes to SolidFire via extra-spec keys

Registered by John Griffith

There are a number of use cases where it's desireable to do things with volumes out of band (ie not under Cinders control). One example is external backups without the use of c-backup.

It would be pretty simple to signify these sorts of things from Cinder through the use of extra-specs keys. For example, we'll create a type 'daily-backup' with extra-specs 'SFAttribute:backup=daily' which may instruct some automation to query the SolidFire device for any volumes with the attribute "backup=daily" to be backed up on a daily schedule.

These attributes are just metadata and can be used for anything. They don't effect Cinder's operation or change anything in how the volume behaves from Cinders perspective, but instead add additional information and signals for admins and automation outside of OpenStack/Cinder.

The only requirment is the use of a key delimiter, in this case `SFAttribute` which instructs the scheduler to ignore the associated key for scheduling, and also is used as a sentinal for the SF driver to determine what to store in attributes.

Blueprint information

Status:
Started
Approver:
None
Priority:
Low
Drafter:
John Griffith
Direction:
Approved
Assignee:
None
Definition:
New
Series goal:
Accepted for queens
Implementation:
Started
Milestone target:
milestone icon queens-3
Started by
Jay Bryant

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/enable-extraspec-keys-as-solidfire-attributes,n,z

Addressed by: https://review.openstack.org/512786
    There a number of use cases where it's desirable to do things with volumes out of band (ie not under Cinders control). One example is external backups without the use of c-backup.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.