Bug 2010681

Summary: console-operator is slow to mark Degraded as False once console starts working
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Management ConsoleAssignee: Jakub Hadvig <jhadvig>
Status: CLOSED ERRATA QA Contact: Siva Reddy <schituku>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.8CC: aos-bugs, jokerman, spadgett, yapei
Target Milestone: ---   
Target Release: 4.9.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: 2021-11-10 21:02:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1999314    
Bug Blocks:    
Attachments:
Description Flags
console-operator Degraded messages none

Comment 1 Yadan Pei 2021-10-29 04:08:19 UTC
Created attachment 1838186 [details]
console-operator Degraded messages

Comment 5 Siva Reddy 2021-11-03 23:57:00 UTC

ClusterVersion:
  4.9.0-0.nightly-2021-11-03-043308 

Steps to verify:
1. Set managementState to 'Removed' so console resources will be entirely removed
$ oc get all -n openshift-console
No resources found in openshift-console namespace.
. Set managementState to 'Managed' so console resources will be restored
4. Monitor clusteroperator/console status and check console-operator logs

   tried multiple times, the Degraded status is updated within 10 secs almost simultaneously as console UI

console                                    4.9.0-0.nightly-2021-11-03-043308   True        False         False      2m36s   
console                                    4.9.0-0.nightly-2021-11-03-043308   True        False         False      2m37s   
console                                    4.9.0-0.nightly-2021-11-03-043308   False       False         False      0s      RouteHealthAvailable: route not yet available, https://console-openshift-console.apps.sch-1103-4091.qe.devcluster.openshift.com returns '503 Service Unavailable'
console                                    4.9.0-0.nightly-2021-11-03-043308   False       False         False      1s      RouteHealthAvailable: route not yet available, https://console-openshift-console.apps.sch-1103-4091.qe.devcluster.openshift.com returns '503 Service Unavailable'
console                                    4.9.0-0.nightly-2021-11-03-043308   False       True          False      3s      DeploymentAvailable: 0 replicas available for console deployment...
console                                    4.9.0-0.nightly-2021-11-03-043308   False       True          False      4s      DeploymentAvailable: 0 replicas available for console deployment...
console                                    4.9.0-0.nightly-2021-11-03-043308   False       True          False      5s      DeploymentAvailable: 0 replicas available for console deployment...
console                                    4.9.0-0.nightly-2021-11-03-043308   False       True          False      7s      DeploymentAvailable: 0 replicas available for console deployment...
console                                    4.9.0-0.nightly-2021-11-03-043308   False       True          False      8s      RouteHealthAvailable: route not yet available, https://console-openshift-console.apps.sch-1103-4091.qe.devcluster.openshift.com returns '503 Service Unavailable'
console                                    4.9.0-0.nightly-2021-11-03-043308   False       True          False      9s      RouteHealthAvailable: route not yet available, https://console-openshift-console.apps.sch-1103-4091.qe.devcluster.openshift.com returns '503 Service Unavailable'
console                                    4.9.0-0.nightly-2021-11-03-043308   True        True          False      0s      SyncLoopRefreshProgressing: Changes made during sync updates, additional sync expected.
console                                    4.9.0-0.nightly-2021-11-03-043308   True        True          False      2s      SyncLoopRefreshProgressing: Changes made during sync updates, additional sync expected.
console                                    4.9.0-0.nightly-2021-11-03-043308   True        False         False      3s

Comment 7 errata-xmlrpc 2021-11-10 21:02:21 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 (OpenShift Container Platform 4.9.6 bug fix 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/RHBA-2021:4119