Bug 1727249 - Could not add github idp successfully on console
Summary: Could not add github idp successfully on console
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.2.0
Assignee: Samuel Padgett
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-05 07:52 UTC by Yanping Zhang
Modified: 2019-10-16 06:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-16 06:33:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 1936 0 None None None 2019-07-05 15:56:53 UTC
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:33:19 UTC

Description Yanping Zhang 2019-07-05 07:52:05 UTC
Description of problem:
Add github idp from console, after filled field with "*", click "Add", it prompts error:"Error "Invalid value: "null": one of organizations or teams must be specified unless hostname is set or lookup is used" for field "spec.identityProviders[1].github"."

Version-Release number of selected component (if applicable):
4.2.0-0.ci-2019-07-03-100447

How reproducible:
Always

Steps to Reproduce:
1.Go to cluster OAuth configuration page, under "Identity Providers", click "Add", choose "GitHub".
2.Input Name, Client ID, ClientSecret. Click "Add"
3.Input a organization name in "Organization" field, click "Add" again.

Actual results:
2.Could not add successfully. See error info:
 Error "Invalid value: "null": one of organizations or teams must be specified unless hostname is set or lookup is used" for field "spec.identityProviders[1].github".
3. Still show the same error info:
Error "Invalid value: "null": one of organizations or teams must be specified unless hostname is set or lookup is used" for field "spec.identityProviders[1].github".

Expected results:
2,3. Should add idp successfully, since all required fields have been filled.

Additional info:

Comment 1 Samuel Padgett 2019-07-05 15:57:09 UTC
https://github.com/openshift/console/pull/1936

Comment 3 Yanping Zhang 2019-07-08 10:18:41 UTC
4.2.0-0.ci-2019-07-07-230657
console commit id: d14aceb5022a6eb89e18328d383a56c612a75073
Checked on OCP 4.2 env with above version. 
When create github idp from console, after set name, client id, client secret and organization, click "Add", the idp is added successfully.
The bug is fixed, so move it to Verified.

Comment 4 errata-xmlrpc 2019-10-16 06:33:09 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-2019:2922


Note You need to log in before you can comment on or make changes to this bug.