Bug 1816656 - [4.3] Cluster fails to upgrade if image-registry operator is Unmanaged
Summary: [4.3] Cluster fails to upgrade if image-registry operator is Unmanaged
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Image Registry
Version: 4.2.z
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 4.3.z
Assignee: Oleg Bulatov
QA Contact: XiuJuan Wang
URL:
Whiteboard:
: 1691649 (view as bug list)
Depends On: 1791934
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-24 13:32 UTC by Oleg Bulatov
Modified: 2024-03-25 15:46 UTC (History)
7 users (show)

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
Clone Of: 1791934
Environment:
Last Closed: 2020-04-30 01:28:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-image-registry-operator pull 504 0 None closed [release-4.3] Bug 1816656: update ClusterOperator object even if operator is unmanaged 2021-01-19 03:25:12 UTC
Red Hat Product Errata RHBA-2020:1529 0 None None None 2020-04-30 01:28:29 UTC

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. ***


Note You need to log in before you can comment on or make changes to this bug.