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

Cannot install Eclipse Che on minikube with chectl #21884

Closed
ibuziuk opened this issue Dec 13, 2022 · 0 comments
Closed

Cannot install Eclipse Che on minikube with chectl #21884

ibuziuk opened this issue Dec 13, 2022 · 0 comments
Labels
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. new&noteworthy/che-only Like 'new&noteworthy' but which do not apply to downstream (eg., plugins or devfiles) new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes severity/P1 Has a major impact to usage or development of the system. status/release-notes-review-needed Issues that needs to be reviewed by the doc team for the Release Notes wording
Milestone

Comments

@ibuziuk
Copy link
Member

ibuziuk commented Dec 13, 2022

Describe the bug

  Minikube preflight checklist
    ✖ Verify if kubectl is installed
      → E_REQUISITE_NOT_FOUND
      Verify if minikube is installed
      Verify if minikube is running
      Start minikube
      Check Kubernetes version
      Verify if minikube ingress addon is enabled
      Enable minikube ingress addon
      Retrieving minikube IP and domain for ingress URLs
      Checking minikube version
    Error: Command server:deploy failed with the error: E_REQUISITE_NOT_FOUND 

Che version

7.57@latest

Steps to reproduce

https://www.eclipse.org/che/docs/stable/administration-guide/installing-che-on-minikube/

Expected behavior

Installation is succesfull

Runtime

minikube

Screenshots

No response

Installation method

chectl/latest

Environment

Linux

Eclipse Che Logs

`
[ibuziuk@fedora ~]$ minikube delete
🔥  Deleting "minikube" in kvm2 ...
💀  Removed all traces of the "minikube" cluster.
[ibuziuk@fedora ~]$  minikube start --addons=ingress,dashboard --vm=true --memory=10240 --cpus=4 --disk-size=50GB --kubernetes-version=v1.23.9
😄  minikube v1.25.2 on Fedora 30
❗  Specified Kubernetes version 1.23.9 is newer than the newest supported version: v1.23.4-rc.0
✨  Automatically selected the kvm2 driver
👍  Starting control plane node minikube in cluster minikube
🔥  Creating kvm2 VM (CPUs=4, Memory=10240MB, Disk=51200MB) ...
🐳  Preparing Kubernetes v1.23.9 on Docker 20.10.12 ...
    ▪ kubelet.housekeeping-interval=5m
    ▪ Generating certificates and keys ...
    ▪ Booting up control plane ...
    ▪ Configuring RBAC rules ...
🔎  Verifying Kubernetes components...
    ▪ Using image kubernetesui/dashboard:v2.3.1
    ▪ Using image kubernetesui/metrics-scraper:v1.0.7
    ▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5
    ▪ Using image k8s.gcr.io/ingress-nginx/kube-webhook-certgen:v1.1.1
    ▪ Using image k8s.gcr.io/ingress-nginx/controller:v1.1.1
    ▪ Using image k8s.gcr.io/ingress-nginx/kube-webhook-certgen:v1.1.1
🔎  Verifying ingress addon...
🌟  Enabled addons: storage-provisioner, dashboard, default-storageclass, ingress

❗  /usr/local/bin/kubectl is version 1.26.0, which may have incompatibilites with Kubernetes 1.23.9.
    ▪ Want kubectl v1.23.9? Try 'minikube kubectl -- get pods -A'
🏄  Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
[ibuziuk@fedora ~]$ chectl server:deploy --platform minikube
› Current Kubernetes context: 'minikube'
  ✔ Verify Kubernetes API...[OK]
  ✔ Looking for an already existing Eclipse Che instance
    ✔ Verify if Eclipse Che is deployed into namespace "eclipse-che"...[Not Foun
d]
  ↓ Check if OIDC Provider installed [skipped]
    → Dex will be automatically installed as OIDC Identity Provider
  ❯ ✈️  Minikube preflight checklist
    ✖ Verify if kubectl is installed
      → E_REQUISITE_NOT_FOUND
      Verify if minikube is installed
      Verify if minikube is running
      Start minikube
      Check Kubernetes version
      Verify if minikube ingress addon is enabled
      Enable minikube ingress addon
      Retrieving minikube IP and domain for ingress URLs
      Checking minikube version
    Error: Command server:deploy failed with the error: E_REQUISITE_NOT_FOUND 
    See details: /home/ibuziuk/.cache/chectl/error.log.
[ibuziuk@fedora ~]$ which kubectl
/usr/local/bin/kubectl


### Release Notes Text

Before this fix it was not possible to install Che on minikube due to an error during Minikube preflight checklist
@ibuziuk ibuziuk added kind/bug Outline of a bug - must adhere to the bug report template. 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. labels Dec 13, 2022
@ibuziuk ibuziuk mentioned this issue Dec 13, 2022
82 tasks
@tolusha tolusha closed this as completed Dec 14, 2022
@tolusha tolusha added this to the 7.58 milestone Dec 14, 2022
@l0rd l0rd changed the title Can not install Eclipse Che on minikube with chectl Cannot install Eclipse Che on minikube with chectl Dec 15, 2022
@l0rd l0rd added new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes new&noteworthy/che-only Like 'new&noteworthy' but which do not apply to downstream (eg., plugins or devfiles) status/release-notes-review-needed Issues that needs to be reviewed by the doc team for the Release Notes wording labels Dec 15, 2022
@nickboldt nickboldt added new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes and removed new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes labels Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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. new&noteworthy/che-only Like 'new&noteworthy' but which do not apply to downstream (eg., plugins or devfiles) new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes severity/P1 Has a major impact to usage or development of the system. status/release-notes-review-needed Issues that needs to be reviewed by the doc team for the Release Notes wording
Projects
None yet
Development

No branches or pull requests

4 participants