Distributed Cloud: Better error handling in Horizon navigation following swact operation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Won't Fix
|
Low
|
Tyler Smith |
Bug Description
Brief Description
-----------------
Better error handling in Horizon navigation following swact operation
Severity
--------
Normal
Steps to Reproduce
------------------
Login to horizon as admin (system controller)
Select subcloud context eg. admin (subcloud-4)
Navigate to Platform - Host Inventory
2 controllers are listed and enabled/available
Initiate a swact in horizon on the active controller
Navigate eg. to Provider Networks panel
Expected Behavior
------------------
Better handling in the case of swact operation in Horizon
Actual Behavior
----------------
admin on Subcloud-4 performs swact.
Navigation on swact results in errors in horizon
eg.
Error: Unable to retrieve alarm summary
Error: Connection to neutron failed %(reason)s
Reproducibility
---------------
Reproducible
System Configuration
-------
Dist. Cloud system
Branch/Pull Time/Commit
-------
StarlingX_18.10 release branch as of 2018-10-18_01-52-00
Timestamp/Logs
--------------
see horizon.log
2018-10-23 21:27:52,959 [INFO] horizon.
2018-10-23 21:28:03,908 [ERROR] openstack_
2018-10-23 21:28:04,380 [WARNING] horizon.exceptions: Recoverable error: Error finding address for http://
2018-10-23 21:28:10,225 [WARNING] horizon.exceptions: Recoverable error: Connection to neutron failed: %(reason)s
2018-10-23 21:28:10,225 [ERROR] django.request: Internal Server Error: /admin/
Traceback (most recent call last):
File "/usr/lib/
response = wrapped_
File "/usr/lib/
return view_func(request, *args, **kwargs)
File "/usr/lib/
return view_func(request, *args, **kwargs)
File "/usr/lib/
return view_func(request, *args, **kwargs)
File "/usr/lib/
return view_func(request, *args, **kwargs)
File "/usr/lib/
return view_func(request, *args, **kwargs)
File "/usr/lib/
return view_func(request, *args, **kwargs)
File "/usr/lib/
return self.dispatch(
File "/usr/lib/
return handler(request, *args, **kwargs)
File "/usr/lib/
context = self.get_
File "/usr/lib/
context[
File "/usr/lib/
usages = quotas.
File "/usr/lib/
value = cache[key] = func(*args, **kwargs)
File "/usr/share/
disabled_quotas = get_disabled_
File "/usr/share/
if neutron.
File "/usr/lib/
value = cache[key] = func(*args, **kwargs)
File "/usr/share/
extensions = list_extensions
File "/usr/lib/
value = cache[key] = func(*args, **kwargs)
File "/usr/share/
extensions_list = neutronclient(
File "/usr/lib/
return self.get(
File "/usr/lib/
headers=
File "/usr/lib/
headers=
File "/usr/lib/
resp, replybody = self.httpclient
File "/usr/lib/
**kwargs)
File "/usr/lib/
raise exceptions.
ConnectionFailed: Connection to neutron failed: %(reason)s
2018-10-23 21:28:10,244 [WARNING] horizon.exceptions: Recoverable error: Error finding address for http://
2018-10-23 21:28:15,250 [WARNING] horizon.exceptions: Recoverable error: Connection to neutron failed: %(reason)s
2018-10-23 21:28:15,270 [WARNING] horizon.exceptions: Recoverable error: Error finding address for http://
2018-10-23 21:28:21,197 [WARNING] horizon.exceptions: Recoverable error: Connection to neutron failed: %(reason)s
2018-10-23 21:28:25,013 [WARNING] horizon.exceptions: Recoverable error: HTTP Server Error (HTTP 500) (Request-ID: req-5ebfe034-
summary: |
- STX: Distributed Cloud: Better error handling in Horizon navigation - following swact operation + Distributed Cloud: Better error handling in Horizon navigation following + swact operation |
tags: | added: stx.distcloud |
Low priority issue as the user is able to re-connect. Fix is best effort; no specific target release.