Bug 1948011

Summary: openshift-controller-manager constantly reporting type "Upgradeable" status Unknown
Product: OpenShift Container Platform Reporter: W. Trevor King <wking>
Component: openshift-controller-managerAssignee: Gabe Montero <gmontero>
openshift-controller-manager sub component: controller-manager QA Contact: wewang <wewang>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: low CC: adam.kaplan, aos-bugs, gmontero, gvanderp, kewang, mjudeiki, rrackow, sanchezl, wking
Version: 4.8   
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: openshift-controller-manager currently sets Upgradeable to Unknown Consequence: This is potentially confusing to users. Fix: Set Upgradeable=True Result: No more confusion should exist with the Upgradeable condition for openshift-controller-manager.
Story Points: ---
Clone Of: 1928141
: 1948012 (view as bug list) Environment:
Last Closed: 2021-07-27 22:58:43 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:

Description W. Trevor King 2021-04-09 18:27:51 UTC
+++ This bug was initially created as a clone of Bug #1928141 +++

openshift-controller-manager currently sets Upgradeable=Unknown, which is potentially confusing to users.  If it does not want to block minor updates, it should either leave Upgradeable completely unset or set it Upgradeable=True.  When this bug is fixed, we should remove the temporary exception I'm granting in [1].

[1]: https://github.com/openshift/origin/pull/26030

Comment 5 wewang 2021-05-10 07:21:01 UTC
Verified in version:
4.8.0-0.ci.test-2021-05-10-063539-ci-ln-0xlq1sk-latest

When set OpenShiftControllerManager to Unmanaged, check the ocm, Upgradeable is True now.and no "status":"Unknown" in ocm-o pod log now.

```
    reason: AsExpected
    status: "True"
    type: Upgradeable
```

so approved the pr.

Comment 7 W. Trevor King 2021-05-22 04:27:14 UTC
I tweaked the doc text a bit, because Upgradeable=Unknown doesn't block minor updates.  Upgradeable=True is just a much clearer way to say "I'm not blocking minor updates" than Upgradeable=Unknown.

Comment 10 errata-xmlrpc 2021-07-27 22:58:43 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.8.2 bug fix and 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-2021:2438