Bug 2108003 - 4.10: do not block 4.10 to 4.11 upgrades if an existing CSI driver is found. Instead, warn about presence of third party CSI driver
Summary: 4.10: do not block 4.10 to 4.11 upgrades if an existing CSI driver is found. ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.10
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: 4.10.z
Assignee: Jan Safranek
QA Contact: Wei Duan
URL:
Whiteboard:
Depends On: 2089419
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-18 09:02 UTC by Jan Safranek
Modified: 2022-07-25 07:07 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2089419
Environment:
Last Closed: 2022-07-25 07:07:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift vmware-vsphere-csi-driver-operator pull 99 0 None open Bug 2108003: 4.10: Don't block upgrades when another CSI driver is found 2022-07-18 09:12:04 UTC
Red Hat Product Errata RHSA-2022:5664 0 None None None 2022-07-25 07:07:13 UTC

Comment 1 Jan Safranek 2022-07-18 11:41:02 UTC
The ClusterCSIDriver Upgradeable condition should be "True" with an extra message:

    - lastTransitionTime: "2022-07-18T11:19:39Z"
      message: found existing unsupported csi.vsphere.vmware.com driver
      reason: existing_driver_found
      status: "True"
      type: VMwareVSphereControllerUpgradeable

I'll open a separate BZ to get an alert for it, as it needs some changes in 4.12+4.11 too.

Comment 4 Wei Duan 2022-07-21 01:17:00 UTC
Verified pass on 4.10.0-0.nightly-2022-07-19-210744:
1. Upgradeable is True:
$ oc get co storage -o yaml
    message: 'VSphereCSIDriverOperatorCRUpgradeable: VMwareVSphereControllerUpgradeable:
      found existing unsupported csi.vsphere.vmware.com driver'
    reason: AsExpected
    status: "True"
    type: Upgradeable

2. no VSphereCSIDriverOperatorCR_VMwareVSphereController_check_deprecated_esxi_version when performing "oc adm upgrade"  
$ oc adm upgrade
Cluster version is 4.10.0-0.nightly-2022-07-19-210744

Upstream is unset, so the cluster will use an appropriate default.
Channel: stable-4.9
warning: Cannot display available updates:
  Reason: VersionNotFound
  Message: Unable to retrieve available updates: currently reconciling cluster version 4.10.0-0.nightly-2022-07-19-210744 not found in the "stable-4.9" channel

3. (Not the scope of this BZ fix, just record the test result) The storageclass "thin-csi" is still created when we did not install vSphere CSI Driver, it was tracked by another separate BZ. 

Move to "VERIFIED"

Comment 6 errata-xmlrpc 2022-07-25 07:07:09 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 (Important: OpenShift Container Platform 4.10.24 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-2022:5664


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