[Openstack] Listing more than 1000 VMs: How?

Avishay Traeger avishay at stratoscale.com
Mon Apr 25 15:02:05 UTC 2016


This is the default limit that is configured in your setup (in the
nova.conf file).  You may pass an alternate limit to "nova list".  For
example, in novaclient, you can do:
nova list --limit 5000

On Fri, Apr 22, 2016 at 7:33 AM, Kurt Garloff <kurt at garloff.de> wrote:

> Hi,
>
> the nova config in my OpenStack installation has the normal limit of only
> returning 1000 items as a result to an API call. But I have way more than
> 1000 VMs.
> Stupid question: How can I get the next 1000 and ultimately all VMs listed
> using nova list (or openstack server list)?
>
> I could not find any option in nova cli tool to do it :-(
> I have a workaround (filtering), but that is a volatile hack IMVHO...
> Or do I just need to do my own curl calls to pass other limit or page
> parameters?
>
> Thx,
> --
> Kurt Garloff <kurt at garloff.de>
> (Sent from Mobile with K9. Please excuse brevity & typos.)
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>


-- 
*Avishay Traeger, PhD*
*System Architect*

Mobile: +972 54 447 1475
E-mail: avishay at stratoscale.com



Web <http://www.stratoscale.com/> | Blog <http://www.stratoscale.com/blog/>
 | Twitter <https://twitter.com/Stratoscale> | Google+
<https://plus.google.com/u/1/b/108421603458396133912/108421603458396133912/posts>
 | Linkedin <https://www.linkedin.com/company/stratoscale>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160425/c03e902f/attachment.html>


More information about the Openstack mailing list