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

there are no pods in the namespace: eclipse-che, selector: app.kubernetes.io/name=che,app.kubernetes.io/component=postgres #22042

Closed
davidxwwang opened this issue Mar 7, 2023 · 4 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. severity/P1 Has a major impact to usage or development of the system.

Comments

@davidxwwang
Copy link

Describe the bug

when delpoy che using chectl on minikube , there is a error tip : there are no pods in the namespace: eclipse-che, selector: app.kubernetes.io/name=che,app.kubernetes

Che version

next (development version)

Steps to reproduce

  1. initall minikube, and minikube start ...
  2. chectl --version ---> chectl/0.0.20230102-next.4186ae0 win32-x64 node-v16.13.2
  3. minikube ssh docker pull quay.io/eclipse/che--centos--postgresql-13-centos7:1-71b24684d64da46f960682cc4216222a7e4ed8b1a31dd5a865b3e71afdea20d2
  4. chectl server:deploy -p=minikube --k8spoderrorrechecktimeout=300000 --k8spodwaittimeout=300000 --k8spodreadytimeout=300000
  5. get error like: Timeout: there are no pods in the namespace: eclipse-che, selector: app.kubernetes.io/name=che,app.kubernetes.io/component=postgres. Check Eclipse Che logs for details. Consider increasing error recheck timeout with --k8spoderrorrechecktimeout flag

Expected behavior

the che deployed successfully

Runtime

minikube

Screenshots

No response

Installation method

chectl/next

Environment

Windows

Eclipse Che Logs

