使用 chectl 安装 eclipse che 时出错 - FailedScheduling
Error installing eclipse che using chectl - FailedScheduling
我已经尝试用 minikube 安装 Eclipse Che 一段时间了,但有一点我无法取得成功。
那个点就在你 运行
之后
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
此时我不知道如何进行。我目前有一个安装了 kvm2 的 minikube。 运行 所在的机器是启用了嵌套虚拟化的虚拟机。
按照 de che lanzo minikube 文档的建议使用至少 4GB 的 ram(虚拟机至少有 6 个)。我也来试试我在stack这里找到的超时错误的解决方法,就是简单的延长等待时间,所以错误出现的时间变长了,终于意识到自己是个菜鸟,得看日志.
这是我安装的版本列表
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
您可以尝试使用 minikube 1.7.3 版本而不是 minikube 1.11.0。
我遇到了同样的问题,并在 1.7.3 版本中得到了解决。
希望对你有所帮助
干杯。
我已经尝试用 minikube 安装 Eclipse Che 一段时间了,但有一点我无法取得成功。
那个点就在你 运行
之后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
此时我不知道如何进行。我目前有一个安装了 kvm2 的 minikube。 运行 所在的机器是启用了嵌套虚拟化的虚拟机。 按照 de che lanzo minikube 文档的建议使用至少 4GB 的 ram(虚拟机至少有 6 个)。我也来试试我在stack这里找到的超时错误的解决方法,就是简单的延长等待时间,所以错误出现的时间变长了,终于意识到自己是个菜鸟,得看日志.
这是我安装的版本列表
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
您可以尝试使用 minikube 1.7.3 版本而不是 minikube 1.11.0。 我遇到了同样的问题,并在 1.7.3 版本中得到了解决。
希望对你有所帮助
干杯。