Bug 1379066

Summary: [dev-preview-stg] Auth login redirects and gets 404 github.com page
Product: OpenShift Container Platform Reporter: Steve Speicher <sspeiche>
Component: apiserver-authAssignee: Stefanie Forrester <dakini>
Status: CLOSED CURRENTRELEASE QA Contact: weiwei jiang <wjiang>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aos-bugs, dakini, wsun
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-25 14:31:43 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 Steve Speicher 2016-09-24 14:34:39 UTC
Description of problem:
I'm attempting to log into https://console.dev-preview-stg.openshift.com and get 404 error

Version-Release number of selected component (if applicable):
atomic-openshift-3.3.0.32-1.git.0.37bd7ea.el7.x86_64
docker-1.10.3-46.el7.14.x86_64
kernel-3.10.0-327.36.1.el7.x86_64

How reproducible:
Attempt to log into web console.

Steps to Reproduce:
1. Register for access
2. Login to https://console.dev-preview-stg.openshift.com
3. Observe 404 github.com error

Comment 1 Jordan Liggitt 2016-09-24 14:42:23 UTC
The configured client id for the github IDP looks weird.

https://github.com/login/oauth/authorize?client_id=__omit_place_holder__b82e6f2333621b2f49925db0470cd309c33efb0d&redirect_uri=… 

Can ops check the IDP configuration?

Comment 2 Stefanie Forrester 2016-09-24 20:13:59 UTC
Thanks for pointing this out. An error in config management populated master-config with some bad values. I'm working on fixing it now.

Comment 3 Jordan Liggitt 2016-09-24 20:26:11 UTC
Thanks. Were there any other affected config options?

Comment 4 Stefanie Forrester 2016-09-24 20:42:41 UTC
The issue has been fixed. master-config looks good (I did a diff to check for anything else that might have gotten misconfigured). There was one other issue which caused oauth-error.html to appear in the config instead of oauth-error-dev.html. But that's been fixed now. And logging into the console worked for me.

Comment 5 Steve Speicher 2016-09-25 03:42:42 UTC
I can login just fine now, thanks.