Bug 1997269

Summary: Have to refresh console to install kube-descheduler
Product: OpenShift Container Platform Reporter: Paige Rubendall <prubenda>
Component: Management ConsoleAssignee: Jon Jackson <jonjacks>
Status: CLOSED ERRATA QA Contact: Yanping Zhang <yanpzhan>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.9CC: aos-bugs, kdoberst, nmukherj, prubenda, rorai, yapei
Target Milestone: ---Keywords: Reopened
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-12 04:37:30 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
404 on Page none

Description Paige Rubendall 2021-08-24 19:09:54 UTC
Created attachment 1817222 [details]
404 on Page

Description of problem:
After installing the descheduler operator and I try to add the kube descheduler and the page shows "404 Not Found" until I refresh the console

Version-Release number of selected component (if applicable):4.9.0-0.nightly-2021-08-23-224104


How reproducible: 100%


Steps to Reproduce:
1. Create ocp cluster with "ci" 
2. Install 4.9.0* descheduler from operator-hub
3. Go to Kube Descheduler tab, error seen 

Actual results:
Page shows 404 and not able to create the kube descheduler till refresh of overall page

Expected results:
Kube descheduler can be added immeditately after operator gets installed and doesn't require page reload

Additional info:

Comment 1 Jakub Hadvig 2021-08-26 12:05:11 UTC
Tried to reproduce the issue on two cluster:
- 4.9.0-0.nightly-2021-08-25-231643
- 4.9.0-0.nightly-2021-08-26-040328

Latest version of kube-descheduler on them was 4.8.0-202107291502.
I wasn't able to reproduce the issue on any of them. It is possible that there could be a race when creating KubeDeschedulers CRD.

Closing the issue. feel free to reopen in case you hit it again/periodically.

Comment 3 Jon Jackson 2021-09-03 15:42:59 UTC
I believe we talked about this in scrum and the bug was reproduced. I haven't had a chance to look into this yet, but suspect that we need to change the way we request or watch the CRD for the instance tabs.

Comment 7 Yanping Zhang 2021-11-15 05:57:59 UTC
Checked on ocp 4.10 cluster with payload 4.10.0-0.nightly-2021-11-14-184249. Install Kube Descheduler Operator (4.9.0-202111020858) from OperatorHub, then click "Kube Descheduler" tab from installed Kube Descheduler page, there is not "404 not found" info on the page. Could create "Kube Descheduler" by clicking "Create KubeDescheduler".

Comment 11 errata-xmlrpc 2022-03-12 04:37:30 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.10.3 security 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-2022:0056