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-spec: https://review.openstack.org/#/c/183363/ 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. Regards, Tomoki Sekiyama __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev