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

Fails to install Dev Spaces using dsc version 3.15 while waiting for the Dev Workspace operator to be ready

XMLWordPrintable

    • False
    • None
    • False
    • Workaround Exists
    • Hide

      dsc server:deploy --skip-devworkspace-operator

      Show
      dsc server:deploy --skip-devworkspace-operator

      Description of problem:

      dsc fails to install DS on macOS ARM64. log file of run attached

      dsc server:deploy -p openshift -n openshift-devspaces ✔
      › Current Kubernetes context: 'default/api-cluster-wd6nv-wd6nv-sandbox1152-opentlc-com:6443/admin'
      ✔ Verify Kubernetes API...[1.29]
      ✔ OpenShift version...[4.16]
      ✔ Openshift preflight checklist
      ✔ Verify if oc is installed...[OK]
      ✔ Verify if openshift is running...[OK]
      ✔ Create Namespace openshift-devspaces...[Exists]
      ✔ Start following Red Hat OpenShift Dev Spaces installation logs...[OK]
      ❯ Deploy Red Hat OpenShift Dev Spaces
      ❯ Install Dev Workspace operator
      ✔ Create Subscription devworkspace-operator...[Created]
      ✖ Wait for Dev Workspace operator ready
      → ERR_TIMEOUT: Timeout set to pod ready timeout 120000
      Create Subscription devspaces-subscription
      Red Hat OpenShift Dev Spaces Operator pod bootstrap
      Fetch CheCluster sample from a CSV
      Create CheCluster Custom Resource
      Error: Command server:deploy failed with the error: ERR_TIMEOUT: Timeout set to pod ready timeout 120000 See details: /Users/rsriniva/Library/Caches/dsc/error.log. Red Hat OpenShift Dev Spaces logs: /var/folders/sn/bns184q968dbmjmnq0jmsjfm0000gn/T/dsc-logs/1725883540909.
      at newError (/Users/rsriniva/Downloads/dsc/lib/utils/utls.js:39:19)
      at wrapCommandError (/Users/rsriniva/Downloads/dsc/lib/utils/command-utils.js:54:32)
      at Deploy.<anonymous> (/Users/rsriniva/Downloads/dsc/lib/commands/server/deploy.js:82:65)
      at Generator.throw (<anonymous>)
      at rejected (/Users/rsriniva/Downloads/dsc/node_modules/tslib/tslib.js:167:69)
      Cause: Error: ERR_TIMEOUT: Timeout set to pod ready timeout 120000
      at KubeClient.<anonymous> (/Users/rsriniva/Downloads/dsc/lib/api/kube-client.js:826:19)
      at Generator.next (<anonymous>)
      at fulfilled (/Users/rsriniva/Downloads/dsc/node_modules/tslib/tslib.js:166:62)

      Workaround

      Install DS operator from web console or from oc CLI

      Anatoli Bazko suggests dsc server:deploy --skip-devworkspace-operator as a workaround

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      •  Download dsc for macOS ARM64
      • Run command provided above as suggested in product docs
      • Install fails

      Actual results:

      install fails. DWO operator is installed. DS operator fails to install

      Expected results:

      DS operator successfully installed

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

      Successful install of DS using dsc client on ARM64

      Definition of Done:

      Build Details:

      dsc --version                                                                                                                      22s
      dsc/3.14.0-CI darwin-arm64 node-v18.20.2
       
      oc version                                                                                                                            ✔
      Client Version: 4.15.0-202405222235.p0.g7693229.assembly.stream.el8-7693229
      Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
      Server Version: 4.16.8
      Kubernetes Version: v1.29.7+4510e9c

      Additional info (Such as Logs, Screenshots, etc):

       

       *

        1. error.log
          12 kB
          Ravishankar Srinivasan

              abazko Anatolii Bazko
              rht-rsriniva Ravishankar Srinivasan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: