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 fails to provision Che with tls option #15411

Closed
mmorhun opened this issue Dec 5, 2019 · 2 comments
Closed

chectl fails to provision Che with tls option #15411

mmorhun opened this issue Dec 5, 2019 · 2 comments
Labels
area/chectl Issues related to chectl, the CLI of Che area/install Issues related to installation, including offline/air gap and initial setup kind/bug Outline of a bug - must adhere to the bug report template. severity/P2 Has a minor but important impact to the usage or development of the system.

Comments

@mmorhun
Copy link
Contributor

mmorhun commented Dec 5, 2019

Describe the bug

When try to deploy Che server on minishift with --tls option, chectl fails with timeout error.

Che version

nightly

Steps to reproduce

  1. Create minishift instance with command: minishift start --vm-driver=virtualbox --cpus=4 --memory=10240 --disk-size=50GB --docker-opt userland-proxy=false
  2. Run chectl server:start --multiuser --tls --platform=openshift
  3. After some time it fails with timeout error
chectl logs:
  ✔ Verify Kubernetes API...OK (it's OpenShift)
  ✔ 👀  Looking for an already existing Che instance
    ✔ Verify if Che is deployed into namespace "che"...it is not
  ✔ ✈️  Openshift preflight checklist
    ✔ Verify if oc is installed...done.
    ✔ Verify if openshift is running...done.
  ✔ 🏃‍  Running the Che Operator
    ✔ Copying operator resources...done.
    ✔ Create Namespace (che)...done.
    ✔ Create ServiceAccount che-operator in namespace che...done.
    ✔ Create Role che-operator in namespace che...done.
    ✔ Create ClusterRole che-operator...done.
    ✔ Create RoleBinding che-operator in namespace che...done.
    ✔ Create ClusterRoleBinding che-operator...done.
    ✔ Create CRD checlusters.org.eclipse.che...done.
    ✔ Waiting 5 seconds for the new Kubernetes resources to get flushed...done.
    ✔ Create deployment che-operator in namespace che...done.
    ✔ Create Che Cluster eclipse-che in namespace che...done.
  ❯ ✅  Post installation checklist
    ✔ PostgreSQL pod bootstrap
      ✔ scheduling...done.
      ✔ downloading images...done.
      ✔ starting...done.
    ✔ Keycloak pod bootstrap
      ✔ scheduling...done.
      ✔ downloading images...done.
      ✔ starting...done.
    ✔ Devfile registry pod bootstrap
      ✔ scheduling...done.
      ✔ downloading images...done.
      ✔ starting...done.
    ✔ Plugin registry pod bootstrap
      ✔ scheduling...done.
      ✔ downloading images...done.
      ✔ starting...done.
    ❯ Che pod bootstrap
      ✔ scheduling...done.
      ✔ downloading images...done.
      ✖ starting
        → ERR_TIMEOUT: Timeout set to pod ready timeout 130000
      Retrieving Che Server URL
      Che status check
Error: ERR_TIMEOUT: Timeout set to pod ready timeout 130000
    at KubeHelper.<anonymous> (~/.local/share/chectl/client/0.0.20191127-next.97b31fb/lib/api/kube.js:615:19)
    at Generator.next (<anonymous>)
    at fulfilled (~/.local/share/chectl/client/0.0.20191127-next.97b31fb/node_modules/tslib/tslib.js:107:62)

Expected behavior

Che is deployed with default cluster certificates in use (at least that's what chectl docs says).

Runtime

minishift v1.34.1+c2ff9cb

@mmorhun mmorhun 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 Dec 5, 2019
@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 5, 2019
@tolusha tolusha added area/install Issues related to installation, including offline/air gap and initial setup severity/P1 Has a major impact to usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Dec 5, 2019
@tolusha tolusha modified the milestone: Backlog - Deploy Dec 17, 2019
@tolusha tolusha added this to the Backlog - Deploy milestone Jan 23, 2020
@tolusha
Copy link
Contributor

tolusha commented Feb 17, 2020

@mmorhun Can we close it when che-incubator/chectl#476 is merged?

@tolusha tolusha added severity/P2 Has a minor but important impact to the usage or development of the system. and removed severity/P1 Has a major impact to usage or development of the system. labels Feb 17, 2020
@tolusha tolusha removed this from the Backlog - Deploy milestone Feb 17, 2020
@mmorhun
Copy link
Contributor Author

mmorhun commented Feb 17, 2020

@tolusha I think we may close it when TLS by default is finished.

@tolusha tolusha closed this as completed Feb 17, 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 area/install Issues related to installation, including offline/air gap and initial setup kind/bug Outline of a bug - must adhere to the bug report template. severity/P2 Has a minor but important impact to the usage or development of the system.
Projects
None yet
Development

No branches or pull requests

3 participants