[17:09:19] Verify Kubernetes API [started]
› Current Kubernetes context: 'minikube'
[17:09:19] Verify Kubernetes API...[1.25] [title changed]
[17:09:19] Verify Kubernetes API...[1.25] [completed]
[17:09:19] Minikube preflight checklist [started]
[17:09:19] Verify if kubectl is installed [started]
[17:09:19] Verify if kubectl is installed...[OK] [title changed]
[17:09:19] Verify if kubectl is installed...[OK] [completed]
[17:09:19] Verify if minikube is installed [started]
[17:09:19] Verify if minikube is installed...[OK] [title changed]
[17:09:19] Verify if minikube is installed...[OK] [completed]
[17:09:19] Verify if minikube is running [started]
[17:09:20] Verify if minikube is running...[OK] [title changed]
[17:09:20] Verify if minikube is running...[OK] [completed]
[17:09:20] Enable minikube ingress addon [started]
[17:09:20] Enable minikube ingress addon...[Enabled] [title changed]
[17:09:20] Enable minikube ingress addon...[Enabled] [completed]
[17:09:20] Retrieving minikube IP and domain for ingress URLs [started]
[17:09:20] Retrieving minikube IP and domain for ingress URLs...[192.168.49.2.nip.io] [title changed]
[17:09:20] Retrieving minikube IP and domain for ingress URLs...[192.168.49.2.nip.io] [completed]
[17:09:20] Checking minikube version [started]
[17:09:20] Checking minikube version...[1.28.0] [title changed]
[17:09:20] Checking minikube version...[1.28.0] [completed]
[17:09:20] Minikube preflight checklist [completed]
[17:09:20] Create Namespace eclipse-che [started]
[17:09:20] Create Namespace eclipse-che...[Exists] [title changed]
[17:09:20] Create Namespace eclipse-che...[Exists] [completed]
[17:09:20] Install Cert Manager v1.8.2 [started]
[17:09:20] Apply resources [started]
[17:09:20] Apply resources...[Exists] [title changed]
[17:09:20] Apply resources...[Exists] [completed]
[17:09:20] Wait for Cert Manager pods ready [started]
[17:09:20] Wait for Cert Manager pods ready...[OK] [title changed]
[17:09:20] Wait for Cert Manager pods ready...[OK] [completed]
[17:09:20] Install Cert Manager v1.8.2 [completed]
[17:09:20] Install Dex [started]
[17:09:20] Create Namespace dex [started]
[17:09:20] Create Namespace dex...[Exists] [title changed]
[17:09:20] Create Namespace dex...[Exists] [completed]
[17:09:20] Create Certificates [started]
[17:09:20] Create Certificates...[Exists: C:\Users\surface\AppData\Local\Temp\dex-ca.crt] [title changed]
[17:09:20] Create Certificates...[Exists: C:\Users\surface\AppData\Local\Temp\dex-ca.crt] [completed]
[17:09:20] Create ConfigMap dex-ca [started]
[17:09:20] Create ConfigMap dex-ca...[Updated] [title changed]
[17:09:20] Create ConfigMap dex-ca...[Updated] [completed]
[17:09:20] Create ServiceAccount dex [started]
[17:09:20] Create ServiceAccount dex...[Exists] [title changed]
[17:09:20] Create ServiceAccount dex...[Exists] [completed]
[17:09:20] Create ClusterRole dex [started]
[17:09:20] Create ClusterRole dex...[Exists] [title changed]
[17:09:20] Create ClusterRole dex...[Exists] [completed]
[17:09:20] Create ClusterRoleBinding dex [started]
[17:09:20] Create ClusterRoleBinding dex...[Exists] [title changed]
[17:09:20] Create ClusterRoleBinding dex...[Exists] [completed]
[17:09:20] Create Service dex [started]
[17:09:20] Create Service dex...[Exists] [title changed]
[17:09:20] Create Service dex...[Exists] [completed]
[17:09:20] Create Ingress dex [started]
[17:09:20] Create Ingress dex...[Exists] [title changed]
[17:09:20] Create Ingress dex...[Exists] [completed]
[17:09:20] Generate Dex username and password [started]
[17:09:20] Generate Dex username and password...[Exists] [title changed]
[17:09:20] Generate Dex username and password...[Exists] [completed]
[17:09:20] Create ConfigMap dex [started]
[17:09:20] Create ConfigMap dex...[Exists] [title changed]
[17:09:20] Create ConfigMap dex...[Exists] [completed]
[17:09:20] Create Deployment dex [started]
[17:09:20] Create Deployment dex...[Exists] [title changed]
[17:09:20] Create Deployment dex...[Exists] [completed]
[17:09:20] Configure API server [started]
[17:09:20] Create /etc/ca-certificates directory [started]
[17:09:21] Create /etc/ca-certificates directory...[Created] [title changed]
[17:09:21] Create /etc/ca-certificates directory...[Created] [completed]
[17:09:21] Copy Dex certificate into Minikube [started]
[17:09:22] Copy Dex certificate into Minikube...[OK] [title changed]
[17:09:22] Copy Dex certificate into Minikube...[OK] [completed]
[17:09:22] Configure Minikube API server [started]
[17:10:10] Configure Minikube API server...[OK] [title changed]
[17:10:10] Configure Minikube API server...[OK] [completed]
[17:10:10] Wait for Minikube API server [started]
[17:10:40] Wait for Minikube API server...[OK] [title changed]
[17:10:40] Wait for Minikube API server...[OK] [completed]
[17:10:40] Configure API server [completed]
[17:10:40] Install Dex [completed]
[17:10:40] Start following Eclipse Che installation logs [started]
[17:10:40] Start following Eclipse Che installation logs...[OK] [title changed]
[17:10:40] Start following Eclipse Che installation logs...[OK] [completed]
[17:10:40] Deploy Eclipse Che operator [started]
[17:10:40] Install Dev Workspace operator [started]
[17:10:40] Install Dev Workspace operator [skipped]
[17:10:40] → Dev Workspace operator already installed
[17:10:40] Create ServiceAccount che-operator [started]
[17:10:40] Create ServiceAccount che-operator...[Created] [title changed]
[17:10:40] Create ServiceAccount che-operator...[Created] [completed]
[17:10:40] Create RBAC [started]
[17:10:40] Create Role che-operator-leader-election [started]
[17:10:40] Create Role che-operator-leader-election...[Created] [title changed]
[17:10:40] Create Role che-operator-leader-election...[Created] [completed]
[17:10:40] Create Role che-operator [started]
[17:10:40] Create Role che-operator...[Created] [title changed]
[17:10:40] Create Role che-operator...[Created] [completed]
[17:10:40] Create RoleBinding che-operator-leader-election [started]
[17:10:40] Create RoleBinding che-operator-leader-election...[Created] [title changed]
[17:10:40] Create RoleBinding che-operator-leader-election...[Created] [completed]
[17:10:40] Create RoleBinding che-operator [started]
[17:10:40] Create RoleBinding che-operator...[Created] [title changed]
[17:10:40] Create RoleBinding che-operator...[Created] [completed]
[17:10:40] Create RoleBinding eclipse-che-che-operator [started]
[17:10:40] Create RoleBinding eclipse-che-che-operator...[Created] [title changed]
[17:10:40] Create RoleBinding eclipse-che-che-operator...[Created] [completed]
[17:10:40] Create RoleBinding eclipse-che-che-operator [started]
[17:10:40] Create RoleBinding eclipse-che-che-operator...[Created] [title changed]
[17:10:40] Create RoleBinding eclipse-che-che-operator...[Created] [completed]
[17:10:40] Create RBAC [completed]
[17:10:40] Wait for Cert Manager pods ready [started]
[17:10:40] Wait for Cert Manager pods ready...[OK] [title changed]
[17:10:40] Wait for Cert Manager pods ready...[OK] [completed]
[17:10:40] Create Certificate che-operator-serving-cert [started]
[17:10:40] Create Certificate che-operator-serving-cert...[Created] [title changed]
[17:10:40] Create Certificate che-operator-serving-cert...[Created] [completed]
[17:10:40] Create Issuer che-operator-selfsigned-issuer [started]
[17:10:40] Create Issuer che-operator-selfsigned-issuer...[Created] [title changed]
[17:10:40] Create Issuer che-operator-selfsigned-issuer...[Created] [completed]
[17:10:40] Create Service che-operator-service [started]
[17:10:40] Create Service che-operator-service...[Created] [title changed]
[17:10:40] Create Service che-operator-service...[Created] [completed]
[17:10:40] Create CRD checlusters.org.eclipse.che [started]
[17:10:41] Create CRD checlusters.org.eclipse.che...[Created] [title changed]
[17:10:41] Create CRD checlusters.org.eclipse.che...[Created] [completed]
[17:10:41] Waiting [started]
[17:10:46] Waiting...[OK] [title changed]
[17:10:46] Waiting...[OK] [completed]
[17:10:46] Create Deployment che-operator [started]
[17:10:46] Create Deployment che-operator...[Created] [title changed]
[17:10:46] Create Deployment che-operator...[Created] [completed]
[17:10:46] Eclipse Che Operator pod bootstrap [started]
[17:10:46] Scheduling [started]
[17:10:46] Scheduling...[OK] [title changed]
[17:10:46] Scheduling...[OK] [completed]
[17:10:46] Downloading images [started]
[17:10:50] Downloading images...[OK] [title changed]
[17:10:50] Downloading images...[OK] [completed]
[17:10:50] Starting [started]
[17:10:56] Starting...[OK] [title changed]
[17:10:56] Starting...[OK] [completed]
[17:10:56] Eclipse Che Operator pod bootstrap [completed]
[17:10:56] Create ValidatingWebhookConfiguration org.eclipse.che [started]
[17:10:56] Create ValidatingWebhookConfiguration org.eclipse.che...[Created] [title changed]
[17:10:56] Create ValidatingWebhookConfiguration org.eclipse.che...[Created] [completed]
[17:10:56] Create MutatingWebhookConfiguration org.eclipse.che [started]
[17:10:56] Create MutatingWebhookConfiguration org.eclipse.che...[Created] [title changed]
[17:10:56] Create MutatingWebhookConfiguration org.eclipse.che...[Created] [completed]
[17:10:56] Create CheCluster Custom Resource [started]
[17:11:11] Create CheCluster Custom Resource...[Created] [title changed]
[17:11:11] Create CheCluster Custom Resource...[Created] [completed]
[17:11:11] Deploy Eclipse Che operator [completed]
[17:11:11] Wait for Eclipse Che ready [started]
[17:11:11] Postgres pod bootstrap [started]
[17:11:11] Scheduling [started]
[17:16:33] Scheduling [failed]
[17:16:33] → Timeout: there are no pods in the namespace: eclipse-che, selector: app.kubernetes.io/name=che,app.kubernetes.io/component=postgres. Check Eclipse Che logs for details. Consider increasing error recheck timeout with --k8spoderrorrechecktimeout flag.
[17:16:33] Postgres pod bootstrap [failed]
[17:16:33] → Timeout: there are no pods in the namespace: eclipse-che, selector: app.kubernetes.io/name=che,app.kubernetes.io/component=postgres. Check Eclipse Che logs for details. Consider increasing error recheck timeout with --k8spoderrorrechecktimeout flag.
[17:16:33] Wait for Eclipse Che ready [failed]
[17:16:33] → Timeout: there are no pods in the namespace: eclipse-che, selector: app.kubernetes.io/name=che,app.kubernetes.io/component=postgres. Check Eclipse Che logs for details. Consider increasing error recheck timeout with --k8spoderrorrechecktimeout flag.

