<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 6 Jan 2017, at 05:04, Rabi Mishra <<a href="mailto:ramishra@redhat.com" class="">ramishra@redhat.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">On Fri, Jan 6, 2017 at 4:38 AM, Emilien Macchi <span dir="ltr" class="">
<<a href="mailto:emilien@redhat.com" target="_blank" class="">emilien@redhat.com</a>></span> wrote:<br class="">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Greetings Heat folks!<br class="">
<br class="">
My question is simple:<br class="">
When do you plan to support Glance v2?<br class="">
<a href="https://review.openstack.org/#/c/240450/" rel="noreferrer" target="_blank" class="">https://review.openstack.org/#<wbr class="">/c/240450/</a><br class="">
<br class="">
The spec looks staled while Glance v1 was deprecated in Newton (and v2<br class="">
was started in Kilo!).<br class="">
<br class="">
</blockquote>
<div class=""> <br class="">
</div>
<div class="">Hi Emilien,<br class="">
<br class="">
</div>
<div class="">
<div class="">I think we've not been able to move to v2 due to v1/v2 incompatibility[1] with respect to the location[2] property. Moving to v2 would break all existing templates using that property.
<br class="">
<br class="">
</div>
<div class="">I've seen several discussions around that without any conclusion.  I think we can support a separate v2 image resource and deprecate the current one, unless there is a better path available.<br class="">
</div>
<div class=""><br class="">
<br class="">
[1] <a href="https://wiki.openstack.org/wiki/Glance-v2-v1-client-compatability" target="_blank" class="">
https://wiki.openstack.org/<wbr class="">wiki/Glance-v2-v1-client-<wbr class="">compatability</a><br class="">
[2] <a href="https://github.com/openstack/heat/blob/master/heat/engine/resources/openstack/glance/image.py#L107-L112" class="">
https://github.com/openstack/<wbr class="">heat/blob/master/heat/engine/<wbr class="">resources/openstack/glance/<wbr class="">image.py#L107-L112</a><br class="">
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div><br class="">
</div>
Would this be backwards compatible (i.e. the old image resource would still work without taking advantage of the new functions) or would heat users have to change their templates?</div>
<div><br class="">
</div>
<div>It would be good if there is a way to minimise the user impact.</div>
<div><br class="">
</div>
<div>Tim</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">
<div class="gmail_extra">
<div class="gmail_quote">
<div class=""> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
As an user, I need Glance v2 support so I can remove Glance Registry<br class="">
from my deployment. and run pure v2 everywhere in my cloud.<br class="">
<br class="">
Thanks for your help,<br class="">
<span class="gmail-HOEnZb"><font color="#888888" class="">--<br class="">
Emilien Macchi<br class="">
<br class="">
______________________________<wbr class="">______________________________<wbr class="">______________<br class="">
OpenStack Development Mailing List (not for usage questions)<br class="">
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org/?subject:unsubscribe" rel="noreferrer" target="_blank" class="">
OpenStack-dev-request@lists.<wbr class="">openstack.org?subject:<wbr class="">unsubscribe</a><br class="">
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank" class="">http://lists.openstack.org/<wbr class="">cgi-bin/mailman/listinfo/<wbr class="">openstack-dev</a><br class="">
</font></span></blockquote>
</div>
<br class="">
<br clear="all" class="">
<br class="">
-- <br class="">
<div class="gmail_signature">
<div dir="ltr" class="">
<div class="">Regards,</div>
Rabi Misra
<div class=""><br class="">
</div>
</div>
</div>
</div>
</div>
__________________________________________________________________________<br class="">
OpenStack Development Mailing List (not for usage questions)<br class="">
Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org" class="">
OpenStack-dev-request@lists.openstack.org</a>?subject:unsubscribe<br class="">
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</body>
</html>