← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1655300] [NEW] Low performance when instances are using not available flavour

 

Public bug reported:

When user has a lot of machines using flavour which is not available
anymore, performance of instance list panel is very bad. The reason is
the redundant API call in instances/views.py for each machine like this.

Horizon first grabs a list of all available flavours and then iterates
through all machines. If for a particular one flavour is not on the
cached list, it sends an API request to nova. I believe it's redundant,
as if the flavour was not grabbed in the first call, it won't appear in
any of the following.

** Affects: horizon
     Importance: Undecided
     Assignee: Mateusz Kowalski (makowals)
         Status: In Progress

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

Title:
  Low performance when instances are using not available flavour

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  When user has a lot of machines using flavour which is not available
  anymore, performance of instance list panel is very bad. The reason is
  the redundant API call in instances/views.py for each machine like
  this.

  Horizon first grabs a list of all available flavours and then iterates
  through all machines. If for a particular one flavour is not on the
  cached list, it sends an API request to nova. I believe it's
  redundant, as if the flavour was not grabbed in the first call, it
  won't appear in any of the following.

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


Follow ups