question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

chectl is not compliant with the codeready deployment flavor / stucks at the PostgreSQL pod bootstrap (Post installation checklist)

See original GitHub issue

chectl stucks at the PostgreSQL pod bootstrap (Post installation checklist)

Che version

  • latest
  • nightly
  • other: please specify

Steps to reproduce

  1. start crc
  2. chectl server:start -a operator -p crc -b console-openshift-console.apps-crc.testing -n crw --che-operator-image=quay.io/ibuziuk/che-operator:che-14809 --che-operator-cr-yaml=crw.yaml
  3. ERROR:
  ✔ Verify Kubernetes API...OK (it's OpenShift)
  ✔ 👀  Looking for an already existing Che instance
    ✔ Verify if Che is deployed into namespace "crw"...it is not
  ✔ ✈️  CodeReady Containers preflight checklist
    ✔ Verify if oc is installed...done.
    ✔ Verify if crc is installed...done.
    ✔ Verify if CodeReady Containers is running...done.
    ✔ Retrieving CodeReady Containers IP and domain for routes URLs...192.168.130.11.nip.io.
 ›   Warning: Che will be deployed in Multi-User mode since Configured 'operator' installer which support only such.
  ✔ 🏃‍  Running the Che Operator
    ✔ Copying operator resources...done.
    ✔ Create Namespace (crw)...done.
    ✔ Create ServiceAccount che-operator in namespace crw...done.
    ✔ Create Role che-operator in namespace crw...done.
    ✔ Create ClusterRole che-operator...It already exists.
    ✔ Create RoleBinding che-operator in namespace crw...done.
    ✔ Create ClusterRoleBinding che-operator...It already exists.
    ✔ Create CRD checlusters.org.eclipse.che...It already exists.
    ✔ Waiting 5 seconds for the new Kubernetes resources to get flushed...done.
    ✔ Create deployment che-operator in namespace crw...done.
    ✔ Create Che Cluster eclipse-che in namespace crw...done.
  ❯ ✅  Post installation checklist
    ❯ PostgreSQL pod bootstrap
      ✖ scheduling
        → ERR_TIMEOUT: Timeout set to pod wait timeout 300000. podExist: false, currentPhase: undefined
        downloading images
        starting
      Keycloak pod bootstrap
      Devfile registry pod bootstrap
      Plugin registry pod bootstrap
      Che pod bootstrap
      Retrieving Che Server URL
      Che status check
Error: ERR_TIMEOUT: Timeout set to pod wait timeout 300000. podExist: false, currentPhase: undefined
    at KubeHelper.<anonymous> (~/.local/share/chectl/client/7.3.0/lib/api/kube.js:598:19)
    at Generator.next (<anonymous>)
    at fulfilled (~/.local/share/chectl/client/7.3.0/node_modules/tslib/tslib.js:107:62)

But in reality the pod started:

Screenshots

image

Also, there is hardcoded route names https://github.com/che-incubator/chectl/blob/master/src/api/che.ts#L111 which fails start of workspace in CRW.

Screenshot from 2019-10-25 10-11-06

Runtime

  • crc

Expected behavior

che is started against crc without errors - all checks in the checklist should pass

Runtime

  • crc

Installation method

  • chectl

Environment

  • Fedora 30

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
sleshchenkocommented, Oct 23, 2019

@ibuziuk thanks for reporting it. It happens because of labels mismatching: chectl expects ‘app=che,component=postgres’ while crc postgres has 'app=codeready,component=postgres' https://github.com/che-incubator/chectl/blob/master/src/tasks/che.ts#L38

0reactions
dmytro-ndpcommented, Nov 6, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

Error installing eclipse che using chectl - FailedScheduling
I've been trying to install Eclipse Che with minikube for a while and there is a point where I can't get ahead. That...
Read more >
Stuck trying to set up Eclipse Che as an in-browser IDE
The cluster is all on localhost for development, so to deploy Che I am running `chectl server:deploy --platform=k8s --domain=172.18.0.3.nip.io ...
Read more >
Error auto deploy redmine from Gitlab to Rancher Kubernetes
Hi, I have config auto deploy redmine source from Gitlab to Rancher ... auto-deploy deploy Error: release: not found Using PostgreSQL helm ...
Read more >
Eclipse Che Server pod bootstrap failed to start pod. - bytemeta
Hello, I am trying to deploy Che on K8s using chectl. After ... Post installation checklist √ PostgreSQL pod bootstrap √ Scheduling...done √...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found