Osprofiler not working with Redis in Horizon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
osprofiler |
Fix Committed
|
Undecided
|
Michal Arbet |
Bug Description
Hi,
I wanted to have osprofiler support in horizon ( openstack-dashboard ) with redis driver.
I found several issues >>
1. Redis driver not working in osprofiler, incorrect call of base.Driver :
[Thu Jan 10 16:30:01.696258 2019] [wsgi:info] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.095478 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.095592 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.098910 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.098971 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.098984 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.098999 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099009 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099022 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099030 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099043 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099052 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099086 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099108 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099118 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099124 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099137 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099212 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099224 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099238 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099247 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099260 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099269 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099281 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099290 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099303 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099312 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099324 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099342 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099357 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099366 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099378 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099387 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099399 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099408 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099420 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099429 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099442 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099450 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099463 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099471 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099484 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099492 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099505 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099513 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
[Thu Jan 10 16:30:05.099535 2019] [wsgi:error] [pid 22113:tid 140339045926656] [client 193.86.
2. Horizon UnicodeDecodeError :
UnicodeDecodeError at /auth/login/
'ascii' codec can't decode byte 0xe2 in position 63097: ordinal not in range(128)
Request Method: GET
Request URL: http://
Django Version: 1.10.7
Exception Type: UnicodeDecodeError
Exception Value:
'ascii' codec can't decode byte 0xe2 in position 63097: ordinal not in range(128)
Exception Location: /usr/lib/
Python Executable: /usr/bin/python3
Python Version: 3.5.3
Python Path:
['/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
Server time: Thu, 10 Jan 2019 16:38:25 +0000
Error during template rendering
In template /usr/lib/
Above error is causing three dot in >>
openstack_
openstack_
openstack_
openstack_
openstack_
3. Horizon missing fields in list_traces function , bad calling engine.list_traces:
-fields = ['base_id', 'timestamp', 'info.request.
+fields = ['base_id', 'timestamp', 'info.request.
-traces = engine.
+traces = engine.
4. Horizon python3 binary issue :
TypeError at /project/
b'eyJobWFjX2tle
I will fill also horizon bug and add url to comment.
Changed in osprofiler: | |
status: | In Progress → Fix Committed |
https:/ /bugs.launchpad .net/horizon/ +bug/1811261 << horizon bugs