Hello Folks, I have upgraded Newton --> Ocata --> Pike and everything is working fine except cinder from horizon. Horizon gives "Error: Unable to retrieve volume list."

asked 2018-10-05 03:30:52 -0500

faizan98 gravatar image

Hi I can list volumes using CLI but when using Horizon it give error. I'm using Haproxy for load balancing.

Cinder API Logs:

2018-10-05 11:00:49.764 21175 INFO eventlet.wsgi.server [-] 10.1.x.x "GET /v1/6ce5e94a2b3b4b44bf7a8c08de069021/os-volume-transfer/detail?all_tenants=True HTTP/1.1" status: 404  len: 252 time: 0.3264270
2018-10-05 11:00:50.069 21168 INFO eventlet.wsgi.server [-] 10.1.x.x "GET /v1/6ce5e94a2b3b4b44bf7a8c08de069021/snapshots/detail?all_tenants=True HTTP/1.1" **status: 404**  len: 252 time: 0.2936850
2018-10-05 11:01:25.260 21177 INFO eventlet.wsgi.server [-] 10.1.x.x "GET /v1/6ce5e94a2b3b4b44bf7a8c08de069021/os-volume-transfer/detail?all_tenants=True HTTP/1.1" status: 404  len: 252 time: 0.2870421
2018-10-05 11:01:25.561 21169 INFO eventlet.wsgi.server [-] 10.1.x.x "GET /v1/6ce5e94a2b3b4b44bf7a8c08de069021/snapshots/detail?all_tenants=True HTTP/1.1" status: 404  len: 252 time: 0.2909532
2018-10-05 11:05:55.459 21166 INFO eventlet.wsgi.server [-] 10.1.x.x "GET /v1/6ce5e94a2b3b4b44bf7a8c08de069021/os-volume-transfer/detail?all_tenants=True HTTP/1.1" status: 404  len: 252 time: 0.3064220
2018-10-05 11:05:55.470 21168 INFO eventlet.wsgi.server [-] 10.1.x.x "GET /v1/6ce5e94a2b3b4b44bf7a8c08de069021/snapshots/detail?all_tenants=True HTTP/1.1" status: 404  len: 252 time: 0.0021880

HTTPD Error Logs:

[Fri Oct 05 12:52:48.042134 2018] [:error] [pid 849] Not Found: The resource could not be found.<br /><br />
[Fri Oct 05 12:52:48.042185 2018] [:error] [pid 849]
[Fri Oct 05 12:52:48.042199 2018] [:error] [pid 849]
[Fri Oct 05 12:52:48.042211 2018] [:error] [pid 849]  (HTTP 404)
[Fri Oct 05 12:52:48.042222 2018] [:error] [pid 849] Traceback (most recent call last):
[Fri Oct 05 12:52:48.042233 2018] [:error] [pid 849]   File "/usr/share/openstack-dashboard/openstack_dashboard/dashboards/project/volumes/views.py", line 63, in _get_volumes
[Fri Oct 05 12:52:48.042246 2018] [:error] [pid 849]     sort_dir=sort_dir, paginate=True)
[Fri Oct 05 12:52:48.042261 2018] [:error] [pid 849]   File "/usr/share/openstack-dashboard/openstack_dashboard/api/cinder.py", line 304, in volume_list_paged
[Fri Oct 05 12:52:48.042302 2018] [:error] [pid 849]     for t in transfer_list(request, search_opts=search_opts)}
[Fri Oct 05 12:52:48.042312 2018] [:error] [pid 849]   File "/usr/share/openstack-dashboard/openstack_dashboard/api/cinder.py", line 1024, in transfer_list
[Fri Oct 05 12:52:48.042320 2018] [:error] [pid 849]     detailed=detailed, search_opts=search_opts)]
[Fri Oct 05 12:52:48.042351 2018] [:error] [pid 849]   File "/usr/lib/python2.7/site-packages/cinderclient/v2/volume_transfers.py", line 81, in list
[Fri Oct 05 12:52:48.042659 2018] [:error] [pid 849]     "transfers")
[Fri Oct 05 12:52:48.042669 2018] [:error] [pid 849]   File "/usr/lib/python2.7/site-packages/cinderclient/base.py", line 84, in _list
[Fri Oct 05 12:52:48.042676 2018] [:error] [pid 849]     resp, body = self.api.client.get(url)
[Fri Oct 05 12:52:48.042688 2018] [:error] [pid 849]   File "/usr/lib/python2.7/site-packages ...
(more)
edit retag flag offensive close merge delete