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

Eclipse Che not being deployed with chectl utility #22732

Closed
debkantap opened this issue Dec 11, 2023 · 1 comment
Closed

Eclipse Che not being deployed with chectl utility #22732

debkantap opened this issue Dec 11, 2023 · 1 comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template. status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github.

Comments

@debkantap
Copy link

Describe the bug

Trying to redeploy the eclipse che in k8s with no change in environment, but che server is not getting up. I guess new version of chectl 7.78 has got some error. Below is the error it is throwing:


✔ Scheduling...[OK]
  ✔ Downloading images...[OK]
  ✖ Starting
    → Failed to start a pod, reason: CrashLoopBackOff, message: back-off 2m40s restarting failed container=oauth-proxy pod=che-gateway-58b8464889-n95rh_ecli


Scale Eclipse Che Server Up
Eclipse Che Server pod bootstrap
Error: Command server:start failed with the error: Failed to start a pod, reason: CrashLoopBackOff, message: back-off 2m40s restarting failed container=oauth-proxy pod=che-gateway-58b8464889-n95rh_eclipse-che(5b15c64b-1316-428d-8c5d-47adbb7d6bd9) See details: /home/chenewpoc/.cache/chectl/error.log. Eclipse Che logs: /tmp/chectl-logs/1702308659495.
at newError (/home/chenewpoc/.local/share/chectl/client/7.78.0/lib/utils/utls.js:39:19)
at wrapCommandError (/home/chenewpoc/.local/share/chectl/client/7.78.0/lib/utils/command-utils.js:53:32)
at Start. (/home/chenewpoc/.local/share/chectl/client/7.78.0/lib/commands/server/start.js:40:65)
at Generator.throw ()
at rejected (/home/chenewpoc/.local/share/chectl/client/7.78.0/node_modules/tslib/tslib.js:165:69)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Cause: Error: Failed to start a pod, reason: CrashLoopBackOff, message: back-off 2m40s restarting failed container=oauth-proxy pod=che-gateway-58b8464889-n95rh_eclipse-che(5b15c64b-1316-428d-8c5d-47adbb7d6bd9)
at /home/chenewpoc/.local/share/chectl/client/7.78.0/lib/tasks/pod-tasks.js:193:39
at Generator.next ()
at fulfilled (/home/chenewpoc/.local/share/chectl/client/7.78.0/node_modules/tslib/tslib.js:164:62)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)


Any clue pls

Che version

7.78@latest

Steps to reproduce

try to deploy the using the command:

chectl server:deploy --platform k8s --che-operator-cr-patch-yaml che-operator-cr-patch.yaml --domain XX.XX.XY.XX.nip.io

Expected behavior

Eclipse Che should be deployed

Runtime

Kubernetes (vanilla)

Screenshots

No response

Installation method

chectl/latest

Environment

Linux

Eclipse Che Logs

✔ Scheduling...[OK]
      ✔ Downloading images...[OK]
      ✖ Starting
        → Failed to start a pod, reason: CrashLoopBackOff, message: back-off 2m40s restarting failed container=oauth-proxy pod=che-gateway-58b8464889-n95rh_ecli
…
      Scale Eclipse Che Server Up
      Eclipse Che Server pod bootstrap
Error: Command server:start failed with the error: Failed to start a pod, reason: CrashLoopBackOff, message: back-off 2m40s restarting failed container=oauth-proxy pod=che-gateway-58b8464889-n95rh_eclipse-che(5b15c64b-1316-428d-8c5d-47adbb7d6bd9) See details: /home/chenewpoc/.cache/chectl/error.log. Eclipse Che logs: /tmp/chectl-logs/1702308659495.
    at newError (/home/chenewpoc/.local/share/chectl/client/7.78.0/lib/utils/utls.js:39:19)
    at wrapCommandError (/home/chenewpoc/.local/share/chectl/client/7.78.0/lib/utils/command-utils.js:53:32)
    at Start.<anonymous> (/home/chenewpoc/.local/share/chectl/client/7.78.0/lib/commands/server/start.js:40:65)
    at Generator.throw (<anonymous>)
    at rejected (/home/chenewpoc/.local/share/chectl/client/7.78.0/node_modules/tslib/tslib.js:165:69)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Cause: Error: Failed to start a pod, reason: CrashLoopBackOff, message: back-off 2m40s restarting failed container=oauth-proxy pod=che-gateway-58b8464889-n95rh_eclipse-che(5b15c64b-1316-428d-8c5d-47adbb7d6bd9)
    at /home/chenewpoc/.local/share/chectl/client/7.78.0/lib/tasks/pod-tasks.js:193:39
    at Generator.next (<anonymous>)
    at fulfilled (/home/chenewpoc/.local/share/chectl/client/7.78.0/node_modules/tslib/tslib.js:164:62)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Additional context

No response

@debkantap debkantap added the kind/bug Outline of a bug - must adhere to the bug report template. label Dec 11, 2023
@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 Dec 11, 2023
@debkantap
Copy link
Author

It was not eclipse-che issue. The keycloak relam was somehow missing..Fixed it. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template. status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github.
Projects
None yet
Development

No branches or pull requests

2 participants