Bug 1816656

Summary: [4.3] Cluster fails to upgrade if image-registry operator is Unmanaged
Product: OpenShift Container Platform Reporter: Oleg Bulatov <obulatov>
Component: Image RegistryAssignee: Oleg Bulatov <obulatov>
Status: CLOSED ERRATA QA Contact: XiuJuan Wang <xiuwang>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.2.zCC: adam.kaplan, aos-bugs, obulatov, rmarasch, wking, wzheng, xiuwang
Target Milestone: ---   
Target Release: 4.3.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: the image-registry operator didn't report new version if it's unmanaged Consequence: in this case upgrades are blocked Fix: in unmanaged state, always report the actual version Result: upgrades succeed
Story Points: ---
Clone Of: 1791934 Environment:
Last Closed: 2020-04-30 01:28:11 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: 1791934    
Bug Blocks:    

Comment 3 XiuJuan Wang 2020-04-21 08:48:36 UTC
Could upgrade cluster from 4.2.29 to 4.3.0-0.nightly-2020-04-20-084750 when set image-registry to Unmanaged

$ oc get co image-registry -o yaml 
apiVersion: config.openshift.io/v1
kind: ClusterOperator
metadata:
  creationTimestamp: "2020-04-21T06:47:24Z"
  generation: 1
  name: image-registry
  resourceVersion: "43363"
  selfLink: /apis/config.openshift.io/v1/clusteroperators/image-registry
  uid: f5547be1-839b-11ea-8ed1-02f7a755fd60
spec: {}
status:
  conditions:
  - lastTransitionTime: "2020-04-21T06:50:09Z"
    message: The registry configuration is set to unmanaged mode
    reason: Unmanaged
    status: "True"
    type: Available
  - lastTransitionTime: "2020-04-21T06:58:46Z"
    message: The registry configuration is set to unmanaged mode
    reason: Unmanaged
    status: "False"
    type: Progressing
  - lastTransitionTime: "2020-04-21T06:47:26Z"
    message: The registry configuration is set to unmanaged mode
    reason: Unmanaged
    status: "False"
    type: Degraded

Comment 5 errata-xmlrpc 2020-04-30 01:28:11 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, 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:1529

Comment 6 Ricardo Maraschini 2020-05-12 09:14:44 UTC
*** Bug 1691649 has been marked as a duplicate of this bug. ***