Additional context

No response

@davidxwwang davidxwwang added the kind/bug Outline of a bug - must adhere to the bug report template. label Mar 7, 2023
@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 Mar 7, 2023
@dkwon17
Copy link
Contributor

dkwon17 commented Mar 7, 2023

Hello @davidxwwang thank you for reporting, I'm able to reproduce this error.

@ibuziuk I think this is related to the postgresql operand removal?

@dkwon17 dkwon17 added severity/P1 Has a major impact to usage or development of the system. area/install Issues related to installation, including offline/air gap and initial setup and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Mar 7, 2023
@dkwon17
Copy link
Contributor

dkwon17 commented Mar 7, 2023

@davidxwwang could you please try updating chectl to the latest next version?

chectl update next

The latest next version is:

$ chectl version
chectl/0.0.20230302-next.b35c1bc darwin-x64 node-v16.13.2

Starting from Che 7.62, the postgres database has been removed: #21374

@tolusha
Copy link
Contributor

tolusha commented Mar 8, 2023

@davidxwwang
Pls update chectl

@tolusha
Copy link
Contributor

tolusha commented Mar 21, 2023

@davidxwwang
I am closing the issue, please feel free to reopen if you face it again.

@tolusha tolusha closed this as completed Mar 21, 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. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

4 participants