chectl is not compliant with the codeready deployment flavor / stucks at the PostgreSQL pod bootstrap (Post installation checklist)
See original GitHub issuechectl stucks at the PostgreSQL pod bootstrap (Post installation checklist)
Che version
- latest
- nightly
- other: please specify
Steps to reproduce
- start crc
- 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
- 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
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.
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:
- Created 4 years ago
- Comments:12 (12 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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#L38Downstream issue: https://issues.jboss.org/browse/CRW-463