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

Unable to deploy che with server:deploy command #19033

Closed
2 of 7 tasks
benoitf opened this issue Feb 10, 2021 · 2 comments
Closed
2 of 7 tasks

Unable to deploy che with server:deploy command #19033

benoitf opened this issue Feb 10, 2021 · 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. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code.
Milestone

Comments

@benoitf
Copy link
Contributor

benoitf commented Feb 10, 2021

Describe the bug

on a github action job I got:

Calling chectl server:deploy...
› Current Kubernetes context: 'minikube'
    SyntaxError: /home/runner/.cache/chectl/next-update-info.json: Unexpected 
    end of JSON input
stack=Error: Command failed with exit code 1: chectl server:deploy --listr-renderer=verbose --platform=minikube --che-operator-cr-patch-yaml=/tmp/custom-resource-patch.yaml --chenamespace=eclipse-che
    SyntaxError: /home/runner/.cache/chectl/next-update-info.json: Unexpected 
    end of JSON input

Steps to reproduce

$ minikube start ...
...
$ chectl server:deploy --listr-renderer=verbose --platform=minikube --che-operator-cr-patch-yaml=/tmp/custom-resource-patch.yaml --chenamespace=eclipse-che

Expected behavior

Runtime

  • 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
    chectl/0.0.20210210-next.64ce295 linux-x64 node-v12.20.1
@benoitf benoitf 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 10, 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 Feb 10, 2021
@l0rd l0rd added severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Feb 10, 2021
@tolusha
Copy link
Contributor

tolusha commented Feb 11, 2021

I can't reproduce it locally.
What is the action job ?

@benoitf
Copy link
Contributor Author

benoitf commented Feb 11, 2021

it happened there: https://github.com/eclipse/che-plugin-registry/runs/1872675606?check_suite_focus=true

I suppose there is something not robust that may lead to corrupted data on server:deploy/update/check command.

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. 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

4 participants