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

Error installing Che with chectl: ignoredUnrecoverableEvents in body must be of type array: "null" #23185

Closed
dkwon17 opened this issue Oct 8, 2024 · 2 comments
Labels
area/chectl Issues related to chectl, the CLI of Che kind/bug Outline of a bug - must adhere to the bug report template.

Comments

@dkwon17
Copy link
Contributor

dkwon17 commented Oct 8, 2024

Describe the bug

Trying to install Che with chectl next does not work on Minikube.

Che version

7.92@latest

Steps to reproduce

  1. Start a minikube cluster:
$ minikube start --addons=ingress,dashboard --vm=true --memory=10240 --cpus=4 --disk-size=50GB --kubernetes-version=v1.23.9
  1. Install che with chectl next channel:
$ chectl version
chectl/0.0.20240910-next.ed3a4c8 linux-x64 node-v18.18.0

$ chectl server:deploy -p minikube
  1. There is an error:
    ✔ Create Deployment che-operator...[Created]
    ✔ Eclipse Che Operator pod bootstrap
      ✔ Scheduling...[OK]
      ✔ Downloading images...[OK]
      ✔ Starting...[OK]
    ✔ Create ValidatingWebhookConfiguration org.eclipse.che...[Created]
    ✔ Create MutatingWebhookConfiguration org.eclipse.che...[Created]
    ✖ Create CheCluster Custom Resource
      → CheCluster.org.eclipse.che "eclipse-che" is invalid: spec.devEnvironments.ignoredUnrecoverableEvents: Invalid value: "null": spec.devEnvironments.ignoredUnrecoverableEvents in body must be of type array: "null"

Expected behavior

Che should be installed

Runtime

minikube

Screenshots

No response

Installation method

chectl/next

Environment

Linux

Eclipse Che Logs

No response

Additional context

No response

@dkwon17 dkwon17 added the kind/bug Outline of a bug - must adhere to the bug report template. label Oct 8, 2024
@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 Oct 8, 2024
@AObuchow
Copy link

AObuchow commented Oct 8, 2024

@dkwon17 I wonder if something odd happened with https://github.com/eclipse-che/che-operator/pull/1897/files#diff-10f5235ef9752eb68e9938878907ee064b366dd04540ac315d0b8912860a38dcR208 ?

I'm using chectl/0.0.20240919-next.9c29dbd linux-x64 node-v18.18.0 and haven't encountered this bug. The version you're using seems a bit older.

I wonder if the version of chectl you're using is not providing a value for the ignoredUnrecoverableEvents when creating the Che Cluster CR and this is causing the CRD validation to fail?

@AObuchow AObuchow added area/chectl Issues related to chectl, the CLI of Che area/che-operator Issues and PRs related to Eclipse Che Kubernetes Operator and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. area/che-operator Issues and PRs related to Eclipse Che Kubernetes Operator labels Oct 8, 2024
@dkwon17
Copy link
Contributor Author

dkwon17 commented Oct 8, 2024

I'm not able to reproduce the issue with chectl/0.0.20240919-next.9c29dbd linux-x64 node-v18.18.0, thanks for checking

@dkwon17 dkwon17 closed this as completed Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/chectl Issues related to chectl, the CLI of Che kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

No branches or pull requests

3 participants