Closed haydenp-zhou closed 3 years ago
I'd probably investigate why the nginx pod isn't reaching a ready state first. There's not much going on with nginx that is openwhisk specific, so it probably points to a general problem on your cluster with pulling images, or not having enough resources, or something similar.
Strike the above. I forgot nginx had an init pod that is configured to wait for the controller to be up. So the place to look is that invoker pod.
I suspect - this has to do with networking. The pods stuck in init are ones that need to reach other pods:
kafka depends on zk controller | invoker depend on kafka and couch
is it possible the networking isn't properly set up?
couchdb can't clone openwhisk
kubectl logs owdev-init-couchdb-5xx4b -n openwhisk Cloning into '/openwhisk'... error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed kubectl get pods -n openwhisk NAME READY STATUS RESTARTS AGE owdev-alarmprovider-5b86cb64ff-g2kqc 0/1 Init:0/1 0 93m owdev-apigateway-bccbbcd67-n8c8f 1/1 Running 0 93m owdev-controller-0 0/1 Init:1/2 0 93m owdev-couchdb-584676b956-rmgh5 1/1 Running 0 93m owdev-gen-certs-6mb4s 0/1 Completed 0 93m owdev-init-couchdb-5xx4b 0/1 Error 0 62m owdev-init-couchdb-r7bgp 0/1 Error 0 67m owdev-init-couchdb-r8k4p 0/1 Error 0 93m owdev-init-couchdb-zqb6j 0/1 Error 0 81m owdev-install-packages-chphp 0/1 Init:0/1 0 93m owdev-invoker-0 0/1 Init:0/1 0 93m owdev-kafka-0 1/1 Running 0 93m owdev-kafkaprovider-5574d4bf5f-45wwj 0/1 Init:0/1 0 93m owdev-nginx-86749d59cb-thrfx 0/1 Init:0/1 0 93m owdev-redis-d65649c5b-kxwds 1/1 Running 0 93m owdev-wskadmin 1/1 Running 0 93m owdev-zookeeper-0 1/1 Running 0 93m
I have the same issue in the initialization phase of Couchdb pod.couchdb can't clone openwhisk. have u solved this problem?
kubectl logs owdev-init-couchdb-zq5qs -n openwhisk Cloning into '/openwhisk'... fatal: unable to access 'https://github.com/apache/openwhisk/': Could not resolve host: github.com
Hello! I was trying to deploy openwhisk in docker-desktop following documentation steps,But owdev-alarmprovider,owdev-controller and nginx pods are stuck in PodInitializing phase. Please find details as below:
Please suggest if I am doing something wrong.