No need to get all the information for servers for some pages
Bug #1661423 reported by
Lingxian Kong
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 |
tags: | added: ocata-backport-potential |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/425494 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=c33b0840cbb 0f0c29c9e12f56d 986c2740d8f9c8
Committed: https:/
Submitter: Jenkins
Branch: master
commit c33b0840cbb0f0c 29c9e12f56d986c 2740d8f9c8
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 461a22ab1045fa8 3ba5a5e9ce4
Change-Id: Ic4cc95cb4eaed0