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

Installation of CRW with crwctl cli from the tech-preview channel failed

    XMLWordPrintable

Details

    • False
    • False
    • Hide

      Env.: cluster bot, OCP v. 4.8, jenkins job for setting up mirroring: https://main-jenkins-csb-crwqe.apps.ocp4.prod.psi.redhat.com/job/Flexy/job/configure-image-registry-on-ocp-4x/
      Preconditions:

      • Apply brew mirroring to the test cluster
      • Create the CatalogSource with the dedicated DW operator-bundle for example:
        apiVersion:  operators.coreos.com/v1alpha1
        kind:         CatalogSource
        metadata: 
          name:         operator-bundle
          namespace:    openshift-marketplace
        spec: 
          image:        brew.registry.redhat.io/rh-osbs/iib:116547
          sourceType:  grpc
          updateStrategy: 
            registryPoll: 
              interval: 5m
        

      Steps to reproduce:

      • Login as admin to the cluster and run the crwctl command like:
        ./crwctl server:deploy --catalog-source-name=operator-bundle --catalog-source-namespace=openshift-marketplace --package-manifest-name=codeready-workspaces --olm-channel=tech-preview-latest-all-namespaces
        

        Expected result:
        The CRW should be deployed
        Actual result:
        We have error like:

        Current Kubernetes context: 'default/api-ci-ln-11bpbh2-f76d1-origin-ci-int-gce-dev-openshift-com:6443/kube:admin'
          ✔ Verify Kubernetes API...OK (it's OpenShift)
          ✔ 👀  Looking for an already existing CodeReady Workspaces instance
            ✔ Verify if CodeReady Workspaces is deployed into namespace "openshift-workspaces"...it is not
          ✔ ✈️  Openshift preflight checklist
            ✔ Verify if oc is installed...done.
            ✔ Verify if openshift is running...done.
            ✔ Check OpenShift version: 4.x
            ✔ Check Kubernetes version: Unknown.
          ✔ Following CodeReady Workspaces logs
            ✔ Start following Operator logs...done
            ✔ Start following CodeReady Workspaces Server logs...done
            ✔ Start following PostgreSQL logs...done
            ✔ Start following Keycloak logs...done
            ✔ Start following Plug-in Registry logs...done
            ✔ Start following Devfile Registry logs...done
            ✔ Start following CodeReady Workspaces Dashboard logs...done
            ✔ Start following namespace events...done
          ❯ 🏃‍  Running Olm installaion CodeReady Workspaces
            ✔ Check if OLM is pre-installed on the platform...done.
            ✔ Create Namespace (openshift-workspaces)...Done.
            ✔ Configure context information...done.
            ✔ Create operator subscription...created new one.
            ✔ Wait while subscription is ready...done.
            ✔ Wait while operator installed...done.
            ✖ Prepare CodeReady Workspaces cluster CR
        

        crwctl logs in the attachment file
        Additional info: When we go to the Installed Operator page, click on the Red Hat CodeReady Workspaces and create CHE instance manually the CRW instaltion finishes as expected

      Show
      Env.: cluster bot, OCP v. 4.8, jenkins job for setting up mirroring: https://main-jenkins-csb-crwqe.apps.ocp4.prod.psi.redhat.com/job/Flexy/job/configure-image-registry-on-ocp-4x/ Preconditions : Apply brew mirroring to the test cluster Create the CatalogSource with the dedicated DW operator-bundle for example: apiVersion: operators.coreos.com/v 1 alpha 1 kind: CatalogSource metadata: name: operator-bundle namespace: openshift-marketplace spec: image: brew.registry.redhat.io/rh-osbs/iib: 116547 sourceType: grpc updateStrategy: registryPoll: interval: 5 m Steps to reproduce : Login as admin to the cluster and run the crwctl command like: ./crwctl server:deploy --catalog-source-name=operator-bundle --catalog-source-namespace=openshift-marketplace --package-manifest-name=codeready-workspaces --olm-channel=tech-preview-latest-all-namespaces Expected result: The CRW should be deployed Actual result: We have error like: Current Kubernetes context: 'default/api-ci-ln-11bpbh2-f76d1-origin-ci-int-gce-dev-openshift-com:6443/kube:admin' ✔ Verify Kubernetes API...OK (it's OpenShift) ✔ 👀 Looking for an already existing CodeReady Workspaces instance ✔ Verify if CodeReady Workspaces is deployed into namespace "openshift-workspaces"...it is not ✔ ✈️ Openshift preflight checklist ✔ Verify if oc is installed...done. ✔ Verify if openshift is running...done. ✔ Check OpenShift version: 4.x ✔ Check Kubernetes version: Unknown. ✔ Following CodeReady Workspaces logs ✔ Start following Operator logs...done ✔ Start following CodeReady Workspaces Server logs...done ✔ Start following PostgreSQL logs...done ✔ Start following Keycloak logs...done ✔ Start following Plug-in Registry logs...done ✔ Start following Devfile Registry logs...done ✔ Start following CodeReady Workspaces Dashboard logs...done ✔ Start following namespace events...done ❯ 🏃‍ Running Olm installaion CodeReady Workspaces ✔ Check if OLM is pre-installed on the platform...done. ✔ Create Namespace (openshift-workspaces)...Done. ✔ Configure context information...done. ✔ Create operator subscription...created new one. ✔ Wait while subscription is ready...done. ✔ Wait while operator installed...done. ✖ Prepare CodeReady Workspaces cluster CR crwctl logs in the attachment file Additional info: When we go to the Installed Operator page, click on the Red Hat CodeReady Workspaces and create CHE instance manually the CRW instaltion finishes as expected

    Description

      When we try to install CRW with from the tech-preview-latest-all-namespaces chanel it fals on Prepare CodeReady Workspaces cluster phase

      Attachments

        1. chect14-51.log
          190 kB
          Maksym Musienko

        Issue Links

          Activity

            People

              abazko Anatolii Bazko
              mmusiien Maksym Musienko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: