[openstack-dev] [Cinder][Glance] Fixing up Cinder store in Glance
tomoki.sekiyama at hds.com
Thu Jul 2 23:04:23 UTC 2015
Hi Cinder experts,
Currently Glance has cinder backend but it is broken for a long time.
I am proposing a glance-spec/patch to fix it by implementing the
uploading/downloading images to/from cinder volumes.
Glance_store patch: https://review.openstack.org/#/c/166414/
This will be also useful for sharing volume data among tenants (similar
use-case with public snapshots proposal discussed at the design summit).
I need a review for them from cinder developers to make it progress.
The main part of the patch is in cinder.py. It implements 3 methods get(),
add(), and delete() methods, using cinderclient and os-brick.
- get() will attach a specified cinder volume to glance node, read the
data from it, then detach it.
- add() will create a new volume, attach it to the glance node to write
image data to it, then detach it.
- delete() will delete the specified volume.
The image volume will placed in the tenant specified
cinder_store_tenant_name, or current user's tenant if
cinder_store_tenant_name is not set.
Any comments are much appreciated, thanks.
More information about the OpenStack-dev