← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1334608] Re: Project Volumes page could be more optimised

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

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

Title:
  Project Volumes page could be more optimised

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  With a large number of volumes, the project volume page can take a
  very long time to load.

  It seems we call volumes_list() 3 times when loading the page.

  1. Once to get the volumes list for populating the table - OK
      https://github.com/openstack/horizon/blob/e790ac070e/openstack_dashboard/dashboards/project/volumes/tabs.py#L65
  2. Once when we retrieve the snapshots, to show the volumes they're associated with. The snapshots are hidden in a tab so we shouldn't need to get to them so early, this could easily be prevented by not preloading the tab
     https://github.com/openstack/horizon/blob/e790ac070e/openstack_dashboard/dashboards/project/volumes/tabs.py#L65
  3. Another time when rendering the tabbed response, not quite sure why yet

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


References