saurabh1284 commented on issue #2264: Unable to connect to the controller docker: Controller docker not starting URL: https://github.com/apache/incubator-openwhisk/issues/2264#issuecomment-316749768 @Katiyman .. Sorry for late reply as I was out for a week. I later tried with giving public IPs, but got same error. Then I tried with local deployment to rule out any network issues using following steps - > -> wskdev teardown -> rm ansible/db_local.ini -> wskdev fresh Above command internally run openwhisk.yml and then keeps waiting on controller and invoker to come up. However docker ps shows its up and running. This time able to create action , but wsk action invoke fails. The invoker and controller log looks like - > controller0.log - > ======== [2017-07-20T14:49:26.018Z] [ERROR] [#sid_121] [LoadBalancerService] all invokers down [2017-07-20T14:49:26.110Z] [ERROR] [#tid_717] [ActionsApi] [POST] action activation failed: no invokers available [2017-07-20T14:49:26.353Z] [INFO] [#tid_717] [BasicHttpService] [marker:http_post.500_count:15339:15339] ======== invoker0.log - > =========== [2017-07-20T15:23:26.288Z] [INFO] [??] [WhiskConfig] reading properties from consul at 172.17.0.1:8500 [2017-07-20T15:25:31.373Z] [WARN] [??] [WhiskConfig] failed to read properties from consul: Futures timed out after [1 minute] [2017-07-20T15:25:33.278Z] [ERROR] [??] [Config] required property db.port still not set [2017-07-20T15:25:33.346Z] [ERROR] [??] [Invoker] Bad configuration, cannot start. =========== I can see again not able to read from consul...But its local deployment and IP is reachable. Also db.port is mentioned in ansible/db_local.ini . -> curl http://172.17.0.1:10001/ping pong -> curl http://172.17.0.1:12001/ping curl: (7) Failed to connect to 172.17.0.1 port 12001: Connection refused -> docker ps --format "{{.Names}} - {{.Image}} - {{.Ports}}" invoker0 - whisk/invoker:latest - 0.0.0.0:12001->8080/tcp nginx - nginx:1.11 - 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp, 0.0.0.0:8443->8443/tcp controller0 - whisk/controller:latest - 0.0.0.0:10001->8080/tcp kafka - ches/kafka:0.10.2.1 - 7203/tcp, 0.0.0.0:9092->9092/tcp zookeeper - zookeeper:3.4 - 2888/tcp, 0.0.0.0:2181->2181/tcp, 3888/tcp registrator - gliderlabs/registrator - consul - consul:0.7.0 - 0.0.0.0:8300-8302->8300-8302/tcp, 0.0.0.0:8400->8400/tcp, 0.0.0.0:8301-8302->8301-8302/udp, 0.0.0.0:8500->8500/tcp, 0.0.0.0:8600->8600/udp, 8600/tcp couchdb - couchdb:1.6 - 0.0.0.0:5984->5984/tcp how did you installed/configured couchdb and consul ? Any entries you added to /etc/hosts ? Also can you share the steps which you followed for local deployment ? ---------------------------------------------------------------- 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