Bug 1332271

Summary: Blank Insights page displayed after selecting an organization
Product: Red Hat Satellite Reporter: Lindani Phiri <lphiri>
Component: RH Cloud - InsightsAssignee: Lindani Phiri <lphiri>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, cwelton, ehelms, jcallaha, lphiri
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-foreman-redhat_access-1.0.7-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:25:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Lindani Phiri 2016-05-02 17:48:16 UTC
Description of problem:

A blank page is shown when the Insights Overview, Systems, Rules or Manage menu is selected after selecting an organization. A javascript error is generated in the browser console.


Version-Release number of selected component (if applicable):

Satellite 6.2 beta


How reproducible:

Everytime.


Steps to Reproduce:
1. Login into Satellite 6.2 beta
2. Select "Any Context" in the Organization Menu
3. Select Red Hat Insights Overview, Systems, Rules or Manage menu 
4. You are prompted to select an organization
5. Select any organization that has a subscription manifest uploaded

Actual results:

A blank screen is displayed. A javascript load error is displayed in the javascript console.


Expected results:

The selected Insights menu page should load without any errors


Additional info:
The following exception is thrown in the javascript console:

Uncaught Error: [$injector:modulerr] Failed to instantiate module RedhatAccessInsights due to:
Error: [$injector:nomod] Module 'RedhatAccessInsights' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.3.16/$injector/nomod?p0=RedhatAccessInsights
    at https://192.168.121.52/assets/insights/application-472828d238d187068ec2cc737ce8936b1fec206e09193958b9b2677b44a8399e.js:3:2920
    at https://192.168.121.52/assets/insights/application-472828d238d187068ec2cc737ce8936b1fec206e09193958b9b2677b44a8399e.js:3:11288
    at t (https://192.168.121.52/assets/insights/application-472828d238d187068ec2cc737ce8936b1fec206e09193958b9b2677b44a8399e.js:3:10860)
    at https://192.168.121.52/assets/insights/application-472828d238d187068ec2cc737ce8936b1fec206e09193958b9b2677b44a8399e.js:3:11172
    at https://192.168.121.52/assets/insights/application-472828d238d187068ec2cc737ce8936b1fec206e09193958b9b2677b44a8399e.js:3:19606
    at i (https://192.168.121.52/assets/insights/application-472828d238d187068ec2cc737ce8936b1fec206e09193958b9b2677b44a8399e.js:3:3327)
    at p (https://192.168.121.52/assets/insights/application-472828d238d187068ec2cc737ce8936b1fec206e09193958b9b2677b44a8399e.js:3:19454)
    at zt (https://192.168.121.52/assets/insights/application-472828d238d187068ec2cc737ce8936b1fec206e09193958b9b2677b44a8399e.js:3:21144)
    at Z.o (https://192.168.121.52/assets/insights/application-472828d238d187068ec2cc737ce8936b1fec206e09193958b9b2677b44a8399e.js:3:8973)
    at Z (https://192.168.121.52/assets/insights/application-472828d238d187068ec2cc737ce8936b1fec206e09193958b9b2677b44a8399e.js:3:9283)
http://errors.angularjs.org/1.3.16/$injector/modulerr?p0=RedhatAccessInsigh…28d238d187068ec2cc737ce8936b1fec206e09193958b9b2677b44a8399e.js%3A3%3A9283)

Comment 3 Lindani Phiri 2016-05-16 13:34:21 UTC
Hi Eric,

This is fixed in tfm-rubygem-foreman-redhat_access-1.0.7-1

Comment 5 jcallaha 2016-06-02 13:50:50 UTC
Verified in Satellite 6.2 Beta Snap 13.

All insights pages now display the message below.

Organization Selection Required
Please choose an organization using the selector located at the far left of the menu.

Comment 6 Bryan Kearney 2016-07-27 11:25:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1501