VMware Datastore Storage Backend

Registered by Arnaud Legendre

A VMware datastore storage backend*:

The VMware driver in Nova has to copy the image from the storage backend (filesystem for example) to the datastore to be able boot the VM.
We can get rid of this extra network transfer by having a datastore storage backend.
In this case, Nova will need to have an image handler** that is using the location of the image instead of downloading the bits to spawn an instance more efficiently.
Also, existing VMware customers will be able to create images using the "location(s)" (v2 api) to locate their existing files in the datastore.

The VMware datastore will be able to have its own implementation of the Store interface***, namely configure, get, add, delete, etc.

* https://github.com/openstack/glance/tree/master/glance/store
** https://review.openstack.org/#/c/33409/
*** https://github.com/openstack/glance/blob/master/glance/store/base.py

More information about datastore: http://pubs.vmware.com/vi3/sdk/ReferenceGuide/vim.Datastore.html

Blueprint information

Status:
Complete
Approver:
Mark Washenberger
Priority:
Medium
Drafter:
Arnaud Legendre
Direction:
Needs approval
Assignee:
Arnaud Legendre
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon 2014.1
Started by
Arnaud Legendre
Completed by
Arnaud Legendre

Related branches

Sprints

Whiteboard

Arnaud,

This looks good. However, I have few concerns regarding the life cycle of the instances created from the template. not so much with the glance changes:
.1. when booting an instance with multiple data volumes how will you map the volumes into Cinder?
.2. will you ignore the flavors
.3. how will you handle snapshots

-Yehia

Yehia -- I have a created another blueprint to track the OVA work. I move your comment to the other bp (https://blueprints.launchpad.net/nova/+spec/vmware-driver-ova-support) since your concern is not related to the Glance work.
-arnaud

Gerrit topic: https://review.openstack.org/#q,topic:bp/vmware-datastore-storage-backend,n,z

Addressed by: https://review.openstack.org/58883
    VMware Datastore storage backend

Gerrit topic: https://review.openstack.org/#q,topic:bp/https,n,z

Gerrit topic: https://review.openstack.org/#q,topic:bp/s,n,z

Addressed by: https://review.openstack.org/64328
    Skip unconfigurable drivers for store initialization

(?)

Work Items