che: Che-server fails to bootstrap on minikube v1.9.2

Describe the bug

Deploying Che with self signed TLS certificates on Kubernetes fails with timeout error Timeout set to pod wait timeout 300000. podExist: false, currentPhase: undefined.

Che version

  • latest
  • nightly
  • other: please specify

Steps to reproduce

Deploy Che using chectl chectl server:start --platform=minikube --installer=operator --self-signed-cert

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
    • provide a full command that was used to deploy Eclipse Che (including the output)
    • provide an output of chectl version command
  • OperatorHub
  • I don’t know

Environment

  • my computer
    • Windows
    • Linux
    • macOS
  • Cloud
    • Amazon
    • Azure
    • GCE
    • other (please specify)
  • other: please specify

chectl logs

Set current context to 'minikube'
  βœ” Verify Kubernetes API...OK
  βœ” πŸ‘€  Looking for an already existing Eclipse Che instance
    βœ” Verify if Eclipse Che is deployed into namespace "che"...it is not
  βœ” ✈️  Minikube preflight checklist
    βœ” Verify if kubectl is installed
    βœ” Verify if minikube is installed
    βœ” Verify if minikube is running
    ↓ Start minikube [skipped]
      β†’ Minikube is already running.
    βœ” Check Kubernetes version: Found v1.18.0.
    βœ” Verify if minikube ingress addon is enabled
    βœ” Enable minikube ingress addon
    βœ” Retrieving minikube IP and domain for ingress URLs...192.168.64.2.nip.io.
    ↓ Check if cluster accessible [skipped]
Eclipse Che logs will be available in '/var/folders/ck/7h90dz716lx9d9lcdqz_zhd40000gp/T/chectl-logs/1589471418284'
  βœ” Start following logs
    βœ” Start following Operator logs...done
    βœ” Start following Eclipse Che logs...done
    βœ” Start following Postgres logs...done
    βœ” Start following Keycloak logs...done
    βœ” Start following Plugin registry logs...done
    βœ” Start following Devfile registry logs...done
  βœ” Start following events
    βœ” Start following namespace events...done
  βœ” πŸƒβ€  Running the Eclipse Che operator
    βœ” Copying operator resources...done.
    βœ” Create Namespace (che)...It already exists.
    βœ” Checking for pre-created TLS secret... "che-tls" secret found
    ↓ Checking certificate [skipped]
    βœ” Create ServiceAccount che-operator in namespace che...It already exists.
    βœ” Create Role che-operator in namespace che...It already exists.
    βœ” Create ClusterRole che-operator...It already exists.
    βœ” Create RoleBinding che-operator in namespace che...It already exists.
    βœ” 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 che...It already exists.
    βœ” Create Eclipse Che cluster eclipse-che in namespace che...It already exists.
  ❯ βœ…  Post installation checklist
    ❯ Eclipse Che pod bootstrap
      βœ– scheduling
        β†’ ERR_TIMEOUT: Timeout set to pod wait timeout 300000. podExist: false, currentPhase: undefined
        downloading images
        starting
      Retrieving Eclipse Che server URL
      Eclipse Che status check
 β€Ί   Error: Error: ERR_TIMEOUT: Timeout set to pod wait timeout 300000. podExist: false, currentPhase: undefined
 β€Ί   Installation failed, check logs in '/var/folders/ck/7h90dz716lx9d9lcdqz_zhd40000gp/T/chectl-logs/1589471418284'

minikube version

minikube version: v1.9.2

chectl version

chectl/7.12.2 darwin-x64 node-v10.13.0

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (8 by maintainers)

Commits related to this issue

Most upvoted comments

@skabashnyuk https://github.com/eclipse/che/issues/16545#issuecomment-611363921 here’s details on how to. I think there’s docs pr on this too but I can’t find the link.

@Divya063 Thank you for reporting. Currently it is not possible to deploy Eclipse Che on minikube 1.9.2 due to https://github.com/kubernetes/minikube/issues/7218 There is workaround https://github.com/kubernetes/minikube/issues/7218#issuecomment-611364740 Another option: try minikube 1.8.2