Sequential API requests in instance list as a bottleneck

Bug #1655307 reported by Mateusz Kowalski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Wishlist
Mateusz Kowalski

Bug Description

When loading instances list, the following API calls are executed sequentially

* nova server list
* neutron update addresses
* nova flavor list
* glance image list

Only the first one really needs to be the first one, three following ones can be run in parallel. Currently it acts as a big bottleneck in environments with a lot of servers, flavours and images.

Tags: performance
Changed in horizon:
assignee: nobody → Mateusz Kowalski (makowals)
status: New → In Progress
Changed in horizon:
milestone: none → next
importance: Undecided → High
Revision history for this message
Mateusz Kowalski (makowals) wrote :

For some reason bot did not update the link to review -- https://review.openstack.org/426496/

tags: added: performance
Changed in horizon:
milestone: next → pike-1
importance: High → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/426496
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=df194c8b4c25c6128f03a98fd0e628ba14b743ff
Submitter: Jenkins
Branch: master

commit df194c8b4c25c6128f03a98fd0e628ba14b743ff
Author: Mateusz Kowalski <email address hidden>
Date: Sat Jan 28 11:52:06 2017 +0100

    Make API calls in Instances view parallel

    In order to increase rendering speed, make
    api.nova.server_list, api.network.servers_update_addresses,
    api.nova.flavor_list and api.glance.image_list_detailed
    parallel. For admin panel also api.keystone.tenant_list
    is parallelized.

    Closes-bug: #1655307

    Change-Id: I83150d3963f1233edc9efbcdac299520dedbed3c

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/447111

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/447130

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 12.0.0.0b1

This issue was fixed in the openstack/horizon 12.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (stable/newton)

Change abandoned by Mateusz Kowalski (<email address hidden>) on branch: stable/newton
Review: https://review.openstack.org/447130

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (stable/ocata)

Change abandoned by Mateusz Kowalski (<email address hidden>) on branch: stable/ocata
Review: https://review.openstack.org/447111

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.