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

Happy path E2E tests failed on Eclipse Che installation step because of TLS certificate exception #16292

Closed
4 of 23 tasks
dmytro-ndp opened this issue Mar 10, 2020 · 2 comments
Closed
4 of 23 tasks
Assignees
Labels
area/qe kind/bug Outline of a bug - must adhere to the bug report template. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code.
Milestone

Comments

@dmytro-ndp
Copy link
Contributor

Describe the bug

Happy path tests failed:

[21:35:11] ✅  Post installation checklist [failed]
[21:35:11] → ERR_TIMEOUT: Timeout set to pod ready timeout 180000
 ›   Error: Error: ERR_TIMEOUT: Timeout set to pod ready timeout 180000
 ›   Installation failed, check logs in '/tmp/chectl-logs/1583803781444'

Eclipse Che server log

2020-03-10 06:02:24,244[ost-startStop-1]  [INFO ] [o.e.c.m.k.s.KeycloakSettings 91]     - Retrieving OpenId configuration from endpoint: https://keycloak-che.10.0.101.177.nip.io/auth/realms/che/.well-known/openid-configuration
2020-03-10 06:02:24,482[ost-startStop-1]  [ERROR] [o.a.c.c.C.[.[localhost].[/api] 175]  - Exception sending context initialized event to listener instance of class [org.eclipse.che.inject.CheBootstrap]
com.google.inject.CreationException: Unable to create injector, see the following errors:

1) Error injecting constructor, java.lang.RuntimeException: Exception while retrieving OpenId configuration from endpoint: https://keycloak-che.10.0.101.177.nip.io/auth/realms/che/.well-known/openid-configuration
  at org.eclipse.che.multiuser.keycloak.server.KeycloakSettings.<init>(KeycloakSettings.java:70)
  at org.eclipse.che.multiuser.keycloak.server.KeycloakSettings.class(KeycloakSettings.java:53)
  while locating org.eclipse.che.multiuser.keycloak.server.KeycloakSettings
    for the 1st parameter of org.eclipse.che.multiuser.keycloak.server.KeycloakProfileRetriever.<init>(KeycloakProfileRetriever.java:40)
  at org.eclipse.che.multiuser.keycloak.server.KeycloakProfileRetriever.class(KeycloakProfileRetriever.java:33)
  while locating org.eclipse.che.multiuser.keycloak.server.KeycloakProfileRetriever
...
Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative DNS name matching keycloak-che.10.0.101.177.nip.io found.
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
...
Caused by: java.security.cert.CertificateException: No subject alternative DNS name matching keycloak-che.10.0.101.177.nip.io found.
	at sun.security.util.HostnameChecker.matchDNS(HostnameChecker.java:214)

Possible reason

Incorrect custom-resource.yaml with tlsSupport: true and selfSignedCert: false.

Che version

  • latest
  • nightly
  • other: please specify

Steps to reproduce

chectl server:start --k8spodreadytimeout=180000 --installer=operator --listr-renderer=verbose --platform=minikube --che-operator-cr-yaml=custom-resource.yaml

Where custom-resource.yaml has been given from https://raw.githubusercontent.com/eclipse/che-operator/master/deploy/crds/org_v1_che_cr.yaml

Runtime

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

Installation method

  • chectl/0.0.20200306-next.7b420cf linux-x64 node-v10.19.0
  • che-operator
  • minishift-addon
  • I don't know

Environment

  • my computer
    • Windows
    • Linux
    • macOS
  • Cloud
    • Amazon
    • Azure
    • GCE
    • other (please specify)
  • other: CRW CCI

Additional context

@dmytro-ndp dmytro-ndp added kind/bug Outline of a bug - must adhere to the bug report template. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code. status/in-progress This issue has been taken by an engineer and is under active development. area/qe labels Mar 10, 2020
@dmytro-ndp dmytro-ndp self-assigned this Mar 10, 2020
@dmytro-ndp
Copy link
Contributor Author

dmytro-ndp commented Mar 10, 2020

There is another issue which blocks execution of Happy path tests test pipelines against Eclipse Che with TLS support on minikube: Eclipse Che pod bootstrap timeout on chectl install, when using Che operator with TLS and unsigned certificate on non-OpenShift kube.

@dmytro-ndp
Copy link
Contributor Author

It was decided to run Happy path tests against Eclipse Che without TLS support to unblock PR check until #16280 will be fixed.

@dmytro-ndp dmytro-ndp removed the status/in-progress This issue has been taken by an engineer and is under active development. label Mar 10, 2020
@dmytro-ndp dmytro-ndp added this to the 7.10.0 milestone Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/qe kind/bug Outline of a bug - must adhere to the bug report template. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code.
Projects
None yet
Development

No branches or pull requests

1 participant