← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1535628] [NEW] Load drop-down tenant list via AJAX

 

Public bug reported:

I found a performance issue login in Horizon with Admin user.

If in your OpenStack cloud you have a lot of tenants, like > 1500, when
you try to login Horizon using Admin credentials it takes a lot of time
to load the main web page... Even it could rise a "time exception"
error.

This is because, when you login with Admin credential, the drop-down
tenant list is gonna fill in with ALL tenants in the system. If
OpenStack has a lot, this load is very high and it takes too much time.

My proposal is: load the dropdown tenant list in asynchronous way. More specific:
- Login Horizon with Admin
- The drop-down tenant list shows "Admin" tenant as selected tenant, as it does now.
- Only when you click in the drop-down list, the request to get all tenants, should be launched.

Any thoughts or comments?

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
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/1535628

Title:
  Load drop-down tenant list via AJAX

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  I found a performance issue login in Horizon with Admin user.

  If in your OpenStack cloud you have a lot of tenants, like > 1500,
  when you try to login Horizon using Admin credentials it takes a lot
  of time to load the main web page... Even it could rise a "time
  exception" error.

  This is because, when you login with Admin credential, the drop-down
  tenant list is gonna fill in with ALL tenants in the system. If
  OpenStack has a lot, this load is very high and it takes too much
  time.

  My proposal is: load the dropdown tenant list in asynchronous way. More specific:
  - Login Horizon with Admin
  - The drop-down tenant list shows "Admin" tenant as selected tenant, as it does now.
  - Only when you click in the drop-down list, the request to get all tenants, should be launched.

  Any thoughts or comments?

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


Follow ups