osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is there a limit on the number of VMs returned by "openstack server list --all-projects" ?


That's very useful, thank you! Is it possible to pull the value of max_limit from the Nova API, or does my script have to grep it from the config file?

-----Original Message-----
From: Matt Riedemann <mriedemos at gmail.com> 
Sent: Friday, December 20, 2019 10:06 AM
To: openstack-discuss at lists.openstack.org
Subject: Re: Is there a limit on the number of VMs returned by "openstack server list --all-projects" ?

On 12/20/2019 11:54 AM, Albert Braden wrote:
> Turns out it is max_limit in /etc/nova/nova.conf.

Yeah:

https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.openstack.org_nova_latest_configuration_config.html-23api.max-5Flimit&d=DwIC-g&c=DPL6_X_6JkXFx7AXWqB0tg&r=XrJBXYlVPpvOXkMqGPz6KucRW_ils95ZMrEmlTflPm8&m=fw4LQMotcUaOT7JswRsLNAebebvAh1OraMveMnAAg6E&s=ody0k39ys8bbjMl6E5BKbSje7S-yx760EtWiiOdDHMc&e= 

See:

https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.openstack.org_api-2Dguide_compute_paginated-5Fcollections.html&d=DwIC-g&c=DPL6_X_6JkXFx7AXWqB0tg&r=XrJBXYlVPpvOXkMqGPz6KucRW_ils95ZMrEmlTflPm8&m=fw4LQMotcUaOT7JswRsLNAebebvAh1OraMveMnAAg6E&s=n3XKVn2O-C2KBTN0ELtRSrar8WSq57Q74SnTTj6XSuA&e= 

-- 

Thanks,

Matt