Sequential API requests in instance list as a bottleneck

Bug #1655307 reported by Mateusz Kowalski on 2017-01-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
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.

Changed in horizon:
assignee: nobody → Mateusz Kowalski (makowals)
status: New → In Progress
Changed in horizon:
milestone: none → next
importance: Undecided → High
Mateusz Kowalski (makowals) wrote :

For some reason bot did not update the link to review --

tags: added: performance
Changed in horizon:
milestone: next → pike-1
importance: High → Wishlist

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.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

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

Change abandoned by Mateusz Kowalski (<email address hidden>) on branch: stable/newton

Change abandoned by Mateusz Kowalski (<email address hidden>) on branch: stable/ocata

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

Other bug subscribers

Related blueprints