Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Che using an external keycloak fails to update #19670

Closed
18 tasks
matthewfisch opened this issue Apr 23, 2021 · 3 comments
Closed
18 tasks

Che using an external keycloak fails to update #19670

matthewfisch opened this issue Apr 23, 2021 · 3 comments
Labels
area/che-operator Issues and PRs related to Eclipse Che Kubernetes Operator kind/bug Outline of a bug - must adhere to the bug report template. new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes severity/P1 Has a major impact to usage or development of the system.
Milestone

Comments

@matthewfisch
Copy link

matthewfisch commented Apr 23, 2021

Describe the bug

The community operatorhub installplan fails to upgrade from 7.28.2 to 7.29.0 using an external keycloak.

The Che container will never reach ready because of unexpected input from the Keycloak server.

By reviewing the operator installplan log I noted the change to the keycloak auth URL (see below).

By manually editing the checluster keycloak URL (and the subsequent configmap) to the previous URL Che ran fine and install completed (I added '/auth' back to the end). See logs at bottom for the installplan behavior that created this issue.

Che version

7.29.0

Steps to reproduce

  • Using an external keycloak
  • Using Che with operator 7.28.2
  • Manually (or automatically) approve the installplan

Expected behavior

Che upgrades and restarts

Runtime

  • [ X ] kubernetes (include output of kubectl version)
  • Openshift (include output of oc version)
  • minikube (include output of minikube version and kubectl version)
  • minishift (include output of minishift version and oc version)
  • docker-desktop + K8S (include output of docker version and kubectl version)
  • other: (please specify)

Screenshots

Installation method

  • chectl
    • provide a full command that was used to deploy Eclipse Che (including the output)
    • provide an output of chectl version command
  • [ X ] OperatorHub
  • I don't know

Environment

  • my computer
    • Windows
    • Linux
    • macOS
  • Cloud
    • Amazon
    • Azure
    • GCE
    • other (please specify)
  • Dev Sandbox (workspaces.openshift.com)
  • other: please specify

Eclipse Che Logs

OperatorHub Log entry:

-  "CHE_KEYCLOAK_AUTH__INTERNAL__SERVER__URL": "https://keycloak.dev.domain/auth",
+  "CHE_KEYCLOAK_AUTH__INTERNAL__SERVER__URL": "https://keycloak.dev.domain",
-  "CHE_KEYCLOAK_AUTH__SERVER__URL": "https://keycloak.dev.domain/auth",
+  "CHE_KEYCLOAK_AUTH__SERVER__URL": "https://keycloak.dev.domain",

@matthewfisch matthewfisch added the kind/bug Outline of a bug - must adhere to the bug report template. label Apr 23, 2021
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Apr 23, 2021
@tolusha
Copy link
Contributor

tolusha commented Apr 24, 2021

@matthewfisch
Thank you for reporting. I got the problem

@tolusha tolusha added severity/P1 Has a major impact to usage or development of the system. area/che-operator Issues and PRs related to Eclipse Che Kubernetes Operator labels Apr 26, 2021
@tolusha
Copy link
Contributor

tolusha commented Apr 26, 2021

Fixed for 7.29.2 and 7.30.0

@tolusha tolusha closed this as completed Apr 26, 2021
@tolusha tolusha added this to the 7.30 milestone Apr 26, 2021
@l0rd l0rd added new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Apr 27, 2021
@l0rd l0rd changed the title 7.29.0 InstallPlan failure using community operatorhub installplan and external keycloak Che using an external keycloak fails to update Apr 27, 2021
@themr0c
Copy link
Contributor

themr0c commented Jun 2, 2021

Release notes: https://issues.redhat.com/browse/CRW-1869

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/che-operator Issues and PRs related to Eclipse Che Kubernetes Operator kind/bug Outline of a bug - must adhere to the bug report template. new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

5 participants