Uploaded image for project: 'OpenShift Storage'
  1. OpenShift Storage
  2. STOR-2017

Chore: update libraries in all operators

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None

      Update all OCP and kubernetes libraries in storage operators to the appropriate version for OCP release.
      Please wait for openshift/api, openshift/library-go, and openshift/client-go  are updated to the newest Kubernetes release! There may be non-trivial changes in these libraries.

      This includes (but is not limited to):

      • Kubernetes:
        • client-go
        • controller-runtime
      • OCP:
        • library-go
        • openshift/api
        • openshift/client-go
        • operator-sdk

      Operators:

      • csi-operator
      • openstack-cinder-csi-driver-operator
      • gcp-pd-csi-driver-operator
      • gcp-filestore-csi-driver-operator
      • csi-driver-manila-operator
      • vmware-vsphere-csi-driver-operator
      • ibm-vpc-block-csi-driver-operator
      • ibm-powervs-block-csi-driver-operator
      • secrets-store-csi-driver-operator
      • cluster-storage-operator
      • cluster-csi-snapshot-controller-operator
      • local-storage-operator
      • vsphere-problem-detector

      (please cross-check with *-operator + vsphere-problem-detector in our tracking sheet)

      EOL, do not upgrade:

      • github.com/oVirt/csi-driver-operator
      • github.com/openshift/alibaba-disk-csi-driver-operator
      • github.com/openshift/csi-driver-shared-resource-operator

      The following operators were migrated to csi-operator, do not update these obsolete repos:

      • github.com/openshift/aws-efs-csi-driver-operator
      • github.com/openshift/azure-disk-csi-driver-operator
      • github.com/openshift/azure-file-csi-driver-operator

      tools/library-bump.py  and tools/bump-all  may be useful. For 4.16, this was enough:

      mkdir 4.16-bump
      cd 4.16-bump
      ../library-bump.py --debug --web <file with repo list> STOR-1574 --run "$PWD/../bump-all github.com/google/cel-go@v0.17.7" --commit-message "Bump all deps for 4.16" 

      4.17 perhaps needs an older prometheus:

      ../library-bump.py --debug --web <file with repo list> STOR-XXX --run "$PWD/../bump-all github.com/google/cel-go@v0.17.8 github.com/prometheus/common@v0.44.0 github.com/prometheus/client_golang@v1.16.0 github.com/prometheus/client_model@v0.4.0 github.com/prometheus/procfs@v0.10.1" --commit-message "Bump all deps for 4.17" 

      4.18 special:

      Add "spec.unhealthyEvictionPolicy: AlwaysAllow" to all PodDisruptionBudget objects of all our operators + operands. See WRKLDS-1490 for details

      There has been change in library-go function called `WithReplicasHook`. See https://github.com/openshift/library-go/pull/1796.

              rh-ee-rhrmo Richard Hrmo
              rhn-engineering-jsafrane Jan Safranek
              Wei Duan Wei Duan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: