Create volume in same host in which vm instance is running

Registered by Stephen Ahn on 2013-06-04

In some use case (e.g. hadoop cluster), we need create local volume in the same host in which vm instance was created.

(cli version 2 example)
cinder create [--hint instance_uuid=<instance_uuid>] size

This volume only can be attached the specific vm instance.

HintFilter has to be added in cinder.conf

(cinder.conf)
scheduler_default_filters=AvailabilityZoneFilter,CapacityFilter,
CapabilitiesFilter,HintFilter

(Restrictions)
cinder-volume has to running in the computer server
which want to be using local storage.

Blueprint information

Status:
Complete
Approver:
John Griffith
Priority:
Medium
Drafter:
Stephen Ahn
Direction:
Approved
Assignee:
Stephen Ahn
Definition:
Obsolete
Series goal:
Accepted for future
Implementation:
Needs Code Review
Milestone target:
milestone icon next
Started by
Stephen Ahn on 2013-08-09
Completed by
Sean McGinnis on 2016-02-01

Related branches

Sprints

Whiteboard

(smcginnis): Marking obsolete as this has been sitting out there for a long time. If this is still needed, please submit a new bp.

<jdg>This ties in with some of the scheduling pieces and other topics regarding local storage libraries that we discussed at the summit, we'll have to see if what this morphs in to, although it's getting later in the cycle it would sure be nice to see this land for H.

@jdg: Stephen, any updates on this... are you still interested in working this BP or shall we find somebody else to assign it to?

Stephen : John, I'm working on it. I'll upload code review soon.

Gerrit topic: https://review.openstack.org/#q,topic:bp/local-storage-volume-scheduling,n,z

Addressed by: https://review.openstack.org/66737
    In some use case (e.g. hadoop cluster), we need create local volume in the same host in which vm instance was created.

<jdg> I'm going to remove this from targeting for now; I'd still like to get this in for Icehouse but we may be a bit stalled so we'd have to weigh timing to things like an exception.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.