No need to get all the information for servers for some pages

Bug #1661423 reported by Lingxian Kong
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Wishlist
Lingxian Kong

Bug Description

When loading panels like 'Floating IPs', 'Volumes', etc. Horizon will get all the information for all servers from Nova, which will take bunch of time especially when there are huge number of VMs in the cloud.

Since novaclient already support 'detailed=False' when listing servers, Horizon could also benefit from that.

Changed in horizon:
assignee: nobody → Lingxian Kong (kong)
status: New → In Progress
Changed in horizon:
milestone: none → pike-1
importance: Undecided → Wishlist
tags: added: performance
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

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

commit c33b0840cbb0f0c29c9e12f56d986c2740d8f9c8
Author: Lingxian Kong <email address hidden>
Date: Thu Jan 26 15:04:08 2017 +1300

    Only get detailed info for Nova servers when necessary

    Horizon will get all servers from Nova in different several places,
    but sometimes it only need ID and name instead of all the related
    information of servers. novaclient already support 'detailed=False'
    param for servers query.

    Horizon page loading performance can also be improved with this patch.

    Closes-Bug: #1661423
    Change-Id: Ic4cc95cb4eaed0461a22ab1045fa83ba5a5e9ce4

Changed in horizon:
status: In Progress → Fix Released
tags: added: ocata-backport-potential
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/440504

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

Reviewed: https://review.openstack.org/440504
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=8a922df86b0c76e180294e32afd9c8a25b4cfdf4
Submitter: Jenkins
Branch: stable/ocata

commit 8a922df86b0c76e180294e32afd9c8a25b4cfdf4
Author: Lingxian Kong <email address hidden>
Date: Thu Jan 26 15:04:08 2017 +1300

    Only get detailed info for Nova servers when necessary

    Horizon will get all servers from Nova in different several places,
    but sometimes it only need ID and name instead of all the related
    information of servers. novaclient already support 'detailed=False'
    param for servers query.

    Horizon page loading performance can also be improved with this patch.

    Closes-Bug: #1661423
    Change-Id: Ic4cc95cb4eaed0461a22ab1045fa83ba5a5e9ce4
    (cherry picked from commit c33b0840cbb0f0c29c9e12f56d986c2740d8f9c8)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 11.0.1

This issue was fixed in the openstack/horizon 11.0.1 release.

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.

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

Other bug subscribers

Remote bug watches

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