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

Bug 1879110

Summary: [4.3] Storage operator stops reconciling when going Upgradeable=False on v1alpha1 CRDs
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: StorageAssignee: Christian Huffman <chuffman>
Storage sub component: Operators QA Contact: Wei Duan <wduan>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: unspecified CC: aos-bugs, chuffman, jsafrane, lmohanty, sdodson, wduan, wking
Version: 4.3.zKeywords: UpcomingSprint, Upgrades
Target Milestone: ---   
Target Release: 4.3.z   
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: 2020-10-20 21:56:10 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: 1879109    
Bug Blocks:    

Comment 2 Wei Duan 2020-09-27 12:46:00 UTC
1. Set up cluster with 4.3.35
2. Install crd volumesnapshot*.snapshot.storage.k8s.io with v1alpha1 version
3. Before upgrade, check the cluster version info with 
    - lastTransitionTime: "2020-09-27T11:00:02Z"
      message: 'Cluster operator storage cannot be upgraded: Unable to update cluster as v1alpha1 version of volumesnapshotcontents.snapshot.storage.k8s.io, volumesnapshots.snapshot.storage.k8s.io, volumesnapshotclasses.snapshot.storage.k8s.iois detected. Remove these CRDs to allow the upgrade to proceed.'
      reason: AsExpected
      status: "False"
      type: Upgradeable
4. Case A (reproduced issue): Upgrade to 4.4.38(without fix), blocked with storage co:
$ oc get clusterversion 
NAME      VERSION   AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.3.35    True        True          15m     Working towards 4.3.38: 78% complete, waiting on storage
$ oc get clusterversion 
NAME      VERSION   AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.3.35    True        True          18m     Unable to apply 4.3.38: the cluster operator storage has not yet successfully rolled out
5. Case B(verified pass): Upgrade to 4.3.0-0.nightly-2020-09-26-170224(with fix), upgrade was successful.
$ oc get co storage
NAME      VERSION                             AVAILABLE   PROGRESSING   DEGRADED   SINCE
storage   4.3.0-0.nightly-2020-09-26-170224   True        False         False      94m
$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.3.0-0.nightly-2020-09-26-170224   True        False         61m     Cluster version is 4.3.0-0.nightly-2020-09-26-170224

Verified pass with test result above.

Comment 7 errata-xmlrpc 2020-10-20 21:56:10 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 (Low: OpenShift Container Platform 4.3.40 security and bug fix 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-2020:4264