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

Deployment of the codeready with external keycloak and database can't be successfully done because of "UnknownHostException"

    XMLWordPrintable

Details

    • Hide
      • create postgres project
      • create keycloak project
      • Get installer:
        wget https://codeready-workspaces-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/CRW_CI/view/Pipelines/job/crw-operator-installer-and-ls-deps_stable-branch/34/artifact/codeready-workspaces-deprecated/operator-installer/target/codeready-workspaces-operator-installer.tar.gz
        
      • Untar and go to "codeready-workspaces-operator-installer" folder
      • Configure "custom-resource.yaml" with created postgres and keycloak values. For example:
            database:
              externalDb: true
              chePostgresHostName: '172.30.47.180'
              chePostgresPort: '5432'
              chePostgresUser: 'myuser'
              chePostgresPassword: 'mypassword'
              chePostgresDb: 'mydb'
            auth:
              openShiftoAuth: ${{ENABLE_OPENSHIFT_OAUTH}}
              externalKeycloak: true
              keycloakAdminPassword: 'admin'
              keycloakURL: 'http://keycloak-keycloak.apps.ocp311.crw'
              keycloakRealm: 'myrealm'
              keycloakClientId: 'myclient'
        
      • Start deployment
      Show
      create postgres project create keycloak project Get installer: wget https://codeready-workspaces-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/CRW_CI/view/Pipelines/job/crw-operator-installer-and-ls-deps_stable-branch/34/artifact/codeready-workspaces-deprecated/operator-installer/target/codeready-workspaces-operator-installer.tar.gz Untar and go to "codeready-workspaces-operator-installer" folder Configure "custom-resource.yaml" with created postgres and keycloak values. For example: database: externalDb: true chePostgresHostName: '172.30.47.180' chePostgresPort: '5432' chePostgresUser: 'myuser' chePostgresPassword: 'mypassword' chePostgresDb: 'mydb' auth: openShiftoAuth: ${{ENABLE_OPENSHIFT_OAUTH}} externalKeycloak: true keycloakAdminPassword: 'admin' keycloakURL: 'http://keycloak-keycloak.apps.ocp311.crw' keycloakRealm: 'myrealm' keycloakClientId: 'myclient' Start deployment

    Description

      Deployment of the codeready with external keycloak and database can't be successfully done because of "UnknownHostException"

      Attachments

        Activity

          People

            yivantso Eugene Ivantsov (Inactive)
            iokhrime Ihor Okhrimenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: