Ошибка при установке eclipse che с помощью Chectl - FailedScheduling - PullRequest
0 голосов
/ 18 июня 2020

Я некоторое время пытался установить Eclipse Che с помощью minikube, и в какой-то момент я не могу продвинуться дальше.

Это сразу после того, как вы запустите

chectl server:start --platform minikube

И здесь возникает ошибка:

 ❯ ✅  Post installation checklist
    ❯ PostgreSQL pod bootstrap
      ✔ scheduling...done.
      ✖ downloading images
        → ERR_TIMEOUT: Timeout set to pod wait timeout 300000

...

    Show important messages
 ›   Error: Error: ERR_TIMEOUT: Timeout set to pod wait timeout 300000
 ›   Installation failed, check logs in '/tmp/chectl-logs/1592460423915'

Если мы посмотрим на вывод журнала, мы увидим ошибку, которая повторяется

0s          Warning   FailedScheduling       pod/postgres-59b797464c-vdfnl         running "VolumeBinding" filter plugin for pod "postgres-59b797464c-vdfnl": pod has unbound immediate PersistentVolumeClaims
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator

Это будет полный вывод журнала

LAST SEEN   TYPE     REASON              OBJECT                    MESSAGE
0s          Normal   ScalingReplicaSet   deployment/che-operator   Scaled up replica set che-operator-7f7575f6fb to 1
0s          Normal   SuccessfulCreate    replicaset/che-operator-7f7575f6fb   Created pod: che-operator-7f7575f6fb-xjqg9
0s          Normal   Scheduled           pod/che-operator-7f7575f6fb-xjqg9    Successfully assigned che/che-operator-7f7575f6fb-xjqg9 to minikube
0s          Normal   Pulling             pod/che-operator-7f7575f6fb-xjqg9    Pulling image "quay.io/eclipse/che-operator:7.14.2"
0s          Normal   Pulled              pod/che-operator-7f7575f6fb-xjqg9    Successfully pulled image "quay.io/eclipse/che-operator:7.14.2"
0s          Normal   Created             pod/che-operator-7f7575f6fb-xjqg9    Created container che-operator
0s          Normal   Started             pod/che-operator-7f7575f6fb-xjqg9    Started container che-operator
0s          Normal   SuccessfulCreate    job/che-tls-job                      Created pod: che-tls-job-6pj8p
0s          Normal   Scheduled           pod/che-tls-job-6pj8p                Successfully assigned che/che-tls-job-6pj8p to minikube
0s          Normal   Pulling             pod/che-tls-job-6pj8p                Pulling image "quay.io/eclipse/che-tls-secret-creator:alpine-3029769"
0s          Normal   Pulled              pod/che-tls-job-6pj8p                Successfully pulled image "quay.io/eclipse/che-tls-secret-creator:alpine-3029769"
0s          Normal   Created             pod/che-tls-job-6pj8p                Created container che-tls-job-job-container
0s          Normal   Started             pod/che-tls-job-6pj8p                Started container che-tls-job-job-container
0s          Normal   Completed           job/che-tls-job                      Job completed
0s          Normal   ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Normal   ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Normal   ScalingReplicaSet      deployment/postgres                   Scaled up replica set postgres-59b797464c to 1
0s          Normal   SuccessfulCreate       replicaset/postgres-59b797464c        Created pod: postgres-59b797464c-vdfnl
0s          Warning   FailedScheduling       pod/postgres-59b797464c-vdfnl         running "VolumeBinding" filter plugin for pod "postgres-59b797464c-vdfnl": pod has unbound immediate PersistentVolumeClaims
0s          Warning   FailedScheduling       pod/postgres-59b797464c-vdfnl         running "VolumeBinding" filter plugin for pod "postgres-59b797464c-vdfnl": pod has unbound immediate PersistentVolumeClaims
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Warning   FailedScheduling       pod/postgres-59b797464c-vdfnl         running "VolumeBinding" filter plugin for pod "postgres-59b797464c-vdfnl": pod has unbound immediate PersistentVolumeClaims
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Warning   FailedScheduling       pod/postgres-59b797464c-vdfnl         running "VolumeBinding" filter plugin for pod "postgres-59b797464c-vdfnl": pod has unbound immediate PersistentVolumeClaims
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Warning   FailedScheduling       pod/postgres-59b797464c-vdfnl         running "VolumeBinding" filter plugin for pod "postgres-59b797464c-vdfnl": pod has unbound immediate PersistentVolumeClaims
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Warning   FailedScheduling       pod/postgres-59b797464c-vdfnl         running "VolumeBinding" filter plugin for pod "postgres-59b797464c-vdfnl": pod has unbound immediate PersistentVolumeClaims
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator
0s          Normal    ExternalProvisioning   persistentvolumeclaim/postgres-data   waiting for a volume to be created, either by external provisioner "k8s.io/minikube-hostpath" or manually created by system administrator

На данный момент я не знаю, как действовать дальше. Сейчас у меня установлен minikube с kvm2. Машина, на которой она запущена, представляет собой виртуальную машину с включенной вложенной виртуализацией. Следуя советам документации de che lanzo minikube с как минимум 4 ГБ оперативной памяти (виртуальная машина имеет как минимум 6). Я также пришел, чтобы попробовать решение, которое я нашел здесь, в стеке, для ошибки тайм-аута, это было просто для увеличения времени ожидания, поэтому ошибка появлялась дольше, и я наконец понял, что я за ладья ie, и мне нужно было посмотреть в журнале.

Это список установленных мной версий

Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

minikube version: v1.11.0
commit: 57e2f55f47effe9ce396cea42a1e0eb4f611ebbd

Client Version: 
   version.Info{
                Major:"1", 
                Minor:"18", 
                GitVersion:"v1.18.3", 
                GitCommit:"2e7996e3e2712684bc73f0dec0200d64eec7fe40", 
                GitTreeState:"clean", 
                BuildDate:"2020-05-20T12:52:00Z", 
                GoVersion:"go1.13.9", 
                Compiler:"gc", 
                Platform:"linux/amd64"
               }

Eclipse Che CLI

VERSION
  chectl/7.14.2 linux-x64 node-v10.21.0

QEMU emulator version 3.1.0 (Debian 1:3.1+dfsg-8+deb10u5)
Copyright (c) 2003-2018 Fabrice Bellard and the QEMU Project developers

1 Ответ

1 голос
/ 19 июня 2020

Вы можете попробовать с версией minikube 1.7.3 вместо minikube 1.11.0. Я столкнулся с той же проблемой, и она решена в версии 1.7.3.

Надеюсь, это поможет вам.

Ура.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...