← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1206762] Re: getting all flavors is too inefficient

 

** Changed in: nova
       Status: Incomplete => 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/1206762

Title:
  getting all flavors is too inefficient

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  when i  get all flavors by 'nova flavor-list',it is too inefficient.
  For more details:
      i create 1600 flavors to test, it will takes 78 seconds. as we all  know that 1600 kinds  flavors are not much at all for we create instances with them.

  In fact,it is inefficient to get  extra_specs for every flavor, and
  then add the extra_specs information to flavor. so, it will query db
  1600 times. why not get them only once from db.

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