[GitHub] zhy989 commented on issue #21: issue about couchdb
zhy989 commented on issue #21: issue about couchdb URL: https://github.com/apache/incubator-openwhisk-deploy-kube/issues/21#issuecomment-314340632 @DanLavine thanks! I download invoker script file from branch "remotes/origin/ansible_invoker_remove", and I have set up the openwhisk+k8s environment succesfully - kubectl -n openwhisk get po NAME READY STATUSRESTARTS AGE consul-57995027-nqmnz 2/2 Running 0 56m controller-3250411552-dpprr 1/1 Running 0 55m couchdb-109298327-57cj6 1/1 Running 0 56m invoker-0 1/1 Running 2 54m kafka-1060962555-5wzkb1/1 Running 0 55m nginx-1877697612-j20pc1/1 Running 0 56s zookeeper-1304892743-21j8j1/1 Running 0 55m - kubectl -n openwhisk get svc NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE consul 10.0.0.21 8300/TCP,8301/TCP,8301/UDP,8302/TCP,8302/UDP,8400/TCP,8500/TCP,8600/TCP,8600/UDP 1h controller 10.0.0.245 8080/TCP 1h couchdb 10.0.0.216 5984/TCP 1h kafka10.0.0.251 9092/TCP 1h nginx10.0.0.173 80:30572/TCP,443:30209/TCP,8443:32279/TCP 24m zookeeper10.0.0.162181/TCP,2888/TCP,3888/TCP 1h - kubectl -n openwhisk get statefulset NAME DESIRED CURRENT AGE invoker 1 1 1h - wsk -i action create hello1 hello.js ok: created action hello1 - wsk -i action invoke hello1 ok: invoked /_/hello1 with id 20bb799dc4b447c19daa056ecfe1d9e3 - wsk -i activation result 20bb799dc4b447c19daa056ecfe1d9e3 { "payload": "Hello world" } This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] zhy989 commented on issue #21: issue about couchdb
zhy989 commented on issue #21: issue about couchdb URL: https://github.com/apache/incubator-openwhisk-deploy-kube/issues/21#issuecomment-313828729 @DanLavine I have installed some components successully, but there is no invoker component. so I can not invoke hello world example successully. - kubectl get po --all-namespaces NAMESPACE NAME READY STATUSRESTARTS AGE kube-system kube-dns-2185667875-vm94p 4/4 Running 4 1d openwhisk consul-57995027-hk0dj 2/2 Running 0 2m openwhisk controller-3250411552-d76x4 1/1 Running 0 1m openwhisk couchdb-109298327-btwpv 1/1 Running 0 2m openwhisk kafka-1060962555-psk3j1/1 Running 0 1m openwhisk nginx-1877697612-62bgw1/1 Running 0 40s openwhisk zookeeper-1304892743-9f3hl1/1 Running 0 1m - kubectl get deployment --all-namespaces NAMESPACE NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE kube-system kube-dns 1 1 11 1d openwhisk consul 1 1 11 2m openwhisk controller 1 1 11 1m openwhisk couchdb 1 1 11 3m openwhisk kafka1 1 11 2m openwhisk nginx1 1 11 1m openwhisk zookeeper1 1 11 2m - kubectl get svc --all-namespaces NAMESPACE NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE default kubernetes 10.0.0.1 443/TCP 1d kube-system kube-dns 10.0.0.1053/UDP,53/TCP 1d openwhisk consul 10.0.0.51 8300/TCP,8301/TCP,8301/UDP,8302/TCP,8302/UDP,8400/TCP,8500/TCP,8600/TCP,8600/UDP 8m openwhisk controller 10.0.0.209 8080/TCP 8m openwhisk couchdb 10.0.0.153 5984/TCP 8m openwhisk kafka10.0.0.179092/TCP 8m openwhisk nginx10.0.0.196 80:30622/TCP,443:31522/TCP,8443:30145/TCP 6m openwhisk zookeeper10.0.0.84 2181/TCP,2888/TCP,3888/TCP 8m - kubectl get StatefulSet --all-namespaces No resources found. - wsk action list -i actions /guest/hello private nodejs:6 - wsk action create hello1 hello.js -i ok: created action hello1 - wsk action list -i actions /guest/hello1 private nodejs:6 /guest/hello private nodejs:6 - wsk action invoke hello1 -i error: Unable to invoke action 'hello1': There was an internal server error. (code 43) Run 'wsk --help' for usage. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] zhy989 commented on issue #21: issue about couchdb
zhy989 commented on issue #21: issue about couchdb URL: https://github.com/apache/incubator-openwhisk-deploy-kube/issues/21#issuecomment-312983329 @DanLavine Is couchdb deployed successfully ? - kubectl get svc --all-namespaces NAMESPACE NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE default kubernetes 10.0.0.1 443/TCP 1d kube-system kube-dns 10.0.0.1053/UDP,53/TCP 1d openwhisk consul 10.0.0.169 8300/TCP,8301/TCP,8301/UDP,8302/TCP,8302/UDP,8400/TCP,8500/TCP,8600/TCP,8600/UDP 18h openwhisk controller 10.0.0.7010001/TCP 18h **openwhisk couchdb 10.0.0.505984/TCP 18h** openwhisk invoker None 8080/TCP 18h openwhisk kafka10.0.0.150 9092/TCP 18h openwhisk nginx10.0.0.107 80:30435/TCP,443:30521/TCP,8443:32685/TCP 18h openwhisk zookeeper10.0.0.2 2181/TCP,2888/TCP,3888/TCP 18h - kubectl get po --all-namespaces NAMESPACE NAMEREADY STATUS RESTARTS AGE kube-system kube-dns-2185667875-sd506 4/4 Running 1 1d openwhisk consul-57995027-4ngbf 0/2 ContainerCreating 0 18h **openwhisk couchdb-109298327-rstgl 1/1 Running 2 22h** but when I run "ansible-playbook -i environments/kube couchdb.yml" , there is also "time out" like this: - TASK [couchdb : wait until the CouchDB in this host is up and running] Wednesday 05 July 2017 02:04:44 + (0:00:00.303) 0:00:00.761 fatal: [172.17.0.1]: FAILED! => {"changed": false, "elapsed": 129, "failed": true, "msg": "Timeout when waiting for couchdb.openwhisk:5984"} when I run "ansible-playbook -i environments/kube initdb.yml", the error is as below: - TASK [check if openwhisk_kube_subjects with CouchDB exists] *** Wednesday 05 July 2017 02:37:15 + (0:00:00.421) 0:00:00.445 fatal: [ansible]: FAILED! => {"changed": false, "content": "", "failed": true, "msg": "Status code was not [200, 404]: Request failed: ", "redirected": false, "status": -1, "url": "http://couchdb.openwhisk:5984/openwhisk_kube_subjects"} This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] zhy989 commented on issue #21: issue about couchdb
zhy989 commented on issue #21: issue about couchdb URL: https://github.com/apache/incubator-openwhisk-deploy-kube/issues/21#issuecomment-311537097 @DanLavine thanks! Did you run CLI "kubectl apply -f configure/configure_whisk.yml" successfully with the Image danlavine/whisk_config v1.5.6 ? I think the CLI "kubectl" does not work well because there is no docker package in that image . This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] zhy989 commented on issue #21: issue about couchdb
zhy989 commented on issue #21: issue about couchdb URL: https://github.com/apache/incubator-openwhisk-deploy-kube/issues/21#issuecomment-309969519 kubectl -n openwhisk get svc **NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE consul 10.0.0.99 8300/TCP,8301/TCP,8301/UDP,8302/TCP,8302/UDP,8400/TCP,8500/TCP,8600/TCP,8600/UDP 2h controller 10.0.0.1210001/TCP 2h couchdb 10.0.0.151 5984/TCP 2h invoker None 8080/TCP 2h kafka10.0.0.121 9092/TCP 2h nginx10.0.0.7 80:31654/TCP,443:30743/TCP,8443:30395/TCP 2h zookeeper10.0.0.150 2181/TCP,2888/TCP,3888/TCP 2h** This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services