Bug 1922267 - Collect specific ADFS error
Summary: Collect specific ADFS error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Insights Operator
Version: 4.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.7.0
Assignee: Serhii Zakharov
QA Contact: Pavel Šimovec
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-29 14:46 UTC by Serhii Zakharov
Modified: 2021-03-22 09:10 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Active Directory's (ADFS) OpenID implementation can potentially send a "/" character in the subject identifier (sub) claim during the authentication process. OpenShift 4 then tries to use this sub claim to create a resource within OpenShift. However, you cannot create a resource with a "/" in the name, resulting in authentication to fail. Here's the bug for the unsupported character in "sub" returned by ADFS: https://bugzilla.redhat.com/1812206 There's no known workaround (there's an unsupported workaround which is not recommended) There's a number of support cases attached to https://issues.redhat.com/browse/RFE-700 and feature epic https://issues.redhat.com/browse/MSTR-1093 Currently, the fix is planned for not sooner than 4.9! Needs to be implemented in 4.7! There is a rule, which checks this issue for Must-Gather. Msg to find: "AuthenticationError: invalid resource name", "[may not contain '/']" Where to search: authentication current logs, path in MG: namespaces/openshift-authentication/pods/*/*/*/logs/current.log
Clone Of:
Environment:
Last Closed: 2021-02-24 15:57:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift insights-operator pull 327 0 None closed Bug 1922267: collect invalid resource name error from logs 2021-02-17 15:36:26 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:57:31 UTC

Description Serhii Zakharov 2021-01-29 14:46:43 UTC
Active Directory's (ADFS) OpenID implementation can potentially send a "/" character in the subject identifier (sub) claim during the authentication process. OpenShift 4 then tries to use this sub claim to create a resource within OpenShift. However, you cannot create a resource with a "/" in the name, resulting in authentication to fail.

Here's the bug for the unsupported character in "sub" returned by ADFS: https://bugzilla.redhat.com/1812206

There's no known workaround (there's an unsupported workaround which is not recommended)

There's a number of support cases attached to  https://issues.redhat.com/browse/RFE-700

and feature epic https://issues.redhat.com/browse/MSTR-1093

Currently, the fix is planned for not sooner than 4.9! Needs to be implemented in 4.7!

 

There is a rule, which checks this issue for Must-Gather.

Msg to find: "AuthenticationError: invalid resource name", "[may not contain '/']"

Where to search: authentication current logs, path in MG: 

namespaces/openshift-authentication/pods/*/*/*/logs/current.log

Comment 5 errata-xmlrpc 2021-02-24 15:57:13 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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/RHSA-2020:5633


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