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

Helm installer is broken #17766

Closed
mmorhun opened this issue Sep 1, 2020 · 2 comments
Closed

Helm installer is broken #17766

mmorhun opened this issue Sep 1, 2020 · 2 comments
Assignees
Labels
area/install Issues related to installation, including offline/air gap and initial setup 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

@mmorhun
Copy link
Contributor

mmorhun commented Sep 1, 2020

Describe the bug

When try to install Eclipse Che using chectl and helm installer it fails.

Che version

nightly

Steps to reproduce

Run:

chectl server:start --platform=minikube --installer=helm

Expected behavior

Helm installer installs Che

Runtime

kubernetes

Installation method

chectl

Environment

minikuibe

Eclipse Che Logs

Erorr log of Che server:

com.google.inject.CreationException: Unable to create injector, see the following errors:

1) Error injecting constructor, org.eclipse.che.api.workspace.server.spi.InfrastructureException: Neither KUBERNETES_NAMESPACE nor POD_NAMESPACE is defined. Unable to determine Che installation location
  at org.eclipse.che.workspace.infrastructure.kubernetes.namespace.CheNamespace.<init>(CheNamespace.java:54)
  at org.eclipse.che.workspace.infrastructure.kubernetes.namespace.CheNamespace.class(CheNamespace.java:54)
  while locating org.eclipse.che.workspace.infrastructure.kubernetes.namespace.CheNamespace

Additional context

Operator installation works as expected

@mmorhun mmorhun 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. labels Sep 1, 2020
@tolusha tolusha mentioned this issue Sep 1, 2020
58 tasks
@sparkoo
Copy link
Member

sparkoo commented Sep 1, 2020

@mmorhun to give you some context, I've intentionally introduced this into che-server with #17557 (https://github.com/eclipse/che/pull/17557/files#diff-8855fac8bb68d106dd25037d440a3e22R43). It previously just silently returned null, which was imho silent ticking bomb. I didn't know that it's not set in helm. Sorry for that, I should have tested it and communicate it sooner with you.

@mmorhun
Copy link
Contributor Author

mmorhun commented Sep 2, 2020

Fixed

@mmorhun mmorhun closed this as completed Sep 2, 2020
@tolusha tolusha added this to the 7.19 milestone Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/install Issues related to installation, including offline/air gap and initial setup 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

3 participants