Public bug reported: 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 ** Affects: horizon Importance: Medium Assignee: Julie Pichon (jpichon) Status: New ** Tags: volume ** Tags added: volume -- 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): New 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp