Horizon makes duplicated and extra requests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Ivan Kolodyazhny |
Bug Description
Horizon Liberty
User reports slowness of the dashboard for most of the tabs.
Investigation shows that Horizon makes duplicated requests when it is trying to request information related to the networking. It also waits for about 4 seconds right after the initial user's successfull authentication before it proceeds with the first API call.
Here is the log of Horizon representing the delay:
2016-06-15 18:24:16,385 113992 DEBUG openstack_
2016-06-15 18:24:16,387 113992 DEBUG openstack_
2016-06-15 18:24:16,387 113992 DEBUG keystoneclient.
2016-06-15 18:24:16,481 113992 DEBUG keystoneclient.
son" -H "User-Agent: python-
2016-06-15 18:24:16,503 113992 DEBUG keystoneclient.
Wed, 15 Jun 2016 18:24:16 GMT content-type: application/json x-openstack-
RESP BODY: {"version": {"status": "stable", "updated": "2015-03-
penstack.
2016-06-15 18:24:16,503 113992 DEBUG keystoneclient.
32865c7bc84f/
8e9c1"
2016-06-15 18:24:16,561 113992 DEBUG keystoneclient.
Wed, 15 Jun 2016 18:24:16 GMT content-type: application/json x-openstack-
RESP BODY: {"links": {"self": "http://
cts": [{"is_domain": false, "description": "admin tenant", "links": {"self": "http://
}, "enabled": true, "id": "49cdffc876ca49
2016-06-15 18:24:16,561 113992 DEBUG keystoneclient.
2016-06-15 18:24:16,657 113992 DEBUG openstack_
2016-06-15 18:24:16,657 113992 INFO openstack_
2016-06-15 18:24:20,167 113996 DEBUG neutronclient.
hon-neutronclient" -H "X-Auth-Token: {SHA1}04486c34b
Last 2 rows represent the issue.
I'll attach parsed logs for each tab opening in order to show duplicated requests.
summary: |
- Horizon makes duclicated and extra requests + Horizon makes dublicated and extra requests |
summary: |
- Horizon makes dublicated and extra requests + Horizon makes duplicated and extra requests |
Changed in horizon: | |
importance: | Undecided → Medium |
assignee: | nobody → Timur Sufiev (tsufiev-x) |
Changed in horizon: | |
status: | New → In Progress |
Changed in horizon: | |
assignee: | Timur Sufiev (tsufiev-x) → Paul Karikh (pkarikh) |
Changed in horizon: | |
milestone: | none → newton-rc1 |
Changed in horizon: | |
milestone: | newton-rc1 → next |
Changed in horizon: | |
assignee: | Paul Karikh (pkarikh) → Rob Cresswell (robcresswell) |
Changed in horizon: | |
assignee: | Rob Cresswell (robcresswell) → Ivan Kolodyazhny (e0ne) |
Changed in horizon: | |
milestone: | next → pike-2 |
Networks tab: paste.openstack .org/show/ 516352/
http://
Routers tab: paste.openstack .org/show/ 516353/
http://
Access/Security paste.openstack .org/show/ 516354/
http://