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

CRW 2.2 OCP topology view not working as expected

XMLWordPrintable

    • Hide
      1. Deploy the CRW 2.2 operator
      2. if logged in as administrator, on left side menu change 'adminstrator' to 'developer' to show `topology` link on left nav bar.
      3. Go into the topology view
      4. Click +Add
      5. Click From Git
      6. In the Git Repo URL field, enter https://github.com/edeandrea/summit-lab-spring-music
      7. Expand Show Advanced Git Options
      8. In the Git Reference field, enter pipeline
      9. In the Resources section, select Deployment Config
      10. In the Advanced Options section, click the word Labels and enter the label app.openshift.io/runtime=spring and hit enter
      11. Click Create

      Show
      Deploy the CRW 2.2 operator if logged in as administrator, on left side menu change 'adminstrator' to 'developer' to show `topology` link on left nav bar. Go into the topology view Click +Add Click  From Git In the  Git Repo URL field, enter  https://github.com/edeandrea/summit-lab-spring-music Expand  Show Advanced Git Options In the  Git Reference field, enter  pipeline In the  Resources section, select  Deployment Config In the  Advanced Options section, click the word  Labels and enter the label  app.openshift.io/runtime=spring and hit  enter Click  Create

      I'm using CRW 2.2 for the 1st time in an OCP 4.4 cluster. I deployed an app from source using the OCP UI, which applied these annotations to the DeploymentConfig

      app.openshift.io/vcs-ref: pipeline
      app.openshift.io/vcs-uri: 'https://github.com/edeandrea/summit-lab-spring-music'

       
      My OpenShift cluster is an RHPDS cluster deployed using the Let's Encrypt certificates. My CheCluster CR is defined in https://github.com/edeandrea/ocp-cicd-demo-apb/blob/master/roles/CodeReadyWorkspaces/objects/codeready-workspaces.yml
       
      After the app deploys & I look at it in the topology view, the icon should have the Che icon & when I click it should load a CRW workspace using the devfile that's in the source repo. Instead I just see the plain GitHub icon that just brings me to the GitHub repo for the source.
       
      I've tested this using the CRW 2.2 operator on an OCP 4.3 cluster as well and see the same result. This worked fine with CRW 2.1.1.

        1. image-2020-07-20-08-55-25-070.png
          93 kB
          Nick Boldt
        2. operator2.yaml
          0.2 kB
          Kateřina Foniok
        3. screenshot-1.png
          94 kB
          Nick Boldt
        4. screenshot-2.png
          58 kB
          Nick Boldt
        5. Screen Shot 2020-07-13 at 9.57.41 AM.png
          27 kB
          Eric Deandrea
        6. screenshot-3.png
          61 kB
          Nick Boldt
        7. screenshot-4.png
          92 kB
          Nick Boldt
        8. screenshot-5.png
          38 kB
          Nick Boldt
        9. screenshot-6.png
          35 kB
          Nick Boldt
        10. screenshot-7.png
          133 kB
          Nick Boldt
        11. Screenshot from 2020-08-17 12-44-08.png
          74 kB
          Kateřina Foniok

              abazko Anatolii Bazko
              eric.deandrea Eric Deandrea
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: