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

[chectl] server:start failed with helm installer on minikube #16158

Closed
4 of 20 tasks
dmytro-ndp opened this issue Feb 27, 2020 · 1 comment
Closed
4 of 20 tasks

[chectl] server:start failed with helm installer on minikube #16158

dmytro-ndp opened this issue Feb 27, 2020 · 1 comment
Assignees
Labels
area/chectl Issues related to chectl, the CLI of Che kind/bug Outline of a bug - must adhere to the bug report template.
Milestone

Comments

@dmytro-ndp
Copy link
Contributor

Describe the bug

chectl server:start failed on minikube:
https://codeready-workspaces-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/che-pr-tests/view/K8S/job/Che-Theia-PR-check-E2E-Happy-path-tests-against-K8S__reserved/883/console

+ /usr/local/bin/chectl server:start --k8spodreadytimeout=180000 --platform=minikube --listr-renderer=verbose --skip-version-check
[05:25:29] Verify Kubernetes API [started]
[05:25:29] Verify Kubernetes API...OK [title changed]
[05:25:29] Verify Kubernetes API...OK [completed]
[05:25:29] 👀  Looking for an already existing Eclipse Che instance [started]
[05:25:29] Verify if Eclipse Che is deployed into namespace "che" [started]
[05:25:29] Verify if Eclipse Che is deployed into namespace "che"...it is not [title changed]
[05:25:29] Verify if Eclipse Che is deployed into namespace "che"...it is not [completed]
[05:25:29] 👀  Looking for an already existing Eclipse Che instance [completed]
[05:25:29] ✈️  Minikube preflight checklist [started]
...
[05:25:30] 🏃‍  Running Helm to install Eclipse Che [failed]
[05:25:30] → Command failed with exit code 1: kubectl apply -f /usr/local/lib/chectl/installers/cert-manager.yml
error: error validating "/usr/local/lib/chectl/installers/cert-manager.yml": error validating data: ValidationError(CustomResourceDefinition.spec): unknown field "preserveUnknownFields" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec; if you choose to ignore these errors, turn validation off with --validate=false
 ›   Error: Error: Command failed with exit code 1: kubectl apply -f 
 ›   /usr/local/lib/chectl/installers/cert-manager.yml
 ›   error: error validating 
 ›   "/usr/local/lib/chectl/installers/cert-manager.yml": error validating 
 ›   data: ValidationError(CustomResourceDefinition.spec): unknown field 
 ›   "preserveUnknownFields" in 
 ›   io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResour
 ›   ceDefinitionSpec; if you choose to ignore these errors, turn validation 
 ›   off with --validate=false
 ›   Installation failed, check logs in '/tmp/chectl-logs/1582799129358'

Che version

  • latest
  • nightly
  • other: please specify

Steps to reproduce

  1. install minikube of 1.1.1 version
  2. download chectl from here
  3. execute the command:
    chectl server:start --k8spodreadytimeout=180000 --platform=minikube --listr-renderer=verbose --skip-version-check

Expected behavior

Single User Eclipse Che is installed by Help on minikube

Runtime

  • kubernetes (include output of kubectl version)
  • Openshift (include output of oc version)
  • minikube:1.1.1

Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.1", GitCommit:"d224476cd0730baca2b6e357d144171ed74192d6", GitTreeState:"clean", BuildDate:"2020-01-14T21:04:32Z", GoVersion:"go1.13.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.3", GitCommit:"5e53fd6bc17c0dec8434817e69b04a25d8ae0ff0", GitTreeState:"clean", BuildDate:"2019-06-06T01:36:19Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}

Screenshots

Installation method

Environment

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

Eclipse Che Logs

Additional context

@dmytro-ndp dmytro-ndp added kind/bug Outline of a bug - must adhere to the bug report template. area/chectl Issues related to chectl, the CLI of Che labels Feb 27, 2020
@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 Feb 27, 2020
@dmytro-ndp
Copy link
Contributor Author

It has been fixed by commit che-incubator/chectl@035a924

@tolusha tolusha mentioned this issue Feb 27, 2020
46 tasks
@tolusha tolusha added this to the 7.10.0 milestone Feb 28, 2020
@amisevsk amisevsk removed the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Oct 30, 2020
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

5 participants