Bug 1879110 - [4.3] Storage operator stops reconciling when going Upgradeable=False on v1alpha1 CRDs
Summary: [4.3] Storage operator stops reconciling when going Upgradeable=False on v1al...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.3.z
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.3.z
Assignee: Christian Huffman
QA Contact: Wei Duan
URL:
Whiteboard:
Depends On: 1879109
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-15 13:10 UTC by OpenShift BugZilla Robot
Modified: 2020-10-20 21:56 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-20 21:56:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-storage-operator pull 88 0 None closed [release-4.3] Bug 1879110: Move notUpgradeable check later to prevent z-stream upgrade failures 2020-10-05 18:40:19 UTC
Red Hat Product Errata RHSA-2020:4264 0 None None None 2020-10-20 21:56:31 UTC

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


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