[GitHub] spattewar commented on issue #2567: Openwhisk Local Installation on Ubuntu 14 Failed !!! Please help
spattewar commented on issue #2567: Openwhisk Local Installation on Ubuntu 14 Failed !!! Please help URL: https://github.com/apache/incubator-openwhisk/issues/2567#issuecomment-342040080 thank you fro all you help!! 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] spattewar commented on issue #2567: Openwhisk Local Installation on Ubuntu 14 Failed !!! Please help
spattewar commented on issue #2567: Openwhisk Local Installation on Ubuntu 14 Failed !!! Please help URL: https://github.com/apache/incubator-openwhisk/issues/2567#issuecomment-321549258 @devbv @rabbah please help when you get time. I was able to reintall nginx. Then tear down the containers. ran openwhisk with the clean mode and then openwhisk.yml and it seems to work now. But even though I have set the API Host property and the auth certificate I cannot run the wsk command without the -i flag. Can you help me with the steps to make this more secure? I was able to create action and run the action. thank you for your time. Regards 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] spattewar commented on issue #2567: Openwhisk Local Installation on Ubuntu 14 Failed !!! Please help
spattewar commented on issue #2567: Openwhisk Local Installation on Ubuntu 14 Failed !!! Please help URL: https://github.com/apache/incubator-openwhisk/issues/2567#issuecomment-321137650 @devbv There are no logs under the nginx folder under wsklogs. Will the above command check the same logs file? Thank you Regards 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] spattewar commented on issue #2567: Openwhisk Local Installation on Ubuntu 14 Failed !!! Please help
spattewar commented on issue #2567: Openwhisk Local Installation on Ubuntu 14 Failed !!! Please help URL: https://github.com/apache/incubator-openwhisk/issues/2567#issuecomment-321123249 @devbv @rabbah I am trying to create action by giving the command below and it is not creating root@guruvirtues-HP-EliteBook-8560w-SN717UP-ABA:~/openwhisk# bin/wsk action create hello bin/hello.js error: Unable to create action 'hello': Put https://172.17.0.1/api/v1/namespaces/_/actions/hello?overwrite=false: proxyconnect tcp: dial tcp 172.17.0.1:443: getsockopt: connection refused this is my docker ps command output CONTAINER IDIMAGECOMMAND CREATED STATUS PORTS NAMES 7cfdf9111f5bnginx:1.11 "nginx -g 'daemon off" 13 hours agoRestarting (1) 6 minutes ago 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp, 0.0.0.0:8443->8443/tcp nginx 033b2de24debwhisk/invoker:latest "/bin/sh -c 'exec /in" 13 hours agoUp About an hour 0.0.0.0:12001->8080/tcp invoker0 9e53d3bb7804whisk/controller:latest "/bin/sh -c 'controll" 13 hours agoUp About an hour 0.0.0.0:10001->8080/tcp controller0 3c3e465ce800ches/kafka:0.10.2.1 "/start.sh" 13 hours agoUp About an hour 7203/tcp, 0.0.0.0:9092->9092/tcp kafka cd9d55150b91zookeeper:3.4"/docker-entrypoint.s" 13 hours agoUp About an hour 2888/tcp, 0.0.0.0:2181->2181/tcp, 3888/tcp zookeeper c1b48a3c3d76openwhisk/apigateway:0.8.2 "/usr/local/bin/dumb-" 13 hours agoUp About an hour 80/tcp, 8423/tcp, 0.0.0.0:9000->9000/tcp, 0.0.0.0:9001->8080/tcp apigateway 2835875673aeredis:3.2"docker-entrypoint.sh" 13 hours agoUp About an hour 0.0.0.0:6379->6379/tcp redis 5b7549d135bccouchdb:1.6 "tini -- /docker-entr" 13 hours agoUp About an hour 0.0.0.0:5984->5984/tcp couchdb Is it issue with nginx? I think it is not able to connect or relay. Please help. This seems to be the last step. thank you again for the time and help regards 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] spattewar commented on issue #2567: Openwhisk Local Installation on Ubuntu 14 Failed !!! Please help
spattewar commented on issue #2567: Openwhisk Local Installation on Ubuntu 14 Failed !!! Please help URL: https://github.com/apache/incubator-openwhisk/issues/2567#issuecomment-320973977 @devbv Thank you for your response. I ran teardown.yml and then deleted the openwhisk folder and then followed all the steps as mentioned in my issue comment. All went well and this time I was also able to run the postdeploy.yml successfully. As you said there is no consul running now. So is there a change in the openwhisk architecture? Who is doing the role of the consul? Now I need to use wsk to create an action and run it. I am still confused on how to connect to openwhisk now, Does it allow secured connection? Do I need to do any steps to allow the secured connection. thank you for your time and help. regards 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] spattewar commented on issue #2567: Openwhisk Local Installation on Ubuntu 14 Failed !!! Please help
spattewar commented on issue #2567: Openwhisk Local Installation on Ubuntu 14 Failed !!! Please help URL: https://github.com/apache/incubator-openwhisk/issues/2567#issuecomment-320664046 @devbv thank you for your quick response. Actually there are no logs under the concul folder under wsklogs folder. So maybe something bad happened with it. To install a whole system again do I just follow the steps I mentioned in my first issue comment. Do I need to clean this install first by running teardown and wipe? thank you again! regards 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] spattewar commented on issue #2567: Openwhisk Local Installation on Ubuntu 14 Failed !!! Please help
spattewar commented on issue #2567: Openwhisk Local Installation on Ubuntu 14 Failed !!! Please help URL: https://github.com/apache/incubator-openwhisk/issues/2567#issuecomment-320631100 @devbv @rabbah ..please help. i am not able to understand why it is failing. the controller logs keeps showing the following error lines. [2017-08-07T01:34:06.970Z] [INFO] [??] [WhiskConfig] reading properties from consul at 172.17.0.1:8500 [2017-08-07T01:34:08.279Z] [WARN] [??] [WhiskConfig] failed to read properties from consul: The http server closed the connection unexpectedly before delivering responses for 1 outstanding requests [2017-08-07T01:34:08.286Z] [ERROR] [??] [Config] required property db.port still not set [2017-08-07T01:34:08.287Z] [ERROR] [??] [Controller] Bad configuration, cannot start. is the above error in post deployment due to above error. how to fix it? thank you very for your time and effort regards 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] spattewar commented on issue #2567: Openwhisk Local Installation on Ubuntu 14 Failed !!! Please help
spattewar commented on issue #2567: Openwhisk Local Installation on Ubuntu 14 Failed !!! Please help URL: https://github.com/apache/incubator-openwhisk/issues/2567#issuecomment-320470084 @devbv I was running the wsk command from the openwhisk/bin directory and it was saying that wsk command not found. i came to know that i forgot to run the postdeployement.yml script so i ran it but it failed with the following error. TASK [install the catalog from the catalog location] Saturday 05 August 2017 20:52:49 + (0:00:00.327) 0:00:02.977 *** fatal: [ansible]: FAILED! => {"changed": true, "cmd": "./installCatalog.sh /home/guruvirtues/openwhisk/ansible/../ansible/files/auth.whisk.system 172.17.0.1 /home/guruvirtues/openwhisk/ansible/../bin/wsk", "delta": "0:00:00.336894", "end": "2017-08-05 20:52:50.225524", "failed": true, "rc": 7, "start": "2017-08-05 20:52:49.888630", "stderr": "error: Package update failed: Put https://172.17.0.1/api/v1/namespaces/_/packages/websocket?overwrite=true: dial tcp 172.17.0.1:443: getsockopt: connection refused\nerror: Package update failed: Put https://172.17.0.1/api/v1/namespaces/_/packages/combinators?overwrite=true: dial tcp 172.17.0.1:443: getsockopt: connection refused\nerror: Package update failed: Put https://172.17.0.1/api/v1/namespaces/_/packages/github?overwrite=true: dial tcp 172.17.0.1:443: getsockopt: connection refused\nerror: Package update failed: Put https://172.17.0.1/api/v1/namespaces/_/packages/samples?overwrite=true: dial tcp 172.17.0.1:443: getsockopt: connection re fused\nerror: Package update failed: Put https://172.17.0.1/api/v1/namespaces/_/packages/weather?overwrite=true: dial tcp 172.17.0.1:443: getsockopt: connection refused\nerror: Package update failed: Put https://172.17.0.1/api/v1/namespaces/_/packages/utils?overwrite=true: dial tcp 172.17.0.1:443: getsockopt: connection refused\nerror: Package update failed: Put https://172.17.0.1/api/v1/namespaces/_/packages/watson-textToSpeech?overwrite=true: dial tcp 172.17.0.1:443: getsockopt: connection refused\nerror: Package update failed: Put https://172.17.0.1/api/v1/namespaces/_/packages/watson-speechToText?overwrite=true: dial tcp 172.17.0.1:443: getsockopt: connection refused\nerror: Package update failed: Put https://172.17.0.1/api/v1/namespaces/_/packages/watson-translator?overwrite=true: dial tcp 172.17.0.1:443: getsockopt: connection refused\nerror: Unable to create action 'combinators/trycatch': Put https://172.17.0.1/api/v1/namespaces/_/actions/combinators/trycatch?overwrite=true: dial tcp 172.17.0.1:443: getsockopt: connection refused\nRun 'wsk --help' for usage.\nerror: Unable to create action 'combinators/retry': Put https://172.17.0.1/api/v1/namespaces/_/actions/combinators/retry?overwrite=true: dial tcp 172.17.0.1:443: getsockopt: connection refused\nRun 'wsk --help' for usage.\nerror: Unable to create action 'websocket/send': Put https://172.17.0.1/api/v1/namespaces/_/actions/websocket/send?overwrite=true: dial tcp 172.17.0.1:443: getsockopt: connection refused\nRun 'wsk --help' for usage.\nerror: Unable to create action 'combinators/forwarder': Put https://172.17.0.1/api/v1/namespaces/_/actions/combinators/forwarder?overwrite=true: dial tcp 172.17.0.1:443: getsockopt: connection refused\nRun 'wsk --help' for usage.\nerror: Unable to create action 'combinators/eca': Put https://172.17.0.1/api/v1/namespaces/_/actions/combinators/eca?overwrite=true: dial tcp 172.17.0.1:443: getsockopt: connection refused\nRun 'wsk --help' for usage.\nerror: Package update failed: Put https://172.17.0.1/api/v1/namespaces/_/packages/slack?overwrite=true: dial tcp 172.17.0.1:443: getsockopt: connection refused\nerror: Unable to create action 'github/webhook': Put https://172.17.0.1/api/v1/namespaces/_/actions/github/webhook?overwrite=true: dial tcp 172.17.0.1:443: getsockopt: connection refused\nRun 'wsk --help' for usage.\nerror: Unable to create action 'utils/date': Put https://172.17.0.1/api/v1/namespaces/_/actions/utils/date?overwrite=true: dial tcp 172.17.0.1:443: getsockopt: connection refused\nRun 'wsk --help' for usage.\nerror: Unable to create action 'watson-textToSpeech/textToSpeech': Put https://172.17.0.1/api/v1/namespaces/_/actions/watson-textToSpeech/textToSpeech?overwrite=true: dial tcp 172.17.0.1:443: getsockopt: connection refused\nRun 'wsk --help' for usage.\nerror: Unable to create action 'samples/wordCount': Put https://172.17.0.1/api/v1/namespaces/_/actions/samples/wordCount?overwrite=true: dial tcp 172.17.0.1:443: getsockopt: conn ection refused\nRun 'wsk --help' for usage.\nerror: Unable to create action 'utils/cat': Put https://172.17.0.1/api/v1/namespaces/_/actions/utils/cat?overwrite=true: dial tcp 172.17.0.1:443: getsockopt: connection
[GitHub] spattewar commented on issue #2567: Openwhisk Local Installation on Ubuntu 14 Failed !!! Please help
spattewar commented on issue #2567: Openwhisk Local Installation on Ubuntu 14 Failed !!! Please help URL: https://github.com/apache/incubator-openwhisk/issues/2567#issuecomment-320002209 @devbv I will be executing the above commands and will get back. Also will check the couchdb logs. 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] spattewar commented on issue #2567: Openwhisk Local Installation on Ubuntu 14 Failed !!! Please help
spattewar commented on issue #2567: Openwhisk Local Installation on Ubuntu 14 Failed !!! Please help URL: https://github.com/apache/incubator-openwhisk/issues/2567#issuecomment-319995682 thanks devbv for your prompt response. so should I run wipe.yml and then run the openwhisk.yml? The couchdb that I am using is epheremal coucdb instance and not a persistent instance. does that cause any issue? I will also check the couchdb logs and get back. thanks again. 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] spattewar commented on issue #2567: Openwhisk Local Installation on Ubuntu 14 Failed !!! Please help
spattewar commented on issue #2567: Openwhisk Local Installation on Ubuntu 14 Failed !!! Please help URL: https://github.com/apache/incubator-openwhisk/issues/2567#issuecomment-319938818 Attaching the controller log for additional information. [controller0_logs.txt](https://github.com/apache/incubator-openwhisk/files/1196937/controller0_logs.txt) 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