Bug 1804434

Summary: ocm-o reports "Progressing=False" while upgrade is in progress
Product: OpenShift Container Platform Reporter: Adam Kaplan <adam.kaplan>
Component: openshift-controller-managerAssignee: Adam Kaplan <adam.kaplan>
Status: CLOSED ERRATA QA Contact: wewang <wewang>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.4CC: aos-bugs, mfojtik
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: devex
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: the operator for openshift-controller-manager reported that it was not progressing, even though a rollout of the controller manager was in progress Consequence: the operator prematurely reports that the controller manager is upgraded and available Fix: report that the operator is progressing until the daemonset for the openshift-controller-manager reports that all updated pods have been scheduled Result: the openshift-controller-manager operator does not prematurely report that its update has completed
Story Points: ---
Clone Of:
: 1804937 (view as bug list) Environment:
Last Closed: 2020-08-04 18:00:57 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:
Bug Depends On:    
Bug Blocks: 1804937    

Description Adam Kaplan 2020-02-18 20:01:45 UTC
Description of problem:

During upgrade, ocm-o reports `Progressing=False` even though the daemonset for the controller is still upgrading and the latest version is not being reported.


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


How reproducible: Sometimes


Expected results:

The operator should report `Progressing=True` until the daemonset rollout has completed.


Additional info:

https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/pr-logs/pull/openshift_machine-config-operator/1484/pull-ci-openshift-machine-config-operator-master-e2e-gcp-upgrade/1098

Comment 5 wewang 2020-03-09 03:50:39 UTC
Verified in version:
4.5.0-0.nightly-2020-03-06-190457

STEPS:
1. Update build.config.openshift.io, check when 3 pods are not all running in openshift-controller-manager project, then ocm-o report "Progressing=True"
$ oc get co -w |grep openshift-controller-manager
openshift-controller-manager               4.5.0-0.nightly-2020-03-06-190457   True        True          False      131m
openshift-controller-manager               4.5.0-0.nightly-2020-03-06-190457   True        True          False      131m
openshift-controller-manager               4.5.0-0.nightly-2020-03-06-190457   True        False         False      132m

Comment 7 errata-xmlrpc 2020-08-04 18:00:57 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.5 image release advisory), 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-2020:2409