[openstack-dev] 答复: [heat] glance v2 support?

Zane Bitter zbitter at redhat.com
Thu Jan 12 13:11:08 UTC 2017


On 11/01/17 10:01, Thomas Herve wrote:
> On Wed, Jan 11, 2017 at 3:34 PM, Emilien Macchi <emilien at redhat.com> wrote:
>> On Wed, Jan 11, 2017 at 2:50 AM, Thomas Herve <therve at redhat.com> wrote:
>>> I think this is going where I thought it would: let's not do anything.
>>> The image resource is there for v1 compatibility, but there is no
>>> point to have a v2 resource, at least right now.
>>
>> If we do nothing, we force our heat-template users to keep Glance v1
>> API enabled in their cloud (+ running Glance Registry service), which
>> at some point doens't make sense, since Glance team asked to moved
>> forward with Glance v2 API.
>>
>> I would really recommend to move forward and stop ignoring the new API version.
>
> Emilien was right: by defaulting to Glance v1, we still required it
> for the image constraint, which is used everywhere like servers and
> volumes. We can easily switch to v2 for this, I'll do it right away.

For those following along at home, this merged: 
https://review.openstack.org/#/c/418987/

Patch to deprecate the resource type: 
https://review.openstack.org/#/c/419043/

- ZB



More information about the OpenStack-dev mailing list