<div dir="ltr">It seems to bypass it... or I'm running into a LOWER limit (undocumented). So help on  limit -1 says it is still limited by osapi_max_limit<div><br></div><div>I'll check my config for that value (likely the default) when I get home.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 18, 2016 at 4:18 PM, Kris G. Lindgren <span dir="ltr"><<a href="mailto:klindgren@godaddy.com" target="_blank">klindgren@godaddy.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>
<div>
<div>Nova has a config setting for the maximum number of results to be returned by a single call.  You can bump that up so that you can do a nova list —all-tenants and still see everything. However if I am reading the below correctly, then I didn't realize
 that the —limit –1 apparently by-passes that config option?</div>
<div>
<div>
<div><font color="#000000"><font face="Calibri"><span style="font-size:14px"><br>
</span></font></font></div>
<div><font color="#000000"><font face="Calibri"><span style="font-size:14px">___________________________________________________________________</span></font></font></div>
<div><font color="#000000"><font face="Calibri"><span style="font-size:14px">Kris Lindgren</span></font></font></div>
<div><font color="#000000"><font face="Calibri"><span style="font-size:14px">Senior Linux Systems Engineer</span></font></font></div>
<div><font color="#000000"><font face="Calibri"><span style="font-size:14px">GoDaddy</span></font></font></div>
</div>
</div>
</div>
</div>
<div><br>
</div>
<span>
<div style="font-family:Calibri;font-size:12pt;text-align:left;color:black;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt">
<span style="font-weight:bold">From: </span>David Medberry <<a href="mailto:openstack@medberry.net" target="_blank">openstack@medberry.net</a>><br>
<span style="font-weight:bold">Date: </span>Wednesday, May 18, 2016 at 4:13 PM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:openstack-operators@lists.openstack.org" target="_blank">openstack-operators@lists.openstack.org</a>" <<a href="mailto:openstack-operators@lists.openstack.org" target="_blank">openstack-operators@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>[Openstack-operators] Problems (simple ones) at scale... Invisible VMs.<br>
</div><div><div class="h5">
<div><br>
</div>
<div>
<div>
<div dir="ltr">So, we just ran into an "at-sale" issue that shouldn't have been an issue.
<div><br>
</div>
<div>Many of the OpenStack CLI tools accept a limit parameter (to limit how much data you get back from a single query). However, much less well documented is that there is an inherent limit that you will run into at a 1000 VMs (not counting deleted ones).
 Many operators have already exceeded that limit and likely run into this. With nova cli and openstack client, you can simply pass in a limit of -1 to get around this (and though it will still make paged queries, you won't have "invisible" VMs which is what
 I've begun to call the ones that don't make it into the first/default page.</div>
<div><br>
</div>
<div>I can't really call this a bug for Nova (but it is definitely a bug for Cinder which doesn't have a functional get me all of them command and is also limited at 1000 for a single call but you can never get the rest at least in our Liberty environment.)</div>
<div><br>
</div>
<div>
<div>box:~# nova list  |tail -n +4 |head -n -1 |wc</div>
<div>   1000   16326  416000</div>
<div>box:~# nova list --limit -1  |tail -n +4 |head -n -1 |wc</div>
<div>   1060   17274  440960</div>
</div>
<div><br>
</div>
<div>(so I recently went over the limit of 1000)</div>
<div><br>
</div>
<div>YMMV.</div>
<div><br>
</div>
<div>Good luck.</div>
<div><br>
</div>
<div>-d</div>
</div>
</div>
</div>
</div></div></span>
</div>

</blockquote></div><br></div>