Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-2410

CRW addon 2.12.1 is failing to update correctly on the OSD clusters (manual removal of previous csv is required)

    XMLWordPrintable

Details

    • False
    • False

    Description

      During the rollout update of the CRW 2.12.1 via the OCM addon flow the following incident happened:

       

       

      due to the broken state of the 2.12.0 addon version 2.12.1 failed to be installed correctlty.

       

      SOP for fixing the update:

      • oc get csv

      ```
      NAME DISPLAY VERSION REPLACES PHASE
      crwoperator.v2.11.0 Red Hat CodeReady Workspaces 2.11.0 crwoperator.v2.10.1 Replacing
      crwoperator.v2.12.0 Red Hat CodeReady Workspaces 2.12.0 crwoperator.v2.11.0 Installing
      crwoperator.v2.12.1 Red Hat CodeReady Workspaces 2.12.1 crwoperator.v2.12.0 Pending

      ```

      • remove obsolete (2.11.0 and 2.12.0) csv manually 

      ```

      oc delete csv crwoperator.v2.11.0
      clusterserviceversion.operators.coreos.com "crwoperator.v2.11.0" deleted

       

      oc delete csv crwoperator.v2.12.0
      clusterserviceversion.operators.coreos.com "crwoperator.v2.12.0" deleted

      ```

       

      Once deleted 2.12.1 version of the operator will be installed correctly on the cluster:

       

       

      ```

       

      Attachments

        Activity

          People

            ibuziuk@redhat.com Ilya Buziuk
            ibuziuk@redhat.com Ilya Buziuk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: