OpenStack Block Storage (Cinder)
Go to file
Subramanian Neelakantan 7b64653931 Using HttpNfcLease to transfer vmdk files.
The current VMware driver supported only "sparse" and "preallocated"
vmware_disktype property set in a "vmdk" glance image. Both of these were just
copied over as *-flat.vmdk files into the vmfs or nfs file system of the
underlying datastore. This was used during copy_image_to_volume() api.
Unfortunately for a vsan datastore this work flow breaks since there is no
access to the flat vmdk file in the underlying datastore.

This patch introduces a new vmware_disktype for a glance image called
"streamOptimized". This is a format generated when a VM/vApp is exported using
the HttpNfc APIs. AS the name suggests this is a highly optimized format for
streaming in chunks and thus would result in much faster upload / download
speeds. The driver's copy_volume_to_image() implementation now always uploads
the vmdk contents using HttpNfc api so that the glance image ends up in the
"streamOptimized" disk type. Also the driver's copy_image_to_volume()
implementation now understands a "streamOptmized" disk type and uses HttpNfc to
import that vmdk into a backing VM.

Note that the same "streamOptmized" glance image format will also be supported
by VMware nova driver. This change is in a different patch -
https://review.openstack.org/#/c/53976/

Patch Set 4: Removing changes to requirements.txt that got in by mistake.
Patch Set 5: Fixing a small bug around progress updates.
Patch Set 6: Addressing comments from Avishay.

Fixes bug: 1229998

Change-Id: I6b55945cb61efded826e0bcf7e2a678ebbbbd9d3
2013-11-14 12:24:29 +05:30
bin Revert "remove cinder-rtstool because of rtslib dep" 2013-10-21 15:03:20 -04:00
cinder Using HttpNfcLease to transfer vmdk files. 2013-11-14 12:24:29 +05:30
doc replace u\2013 char with dash 2013-10-30 22:21:04 -07:00
etc/cinder Merge "Remove duplication of ISCSIDriver in ISERDriver" 2013-11-13 09:06:29 +00:00
tools Merge "Add auth_token settings to cinder.conf.sample." 2013-10-22 02:48:44 +00:00
.coveragerc Add .coveragerc to show proper coverage statistics. As in other openstack projects. 2013-05-15 03:40:07 -07:00
.gitignore Add eclipse project files to .gitignore 2013-08-05 17:56:07 +00:00
.gitreview Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
.mailmap Update my mailmap 2013-10-25 16:29:14 +08:00
.testr.conf Fix up the test framework 2013-06-14 14:02:17 +00:00
CONTRIBUTING.md Add CONTRIBUTING file. 2012-11-22 12:47:49 -07:00
HACKING.rst Update URL for global HACKING document and remove duplicate section 2013-11-11 11:39:23 -08:00
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
MANIFEST.in Use setuptools-git. 2012-08-10 11:56:00 -04:00
README.rst Cleanup README.rst 2013-07-22 11:26:34 +02:00
babel.cfg Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
openstack-common.conf Uses oslo.imageutils 2013-10-16 13:45:31 +08:00
pylintrc Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
requirements.txt remove rundundant lockfile requirement 2013-10-28 11:17:42 +00:00
run_tests.sh Merge "Don't need to init testr explicitly" 2013-09-03 09:26:17 +00:00
setup.cfg Rename "rtstool" to "cinder-rtstool", add dep 2013-10-23 18:04:33 -04:00
setup.py Updated from global requirements 2013-10-10 20:24:27 +00:00
taskflow.conf Refactoring of create_volume to use taskflow. 2013-08-07 19:08:21 -07:00
test-requirements.txt Move novaclient to requirements.txt 2013-09-10 22:58:19 -04:00
tox.ini Fix all occurences of H404 Hacking warning 2013-10-13 10:36:27 +03:00

README.rst

The Choose Your Own Adventure README for Cinder

You have come across a storage service for an open cloud computing service. It has identified itself as "Cinder." It was abstracted from the Nova project.

To monitor it from a distance: follow @openstack on twitter.

To tame it for use in your own cloud: read http://docs.openstack.org

To study its anatomy: read http://cinder.openstack.org

To dissect it in detail: visit http://github.com/openstack/cinder

To taunt it with its weaknesses: use http://bugs.launchpad.net/cinder

To watch it: http://jenkins.openstack.org

To hack at it: read HACKING.rst