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

quay.io/crw/operator-rhel8:2.2-7 image failed to install CRW 2.2.0.RC0

XMLWordPrintable

      There was an error in codeready-operator container during installation on OCP 4.4 when using crwctl / operator application for CRW 2.1.1:

      time="2020-06-01T12:45:27Z" level=fatal msg="Failed to initialize default value: 'IMAGE_default_che_tls_secrets_creation_job'. Environment variable with default value was not found."
      

      Workaround: to add IMAGE_default_che_tls_secrets_creation_job variable to codeready-operator deployment yaml:

                  - name: IMAGE_default_che_tls_secrets_creation_job
                    value: 'some-value'
      

      had caused another failure:

      time="2020-06-01T13:50:07Z" level=error msg="Unable to get openshift oauth. Cause: oauths.config.openshift.io \"cluster\" is forbidden: User \"system:serviceaccount:install-crw-using-operatorhub:codeready-operator\" cannot get resource \"oauths\" in API group \"config.openshift.io\" at the cluster scope"
      time="2020-06-01T13:50:07Z" level=info msg="Updating codeready-workspaces CR with status: Reason: InstallOrUpdateFailed"
      time="2020-06-01T13:50:07Z" level=info msg="Custom resource codeready-workspaces updated"
      time="2020-06-01T13:50:07Z" level=info msg="Updating codeready-workspaces CR with status: Message: Unable to get openshift oauth. Cause: oauths.config.openshift.io \"cluster\" is forbidden: User \"system:serviceaccount:install-crw-using-operatorhub:codeready-operator\" cannot get resource \"oauths\" in API group \"config.openshift.io\" at the cluster scope"
      time="2020-06-01T13:50:08Z" level=info msg="Custom resource codeready-workspaces updated"
      time="2020-06-01T13:50:09Z" level=error msg="Unable to get openshift oauth. Cause: oauths.config.openshift.io \"cluster\" is forbidden: User \"system:serviceaccount:install-crw-using-operatorhub:codeready-operator\" cannot get resource \"oauths\" in API group \"config.openshift.io\" at the cluster scope"
      

      it looked like there are no upstream changes in quay.io/crw/operator-rhel8:2.2-7.

        1. image-2020-06-01-11-11-56-713.png
          image-2020-06-01-11-11-56-713.png
          106 kB
        2. image-2020-06-01-11-12-31-675.png
          image-2020-06-01-11-12-31-675.png
          165 kB
        3. screenshot-1.png
          screenshot-1.png
          233 kB
        4. screenshot-2.png
          screenshot-2.png
          80 kB

            abazko Anatolii Bazko
            dnochevn Dmytro Nochevnov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: