-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
failed calling webhook "validate-exec.devworkspace-controller.svc" #21337
Comments
From this test https://viewdns.info/chinesefirewall/?domain=gcr.io it should be available in China. So Confused |
I see the issue kubernetes/ingress-nginx#6335 and try pull from docker hub use: |
I see the issue #21233. it seems don't help. |
I see the issue #21041 and try: chectl server:delete --delete-namespace to clean every thing up and reinstall Eclipse Che after that. same error occur. |
@KaneTing looks like the image is not accessible. Could you pull from a different registry? |
I solve the problem of pulling image gcr.io/kubebuilder/kube-rbac-proxy:v0.5.0. this is my config. |
though I can use command to pull image: docker pull gcr.io/kubebuilder/kube-rbac-proxy:v0.5.0 it is so frustrating...... |
Although I feel very disappointed, I continue to look for solutions, because I feel that victory is at hand. 1)https://stackoverflow.com/questions/54803393/run-minikube-start-cannot-pull-k8s-gcr-images-but-docker-pull-can-do 2)https://zhuanlan.zhihu.com/p/217324687
I chose method two to try and it worked. xiaoqing@xiaoqing:~/Downloads$ chectl server:deploy --platform minikube --skip-oidc-provider-check --k8spoderrorrechecktimeout=600000 |
Summary
I am using chectl to install eclipse-che on my ubuntu. at the last step, error occur
command:
step1:) minikube start --image-repository='registry.cn-hangzhou.aliyuncs.com/google_containers' --addons=ingress --memory=8192
step2:) chectl server:deploy --platform minikube --skip-oidc-provider-check
error:✈️ Minikube preflight checklist
xiaoqing@xiaoqing:~$ chectl server:deploy --platform minikube --skip-oidc-provider-check
› Installer type is set to: 'operator'
› 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 Found]
✔
✔ 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.23.3]
✔ Verify if minikube ingress addon is enabled
↓ Enable minikube ingress addon [skipped]
→ Ingress addon is already enabled.
✔ Retrieving minikube IP and domain for ingress URLs...[192.168.49.2.nip.io]
✔ Checking minikube version...[1.25.2]
↓ Check if cluster accessible [skipped]
✔ Following Eclipse Che logs
✔ Start following logs...[OK]
✔ Install Cert Manager...[Exists]
✔ Wait for Cert Manager...[OK]
✔ Create Namespace eclipse-che...[Exists]
✔ Deploy Dex
✔ Create namespace: dex...[Exists]
✔ Provide Dex certificate
✔ Read Dex certificate...[OK]
✔ Save Dex certificate...[OK: /tmp/dex-ca.crt]
✔ Add Dex certificate to Eclipse Che certificates bundle...[Exists]
✔ Create Dex service account...[Exists]
✔ Create Dex cluster role...[Exists]
✔ Create Dex cluster role binding...[Exists]
✔ Create Dex service...[Exists]
✔ Create Dex ingress...[Exists]
✔ Generate Dex username and password...[Exists]
✔ Create Dex configmap...[Exists]
✔ Create Dex deployment...[Exists]
✔ Wait for Dex is ready...[OK]
✔ Configure API server
✔ Create /etc/ca-certificates directory...[OK]
✔ Copy Dex certificate into Minikube...[OK]
✔ Configure Minikube API server...[OK]
✔ Wait for Minikube API server...[OK]
❯ 🏃 Running the Eclipse Che operator
✔ Create ServiceAccount che-operator in namespace eclipse-che...[Skipped: already exists]
✔ Role and RoleBindings...[OK]
✔ Create Role che-operator...[Skipped: already exists]
✔ Create RoleBinding che-operator...[Skipped: already exists]
✔ Create ClusterRole che-operator...[Skipped: already exists]
✔ Create ClusterRoleBinding che-operator...[Skipped: already exists]
✔ Create CRD checlusters.org.eclipse.che...[Skipped: already exists]
✔ Waiting 5 seconds for the new Kubernetes resources to get flushed...[OK]
✔ Create ConfigMap manager-config...[Skipped: Not found]
✔ Create Webhook Service manager-config...[Skipped: Not found]
✔ Create Certificate serving-cert...[Skipped: Not found]
✔ Create Issuer selfsigned-issuer...[Skipped: Not found]
✔ Create deployment che-operator in namespace eclipse-che...[Skipped: already exists]
❯ Operator pod bootstrap
✖ Scheduling
→ Eclipse Che operator failed, reason: InstallOrUpdateFailed, message: Internal error occurred: failed calling webhook "validate-exec.devworkspace-controller.svc": failed to call webhook: Post "https://devworkspace-webhookserver.devworkspace-controller.svc:443/validate?timeout=10s": dial tcp 10.110.45.12
…
Downloading images
Starting
Create CheCluster Custom Resource
Error: Command server:deploy failed. Error log: /home/xiaoqing/.cache/chectl/error.log.
Error log:/home/xiaoqing/.cache/chectl/error.log.
2022-04-18T12:03:10.709Z Error: Command server:deploy failed. Error log: /home/xiaoqing/.cache/chectl/error.log.
2022-04-18T12:03:10.709Z at newError (/usr/local/lib/chectl/lib/util.js:199:19)
2022-04-18T12:03:10.709Z at Object.wrapCommandError (/usr/local/lib/chectl/lib/util.js:195:12)
2022-04-18T12:03:10.709Z at Deploy. (/usr/local/lib/chectl/lib/commands/server/deploy.js:177:35)
2022-04-18T12:03:10.709Z at Generator.throw ()
2022-04-18T12:03:10.709Z at rejected (/usr/local/lib/chectl/node_modules/tslib/tslib.js:115:69)
2022-04-18T12:03:10.709Z at runMicrotasks ()
2022-04-18T12:03:10.709Z Cause: Error: Eclipse Che operator failed, reason: InstallOrUpdateFailed, message: Internal error occurred: failed calling webhook "validate-exec.devworkspace-controller.svc": failed to call webhook: Post "https://devworkspace-webhookserver.devworkspace-controller.svc:443/validate?timeout=10s": dial tcp 10.110.45.121:443: connect: connection refused. Consider increasing error recheck timeout with --k8spoderrorrechecktimeout flag.
2022-04-18T12:03:10.709Z at KubeTasks. (/usr/local/lib/chectl/lib/tasks/kube.js:48:39)
2022-04-18T12:03:10.709Z at Generator.next ()
2022-04-18T12:03:10.709Z at fulfilled (/usr/local/lib/chectl/node_modules/tslib/tslib.js:114:62)
2022-04-18T12:03:10.709Z at runMicrotasks ()
So it is confused.
My Environment:
xiaoqing@xiaoqing:~$ chectl version
chectl/7.46.0 linux-x64 node-v16.13.2
xiaoqing@xiaoqing:~$ kubelet --version
Kubernetes v1.23.5
xiaoqing@xiaoqing:~$ minikube version
minikube version: v1.25.2
commit: 362d5fdc0a3dbee389b3d3f1034e8023e72bd3a7
xiaoqing@xiaoqing:~$ minikube status
minikube
type: Control Plane
host: Running
kubelet: Running
apiserver: Running
kubeconfig: Configured
xiaoqing@xiaoqing:~$ kubectl get pod --all-namespaces
status of two of them is ImagePullBackOff
kubectl describe pod/devworkspace-controller-manager-6f75dd989-6gnsv -n devworkspace-controller
kubectl describe pod/devworkspace-webhook-server-7f6d6bffcc-klwct -n devworkspace-controller
it seems "Failed to pull image "gcr.io/kubebuilder/kube-rbac-proxy:v0.5.0": rpc error: code = Unknown desc = Error response from daemon"
How could I do and why the error occur? thanks!
Relevant information
No response
The text was updated successfully, but these errors were encountered: