Magnum Dashboard cannot retreive stats & clusters

Bug #1955663 reported by gauthier hubert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Magnum Dashboard Charm
New
Undecided
Unassigned

Bug Description

Hello, I just deployed magnum-dashboard & magnum on my infrastructure and it can't display clusters and cluster templates.

The part via openstack cli works correctly but it is the display part that does not work.
My version of openstack is Victoria.
here are the logs of openstack dashboard

HTTPS request is being made to host '10.30.0.121'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
[Thu Dec 23 15:29:49.135894 2021] [wsgi:error] [pid 1361709:tid 140180054677248] [remote 10.30.0.94:36944] warnings.warn(
[Thu Dec 23 15:29:49.227797 2021] [wsgi:error] [pid 1361709:tid 140180054677248] [remote 10.30.0.94:36944] OPENSTACK_IMAGE_BACKEND has a format "" unsupported by glance
[Thu Dec 23 15:29:49.227910 2021] [wsgi:error] [pid 1361709:tid 140180054677248] [remote 10.30.0.94:36944] OPENSTACK_IMAGE_BACKEND has a format "docker" unsupported by glance
[Thu Dec 23 15:29:49.228024 2021] [wsgi:error] [pid 1361709:tid 140180054677248] [remote 10.30.0.94:36944] OPENSTACK_IMAGE_BACKEND has a format "ova" unsupported by glance
[Thu Dec 23 15:29:49.228120 2021] [wsgi:error] [pid 1361709:tid 140180054677248] [remote 10.30.0.94:36944] OPENSTACK_IMAGE_BACKEND has a format "ploop" unsupported by glance
[Thu Dec 23 15:29:49.228237 2021] [wsgi:error] [pid 1361709:tid 140180054677248] [remote 10.30.0.94:36944] OPENSTACK_IMAGE_BACKEND has a format "vhdx" unsupported by glance
[Thu Dec 23 15:29:50.138019 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] error invoking apiclient
[Thu Dec 23 15:29:50.138084 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] Traceback (most recent call last):
[Thu Dec 23 15:29:50.138092 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] File "/usr/lib/python3/dist-packages/magnumclient/common/httpclient.py", line 409, in __iter__
[Thu Dec 23 15:29:50.138098 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] yield self.next()
[Thu Dec 23 15:29:50.138103 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] File "/usr/lib/python3/dist-packages/magnumclient/common/httpclient.py", line 421, in next
[Thu Dec 23 15:29:50.138108 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] raise StopIteration()
[Thu Dec 23 15:29:50.138113 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] StopIteration
[Thu Dec 23 15:29:50.138118 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046]
[Thu Dec 23 15:29:50.138123 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] The above exception was the direct cause of the following exception:
[Thu Dec 23 15:29:50.138129 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046]
[Thu Dec 23 15:29:50.138133 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] Traceback (most recent call last):
[Thu Dec 23 15:29:50.138140 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] File "/usr/lib/python3/dist-packages/openstack_dashboard/api/rest/utils.py", line 128, in _wrapped
[Thu Dec 23 15:29:50.138145 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] data = function(self, request, *args, **kw)
[Thu Dec 23 15:29:50.138150 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] File "/usr/lib/python3/dist-packages/magnum_ui/api/rest/magnum.py", line 131, in get
[Thu Dec 23 15:29:50.138156 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] result = magnum.cluster_list(request)
[Thu Dec 23 15:29:50.138161 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] File "/usr/lib/python3/dist-packages/magnum_ui/api/magnum.py", line 191, in cluster_list
[Thu Dec 23 15:29:50.138166 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] return magnumclient(request).clusters.list(limit, marker, sort_key,
[Thu Dec 23 15:29:50.138171 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] File "/usr/lib/python3/dist-packages/magnumclient/v1/baseunit.py", line 82, in list
[Thu Dec 23 15:29:50.138227 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] return self._list(self._path(path), self.__class__.template_name)
[Thu Dec 23 15:29:50.138234 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] File "/usr/lib/python3/dist-packages/magnumclient/common/base.py", line 121, in _list
[Thu Dec 23 15:29:50.138239 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] resp, body = self.api.json_request('GET', url)
[Thu Dec 23 15:29:50.138243 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] File "/usr/lib/python3/dist-packages/magnumclient/common/httpclient.py", line 233, in json_request
[Thu Dec 23 15:29:50.138248 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] resp, body_iter = self._http_request(url, method, **kwargs)
[Thu Dec 23 15:29:50.138253 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] File "/usr/lib/python3/dist-packages/magnumclient/common/httpclient.py", line 201, in _http_request
[Thu Dec 23 15:29:50.138257 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] body_list = [
[Thu Dec 23 15:29:50.138262 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] File "/usr/lib/python3/dist-packages/magnumclient/common/httpclient.py", line 201, in <listcomp>
[Thu Dec 23 15:29:50.138267 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] body_list = [
[Thu Dec 23 15:29:50.138271 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] RuntimeError: generator raised StopIteration
[Thu Dec 23 15:29:50.140340 2021] [wsgi:error] [pid 1361708:tid 140180079855360] [remote 10.30.0.94:37046] Internal Server Error: /horizon/api/container_infra/clusters/
[Thu Dec 23 15:29:50.573815 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] error invoking apiclient
[Thu Dec 23 15:29:50.573859 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] Traceback (most recent call last):
[Thu Dec 23 15:29:50.573867 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] File "/usr/lib/python3/dist-packages/magnumclient/common/httpclient.py", line 409, in __iter__
[Thu Dec 23 15:29:50.573872 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] yield self.next()
[Thu Dec 23 15:29:50.573877 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] File "/usr/lib/python3/dist-packages/magnumclient/common/httpclient.py", line 421, in next
[Thu Dec 23 15:29:50.573882 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] raise StopIteration()
[Thu Dec 23 15:29:50.573886 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] StopIteration
[Thu Dec 23 15:29:50.573890 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066]
[Thu Dec 23 15:29:50.573895 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] The above exception was the direct cause of the following exception:
[Thu Dec 23 15:29:50.573900 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066]
[Thu Dec 23 15:29:50.573904 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] Traceback (most recent call last):
[Thu Dec 23 15:29:50.573909 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] File "/usr/lib/python3/dist-packages/openstack_dashboard/api/rest/utils.py", line 128, in _wrapped
[Thu Dec 23 15:29:50.573913 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] data = function(self, request, *args, **kw)
[Thu Dec 23 15:29:50.573918 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] File "/usr/lib/python3/dist-packages/magnum_ui/api/rest/magnum.py", line 207, in get
[Thu Dec 23 15:29:50.573947 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] result = magnum.stats_list(request)
[Thu Dec 23 15:29:50.573953 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] File "/usr/lib/python3/dist-packages/magnum_ui/api/magnum.py", line 220, in stats_list
[Thu Dec 23 15:29:50.573959 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] return magnumclient(request).stats.list(project_id=project_id)
[Thu Dec 23 15:29:50.573964 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] File "/usr/lib/python3/dist-packages/magnumclient/v1/stats.py", line 30, in list
[Thu Dec 23 15:29:50.573969 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] return self._list(self._path(project_id))[0]
[Thu Dec 23 15:29:50.573973 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] File "/usr/lib/python3/dist-packages/magnumclient/common/base.py", line 121, in _list
[Thu Dec 23 15:29:50.573978 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] resp, body = self.api.json_request('GET', url)
[Thu Dec 23 15:29:50.573983 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] File "/usr/lib/python3/dist-packages/magnumclient/common/httpclient.py", line 233, in json_request
[Thu Dec 23 15:29:50.573987 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] resp, body_iter = self._http_request(url, method, **kwargs)
[Thu Dec 23 15:29:50.573992 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] File "/usr/lib/python3/dist-packages/magnumclient/common/httpclient.py", line 201, in _http_request
[Thu Dec 23 15:29:50.573997 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] body_list = [
[Thu Dec 23 15:29:50.574009 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] File "/usr/lib/python3/dist-packages/magnumclient/common/httpclient.py", line 201, in <listcomp>
[Thu Dec 23 15:29:50.574015 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] body_list = [
[Thu Dec 23 15:29:50.574020 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] RuntimeError: generator raised StopIteration
[Thu Dec 23 15:29:50.575764 2021] [wsgi:error] [pid 1361710:tid 140180071462656] [remote 10.30.0.94:37066] Internal Server Error: /horizon/api/container_infra/stats/

Revision history for this message
gauthier hubert (gauthier1997) wrote :
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.