<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">On Sat, Oct 27, 2018 at 10:08 PM Gary Kotton <<a href="mailto:gkotton@vmware.com">gkotton@vmware.com</a>> wrote:<br><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">





<div lang="EN-US">
<div class="gmail-m_-5884960492874386839WordSection1">
<p class="MsoNormal"><span style="font-size:11pt">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Does heat support </span><span style="font-family:-webkit-standard;color:black">os-compute-api-version</span><span style="font-size:11pt">? Say for example I am using queens but have a use case via heat
 that requires a API parameter that was capped in the 2.56</span></p></div></div></blockquote><div><br></div><div>There isn't a way to specify compute microversion in the template.</div><div><br></div><div>Till queens, heat client plugin for nova was using the base api version[1], unless a specific feature/property requires a higher mircoversion[2]. So features capped in newer api versions should be usable without any change.<br></div><div><br></div><div>However, we moved to use the "max api microversion supported" as the default[3] since rocky to support new features without much changes and not to have too many versioned clients. As a side-effect, features/properties capped by new nova api microversions can't be used any more.<br></div><div><br></div><div>We probably have to look for a better way to handle this in the future.</div><div><br></div><div><br></div><div>[1] <a href="https://github.com/openstack/heat/blob/stable/queens/heat/engine/clients/os/nova.py#L61">https://github.com/openstack/heat/blob/stable/queens/heat/engine/clients/os/nova.py#L61</a></div><div>[2] <a href="https://github.com/openstack/heat/blob/stable/queens/heat/engine/resources/openstack/nova/server.py#L838">https://github.com/openstack/heat/blob/stable/queens/heat/engine/resources/openstack/nova/server.py#L838</a><br></div><div>[3] <a href="https://github.com/openstack/heat/blob/stable/rocky/heat/engine/clients/os/nova.py#L100">https://github.com/openstack/heat/blob/stable/rocky/heat/engine/clients/os/nova.py#L100</a><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-5884960492874386839WordSection1"><p class="MsoNormal"><span style="font-size:11pt"> microversion.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Thanks<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Gary<u></u><u></u></span></p>
</div>
</div>

__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Regards,</div>Rabi Mishra<div><br></div></div></div></div></div></div></div></div></div>