Re: Using bash-based actions

2018-03-05 Thread Michael Marth
Hi Erez, Fwiw some issues on bash support with more info: https://github.com/apache/incubator-openwhisk/issues/2927 https://github.com/apache/incubator-openwhisk/pull/3138 Michael On 04/03/18 13:00, "Carlos Santana" wrote: Hi Herez Perl and Bash Actions

Re: Using bash-based actions

2018-03-05 Thread Michele Sciabarra
I am wondering... would be helpful if you could write bash based actions as a "pipe-loop"? Something reading and writing in stdout like this: #!/bin/bash echo '{"openwhisk":1}' while true do read line hello="Hello, $(echo $line | jq -r .name)" echo '{"greetings":"'$hello'"}' done

Re: Using bash-based actions

2018-03-05 Thread Michele Sciabarra
Hello, I am happy to announce I just implemented also support for "non binaries", i.e. bash scripts, in my new go-based runtime. Well, it was something in the to-do list actually. If binary parameter was false in the init request, the runtime returned "scripts not supported". Now, if binary is

any updates to include in OW quarterly board report draft?

2018-03-05 Thread Matt Rutkowski
working in earnest to draft our project's quarterly board report on our CWIKI: https://cwiki.apache.org/confluence/display/OPENWHISK/2018-03+March Please feel free to send me of notable items/features/contribs. you do not want me to miss (as I will use primarily the "dev" list discussions, as

Re: Error when deploying Whisk-Controller in dcos

2018-03-05 Thread Kumar Subramanian
Hi, I was able to successfully do the following 1) Build the Controller image 2) Push the image However when I installed the controller package it gives me the following error in the output; then it shuts down and retries the installation (goes on…) Registered docker executor on 10.0.6.13

Re: Error when deploying Whisk-Controller in dcos

2018-03-05 Thread Chetan Mehrotra
> required property controller.instances still not set Looks like some configs are missing. You would need to this or few more props. The configs are generally managed via Ansible for default setup. For dcos you may need to configure them explicitly. You can see various configs and there values

Re: Error when deploying Whisk-Controller in dcos

2018-03-05 Thread Kumar Subramanian
Also what is DB_WHISK_ACTIVATIONS=local_activations, what does it mean by “local” activations? This setting is also needed, what should the value be in my dcos env? Should it still be local_activations? On 3/5/18, 11:48 AM, "Kumar Subramanian" wrote: Thanks

Re: Error when deploying Whisk-Controller in dcos

2018-03-05 Thread Kumar Subramanian
Here is my config { "description":"OpenWhisk Controller service running on DC/OS", "framework":true, "maintainer":"dungu...@adobe.com", "minDcosReleaseVersion":"1.8", "name":"whisk-controller", "packagingVersion":"3.0",

Re: any updates to include in OW quarterly board report draft?

2018-03-05 Thread Carlos Santana
Thanks Matt for handling this +1 - Carlos Santana @csantanapr > On Mar 5, 2018, at 12:20 PM, Matt Rutkowski wrote: > > working in earnest to draft our project's quarterly board report on our > CWIKI: > https://cwiki.apache.org/confluence/display/OPENWHISK/2018-03+March >

Re: Using bash-based actions

2018-03-05 Thread Carlos Santana
Yep bash is supported in the current form as I described. And will have a dockerskeketon V2 with the new golang Michele is working on I envision the new bash to be behind a kind map to the new runtime using the new golang proxy in the CLI wsk action create fooBash foo.sh —kind bash Or can

Re: Error when deploying Whisk-Controller in dcos

2018-03-05 Thread Kumar Subramanian
Gave the value as mykafka.marathon.mesos:9092…it seems to be going forward now with the deployment…hope it succeeds On 3/5/18, 12:13 PM, "Kumar Subramanian" wrote: Hi Chetan, I resolved all the settings (not sure about some those values set)….now I’m getting

Re: Error when deploying Whisk-Controller in dcos

2018-03-05 Thread Kumar Subramanian
I get the following error while in the deploying state (then kills it automatically and re-installs and goes on…) Task was killed since health check failed. Reason: ConnectionAttemptFailedException: Connection attempt to >: failed On 3/5/18, 12:21 PM, "Kumar Subramanian"

Re: Error when deploying Whisk-Controller in dcos

2018-03-05 Thread Kumar Subramanian
Hi Chetan, I resolved all the settings (not sure about some those values set)….now I’m getting the following error I0305 20:07:00.341622 21216 exec.cpp:162] Version: 1.2.3 I0305 20:07:00.347102 21224 exec.cpp:237] Executor registered on agent 995020e0-5129-44a3-8cf4-65900838b3af-S4 Exception in

Re: Error when deploying Whisk-Controller in dcos

2018-03-05 Thread Kumar Subramanian
After I increased the timeout on the health checks I get the following [2018-03-05T22:58:34.042Z] [ERROR] [??] [KafkaMessagingProvider] ensureTopic for completed0 failed due to java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TimeoutException: Timed out waiting for a node

Re: Error when deploying Whisk-Controller in dcos

2018-03-05 Thread Tyson Norris
I’m guessing the kafka service did not start properly? Can you verify the kafka service is usable? > On Mar 5, 2018, at 3:00 PM, Kumar Subramanian wrote: > > After I increased the timeout on the health checks I get the following > [2018-03-05T22:58:34.042Z] [ERROR]