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

CodeReady Workspaces cannot be installed with default settings in proxied environment by operatorhub in Openshift 4.6

    XMLWordPrintable

Details

    • False
    • False
    • Undefined
    • Workaround Exists
    • Hide

      Add `.svc` to no proxy hosts

      Show
      Add `.svc` to no proxy hosts
    • Hide

      see below

      Show
      see below

    Description

      Environment
      OCP 4.6 cluster - https://console-openshift-console.apps.ocp46.crw-qe.com/k8s/cluster/projects
      CodeReady Workspaces deployed by operatorhub in proxied environment

      Steps to reproduce
      1. Install CodeReady Workspaces by operatorhub with next proxy configuration:

      server:
           proxyURL: 'http://10.0.148.146'
           proxyPort: '3128'
           nonProxyHosts: '*.ocp46.crw-qe.com'
      

      Expected behavior:
      CodeReady Workspaces  installed successfully.

      Observed behavior:
      CodeReady Workspaces pod start fails with error:

      Error in custom provider, java.lang.RuntimeException: Exception while retrieving OpenId configuration from endpoint: http://keycloak.crw-ohub-with-proxy.svc:8080/auth/realms/codeready/.well-known/openid-configuration

      Part of proxy log:

       1612268059.326 14 10.0.102.148 TCP_MISS/503 4069 GET [http://keycloak.crw-ohub-with-proxy.svc:8080/auth/realms/codeready/.well-known/openid-configuration] - HIER_NONE/- text/html
       1612268059.358 20 10.0.102.148 TCP_MISS/503 4069 GET [http://keycloak.crw-ohub-with-proxy.svc:8080/auth/realms/codeready/.well-known/openid-configuration] - HIER_NONE/- text/html
      

      Similar issue for Openshift 3.11(https://issues.redhat.com/browse/CRW-1520) was fixed by https://github.com/eclipse/che-operator/pull/646.

      Attachments

        Issue Links

          Activity

            People

              abazko Anatolii Bazko
              sskoryk Serhii Skoryk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: