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

devspaces-3.0.0-GA-dsc-linux-x64.tar.gz is deploying DS using wrong "latest" OLM channel

XMLWordPrintable

    • False
    • None
    • False
    • Workaround Exists
    • Hide

      1. Make sure "devspaces-subscription" is removed.
      2. Deploy DS using additional OLM option:

      dsc server:deploy --package-manifest-name=devspaces --catalog-source-name=redhat-operators --olm-channel=stable --catalog-source-namespace=openshift-marketplace
      
      Show
      1. Make sure "devspaces-subscription" is removed. 2. Deploy DS using additional OLM option: dsc server:deploy -- package -manifest-name=devspaces --catalog-source-name=redhat-operators --olm-channel=stable --catalog-source-namespace=openshift-marketplace

      devspaces-3.0.0-GA-dsc-linux-x64.tar.gz is deploying DS using wrong "latest" OLM channel, while "stable" channel is expected:
      https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/job/Testing/job/e2e/job/basic/job/install-ds/308/console

      + /mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/bin/dsc server:deploy --che-operator-cr-patch-yaml=/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/custom-resource-patch.yaml --listr-renderer=verbose
       › Installer type is set to: 'olm'
       [05:01:24] Verify Kubernetes API [started]
       › Current Kubernetes context: 'openshift-devspaces/api-ocp410-bmakam-crw-qe-com:6443/admin'
       [05:01:25] Verify Kubernetes API...[OK] [title changed]
       [05:01:25] Verify Kubernetes API...[OK] [OpenShift] [title changed]
       [05:01:25] Verify Kubernetes API...[OK] [OpenShift] [completed]
       [05:01:25] 👀  Looking for an already existing Red Hat OpenShift Dev Spaces instance [started]
       [05:01:25] Verify if Red Hat OpenShift Dev Spaces is deployed into namespace "openshift-devspaces" [started]
       [05:01:25] Verify if Red Hat OpenShift Dev Spaces is deployed into namespace "openshift-devspaces"...[Not Found] [title changed]
       [05:01:25] Verify if Red Hat OpenShift Dev Spaces is deployed into namespace "openshift-devspaces"...[Not Found] [completed]
       [05:01:25] 👀  Looking for an already existing Red Hat OpenShift Dev Spaces instance [completed]
       [05:01:25] ✈️  Openshift preflight checklist [started]
       [05:01:25] Verify if oc is installed [started]
       [05:01:25] Verify if oc is installed...[OK] [title changed]
       [05:01:25] Verify if oc is installed...[OK] [completed]
       [05:01:25] Verify if openshift is running [started]
       [05:01:26] Verify if openshift is running...[OK] [title changed]
       [05:01:26] Verify if openshift is running...[OK] [completed]
       [05:01:26] Check OpenShift version [started]
       [05:01:26] Check OpenShift version: [4.x] [title changed]
       [05:01:26] Check OpenShift version: [4.x] [completed]
       [05:01:26] Check Kubernetes version [started]
       [05:01:27] Check Kubernetes version: [Unknown] [title changed]
       [05:01:27] Check Kubernetes version: [Unknown] [completed]
       [05:01:27] ✈️  Openshift preflight checklist [completed]
       [05:01:27] Following Red Hat OpenShift Dev Spaces logs [started]
       [05:01:27] Start following logs [started]
       [05:01:27] Start following logs...[OK] [title changed]
       [05:01:27] Start following logs...[OK] [completed]
       [05:01:27] Following Red Hat OpenShift Dev Spaces logs [completed]
       [05:01:27] Create Namespace openshift-devspaces [started]
       [05:01:27] Create Namespace openshift-devspaces...[Exists] [title changed]
       [05:01:27] Create Namespace openshift-devspaces...[Exists] [completed]
       [05:01:27] 🏃‍  Running Olm installation Red Hat OpenShift Dev Spaces [started]
       [05:01:27] Check if OLM is pre-installed on the platform [started]
       [05:01:27] Check if OLM is pre-installed on the platform...[OK] [title changed]
       [05:01:27] Check if OLM is pre-installed on the platform...[OK] [completed]
       [05:01:27] Configure context information [started]
       [05:01:27] Configure context information...[OK] [title changed]
       [05:01:27] Configure context information...[OK] [completed]
       [05:01:27] Create CatalogSource for 'next' channel [started]
       [05:01:28] Create CatalogSource for 'next' channel...[OK] [title changed]
       [05:01:28] Create CatalogSource for 'next' channel...[OK] [completed]
       [05:01:28] Create operator subscription [started]
       [05:01:29] Create operator subscription...[OK] [title changed]
       [05:01:29] Create operator subscription...[OK] [completed]
       [05:01:29] Wait while subscription is ready [started]
       [05:11:29] Wait while subscription is ready [failed]
       [05:11:29] → undefined
       [05:11:29] 🏃‍  Running Olm installation Red Hat OpenShift Dev Spaces [failed]
       [05:11:29] → Cannot create property 'context' on string 'Timeout reached while waiting for "devspaces-subscription" subscription is ready.'
           Error: Command server:deploy failed. Error log: 
           /home/hudson/.cache/dsc/error.log.
      
      error.log
      2022-06-22T09:11:29.160Z Error: Command server:deploy failed. Error log: /home/hudson/.cache/dsc/error.log.
      2022-06-22T09:11:29.160Z     at newError (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/lib/util.js:199:19)
      2022-06-22T09:11:29.160Z     at Object.wrapCommandError (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/lib/util.js:195:12)
      2022-06-22T09:11:29.160Z     at Deploy.<anonymous> (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/lib/commands/server/deploy.js:173:35)
      2022-06-22T09:11:29.160Z     at Generator.throw (<anonymous>)
      2022-06-22T09:11:29.160Z     at rejected (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/node_modules/tslib/tslib.js:115:69)
      2022-06-22T09:11:29.160Z Cause: TypeError: Cannot create property 'context' on string 'Timeout reached while waiting for "devspaces-subscription" subscription is ready.'
      2022-06-22T09:11:29.160Z     at /mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/node_modules/listr/index.js:112:19
      

      subscription-devspaces-subscription (1).yaml

        1. screenshot-1.png
          44 kB
          Nick Boldt
        2. Screenshot from 2022-06-22 14-10-41.png
          121 kB
          Dmytro Nochevnov
        3. subscription-devspaces-subscription (1).yaml
          5 kB
          Dmytro Nochevnov

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

                Created:
                Updated:
                Resolved: