Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1986385

Summary: Improve go library code should take into account only the latest installer pods when deciding if an operator is degraded or not
Product: OpenShift Container Platform Reporter: RamaKasturi <knarra>
Component: kube-schedulerAssignee: Lucas Severo <lseveroa>
Status: CLOSED CURRENTRELEASE QA Contact: RamaKasturi <knarra>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.8CC: jchaloup, mfojtik
Target Milestone: ---   
Target Release: 4.12.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: 2023-01-16 13:13:12 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 RamaKasturi 2021-07-27 12:23:28 UTC
Description of problem:

I see that scheduler operator goes into degraded state with error below
Status:
  Conditions:
    Last Transition Time:  2021-07-27T02:14:00Z
    Message:               InstallerPodContainerWaitingDegraded: Pod "installer-7-ip-10-0-56-161.us-east-2.compute.internal" on node "ip-10-0-56-161.us-east-2.compute.internal" container "installer" is waiting since 2021-07-27 02:05:59 +0000 UTC because ContainerCreating
    Reason:                InstallerPodContainerWaiting_ContainerCreating
    Status:                True
    Type:                  Degraded
    Last Transition Time:  2021-07-27T09:50:42Z

Version-Release number of selected component (if applicable):
[knarra@knarra ~]$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.8.0-0.nightly-2021-07-24-211147   True        False         8h      Error while reconciling 4.8.0-0.nightly-2021-07-24-211147: the cluster operator kube-scheduler is degraded


Version-Release number of selected component (if applicable):
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.8.0-0.nightly-2021-07-24-211147   True        False         8h      Error while reconciling 4.8.0-0.nightly-2021-07-24-211147: the cluster operator kube-scheduler is degraded


How reproducible:
Hit it once

Steps to Reproduce:
1. Not sure of the steps, have while running the automated cases.
2.
3.

Actual results:
scheduler operator is degraded

Expected results:
scheduler operator should not be degraded

Additional info:
Must-gather log link: http://virt-openshift-05.lab.eng.nay.redhat.com/knarra/must-gather.local.8081649268135416712/

Comment 2 RamaKasturi 2021-07-27 14:31:36 UTC
Link to must-gather archive: http://virt-openshift-05.lab.eng.nay.redhat.com/knarra/must-gather-1986385.tar.gz

Comment 3 Michal Fojtik 2021-08-26 15:15:22 UTC
This bug hasn't had any activity in the last 30 days. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're marking this bug as "LifecycleStale" and decreasing the severity/priority. If you have further information on the current state of the bug, please update it, otherwise this bug can be closed in about 7 days. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. Additionally, you can add LifecycleFrozen into Keywords if you think this bug should never be marked as stale. Please consult with bug assignee before you do that.

Comment 4 Mike Dame 2021-09-03 15:56:32 UTC
still looking into this

Comment 5 Michal Fojtik 2021-10-03 16:30:06 UTC
This bug hasn't had any activity in the last 30 days. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're marking this bug as "LifecycleStale" and decreasing the severity/priority. If you have further information on the current state of the bug, please update it, otherwise this bug can be closed in about 7 days. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. Additionally, you can add LifecycleFrozen into Whiteboard if you think this bug should never be marked as stale. Please consult with bug assignee before you do that.

Comment 6 Jan Chaloupka 2021-10-14 11:17:48 UTC
Appeared in https://bugzilla.redhat.com/show_bug.cgi?id=2009646#c2 as well.

Comment 7 Jan Chaloupka 2021-10-14 13:22:21 UTC
Potential improvement in https://github.com/openshift/library-go/pull/1230