Hi Ankush – suggest that you open a Launchpad for this.
Bill…
From: Rai, Ankush <Ankush.Rai@commscope.com>
Sent: Saturday, March 27, 2021 2:51 AM
To: starlingx-discuss@lists.starlingx.io
Subject: [Starlingx-discuss] Not able to access Horizon UI
[Please note: This e-mail is from an EXTERNAL e-mail address]
What causing this horizon issue, any pointers to debug it ?
Alarms:
+----------+--------------------------------------------------------------------------+------------------------------+----------+---------------------+ | Alarm ID | Reason Text | Entity ID | Severity | Time Stamp | +----------+--------------------------------------------------------------------------+------------------------------+----------+---------------------+ | 100.114 | NTP cannot reach external time source; syncing with peer controller only | host=controller-1.ntp | minor | 2021-03-27T06:31:53 | | | | | | .869431 | | | | | | | | 100.114 | NTP address 10.194.248.250 is not a valid or a reachable NTP server. | host=controller-1.ntp=10.194 | minor | 2021-03-25T17:51:56 | | | | .248.250 | | .064694 | | | | | | | | 100.114 | NTP address 10.194.248.250 is not a valid or a reachable NTP server. | host=controller-0.ntp=10.194 | minor | 2021-03-25T06:32:26 | | | | .248.250 | | .035234 | | | | | | | | 280.001 | edge is offline | subcloud=edge | critical | 2021-03-20T14:19:25 | | | | | | .650795 | | | | | | | | 100.114 | NTP configuration does not contain any valid or reachable NTP servers. | host=controller-0.ntp | major | 2021-02-20T13:11:39 | | | | | | .604729 | | | | | | | | 100.103 | Platform Memory threshold exceeded ; threshold 90.00%, actual 98.86% | host=controller-0 | critical | 2021-02-20T11:34:39 | | | | | | .542948 | | | | | |
|
Horizon Logs:
2021-03-27 06:45:04,264 [ERROR] django.request: Internal Server Error: /admin/ Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner response = get_response(request) File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response response = self.process_exception_by_middleware(e, request) File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 52, in dec return view_func(request, *args, **kwargs) File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec return view_func(request, *args, **kwargs) File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec return view_func(request, *args, **kwargs) File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 113, in dec return view_func(request, *args, **kwargs) File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 84, in dec return view_func(request, *args, **kwargs) File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 68, in view return self.dispatch(request, *args, **kwargs) File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 88, in dispatch return handler(request, *args, **kwargs) File "/usr/lib/python2.7/site-packages/horizon/tabs/views.py", line 120, in get self.load_tabs() File "/usr/lib/python2.7/site-packages/horizon/tabs/views.py", line 88, in load_tabs tab_group = self.get_tabs(self.request, **self.kwargs) File "/usr/lib/python2.7/site-packages/starlingx_dashboard/dashboards/admin/inventory/views.py", line 36, in get_tabs return self.tab_group_class(request, **kwargs) File "/usr/lib/python2.7/site-packages/horizon/tabs/base.py", line 118, in __init__ self._tabs = self._load_tabs(request) File "/usr/lib/python2.7/site-packages/horizon/tabs/base.py", line 128, in _load_tabs for tab in tabs]) File "/usr/lib/python2.7/site-packages/horizon/tabs/base.py", line 479, in __init__ super(TableTab, self).__init__(tab_group, request) File "/usr/lib/python2.7/site-packages/horizon/tabs/base.py", line 325, in __init__ self._allowed = self.allowed(request) and ( File "/usr/lib/python2.7/site-packages/starlingx_dashboard/dashboards/admin/inventory/tabs.py", line 227, in allowed return not stx_api.sysinv.is_system_mode_simplex(request) File "/usr/lib/python2.7/site-packages/starlingx_dashboard/api/sysinv.py", line 2656, in is_system_mode_simplex systems = system_list(request) File "/usr/lib/python2.7/site-packages/starlingx_dashboard/api/sysinv.py", line 1045, in system_list systems = cgtsclient(request).isystem.list() File "/usr/lib64/python2.7/site-packages/cgtsclient/v1/isystem.py", line 30, in list return self._list(self._path(), "isystems") File "/usr/lib64/python2.7/site-packages/cgtsclient/common/base.py", line 71, in _list _, body = self.api.json_request('GET', url) File "/usr/lib64/python2.7/site-packages/cgtsclient/common/http.py", line 245, in json_request self.authenticate() File "/usr/lib64/python2.7/site-packages/cgtsclient/common/http.py", line 347, in authenticate content_type="application/json") File "/usr/lib64/python2.7/site-packages/cgtsclient/common/http.py", line 219, in _cs_request error_json.get('debuginfo'), *args) HTTPNotFound: None ^C controller-0:~$ |
Thanks,
Ankush