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

Unable to start che-gateway from `tech-preview`OLM channels

XMLWordPrintable

    • False
    • False
    • Hide
      • Configure mirroring in OCP instance and create IIB images
      • Install CodeReady Workspaces from tech-preview-latest-all-namespaces channel
      • Create the default CheCluster in openshift-workspaces

      IIB images used for the test: 

      {
        "added_bundle_images": [
          "registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-bundle:2.12-36"
        ],
        "index_image": "registry-proxy.engineering.redhat.com/rh-osbs/iib:114493",
        "ocp_version": "v4.8"
      }
      
      Show
      Configure mirroring in OCP instance and create IIB images Install CodeReady Workspaces from tech-preview-latest-all-namespaces channel Create the default CheCluster in openshift-workspaces IIB images used for the test:  { "added_bundle_images" : [ "registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces- operator -bundle:2.12-36" ], "index_image" : "registry-proxy.engineering.redhat.com/rh-osbs/iib:114493" , "ocp_version" : "v4.8" }

      It is not possible to deploy CodeReady Workspaces using `tech-preview-*` channel where devWorkspace is enabled by default and single-host by default as well. Codeready Operator throw the next error:

      time="2021-09-27T14:09:49Z" level=info msg="Updating existing object: v1.ConfigMap, name: che-gateway-route-devfile-registry"
      I0927 14:09:54.121738       1 request.go:655] Throttling request took 1.047388169s, request: GET:https://172.30.0.1:443/apis/coordination.k8s.io/v1?timeout=32s
      time="2021-09-27T14:10:03Z" level=info msg="Creating a new object: v1.Deployment, name: che-gateway"
      time="2021-09-27T14:10:03Z" level=error msg="Failed to create the Server Gateway: Deployment.apps \"che-gateway\" is invalid: [spec.template.spec.containers[2].image: Required value, spec.template.spec.containers[3].image: Required value]"
      {"level":"error","ts":1632751803.1203628,"logger":"controller","msg":"Reconciler error","reconcilerGroup":"org.eclipse.che","reconcilerKind":"CheCluster","controller":"checluster","name":"codeready-workspaces","namespace":"crw-all-namespaces","error":"Deployment.apps \"che-gateway\" is invalid: [spec.template.spec.containers[2].image: Required value, spec.template.spec.containers[3].image: Required value]","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/che-operator/vendor/github.com/go-logr/zapr/zapr.go:132\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:246\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:218\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\t/che-operator/vendor/sigs.k8s.io/controller...
      

       

              abazko Anatolii Bazko
              flacatus Flavius Lacatusu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: