[openstack-dev] Glance v1 and v2

Flavio Percoco flavio at redhat.com
Tue Feb 18 14:08:18 UTC 2014


On 18/02/14 10:57 +0100, Joe Hakim Rahme wrote:
>I have only played with Glance v2 locally on a devstack, so take what I write
>with a graing of salt.
>
>What's new in API v2?
>---------------------
>
>+ registry: You don't need to run glance-registry anymore. Unless you still
> support v1.

You can still run it for V2, it's just optional.

>
>+ tags: Every image has a tag list metadata. A tag can be
> created/updated/deleted by an image owner. A tag can be read by any member of
> the image.
>
>+ New membership mechanism: You can read about it here[1].
>
>+ You can query the API for JSON schemas describing resources.
>
>
>How well is it supported?
>-------------------------
>
>+ python-glanceclient: Supports API v2 through the cli flag  --os-image-api-version.
>
>+ Cinder: Supports API v2 (for volume creation from images). You specify the API
> version in cinder.conf (glance_api_version option).

It's worth noting that you can't upload images to Cinder - meaning,
create volumes by uploading images to Glance - yet.

-- 
@flaper87
Flavio Percoco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140218/7c755425/attachment.pgp>


More information about the OpenStack-dev mailing list