Bug 1880422

Summary: RHACM logout is broken on OCP 4.6
Product: OpenShift Container Platform Reporter: Yu Cao <ycao56>
Component: oauth-apiserverAssignee: Stefan Schimanski <sttts>
Status: CLOSED NOTABUG QA Contact: Xingxing Xia <xxia>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.6CC: aos-bugs, mfojtik
Target Milestone: ---   
Target Release: 4.7.0   
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: 2020-10-02 08:44:49 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:

Description Yu Cao 2020-09-18 13:40:52 UTC
Description of problem:
Failed to log out RHACM on OCP 4.6

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


How reproducible:


Steps to Reproduce:
1. installed OCP 4.6 and then install RHACM
2. after successful installation, log into RHACM console
3. click on the header and try to logout

Actual results:
RHACM stays on the same page and was not logged out

Expected results:
Logged out and being redirected to login page

Additional info:
After some investigation, there was an api change that's causing logout no longer works for RHACM on OCP 4.6. OCP console also had same issue https://bugzilla.redhat.com/show_bug.cgi?id=1869966
I was able to find the change OCP console made https://github.com/openshift/console/commit/8c5c54024515af9a721e54202c9f5333ffade01e and made similar change in RHACM to fix the problem.

Due to this API change, RHACM team also needs to back port the fix to 2.0z stream.

Although the problem has been fixed, RHACM team would still like to open an issue on OCP team and see how we can work together to prevent similar situation from happening again in the future.