<div dir="ltr">No, for some reason Nova will now always limit the number of entries it sends in a single response, no matter what microversion you use. If you use microversion of at least 2.40, it will let you request more responses, to get all the entries. I don't know why they did it like that.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 24, 2017 at 9:52 AM, Rob Cresswell (rcresswe) <span dir="ltr"><<a href="mailto:rcresswe@cisco.com" target="_blank">rcresswe@cisco.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">As I understand it, if someone configures Nova to use 2.40 via settings, then it will use 2.40 for every request. This could likely break Horizon in weird ways, which makes it seem risky to try and support it.<br>
<br>
What I don’t really understand about this FFE, is why we need to modify the behaviour at all; if we keep using an old microversion (I think it defaults to 2.1?) then shouldn’t behaviour stay exactly the same?<br>
<span class="HOEnZb"><font color="#888888"><br>
Rob<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> On 23 Jan 2017, at 21:08, Richard Jones <<a href="mailto:r1chardj0n3s@gmail.com">r1chardj0n3s@gmail.com</a>> wrote:<br>
><br>
> [I'm on vacation, so can't look into this too deeply, sorry]<br>
><br>
> I'm not sure I follow Rob's point here. Does the patch<br>
> <a href="https://review.openstack.org/#/c/410337" rel="noreferrer" target="_blank">https://review.openstack.org/#<wbr>/c/410337</a> just check the version to see<br>
> if it's >= 2.40 and take action appropriately? I don't see how it<br>
> changes anything to force requesting 2.40 with every request? Then<br>
> again, I've not been able to look into how the current clients'<br>
> microversion code is implemented/broken. Is it just that *declaring*<br>
> the 2.40 version in <a href="https://review.openstack.org/#/c/422642" rel="noreferrer" target="_blank">https://review.openstack.org/#<wbr>/c/422642</a> results in<br>
> all requests being forced to use that version?<br>
><br>
><br>
>     Richard<br>
><br>
> On 23 January 2017 at 23:10, Radomir Dopieralski <<a href="mailto:openstack@sheep.art.pl">openstack@sheep.art.pl</a>> wrote:<br>
>> Yes, to do it differently we need to add the microversion support patch that<br>
>> you are working on, and make use of it, or write a patch that has equivalent<br>
>> functionality.<br>
>><br>
>> On Fri, Jan 20, 2017 at 6:57 PM, Rob Cresswell<br>
>> <<a href="mailto:robert.cresswell@outlook.com">robert.cresswell@outlook.com</a>> wrote:<br>
>>><br>
>>> Just a thought: With the way we currently do microversions, wouldnt this<br>
>>> request 2.40 for every request ? There's a pretty good chance that would<br>
>>> break things.<br>
>>><br>
>>> Rob<br>
>>><br>
>>> On 20 January 2017 at 00:02, Richard Jones <<a href="mailto:r1chardj0n3s@gmail.com">r1chardj0n3s@gmail.com</a>> wrote:<br>
>>>><br>
>>>> FFE granted for the three patches. We need to support that nova API<br>
>>>> change.<br>
>>>><br>
>>>> On 20 January 2017 at 01:28, Radomir Dopieralski <<a href="mailto:openstack@sheep.art.pl">openstack@sheep.art.pl</a>><br>
>>>> wrote:<br>
>>>>> I would like to request a feature freeze exception for the following<br>
>>>>> patch:<br>
>>>>><br>
>>>>> <a href="https://review.openstack.org/#/c/410337" rel="noreferrer" target="_blank">https://review.openstack.org/#<wbr>/c/410337</a><br>
>>>>><br>
>>>>> This patch adds support for retrieving the simple tenant usages from<br>
>>>>> Nova in<br>
>>>>> chunks, and it is necessary for correct data given that related patches<br>
>>>>> have<br>
>>>>> been already merged in Nova. Without<br>
>>>>> it, the data received will be truncated.<br>
>>>>><br>
>>>>> In order to actually use that patch, however, it is necessary to set<br>
>>>>> the<br>
>>>>> Nova API version to at least<br>
>>>>> version 3.40. For this, it's necessary to also add this patch:<br>
>>>>><br>
>>>>> <a href="https://review.openstack.org/422642" rel="noreferrer" target="_blank">https://review.openstack.org/<wbr>422642</a><br>
>>>>><br>
>>>>> However, that patch will not work, because of a bug in the<br>
>>>>> VersionManager,<br>
>>>>> which for some reason<br>
>>>>> uses floating point numbers for specifying versions, and thus<br>
>>>>> understands<br>
>>>>> 2.40 as 2.4. To fix that, it<br>
>>>>> is also necessary to merge this patch:<br>
>>>>><br>
>>>>> <a href="https://review.openstack.org/#/c/410688" rel="noreferrer" target="_blank">https://review.openstack.org/#<wbr>/c/410688</a><br>
>>>>><br>
>>>>> I would like to request an exception for all those three patches.<br>
>>>>><br>
>>>>> An alternative to this would be to finish and merge the microversion<br>
>>>>> support, and modify the first patch to make use of it. Then we would<br>
>>>>> need<br>
>>>>> exceptions for those two patches.<br>
>>>>><br>
>>>>><br>
>>>>> ______________________________<wbr>______________________________<wbr>______________<br>
>>>>> OpenStack Development Mailing List (not for usage questions)<br>
>>>>> Unsubscribe:<br>
>>>>> <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
>>>>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
>>>>><br>
>>>><br>
>>>><br>
>>>> ______________________________<wbr>______________________________<wbr>______________<br>
>>>> OpenStack Development Mailing List (not for usage questions)<br>
>>>> Unsubscribe:<br>
>>>> <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
>>>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
>>><br>
>>><br>
>>><br>
>>> ______________________________<wbr>______________________________<wbr>______________<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.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
>>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
>>><br>
>><br>
>><br>
>> ______________________________<wbr>______________________________<wbr>______________<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.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
>><br>
><br>
> ______________________________<wbr>______________________________<wbr>______________<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.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
<br>
______________________________<wbr>______________________________<wbr>______________<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.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
</div></div></blockquote></div><br></div>