← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1166455] Re: nova flavor-list only shows 1000 flavors

 

I found there is a configuration item named 'osapi_max_limit=1000',
which set the default maximum number of items to return to 1000. So the
number of flavor only up to 1000.

We can hit the REST API like this to get more items.
/flavors?limit=2000

But novaclient default get each flavor's  extra_spec is annoying me.

** Changed in: nova
       Status: Confirmed => Invalid

** Changed in: nova (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1166455

Title:
  nova flavor-list only shows 1000 flavors

Status in OpenStack Compute (Nova):
  Invalid
Status in Python client library for Nova:
  Confirmed
Status in “nova” package in Ubuntu:
  Invalid

Bug description:
  After I created a thousand new flavors (to enable some automation),
  with IDs 1000-1999, nova flavor-list now displays flavor 1, followed
  by 1000-1998, and then stops.

  Flavors 1999 and 2-6 are still valid and usable, just absent from the
  output of flavor-list (flavor-show is happy to provide details).

  (Also, performance seems to have been hurt by the number of flavors.
  Does it read all the data over the network before printing any of
  it??)

  The nova version in question is folsom.

  lamont

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1166455/+subscriptions