Bug 1065552

Summary: Unhandled exeception reference when viewing /app/console
Product: OpenShift Online Reporter: Stefanie Forrester <dakini>
Component: WebsiteAssignee: Jordan Liggitt <jliggitt>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.xCC: cknapp, jliggitt, yujzhang
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-12 03:07:33 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:
Embargoed:
Attachments:
Description Flags
Full traceback of error from site/production.log none

Description Stefanie Forrester 2014-02-14 22:53:25 UTC
Created attachment 863465 [details]
Full traceback of error from site/production.log

Description of problem:

When a user attempted to view the /app/console, an error with this reference ID was displayed:

#954af93677862c643d54da31715c16f1

Searching the console logs for this error gives some context:

2014-02-14 10:13:12.183 [INFO ] Started GET "/app/console" for 66.187.233.202 at 2014-02-14 10:13:12 -0500 (pid:27317)
2014-02-14 10:13:12.186 [INFO ] Processing by ConsoleIndexController#index as HTML (pid:27317)
2014-02-14 10:13:12.187 [DEBUG] Session contents: {"ticket"=>"0|aNItehiwQj1ci5IoqEwjTeH2moXxNff6zJY", "login"=>"cknapp", "streamline_type"=>:full, "session_id"=>"1af109b85d275f91986c021ee4967fb0", "_csrf_token"=>"AEIjGPizfg/nOEXaMMVsAxrbv1X3xqRgwL/6Crx7K2g="} (pid:27317)
2014-02-14 10:13:12.459 [DEBUG] Streamline call (270.9ms) terms! /wapps/streamline/protected/findUnacknowledgedTerms.html?hostname=openshift.redhat.com&context=OPENSHIFT&locale=en [ args: {}, code: 302, response: nil, exception: ["Streamline::StreamlineException", "No JSON in response "] ] (pid:27317)
2014-02-14 10:13:12.461 [ERROR] Unhandled exception reference #954af93677862c643d54da31715c16f1: No JSON in response 


(Full traceback attached)

The login name used here, cknapp, does not appear to be present in our system (nothing in mongo, and our ops tools return "Error: User 'cknapp' not found". 

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


How reproducible:
Unsure. It only seem to be a single case at this point.

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Yujie Zhang 2014-02-17 05:08:54 UTC
Tried several times on devenv_4382 and devenv-stage_689, can not reproduce this bug, user can login without error.

Comment 2 Jordan Liggitt 2014-02-17 16:36:25 UTC
Probably due to expired Streamline ticket. Will fix to handle 302 response from Streamline better.

In the meantime, does logging out (or clearing cookies) and logging in again fix the problem?

Comment 3 Chester Knapp 2014-02-17 17:11:01 UTC
(In reply to Jordan Liggitt from comment #2)
> Probably due to expired Streamline ticket. Will fix to handle 302 response
> from Streamline better.
> 
> In the meantime, does logging out (or clearing cookies) and logging in again
> fix the problem?

Yeah, I'm not seeing the issue anymore. https://openshift.redhat.com/app/console now redirects me to https://openshift.redhat.com/app/console/applications (expected, since I have no existing apps right now).

Comment 4 Chester Knapp 2014-02-17 17:15:11 UTC
Also, I just received a "Welcome to your OpenShift account. Create your first App now." email, so it seems my account may not have been fully initialized until just now.

Comment 5 Jordan Liggitt 2014-02-17 17:45:46 UTC
Will merge fix in https://github.com/openshift/li/pull/2382

Comment 6 Yujie Zhang 2014-02-18 03:04:47 UTC
Tested on devenv-stage_700, user can login successfully without error, so verify this bug, thanks.