Distributed Cloud: Error in Horizon error if system controller admin select Host Details action from Cloud Overview page

Bug #1797635 reported by Wendy Mitchell
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Won't Fix
Low
Tyler Smith

Bug Description

Brief Description
-----------------
STX: Error in Horizon error if system controller admin select Host Details action from Cloud Overview page

Severity
--------
Standard

Steps to Reproduce
------------------
Login to Horizon as admin
adminas System controller)
In the dC_admin "Cloud Overview" page, the System_Controller and Subclouds are listed listed
Select from the action 'Alarm, & Event "Host Details" from the system listed in the System Controller section

Expected Behavior
------------------
Fix Horizon error when selecting Host Details

Actual Behavior
----------------
An error is displayed prior to displaying the Host Inventory page (for admin RegionOne)
see errors in Horizon

2018-10-12 20:28:19,362 [INFO] openstack_auth.forms: Login successful for user "admin", remote address 128.224.141.73.
2018-10-12 20:28:19,633 [INFO] horizon.operation_log: [admin e08421a805194cc8a7a55ba606a71f80] [admin d218215ed916437b8bc98d8fdf94e0c3] [POST /auth/login/ 302] parameters:[{"fake_email": "", "username": "admin", "fake_password": "********", "region": "http://controller:5000/v3", "csrfmiddlewaretoken": "RZDG5IBagTGhhPRlC4ZUHHN5fq9LGjYp", "password": "********"}] message:[None]
2018-10-12 20:28:29,972 [ERROR] openstack_dashboard.api.rest.utils: HTTP exception with no status/code
Traceback (most recent call last):
  File "/usr/share/openstack-dashboard/openstack_dashboard/api/rest/utils.py", line 128, in _wrapped
    data = function(self, request, *args, **kw)
  File "/usr/lib/python2.7/site-packages/starlingx_dashboard/api/rest/dc_manager.py", line 75, in get
    result = dc_manager.subcloud_list(request)
  File "/usr/lib/python2.7/site-packages/starlingx_dashboard/api/dc_manager.py", line 56, in subcloud_list
    subclouds = dcmanagerclient(request).subcloud_manager.list_subclouds()
  File "/usr/lib/python2.7/site-packages/horizon/utils/memoized.py", line 88, in wrapped
    value = cache[key] = func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/starlingx_dashboard/api/dc_manager.py", line 29, in dcmanagerclient
    endpoint = base.url_for(request, 'dcmanager', 'adminURL')
  File "/usr/share/openstack-dashboard/openstack_dashboard/api/base.py", line 352, in url_for
    raise exceptions.ServiceCatalogException(service_type)
ServiceCatalogException: Invalid service catalog service: dcmanager
2018-10-12 20:28:29,974 [ERROR] openstack_dashboard.api.rest.utils: HTTP exception with no status/code
Traceback (most recent call last):
  File "/usr/share/openstack-dashboard/openstack_dashboard/api/rest/utils.py", line 128, in _wrapped
    data = function(self, request, *args, **kw)
  File "/usr/lib/python2.7/site-packages/starlingx_dashboard/api/rest/dc_manager.py", line 96, in get
    result = dc_manager.alarm_summary_list(request)
  File "/usr/lib/python2.7/site-packages/starlingx_dashboard/api/dc_manager.py", line 42, in alarm_summary_list
    summaries = dcmanagerclient(request).alarm_manager.list_alarms()
  File "/usr/lib/python2.7/site-packages/horizon/utils/memoized.py", line 88, in wrapped
    value = cache[key] = func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/starlingx_dashboard/api/dc_manager.py", line 29, in dcmanagerclient
    endpoint = base.url_for(request, 'dcmanager', 'adminURL')
  File "/usr/share/openstack-dashboard/openstack_dashboard/api/base.py", line 352, in url_for
    raise exceptions.ServiceCatalogException(service_type)
ServiceCatalogException: Invalid service catalog service: dcmanager

018-10-12 20:30:49,899 [ERROR] openstack_dashboard.api.rest.utils: HTTP exception with no status/code
Traceback (most recent call last):
  File "/usr/share/openstack-dashboard/openstack_dashboard/api/rest/utils.py", line 128, in _wrapped
    data = function(self, request, *args, **kw)
  File "/usr/lib/python2.7/site-packages/starlingx_dashboard/api/rest/dc_manager.py", line 96, in get
    result = dc_manager.alarm_summary_list(request)
  File "/usr/lib/python2.7/site-packages/starlingx_dashboard/api/dc_manager.py", line 42, in alarm_summary_list
    summaries = dcmanagerclient(request).alarm_manager.list_alarms()
  File "/usr/lib/python2.7/site-packages/horizon/utils/memoized.py", line 88, in wrapped
    value = cache[key] = func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/starlingx_dashboard/api/dc_manager.py", line 29, in dcmanagerclient
    endpoint = base.url_for(request, 'dcmanager', 'adminURL')
  File "/usr/share/openstack-dashboard/openstack_dashboard/api/base.py", line 352, in url_for
    raise exceptions.ServiceCatalogException(service_type)

Reproducibility
---------------
Reproducible

System Configuration
--------------------
DC System Controller

Branch/Pull Time/Commit
-----------------------
Master as of: 2018-10-08_01-52-01

Timestamp/Logs
--------------
see horizon.log time inline

Ghada Khalil (gkhalil)
tags: added: stx.gui
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Targeting stx.2019.03 - horizon issue with distributed cloud. Doesn't gate stx.2018.10 as it's not a common config

Changed in starlingx:
assignee: nobody → Tyler Smith (tyler.smith)
importance: Undecided → Medium
status: New → Triaged
Ghada Khalil (gkhalil)
summary: - Error in Horizon error if system controller admin select Host Details
- action from Cloud Overview page
+ Distributed Cloud: Error in Horizon error if system controller admin
+ select Host Details action from Cloud Overview page
Ghada Khalil (gkhalil)
tags: added: stx.distcloud
tags: added: stx.2019.03
Ken Young (kenyis)
tags: added: stx.2019.05
removed: stx.2019.03
Ken Young (kenyis)
tags: added: stx.2.0
removed: stx.2019.05
Ghada Khalil (gkhalil)
tags: added: stx.retestneeded
Bill Zvonar (billzvonar)
tags: added: stx.3.0
removed: stx.2.0
Revision history for this message
Ghada Khalil (gkhalil) wrote :

There are significant changes required to support Distributed Cloud in stx due to the containerized environment. Based on discussion with the Distributed Cloud PL, Dariush Eslimi, we agreed to close old Distributed Cloud bugs as Won't Fix. A full test cycle will be needed to verify the new implementation and new bugs can be opened for the issues reported then.

Changed in starlingx:
importance: Medium → Low
tags: removed: stx.3.0
Changed in starlingx:
status: Triaged → Won't Fix
Revision history for this message
Wendy Mitchell (wmitchellwr) wrote :

closing per wont fix decision above

tags: removed: stx.retestneeded
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.