Re: Error when deploying Whisk-Controller in dcos

2018-03-07 Thread Kumar Subramanian
Also, Can you please attach the OPENWHISK_UNIVERSE file you are using (as 
repository)?

When I tried to install Kakfka (installed packages one by one using the make 
commands in your readme file); I still get the same pattern where the 
configuration of kafka contains "KAFKA_STATSD_URI": 
http://downloads.mesosphere.com/kafka/assets/kafka-statsd-metrics2-0.5.3.jar . 
This needs to be “https” instaead of “http”. Also some of the environment 
variables are missing like 
DB_WHISK_ACTIVATIONS,KAFKA_HOSTS,CONTROLLER_INSTANCES,
CONTROLLER_LOCALBOOKKEEPING,AKKA_CLUSTER_SEED_NODES etc….

Is there a way to fix it through your scripts instead of me manually editing? 
(through configs?)

Thanks,
Kumar.

On 3/7/18, 1:06 PM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:

Just consolidating the questions <>

On 3/7/18, 11:56 AM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:

Hi Duy,
I was able to install the api gateway by calling make api-gateway. But, 
it was not straight forward. The api-gateway was in the waiting state for a 
long time. I had to suspend the deployment; set the acceptedRoles to null and 
restart the deployment then it worked (please see my earlier mails regarding 
probem with Api gateway installation)

Question: 
1) What should be the APIGATEWAY_DNS value? It is needed to install the 
next packages.
2) You mentioned “make sure Route53 record was set up correctly” in README 
. What should be done to verify it? Can you please give me step by step 
instructions on how to verify it?

Thanks,
    Kumar.

On 3/7/18, 11:15 AM, "Kumar Subramanian" <kumarsubr...@vmware.com> 
wrote:

Hi Duy,
One your instructions at 
https://github.com/duynguyen/incubator-openwhisk-deploy-mesos/tree/dcos-universe/dcos-deploy-script

You mention “make sure Route53 record was set up correctly” . What 
should be done to verify it? Can you please give me step by step instructions 
on how to verify it?

Thanks,
    Kumar.

On 3/7/18, 10:52 AM, "Kumar Subramanian" <kumarsubr...@vmware.com> 
wrote:

Hi Duy,
I got your PR on my local MAC. I have a dcos cluster on remote 
machines. What are the instructions to deploy openwhisk to this dcos cluster?
 
Thanks,
Kumar.

On 3/7/18, 1:38 AM, "Duy Nguyen" <duy.phngu...@gmail.com> wrote:

Kumar - The PR has not been merged yet. Could you pull the 
PR itself to try?

https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk-2Ddeploy-2Dmesos_pull_2=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=afQz0NoScGRmefphc9MyV-bV9-5iIC7nrIHVkvZv8gM=8q_6zaOcuwSuhZ4IcwVYfBZL2SAx6Jf9NGoyYbitGp0=

cheers,
        Duy

On Tue, Mar 6, 2018 at 7:45 PM, Kumar Subramanian 
<kumarsubr...@vmware.com>
wrote:

> Hi Duy,
> I would love to try it.
>
> Is your changes in master? If so what’s master link?
>
> In the link 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk-2Ddeploy-2Dmesos=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=afQz0NoScGRmefphc9MyV-bV9-5iIC7nrIHVkvZv8gM=V6KK9cxXZORCCW_qK6d4qxaZC5vg-CajM4UQnusaP4c=
 I
> only see a license.txt file in it.
>
> Thanks,
> Kumar.
>
> On 3/6/18, 9:41 AM, "Duy Nguyen" <duy.phngu...@gmail.com> 
wrote:
>
> Hi Kumar,
>
> I have updated the universe to latest Openwhisk 
changes, verified it
> on a
> vanilla DC/OS 1.11 cluster, and opened a PR at [1], 
do you mind trying
> it
> out?
> Hope it would solve bunch of issues you got earlier.
>
> cheers,
> Duy
>
> [1] 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.
> 
com_apache_incubator-2Dopenwhisk-2Ddeploy-2Dmesos_pull_2=DwIFaQ=
>

Re: Error when deploying Whisk-Controller in dcos

2018-03-07 Thread Kumar Subramanian
Just consolidating the questions <>

On 3/7/18, 11:56 AM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:

Hi Duy,
I was able to install the api gateway by calling make api-gateway. But, it 
was not straight forward. The api-gateway was in the waiting state for a long 
time. I had to suspend the deployment; set the acceptedRoles to null and 
restart the deployment then it worked (please see my earlier mails regarding 
probem with Api gateway installation)

Question: 
1) What should be the APIGATEWAY_DNS value? It is needed to install the next 
packages.
2) You mentioned “make sure Route53 record was set up correctly” in README . 
What should be done to verify it? Can you please give me step by step 
instructions on how to verify it?

Thanks,
Kumar.

On 3/7/18, 11:15 AM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:

Hi Duy,
One your instructions at 
https://github.com/duynguyen/incubator-openwhisk-deploy-mesos/tree/dcos-universe/dcos-deploy-script

You mention “make sure Route53 record was set up correctly” . What 
should be done to verify it? Can you please give me step by step instructions 
on how to verify it?

Thanks,
Kumar.
    
On 3/7/18, 10:52 AM, "Kumar Subramanian" <kumarsubr...@vmware.com> 
wrote:

Hi Duy,
I got your PR on my local MAC. I have a dcos cluster on remote 
machines. What are the instructions to deploy openwhisk to this dcos cluster?
 
Thanks,
Kumar.

On 3/7/18, 1:38 AM, "Duy Nguyen" <duy.phngu...@gmail.com> wrote:

Kumar - The PR has not been merged yet. Could you pull the PR 
itself to try?

https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk-2Ddeploy-2Dmesos_pull_2=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=afQz0NoScGRmefphc9MyV-bV9-5iIC7nrIHVkvZv8gM=8q_6zaOcuwSuhZ4IcwVYfBZL2SAx6Jf9NGoyYbitGp0=

cheers,
    Duy
    
On Tue, Mar 6, 2018 at 7:45 PM, Kumar Subramanian 
<kumarsubr...@vmware.com>
wrote:

> Hi Duy,
> I would love to try it.
>
> Is your changes in master? If so what’s master link?
>
> In the link 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk-2Ddeploy-2Dmesos=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=afQz0NoScGRmefphc9MyV-bV9-5iIC7nrIHVkvZv8gM=V6KK9cxXZORCCW_qK6d4qxaZC5vg-CajM4UQnusaP4c=
 I
> only see a license.txt file in it.
>
> Thanks,
> Kumar.
>
> On 3/6/18, 9:41 AM, "Duy Nguyen" <duy.phngu...@gmail.com> 
wrote:
>
> Hi Kumar,
>
> I have updated the universe to latest Openwhisk changes, 
verified it
> on a
> vanilla DC/OS 1.11 cluster, and opened a PR at [1], do 
you mind trying
> it
> out?
> Hope it would solve bunch of issues you got earlier.
>
> cheers,
> Duy
>
> [1] 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.
> 
com_apache_incubator-2Dopenwhisk-2Ddeploy-2Dmesos_pull_2=DwIFaQ=
> 
uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=
> Wd0tt9Y6emKuk7HzgaeTCmlXjND8hGbhr2r-NAd74ug=
> 6lelXSxZQpZSLezJ62bqfqxgcZkF3SNgkzaFNM_qZGU=
>
>
> On Tue, Mar 6, 2018 at 12:00 AM, Kumar Subramanian <
> kumarsubr...@vmware.com>
> wrote:
>
> > 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 assignment.
> > [2018-03-05T22:58:34.044Z] [ERROR] [??] [Controller] 
failure during
> > msgProvider.ensureTopic 

Re: Error when deploying Whisk-Controller in dcos

2018-03-07 Thread Kumar Subramanian
Hi Duy,
I was able to install the api gateway by calling make api-gateway. But, it was 
not straight forward. The api-gateway was in the waiting state for a long time. 
I had to suspend the deployment; set the acceptedRoles to null and restart the 
deployment then it worked (please see my earlier mails regarding probem with 
Api gateway installation)

Question: What should be the APIGATEWAY_DNS value? It is needed to install the 
next packages.

Thanks,
Kumar.

On 3/7/18, 11:15 AM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:

Hi Duy,
One your instructions at 
https://github.com/duynguyen/incubator-openwhisk-deploy-mesos/tree/dcos-universe/dcos-deploy-script

You mention “make sure Route53 record was set up correctly” . What should 
be done to verify it? Can you please give me step by step instructions on how 
to verify it?

Thanks,
Kumar.

On 3/7/18, 10:52 AM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:

Hi Duy,
I got your PR on my local MAC. I have a dcos cluster on remote 
machines. What are the instructions to deploy openwhisk to this dcos cluster?
 
Thanks,
Kumar.

On 3/7/18, 1:38 AM, "Duy Nguyen" <duy.phngu...@gmail.com> wrote:

Kumar - The PR has not been merged yet. Could you pull the PR 
itself to try?

https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk-2Ddeploy-2Dmesos_pull_2=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=afQz0NoScGRmefphc9MyV-bV9-5iIC7nrIHVkvZv8gM=8q_6zaOcuwSuhZ4IcwVYfBZL2SAx6Jf9NGoyYbitGp0=

cheers,
Duy
    
    On Tue, Mar 6, 2018 at 7:45 PM, Kumar Subramanian 
<kumarsubr...@vmware.com>
wrote:

> Hi Duy,
> I would love to try it.
>
> Is your changes in master? If so what’s master link?
>
> In the link 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk-2Ddeploy-2Dmesos=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=afQz0NoScGRmefphc9MyV-bV9-5iIC7nrIHVkvZv8gM=V6KK9cxXZORCCW_qK6d4qxaZC5vg-CajM4UQnusaP4c=
 I
> only see a license.txt file in it.
>
> Thanks,
> Kumar.
>
> On 3/6/18, 9:41 AM, "Duy Nguyen" <duy.phngu...@gmail.com> wrote:
>
> Hi Kumar,
>
> I have updated the universe to latest Openwhisk changes, 
verified it
> on a
> vanilla DC/OS 1.11 cluster, and opened a PR at [1], do you 
mind trying
> it
> out?
> Hope it would solve bunch of issues you got earlier.
>
> cheers,
> Duy
>
> [1] 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.
> 
com_apache_incubator-2Dopenwhisk-2Ddeploy-2Dmesos_pull_2=DwIFaQ=
> 
uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=
> Wd0tt9Y6emKuk7HzgaeTCmlXjND8hGbhr2r-NAd74ug=
> 6lelXSxZQpZSLezJ62bqfqxgcZkF3SNgkzaFNM_qZGU=
>
>
> On Tue, Mar 6, 2018 at 12:00 AM, Kumar Subramanian <
> kumarsubr...@vmware.com>
> wrote:
>
> > 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 assignment.
> > [2018-03-05T22:58:34.044Z] [ERROR] [??] [Controller] 
failure during
> > msgProvider.ensureTopic for topic completed0
> > [INFO] [03/05/2018 22:58:34.070] [kamon-shutdown-hook-1]
> > [CoordinatedShutdown(akka://kamon)] Starting coordinated 
shutdown
> from
> > JVM shutdown hook
> >
> > On 3/5/18, 2:58 PM, "Kumar Subramanian" 
<kumarsubr...@vmware.com>
> wrote:
> >
> > Hi Carlos/Tyson/Chetan,
> > Any Suggestions?
    > >
> > Note: I just tried to incr

Re: Error when deploying Whisk-Controller in dcos

2018-03-07 Thread Kumar Subramanian
Hi Duy,
One your instructions at 
https://github.com/duynguyen/incubator-openwhisk-deploy-mesos/tree/dcos-universe/dcos-deploy-script

You mention “make sure Route53 record was set up correctly” . What should be 
done to verify it? Can you please give me step by step instructions on how to 
verify it?

Thanks,
Kumar.

On 3/7/18, 10:52 AM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:

Hi Duy,
I got your PR on my local MAC. I have a dcos cluster on remote machines. 
What are the instructions to deploy openwhisk to this dcos cluster?
 
Thanks,
Kumar.

On 3/7/18, 1:38 AM, "Duy Nguyen" <duy.phngu...@gmail.com> wrote:

Kumar - The PR has not been merged yet. Could you pull the PR itself to 
try?

https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk-2Ddeploy-2Dmesos_pull_2=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=afQz0NoScGRmefphc9MyV-bV9-5iIC7nrIHVkvZv8gM=8q_6zaOcuwSuhZ4IcwVYfBZL2SAx6Jf9NGoyYbitGp0=

cheers,
Duy

On Tue, Mar 6, 2018 at 7:45 PM, Kumar Subramanian 
<kumarsubr...@vmware.com>
wrote:

> Hi Duy,
> I would love to try it.
>
> Is your changes in master? If so what’s master link?
>
> In the link 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk-2Ddeploy-2Dmesos=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=afQz0NoScGRmefphc9MyV-bV9-5iIC7nrIHVkvZv8gM=V6KK9cxXZORCCW_qK6d4qxaZC5vg-CajM4UQnusaP4c=
 I
> only see a license.txt file in it.
>
> Thanks,
> Kumar.
>
> On 3/6/18, 9:41 AM, "Duy Nguyen" <duy.phngu...@gmail.com> wrote:
>
> Hi Kumar,
>
> I have updated the universe to latest Openwhisk changes, verified 
it
> on a
> vanilla DC/OS 1.11 cluster, and opened a PR at [1], do you mind 
trying
> it
> out?
> Hope it would solve bunch of issues you got earlier.
>
> cheers,
> Duy
>
> [1] https://urldefense.proofpoint.com/v2/url?u=https-3A__github.
> com_apache_incubator-2Dopenwhisk-2Ddeploy-2Dmesos_pull_2=DwIFaQ=
> 
uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=
> Wd0tt9Y6emKuk7HzgaeTCmlXjND8hGbhr2r-NAd74ug=
> 6lelXSxZQpZSLezJ62bqfqxgcZkF3SNgkzaFNM_qZGU=
>
>
> On Tue, Mar 6, 2018 at 12:00 AM, Kumar Subramanian <
> kumarsubr...@vmware.com>
> wrote:
>
> > 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 assignment.
> > [2018-03-05T22:58:34.044Z] [ERROR] [??] [Controller] failure 
during
> > msgProvider.ensureTopic for topic completed0
> > [INFO] [03/05/2018 22:58:34.070] [kamon-shutdown-hook-1]
> > [CoordinatedShutdown(akka://kamon)] Starting coordinated 
shutdown
> from
> > JVM shutdown hook
> >
> > On 3/5/18, 2:58 PM, "Kumar Subramanian" 
<kumarsubr...@vmware.com>
> wrote:
> >
> > Hi Carlos/Tyson/Chetan,
> > Any Suggestions?
> >
> > Note: I just tried to increase the timeout on the health 
checks
> …no
> > luck.
> >
> > Thanks,
> > Kumar.
> >
> > On 3/5/18, 12:28 PM, "Kumar Subramanian" <
> kumarsubr...@vmware.com>
> > wrote:
> >
> > This is the output log
> > [2018-03-05T20:24:10.016Z] [INFO] Initializing Kamon...
> > [INFO] [03/05/2018 20:24:10.301] [main]
> > [StatsDExtension(akka://kamon)] Starting the Kamon(StatsD) 
extension
> > [2018-03-05T20:24:10.352Z] [INFO] Slf4jLogger started
> > [2018-03-05T20:24:10.706Z] [INFO] [??] [Config] 
environment
> set
> > value for db.whisk.actions
> > [2018-

Re: Error when deploying Whisk-Controller in dcos

2018-03-07 Thread Kumar Subramanian
Hi Duy,
I got your PR on my local MAC. I have a dcos cluster on remote machines. What 
are the instructions to deploy openwhisk to this dcos cluster?
 
Thanks,
Kumar.

On 3/7/18, 1:38 AM, "Duy Nguyen" <duy.phngu...@gmail.com> wrote:

Kumar - The PR has not been merged yet. Could you pull the PR itself to try?

https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk-2Ddeploy-2Dmesos_pull_2=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=afQz0NoScGRmefphc9MyV-bV9-5iIC7nrIHVkvZv8gM=8q_6zaOcuwSuhZ4IcwVYfBZL2SAx6Jf9NGoyYbitGp0=

cheers,
Duy

On Tue, Mar 6, 2018 at 7:45 PM, Kumar Subramanian <kumarsubr...@vmware.com>
wrote:

> Hi Duy,
> I would love to try it.
>
> Is your changes in master? If so what’s master link?
>
> In the link 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk-2Ddeploy-2Dmesos=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=afQz0NoScGRmefphc9MyV-bV9-5iIC7nrIHVkvZv8gM=V6KK9cxXZORCCW_qK6d4qxaZC5vg-CajM4UQnusaP4c=
 I
> only see a license.txt file in it.
>
> Thanks,
> Kumar.
>
> On 3/6/18, 9:41 AM, "Duy Nguyen" <duy.phngu...@gmail.com> wrote:
>
> Hi Kumar,
>
> I have updated the universe to latest Openwhisk changes, verified it
> on a
> vanilla DC/OS 1.11 cluster, and opened a PR at [1], do you mind trying
> it
> out?
> Hope it would solve bunch of issues you got earlier.
>
> cheers,
> Duy
>
> [1] https://urldefense.proofpoint.com/v2/url?u=https-3A__github.
> com_apache_incubator-2Dopenwhisk-2Ddeploy-2Dmesos_pull_2=DwIFaQ=
> uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=
> Wd0tt9Y6emKuk7HzgaeTCmlXjND8hGbhr2r-NAd74ug=
> 6lelXSxZQpZSLezJ62bqfqxgcZkF3SNgkzaFNM_qZGU=
>
>
> On Tue, Mar 6, 2018 at 12:00 AM, Kumar Subramanian <
> kumarsubr...@vmware.com>
> wrote:
>
> > 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 assignment.
> > [2018-03-05T22:58:34.044Z] [ERROR] [??] [Controller] failure during
> > msgProvider.ensureTopic for topic completed0
> > [INFO] [03/05/2018 22:58:34.070] [kamon-shutdown-hook-1]
> > [CoordinatedShutdown(akka://kamon)] Starting coordinated shutdown
> from
> > JVM shutdown hook
> >
> > On 3/5/18, 2:58 PM, "Kumar Subramanian" <kumarsubr...@vmware.com>
> wrote:
> >
> > Hi Carlos/Tyson/Chetan,
    > > Any Suggestions?
> >
> > Note: I just tried to increase the timeout on the health checks
> …no
> > luck.
> >
> > Thanks,
> > Kumar.
> >
> > On 3/5/18, 12:28 PM, "Kumar Subramanian" <
> kumarsubr...@vmware.com>
> > wrote:
> >
> > This is the output log
> > [2018-03-05T20:24:10.016Z] [INFO] Initializing Kamon...
> > [INFO] [03/05/2018 20:24:10.301] [main]
> > [StatsDExtension(akka://kamon)] Starting the Kamon(StatsD) extension
> > [2018-03-05T20:24:10.352Z] [INFO] Slf4jLogger started
> > [2018-03-05T20:24:10.706Z] [INFO] [??] [Config] environment
> set
> > value for db.whisk.actions
> > [2018-03-05T20:24:10.707Z] [INFO] [??] [Config] environment
> set
> > value for db.protocol
> > [2018-03-05T20:24:10.708Z] [INFO] [??] [Config] environment
> set
> > value for limits.actions.sequence.maxLength
> > [2018-03-05T20:24:10.708Z] [INFO] [??] [Config] environment
> set
> > value for limits.triggers.fires.perMinute
> > [2018-03-05T20:24:10.708Z] [INFO] [??] [Config] environment
> set
> > value for akka.cluster.seed.nodes
> > [2018-03-05T20:24:10.709Z] [INFO] [??] [Config] environment
> set
> > value for limits.actions.invokes.concurrent
> > [2018-03-05T20:24:10.709Z] [INFO] [??] [Config] env

Re: Error when deploying Whisk-Controller in dcos

2018-03-06 Thread Kumar Subramanian
Hi Duy,
Can you please point me to the source for deployment scripts?

Is it this one ? 
https://github.com/duynguyen/incubator-openwhisk-deploy-mesos/tree/e020248ffdce1f4d0f936325caedadb783400935/dcos-deploy-script


On 3/6/18, 10:46 AM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:

Hi Duy,

I would love to try it.



Is your changes in master? If so what’s master link? 



In the link 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk-2Ddeploy-2Dmesos=DwIGaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=lS7APvYJI9WtpzcC5ykrWSqCvApBKrO3xOil7ta2LK0=sJwa6KIU1fPHfHCubvlF93CuSSuONWuqLSouVP0yNik=
 I only see a license.txt file in it. 



Thanks,

Kumar.



On 3/6/18, 9:41 AM, "Duy Nguyen" <duy.phngu...@gmail.com> wrote:



Hi Kumar,



I have updated the universe to latest Openwhisk changes, verified it on 
a

vanilla DC/OS 1.11 cluster, and opened a PR at [1], do you mind trying 
it

out?

Hope it would solve bunch of issues you got earlier.



cheers,

Duy



[1] 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk-2Ddeploy-2Dmesos_pull_2=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=Wd0tt9Y6emKuk7HzgaeTCmlXjND8hGbhr2r-NAd74ug=6lelXSxZQpZSLezJ62bqfqxgcZkF3SNgkzaFNM_qZGU=





On Tue, Mar 6, 2018 at 12:00 AM, Kumar Subramanian 
<kumarsubr...@vmware.com>

wrote:



> 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 assignment.

> [2018-03-05T22:58:34.044Z] [ERROR] [??] [Controller] failure during

> msgProvider.ensureTopic for topic completed0

> [INFO] [03/05/2018 22:58:34.070] [kamon-shutdown-hook-1]

> [CoordinatedShutdown(akka://kamon)] Starting coordinated shutdown from

> JVM shutdown hook

>

> On 3/5/18, 2:58 PM, "Kumar Subramanian" <kumarsubr...@vmware.com> 
wrote:

>

> Hi Carlos/Tyson/Chetan,

> Any Suggestions?

>

> Note: I just tried to increase the timeout on the health checks 
…no

> luck.

>
    
> Thanks,

> Kumar.

>

> On 3/5/18, 12:28 PM, "Kumar Subramanian" <kumarsubr...@vmware.com>

> wrote:

>

> This is the output log

> [2018-03-05T20:24:10.016Z] [INFO] Initializing Kamon...

> [INFO] [03/05/2018 20:24:10.301] [main]

> [StatsDExtension(akka://kamon)] Starting the Kamon(StatsD) extension

> [2018-03-05T20:24:10.352Z] [INFO] Slf4jLogger started

> [2018-03-05T20:24:10.706Z] [INFO] [??] [Config] environment 
set

> value for db.whisk.actions

> [2018-03-05T20:24:10.707Z] [INFO] [??] [Config] environment 
set

> value for db.protocol

> [2018-03-05T20:24:10.708Z] [INFO] [??] [Config] environment 
set

> value for limits.actions.sequence.maxLength

> [2018-03-05T20:24:10.708Z] [INFO] [??] [Config] environment 
set

> value for limits.triggers.fires.perMinute

> [2018-03-05T20:24:10.708Z] [INFO] [??] [Config] environment 
set

> value for akka.cluster.seed.nodes

> [2018-03-05T20:24:10.709Z] [INFO] [??] [Config] environment 
set

> value for limits.actions.invokes.concurrent

> [2018-03-05T20:24:10.709Z] [INFO] [??] [Config] environment 
set

> value for controller.instances

> [2018-03-05T20:24:10.710Z] [INFO] [??] [Config] environment 
set

> value for controller.localBookkeeping

> [2018-03-05T20:24:10.710Z] [INFO] [??] [Config] environment 
set

> value for whisk.version.date

> [2018-03-05T20:24:10.710Z] [INFO] [??] [Config] environment 
set

> value for db.port

> [2018-03-05T20:24:10.711Z] [INFO] [??] [Config] environment 
set


Re: Error when deploying Whisk-Controller in dcos

2018-03-06 Thread Kumar Subramanian
Hi Duy,
I would love to try it.

Is your changes in master? If so what’s master link? 

In the link https://github.com/apache/incubator-openwhisk-deploy-mesos I only 
see a license.txt file in it. 

Thanks,
Kumar.

On 3/6/18, 9:41 AM, "Duy Nguyen" <duy.phngu...@gmail.com> wrote:

Hi Kumar,

I have updated the universe to latest Openwhisk changes, verified it on a
vanilla DC/OS 1.11 cluster, and opened a PR at [1], do you mind trying it
out?
Hope it would solve bunch of issues you got earlier.

cheers,
Duy

[1] 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk-2Ddeploy-2Dmesos_pull_2=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=Wd0tt9Y6emKuk7HzgaeTCmlXjND8hGbhr2r-NAd74ug=6lelXSxZQpZSLezJ62bqfqxgcZkF3SNgkzaFNM_qZGU=


On Tue, Mar 6, 2018 at 12:00 AM, Kumar Subramanian <kumarsubr...@vmware.com>
wrote:

> 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 assignment.
> [2018-03-05T22:58:34.044Z] [ERROR] [??] [Controller] failure during
> msgProvider.ensureTopic for topic completed0
> [INFO] [03/05/2018 22:58:34.070] [kamon-shutdown-hook-1]
> [CoordinatedShutdown(akka://kamon)] Starting coordinated shutdown from
> JVM shutdown hook
>
> On 3/5/18, 2:58 PM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:
>
> Hi Carlos/Tyson/Chetan,
> Any Suggestions?
>
> Note: I just tried to increase the timeout on the health checks …no
    > luck.
>
> Thanks,
> Kumar.
>
> On 3/5/18, 12:28 PM, "Kumar Subramanian" <kumarsubr...@vmware.com>
> wrote:
>
> This is the output log
> [2018-03-05T20:24:10.016Z] [INFO] Initializing Kamon...
> [INFO] [03/05/2018 20:24:10.301] [main]
> [StatsDExtension(akka://kamon)] Starting the Kamon(StatsD) extension
> [2018-03-05T20:24:10.352Z] [INFO] Slf4jLogger started
> [2018-03-05T20:24:10.706Z] [INFO] [??] [Config] environment set
> value for db.whisk.actions
> [2018-03-05T20:24:10.707Z] [INFO] [??] [Config] environment set
> value for db.protocol
> [2018-03-05T20:24:10.708Z] [INFO] [??] [Config] environment set
> value for limits.actions.sequence.maxLength
> [2018-03-05T20:24:10.708Z] [INFO] [??] [Config] environment set
> value for limits.triggers.fires.perMinute
> [2018-03-05T20:24:10.708Z] [INFO] [??] [Config] environment set
> value for akka.cluster.seed.nodes
> [2018-03-05T20:24:10.709Z] [INFO] [??] [Config] environment set
> value for limits.actions.invokes.concurrent
> [2018-03-05T20:24:10.709Z] [INFO] [??] [Config] environment set
> value for controller.instances
> [2018-03-05T20:24:10.710Z] [INFO] [??] [Config] environment set
> value for controller.localBookkeeping
> [2018-03-05T20:24:10.710Z] [INFO] [??] [Config] environment set
> value for whisk.version.date
> [2018-03-05T20:24:10.710Z] [INFO] [??] [Config] environment set
> value for db.port
> [2018-03-05T20:24:10.711Z] [INFO] [??] [Config] environment set
> value for whisk.version.buildno
> [2018-03-05T20:24:10.711Z] [INFO] [??] [Config] environment set
> value for db.whisk.activations
> [2018-03-05T20:24:10.711Z] [INFO] [??] [Config] environment set
> value for db.username
> [2018-03-05T20:24:10.712Z] [INFO] [??] [Config] environment set
> value for limits.actions.invokes.perMinute
> [2018-03-05T20:24:10.712Z] [INFO] [??] [Config] environment set
> value for db.whisk.auths
> [2018-03-05T20:24:10.712Z] [INFO] [??] [Config] environment set
> value for limits.actions.invokes.concurrentInSystem
> [2018-03-05T20:24:10.712Z] [INFO] [??] [Config] environment set
> value for runtimes.manifest
> [2018-03-05T20:24:10.713Z] [INFO] [??] [Config] environment set
> value for kafka.hosts
> [2018-03-05T20:24:10.713Z] [INFO] [??] [Config] environment set
> value for db.host
> [2018-03-05T20:24:10.713Z] [INFO] [??] [Config] environment set
> value for port
> [2018-03-05T20:24:10.714Z] [INFO] [??] [Config] environment set
> value for db.password
> [2018-03-05T20:24:10.714Z] [INF

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 
assignment.
[2018-03-05T22:58:34.044Z] [ERROR] [??] [Controller] failure during 
msgProvider.ensureTopic for topic completed0
[INFO] [03/05/2018 22:58:34.070] [kamon-shutdown-hook-1] 
[CoordinatedShutdown(akka://kamon)] Starting coordinated shutdown from JVM 
shutdown hook

On 3/5/18, 2:58 PM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:

Hi Carlos/Tyson/Chetan,
Any Suggestions?

Note: I just tried to increase the timeout on the health checks …no luck.

Thanks,
Kumar. 

On 3/5/18, 12:28 PM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:

This is the output log
[2018-03-05T20:24:10.016Z] [INFO] Initializing Kamon...
[INFO] [03/05/2018 20:24:10.301] [main] [StatsDExtension(akka://kamon)] 
Starting the Kamon(StatsD) extension
[2018-03-05T20:24:10.352Z] [INFO] Slf4jLogger started
[2018-03-05T20:24:10.706Z] [INFO] [??] [Config] environment set value 
for db.whisk.actions
[2018-03-05T20:24:10.707Z] [INFO] [??] [Config] environment set value 
for db.protocol
[2018-03-05T20:24:10.708Z] [INFO] [??] [Config] environment set value 
for limits.actions.sequence.maxLength
[2018-03-05T20:24:10.708Z] [INFO] [??] [Config] environment set value 
for limits.triggers.fires.perMinute
[2018-03-05T20:24:10.708Z] [INFO] [??] [Config] environment set value 
for akka.cluster.seed.nodes
[2018-03-05T20:24:10.709Z] [INFO] [??] [Config] environment set value 
for limits.actions.invokes.concurrent
[2018-03-05T20:24:10.709Z] [INFO] [??] [Config] environment set value 
for controller.instances
[2018-03-05T20:24:10.710Z] [INFO] [??] [Config] environment set value 
for controller.localBookkeeping
[2018-03-05T20:24:10.710Z] [INFO] [??] [Config] environment set value 
for whisk.version.date
[2018-03-05T20:24:10.710Z] [INFO] [??] [Config] environment set value 
for db.port
[2018-03-05T20:24:10.711Z] [INFO] [??] [Config] environment set value 
for whisk.version.buildno
[2018-03-05T20:24:10.711Z] [INFO] [??] [Config] environment set value 
for db.whisk.activations
[2018-03-05T20:24:10.711Z] [INFO] [??] [Config] environment set value 
for db.username
[2018-03-05T20:24:10.712Z] [INFO] [??] [Config] environment set value 
for limits.actions.invokes.perMinute
[2018-03-05T20:24:10.712Z] [INFO] [??] [Config] environment set value 
for db.whisk.auths
[2018-03-05T20:24:10.712Z] [INFO] [??] [Config] environment set value 
for limits.actions.invokes.concurrentInSystem
[2018-03-05T20:24:10.712Z] [INFO] [??] [Config] environment set value 
for runtimes.manifest
[2018-03-05T20:24:10.713Z] [INFO] [??] [Config] environment set value 
for kafka.hosts
[2018-03-05T20:24:10.713Z] [INFO] [??] [Config] environment set value 
for db.host
[2018-03-05T20:24:10.713Z] [INFO] [??] [Config] environment set value 
for port
[2018-03-05T20:24:10.714Z] [INFO] [??] [Config] environment set value 
for db.password
[2018-03-05T20:24:10.714Z] [INFO] [??] [Config] environment set value 
for db.provider
Received killTask for task 
whisk-controller.28d25d91-20b3-11e8-8754-3afdc003616b
[INFO] [03/05/2018 20:25:38.974] [kamon-shutdown-hook-1] 
[CoordinatedShutdown(akka://kamon)] Starting coordinated shutdown from JVM 
shutdown hook
[2018-03-05T20:25:38.975Z] [INFO] Starting coordinated shutdown from 
JVM shutdown hook
[2018-03-05T20:25:38.982Z] [INFO] [??] [Controller] Shutting down Kamon 
with coordinated shutdown

ERROR_LOG
I0305 20:24:09.220711  1337 exec.cpp:162] Version: 1.2.3
I0305 20:24:09.227144  1338 exec.cpp:237] Executor registered on agent 
995020e0-5129-44a3-8cf4-65900838b3af-S7
W0305 20:24:09.227144  1341 logging.cpp:91] RAW: Received signal 
SIGTERM from process 10243 of user 0; exiting
    
    On 3/5/18, 12:24 PM, "Kumar Subramanian" <kumarsubr...@vmware.com> 
wrote:

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" <kumarsubr...@vmware.com> 
wrote:

Gave the value as mykafka.marathon.mesos:9092…it seems to be 
going forward now with the deployment…hope it succeeds
    
On 3/5

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" <kumarsubr...@vmware.com> wrote:

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" <kumarsubr...@vmware.com> wrote:

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 thread "main" org.apache.kafka.common.KafkaException: 
Failed create new KafkaAdminClient
at 
org.apache.kafka.clients.admin.KafkaAdminClient.createInternal(KafkaAdminClient.java:322)
at 
org.apache.kafka.clients.admin.AdminClient.create(AdminClient.java:50)
at 
whisk.connector.kafka.KafkaMessagingProvider$.ensureTopic(KafkaMessagingProvider.scala:70)
at whisk.core.controller.Controller$.main(Controller.scala:217)
at whisk.core.controller.Controller.main(Controller.scala)
Caused by: org.apache.kafka.common.config.ConfigException: No 
resolvable bootstrap urls given in bootstrap.servers
at 
org.apache.kafka.clients.ClientUtils.parseAndValidateAddresses(ClientUtils.java:64)
at 
org.apache.kafka.clients.admin.KafkaAdminClient.(KafkaAdminClient.java:345)
at 
org.apache.kafka.clients.admin.KafkaAdminClient.createInternal(KafkaAdminClient.java:315)
... 4 more
<>
The config environment values are:
"KAFKA_HOST": "broker-0.kafka.mesos"
"KAFKA_HOSTS": "mykafka.docker:9092"


Here is the Kakfka service in my dcos services
<>   
ID: mykafka.654fa8cd-1e56-11e8-8754-3afdc003616b
Name: mykafka
Address: <>
Status: Running

On 3/5/18, 12:01 PM, "Kumar Subramanian" <kumarsubr...@vmware.com> 
wrote:

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" <kumarsubr...@vmware.com> 
wrote:

Thanks Chetan, I added that now I’m getting the 

[2018-03-05T19:43:45.025Z] [ERROR] [??] [Config] required 
property kafka.hosts still not set

what is kafka.hosts is that the kafka host name? (as in 
mykafka…that;s the kafka name I gave when I installed kakfa). Should it be just 
the name or is FQDN ?
 

On 3/5/18, 11:32 AM, "Chetan Mehrotra" 
<chetan.mehro...@gmail.com> wrote:

> 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 as an example at [1]
(controller.instances becomes CONTROLLER_INSTANCES). They 
would need
to be tweaked as per your setup though

Chetan Mehrotra
[1] 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk-2Ddevtools_blob_master_docker-2Dcompose_docker-2Dwhisk-2Dcontroller.env=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=K8Rzl5BrVqOWFx5b1fYG8EjdY-6JVyi-x_eMD0thaKY=VfbixlUG4tFbgBNxiMr-KCNJOakmlGuNcnXLlbQMrVY=


On Tue, Mar 6, 2018 at 12:09 AM, Kumar Subramanian
<kumarsubr...@vmware.com> wrote:
> 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…)
>
> R

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" <kumarsubr...@vmware.com> wrote:

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 thread "main" org.apache.kafka.common.KafkaException: Failed 
create new KafkaAdminClient
at 
org.apache.kafka.clients.admin.KafkaAdminClient.createInternal(KafkaAdminClient.java:322)
at 
org.apache.kafka.clients.admin.AdminClient.create(AdminClient.java:50)
at 
whisk.connector.kafka.KafkaMessagingProvider$.ensureTopic(KafkaMessagingProvider.scala:70)
at whisk.core.controller.Controller$.main(Controller.scala:217)
at whisk.core.controller.Controller.main(Controller.scala)
Caused by: org.apache.kafka.common.config.ConfigException: No resolvable 
bootstrap urls given in bootstrap.servers
at 
org.apache.kafka.clients.ClientUtils.parseAndValidateAddresses(ClientUtils.java:64)
at 
org.apache.kafka.clients.admin.KafkaAdminClient.(KafkaAdminClient.java:345)
at 
org.apache.kafka.clients.admin.KafkaAdminClient.createInternal(KafkaAdminClient.java:315)
... 4 more
<>
The config environment values are:
"KAFKA_HOST": "broker-0.kafka.mesos"
"KAFKA_HOSTS": "mykafka.docker:9092"


Here is the Kakfka service in my dcos services
<>   
ID: mykafka.654fa8cd-1e56-11e8-8754-3afdc003616b
Name: mykafka
Address: <>
Status: Running

On 3/5/18, 12:01 PM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:

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" <kumarsubr...@vmware.com> 
wrote:

Thanks Chetan, I added that now I’m getting the 

[2018-03-05T19:43:45.025Z] [ERROR] [??] [Config] required property 
kafka.hosts still not set

what is kafka.hosts is that the kafka host name? (as in 
mykafka…that;s the kafka name I gave when I installed kakfa). Should it be just 
the name or is FQDN ?
 

On 3/5/18, 11:32 AM, "Chetan Mehrotra" <chetan.mehro...@gmail.com> 
wrote:

> 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 as an example at [1]
(controller.instances becomes CONTROLLER_INSTANCES). They would 
need
to be tweaked as per your setup though

Chetan Mehrotra
[1] 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk-2Ddevtools_blob_master_docker-2Dcompose_docker-2Dwhisk-2Dcontroller.env=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=K8Rzl5BrVqOWFx5b1fYG8EjdY-6JVyi-x_eMD0thaKY=VfbixlUG4tFbgBNxiMr-KCNJOakmlGuNcnXLlbQMrVY=


On Tue, Mar 6, 2018 at 12:09 AM, Kumar Subramanian
<kumarsubr...@vmware.com> wrote:
> 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
> Starting task 
whisk-controller.a46ae612-20a2-11e8-8754-3afdc003616b
> [2018-03-05T18:25:55.853Z] [INFO] Initializing Kamon...
> [INFO] [03/05/2018 18:25:56.151] [main] 
[StatsDExtension(akka://kamon)] Starting the Kamon(StatsD) extension
> [2018-03-05T18:25:56.193Z] [INFO] Slf4jLogger started
> [2018-03-05T18:25:56.552Z] [INFO] [??] [Config] environment 
set value for db.whisk.actions
> [2018-03-05T18:25:56.554Z] [INFO] [??] [Config] environment 
set value for db.protocol
> [2018-03-

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 thread "main" org.apache.kafka.common.KafkaException: Failed 
create new KafkaAdminClient
at 
org.apache.kafka.clients.admin.KafkaAdminClient.createInternal(KafkaAdminClient.java:322)
at 
org.apache.kafka.clients.admin.AdminClient.create(AdminClient.java:50)
at 
whisk.connector.kafka.KafkaMessagingProvider$.ensureTopic(KafkaMessagingProvider.scala:70)
at whisk.core.controller.Controller$.main(Controller.scala:217)
at whisk.core.controller.Controller.main(Controller.scala)
Caused by: org.apache.kafka.common.config.ConfigException: No resolvable 
bootstrap urls given in bootstrap.servers
at 
org.apache.kafka.clients.ClientUtils.parseAndValidateAddresses(ClientUtils.java:64)
at 
org.apache.kafka.clients.admin.KafkaAdminClient.(KafkaAdminClient.java:345)
at 
org.apache.kafka.clients.admin.KafkaAdminClient.createInternal(KafkaAdminClient.java:315)
... 4 more
<>
The config environment values are:
"KAFKA_HOST": "broker-0.kafka.mesos"
"KAFKA_HOSTS": "mykafka.docker:9092"


Here is the Kakfka service in my dcos services
<>   
ID: mykafka.654fa8cd-1e56-11e8-8754-3afdc003616b
Name: mykafka
Address: <>
Status: Running

On 3/5/18, 12:01 PM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:

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" <kumarsubr...@vmware.com> wrote:

Thanks Chetan, I added that now I’m getting the 

[2018-03-05T19:43:45.025Z] [ERROR] [??] [Config] required property 
kafka.hosts still not set

what is kafka.hosts is that the kafka host name? (as in mykafka…that;s 
the kafka name I gave when I installed kakfa). Should it be just the name or is 
FQDN ?
 

On 3/5/18, 11:32 AM, "Chetan Mehrotra" <chetan.mehro...@gmail.com> 
wrote:

> 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 as an example at [1]
(controller.instances becomes CONTROLLER_INSTANCES). They would need
to be tweaked as per your setup though

Chetan Mehrotra
[1] 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk-2Ddevtools_blob_master_docker-2Dcompose_docker-2Dwhisk-2Dcontroller.env=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=K8Rzl5BrVqOWFx5b1fYG8EjdY-6JVyi-x_eMD0thaKY=VfbixlUG4tFbgBNxiMr-KCNJOakmlGuNcnXLlbQMrVY=


On Tue, Mar 6, 2018 at 12:09 AM, Kumar Subramanian
<kumarsubr...@vmware.com> wrote:
> 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
> Starting task 
whisk-controller.a46ae612-20a2-11e8-8754-3afdc003616b
> [2018-03-05T18:25:55.853Z] [INFO] Initializing Kamon...
> [INFO] [03/05/2018 18:25:56.151] [main] 
[StatsDExtension(akka://kamon)] Starting the Kamon(StatsD) extension
> [2018-03-05T18:25:56.193Z] [INFO] Slf4jLogger started
> [2018-03-05T18:25:56.552Z] [INFO] [??] [Config] environment set 
value for db.whisk.actions
> [2018-03-05T18:25:56.554Z] [INFO] [??] [Config] environment set 
value for db.protocol
> [2018-03-05T18:25:56.554Z] [INFO] [??] [Config] environment set 
value for limits.triggers.fires.perMinute
> [2018-03-05T18:25:56.554Z] [INFO] [??] [Config] environment set 
value for limits.actions.invokes.concurrent
> [2018-03-05T18:25:56.555Z] [INFO] [??] [Config] environment set 
value for whisk.version.date
> [2018-03-05T18:25:56.555Z] [INFO] [??] [Config] environment set 
value for db.port
> [2018-03-05T18:

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" <kumarsubr...@vmware.com> wrote:

Thanks Chetan, I added that now I’m getting the 

[2018-03-05T19:43:45.025Z] [ERROR] [??] [Config] required property 
kafka.hosts still not set

what is kafka.hosts is that the kafka host name? (as in mykafka…that;s the 
kafka name I gave when I installed kakfa). Should it be just the name or is 
FQDN ?
 

On 3/5/18, 11:32 AM, "Chetan Mehrotra" <chetan.mehro...@gmail.com> wrote:

> 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 as an example at [1]
(controller.instances becomes CONTROLLER_INSTANCES). They would need
to be tweaked as per your setup though

Chetan Mehrotra
[1] 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk-2Ddevtools_blob_master_docker-2Dcompose_docker-2Dwhisk-2Dcontroller.env=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=K8Rzl5BrVqOWFx5b1fYG8EjdY-6JVyi-x_eMD0thaKY=VfbixlUG4tFbgBNxiMr-KCNJOakmlGuNcnXLlbQMrVY=


    On Tue, Mar 6, 2018 at 12:09 AM, Kumar Subramanian
<kumarsubr...@vmware.com> wrote:
> 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
> Starting task whisk-controller.a46ae612-20a2-11e8-8754-3afdc003616b
> [2018-03-05T18:25:55.853Z] [INFO] Initializing Kamon...
> [INFO] [03/05/2018 18:25:56.151] [main] 
[StatsDExtension(akka://kamon)] Starting the Kamon(StatsD) extension
> [2018-03-05T18:25:56.193Z] [INFO] Slf4jLogger started
> [2018-03-05T18:25:56.552Z] [INFO] [??] [Config] environment set value 
for db.whisk.actions
> [2018-03-05T18:25:56.554Z] [INFO] [??] [Config] environment set value 
for db.protocol
> [2018-03-05T18:25:56.554Z] [INFO] [??] [Config] environment set value 
for limits.triggers.fires.perMinute
> [2018-03-05T18:25:56.554Z] [INFO] [??] [Config] environment set value 
for limits.actions.invokes.concurrent
> [2018-03-05T18:25:56.555Z] [INFO] [??] [Config] environment set value 
for whisk.version.date
> [2018-03-05T18:25:56.555Z] [INFO] [??] [Config] environment set value 
for db.port
> [2018-03-05T18:25:56.555Z] [INFO] [??] [Config] environment set value 
for whisk.version.buildno
> [2018-03-05T18:25:56.556Z] [INFO] [??] [Config] environment set value 
for db.username
> [2018-03-05T18:25:56.556Z] [INFO] [??] [Config] environment set value 
for limits.actions.invokes.perMinute
> [2018-03-05T18:25:56.556Z] [INFO] [??] [Config] environment set value 
for db.whisk.auths
> [2018-03-05T18:25:56.556Z] [INFO] [??] [Config] environment set value 
for limits.actions.invokes.concurrentInSystem
> [2018-03-05T18:25:56.557Z] [INFO] [??] [Config] environment set value 
for runtimes.manifest
> [2018-03-05T18:25:56.557Z] [INFO] [??] [Config] environment set value 
for db.host
> [2018-03-05T18:25:56.558Z] [INFO] [??] [Config] environment set value 
for port
> [2018-03-05T18:25:56.558Z] [INFO] [??] [Config] environment set value 
for db.password
> [2018-03-05T18:25:56.558Z] [INFO] [??] [Config] environment set value 
for db.provider
> [2018-03-05T18:25:56.561Z] [ERROR] [??] [Config] required property 
controller.instances still not set
> [2018-03-05T18:25:56.561Z] [ERROR] [??] [Controller] Bad 
configuration, cannot start.
>
> Any suggestions?
>
>
> On 3/2/18, 4:05 PM, "Kumar Subramanian" <kumarsubr...@vmware.com> 
wrote:
>
> This is the error I get when I did docker build (for Controller)
>
> Step 1/7 : FROM scala
> repository scala not found: does not exist or no pull access
>
>
> Any Suggestions?
>
> On 3/2/18, 3:34 PM, "Carlos Santana" <csantan...@gmail.com> wrote:
>
> No that it

Re: Error when deploying Whisk-Controller in dcos

2018-03-05 Thread Kumar Subramanian
uot;,
"type":"string",
"default":"5984"
 },
 "username":{
"description":"CouchDB username.",
"type":"string",
"default":"whisk_admin"
 },
 "password":{
"description":"CouchDB password.",
"type":"string",
"default":"some_passw0rd"
 }
  },
  "required":[
 "location",
 "port",
 "username",
 "password"
  ]
   },
   "kafka":{
  "description":"Linked Kafka properties",
  "type":"object",
  "properties":{
 "location":{
"description":"Host location of Kafka cluster.",
"type":"string",
"default":"broker-0.kafka.mesos"
 },
 "port":{
"description":"Host HTTP port of Kafka cluster (default 
= 9092).",
"type":"string",
"default":"9092"
 }
  },
  "required":[
 "location",
 "port"
  ]
   },
   "apigateway":{
  "description":"Linked API Gateway properties",
  "type":"object",
  "properties":{
 "location":{
"description":"Host location of API Gateway cluster.",
"type":"string",
"default":"apigateway.marathon.mesos"
 },
 "port":{
"description":"Host HTTP port of API Gateway cluster 
(default = 80).",
"type":"string",
"default":"80"
 }
  },
  "required":[
 "location",
 "port"
  ]
   }
}
 },
 "command":null
  }

On 3/5/18, 10:39 AM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:

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
Starting task whisk-controller.a46ae612-20a2-11e8-8754-3afdc003616b
[2018-03-05T18:25:55.853Z] [INFO] Initializing Kamon...
[INFO] [03/05/2018 18:25:56.151] [main] [StatsDExtension(akka://kamon)] 
Starting the Kamon(StatsD) extension
[2018-03-05T18:25:56.193Z] [INFO] Slf4jLogger started
[2018-03-05T18:25:56.552Z] [INFO] [??] [Config] environment set value for 
db.whisk.actions
[2018-03-05T18:25:56.554Z] [INFO] [??] [Config] environment set value for 
db.protocol
[2018-03-05T18:25:56.554Z] [INFO] [??] [Config] environment set value for 
limits.triggers.fires.perMinute
[2018-03-05T18:25:56.554Z] [INFO] [??] [Config] environment set value for 
limits.actions.invokes.concurrent
[2018-03-05T18:25:56.555Z] [INFO] [??] [Config] environment set value for 
whisk.version.date
[2018-03-05T18:25:56.555Z] [INFO] [??] [Config] environment set value for 
db.port
[2018-03-05T18:25:56.555Z] [INFO] [??] [Config] environment set value for 
whisk.version.buildno
[2018-03-05T18:25:56.556Z] [INFO] [??] [Config] environment set value for 
db.username
[2018-03-05T18:25:56.556Z] [INFO] [??] [Config] environment set value for 
limits.actions.invokes.perMinute
[2018-03-05T18:25:56.556Z] [INFO] [??] [Config] environment set value for 
db.whisk.auths
[2018-03-05T18:25:56.556Z] [INFO] [??] [Config] environment set value for 
limits.actions.invokes.concurrentInSystem
[2018-03-05T18:25:56.557Z] [INFO] [??] [Config] environment set value for 
runtimes.manifest
[2018-03-05T18:25:56.557Z] [INFO] [??] [Config] environment set value for 
db.host
[

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
Starting task whisk-controller.a46ae612-20a2-11e8-8754-3afdc003616b
[2018-03-05T18:25:55.853Z] [INFO] Initializing Kamon...
[INFO] [03/05/2018 18:25:56.151] [main] [StatsDExtension(akka://kamon)] 
Starting the Kamon(StatsD) extension
[2018-03-05T18:25:56.193Z] [INFO] Slf4jLogger started
[2018-03-05T18:25:56.552Z] [INFO] [??] [Config] environment set value for 
db.whisk.actions
[2018-03-05T18:25:56.554Z] [INFO] [??] [Config] environment set value for 
db.protocol
[2018-03-05T18:25:56.554Z] [INFO] [??] [Config] environment set value for 
limits.triggers.fires.perMinute
[2018-03-05T18:25:56.554Z] [INFO] [??] [Config] environment set value for 
limits.actions.invokes.concurrent
[2018-03-05T18:25:56.555Z] [INFO] [??] [Config] environment set value for 
whisk.version.date
[2018-03-05T18:25:56.555Z] [INFO] [??] [Config] environment set value for 
db.port
[2018-03-05T18:25:56.555Z] [INFO] [??] [Config] environment set value for 
whisk.version.buildno
[2018-03-05T18:25:56.556Z] [INFO] [??] [Config] environment set value for 
db.username
[2018-03-05T18:25:56.556Z] [INFO] [??] [Config] environment set value for 
limits.actions.invokes.perMinute
[2018-03-05T18:25:56.556Z] [INFO] [??] [Config] environment set value for 
db.whisk.auths
[2018-03-05T18:25:56.556Z] [INFO] [??] [Config] environment set value for 
limits.actions.invokes.concurrentInSystem
[2018-03-05T18:25:56.557Z] [INFO] [??] [Config] environment set value for 
runtimes.manifest
[2018-03-05T18:25:56.557Z] [INFO] [??] [Config] environment set value for 
db.host
[2018-03-05T18:25:56.558Z] [INFO] [??] [Config] environment set value for port
[2018-03-05T18:25:56.558Z] [INFO] [??] [Config] environment set value for 
db.password
[2018-03-05T18:25:56.558Z] [INFO] [??] [Config] environment set value for 
db.provider
[2018-03-05T18:25:56.561Z] [ERROR] [??] [Config] required property 
controller.instances still not set
[2018-03-05T18:25:56.561Z] [ERROR] [??] [Controller] Bad configuration, cannot 
start.

Any suggestions?


On 3/2/18, 4:05 PM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:

This is the error I get when I did docker build (for Controller)

Step 1/7 : FROM scala
repository scala not found: does not exist or no pull access


Any Suggestions?

On 3/2/18, 3:34 PM, "Carlos Santana" <csantan...@gmail.com> wrote:

No that it’s still in PR 

Just pull the changes locally and build 

- Carlos Santana
@csantanapr

    > On Mar 2, 2018, at 6:20 PM, Kumar Subramanian 
<kumarsubr...@vmware.com> wrote:
> 
> Is that change at 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_chetanmeh_incubator-2Dopenwhisk_blob_fa302249f4f9b4e6b3084956f18bda987674f46f_core_controller_Dockerfile=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=nLubLAFijdQ4pOPqIydDI_wguMgbdmdmoMXcP7g-m8k=0_zv4jTDip5Uk9oBB5-6Ka_Iug3KYWIhy7qzSDryqM0=
 not merged? I don’t see change in master 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk_blob_master_core_controller_Dockerfile=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=nLubLAFijdQ4pOPqIydDI_wguMgbdmdmoMXcP7g-m8k=TdB-IjihM3-0dqBF029dSMkoWbZHBAUXXqeDjfQMlhg=
> 
> Thanks,
    > Kumar. 
    > 
> On 3/2/18, 2:59 PM, "Kumar Subramanian" <kumarsubr...@vmware.com> 
wrote:
> 
>Ok, I will try to build the controller image and see. Will keep 
you posted.
> 
>On 3/2/18, 2:39 PM, "Tyson Norris" <tnor...@adobe.com.INVALID> 
wrote:
> 
>Thanks Carlos - I think you’re right. 
> 
> 
> 
>Kumar you can either build the controller image with that PR, 
or else you should be able to manually set the docker cmd, e.g. /bin/sh -c 
\"exec /init.sh 0 >> /dev/stdout\” on the dcos service for controller; 
> 
> 
> 
>I think you will have similar issue with invoker, mostly 
because this universe is far out of date from current openwhisk images. 
> 
> 
> 
>For invoker can you use the docker cmd as /bin/sh -c \"exec 
/init.sh --name $LIBPROCESS_IP >> /dev/stdout\”
> 
> 
> 
>Additionally, the env vars (both invoker and controller) have 
changed substantially, so I would expect a few hiccups there as well. 
> 
>

Re: Error when deploying Whisk-Controller in dcos

2018-03-02 Thread Kumar Subramanian
This is the error I get when I did docker build (for Controller)

Step 1/7 : FROM scala
repository scala not found: does not exist or no pull access


Any Suggestions?

On 3/2/18, 3:34 PM, "Carlos Santana" <csantan...@gmail.com> wrote:

No that it’s still in PR 

Just pull the changes locally and build 

- Carlos Santana
@csantanapr

> On Mar 2, 2018, at 6:20 PM, Kumar Subramanian <kumarsubr...@vmware.com> 
wrote:
> 
> Is that change at 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_chetanmeh_incubator-2Dopenwhisk_blob_fa302249f4f9b4e6b3084956f18bda987674f46f_core_controller_Dockerfile=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=nLubLAFijdQ4pOPqIydDI_wguMgbdmdmoMXcP7g-m8k=0_zv4jTDip5Uk9oBB5-6Ka_Iug3KYWIhy7qzSDryqM0=
 not merged? I don’t see change in master 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk_blob_master_core_controller_Dockerfile=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=nLubLAFijdQ4pOPqIydDI_wguMgbdmdmoMXcP7g-m8k=TdB-IjihM3-0dqBF029dSMkoWbZHBAUXXqeDjfQMlhg=
> 
> Thanks,
> Kumar. 
> 
    > On 3/2/18, 2:59 PM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:
> 
>Ok, I will try to build the controller image and see. Will keep you 
posted.
> 
>On 3/2/18, 2:39 PM, "Tyson Norris" <tnor...@adobe.com.INVALID> wrote:
> 
>Thanks Carlos - I think you’re right. 
> 
> 
> 
>Kumar you can either build the controller image with that PR, or 
else you should be able to manually set the docker cmd, e.g. /bin/sh -c \"exec 
/init.sh 0 >> /dev/stdout\” on the dcos service for controller; 
> 
> 
> 
>I think you will have similar issue with invoker, mostly because 
this universe is far out of date from current openwhisk images. 
> 
> 
> 
>For invoker can you use the docker cmd as /bin/sh -c \"exec 
/init.sh --name $LIBPROCESS_IP >> /dev/stdout\”
> 
> 
> 
>Additionally, the env vars (both invoker and controller) have 
changed substantially, so I would expect a few hiccups there as well. 
> 
> 
> 
>We are working on getting updates to the universe so that our 
internal deployment details are not included, and it will actually work with 
recent openwhisk images (and stay working) but haven’t gotten everything set 
just yet. 
> 
> 
> 
>Hope that helps
> 
>Tyson
> 
> 
> 
>>> On Mar 2, 2018, at 2:21 PM, Carlos Santana <csantan...@gmail.com> wrote:
>> 
>> 
> 
>> Maybe for the init.sh this PR is related
> 
>> 
https://urldefense.proofpoint.com/v2/url?u=https-3A__na01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fgithub.com-252Fapache-252Fincubator-2Dopenwhisk-252Fpull-252F3374-252Ffiles-2523diff-2D8f445fbdf6253dd176975ff6c629def4R18-26data-3D02-257C01-257Ctnorris-2540adobe.com-257C605cc50c7a484ccb833708d5808bfe64-257Cfa7b1b5a7b34438794aed2c178decee1-257C0-257C0-257C636556261107863657-26sdata-3Dtk8Des10hubLs7FNSgzDlsk1ibxDTIqSlXti-252FcAUyz0-253D-26reserved-3D0=DwIGaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=LUthdew4Dt10vSAZSYRBbREqgwWk2PUWc4KDBJtt0uU=3UqWljTQjItMnzWhPrsfD1AF2IX6abtc9dYRfrxb2_M=
> 
>> 
> 
>> 
> 
>> On Fri, Mar 2, 2018 at 5:09 PM Tyson Norris <tnor...@adobe.com.invalid>
> 
>> wrote:
> 
>> 
> 
>>> Check your marathon/dcos service config to verify what image is used, 
and
> 
>>> that you have the latest image pulled?
> 
>>> 
> 
>>> The default should be openwhisk/controller - but I see that universe
> 
>>> package marathon config is not set to force pull, so if you are using 
that
> 
>>> image, make sure you have pulled the latest manually (or change the 
config
> 
>>> to force pull in dcos/marathon ui).
> 
>>> 
> 
>>> Tyson
> 
>>> 
> 
>>>> On Mar 2, 2018, at 12:45 PM, Kumar Subramanian 
<kumarsubr...@vmware.com>
> 
>>> wrote:
> 
>>>> 
> 
>>>> Hi,
> 
>>>> I have installed the following in DCOS successfully:
> 
>>>> 1. Apigateway
> 
>>>> 2. Exhibitor-dcos
> 
>>>> 3. Kafka (name given is mykafka at the time of installation)
  

Re: Error when deploying Whisk-Controller in dcos

2018-03-02 Thread Kumar Subramanian
Is that change at 
https://github.com/chetanmeh/incubator-openwhisk/blob/fa302249f4f9b4e6b3084956f18bda987674f46f/core/controller/Dockerfile
 not merged? I don’t see change in master 
https://github.com/apache/incubator-openwhisk/blob/master/core/controller/Dockerfile

Thanks,
Kumar. 

On 3/2/18, 2:59 PM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:

Ok, I will try to build the controller image and see. Will keep you posted.

On 3/2/18, 2:39 PM, "Tyson Norris" <tnor...@adobe.com.INVALID> wrote:

Thanks Carlos - I think you’re right. 



Kumar you can either build the controller image with that PR, or else 
you should be able to manually set the docker cmd, e.g. /bin/sh -c \"exec 
/init.sh 0 >> /dev/stdout\” on the dcos service for controller; 



I think you will have similar issue with invoker, mostly because this 
universe is far out of date from current openwhisk images. 



For invoker can you use the docker cmd as /bin/sh -c \"exec /init.sh 
--name $LIBPROCESS_IP >> /dev/stdout\”



Additionally, the env vars (both invoker and controller) have changed 
substantially, so I would expect a few hiccups there as well. 



We are working on getting updates to the universe so that our internal 
deployment details are not included, and it will actually work with recent 
openwhisk images (and stay working) but haven’t gotten everything set just yet. 



Hope that helps

Tyson



> On Mar 2, 2018, at 2:21 PM, Carlos Santana <csantan...@gmail.com> 
wrote:

> 

> Maybe for the init.sh this PR is related

> 
https://urldefense.proofpoint.com/v2/url?u=https-3A__na01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fgithub.com-252Fapache-252Fincubator-2Dopenwhisk-252Fpull-252F3374-252Ffiles-2523diff-2D8f445fbdf6253dd176975ff6c629def4R18-26data-3D02-257C01-257Ctnorris-2540adobe.com-257C605cc50c7a484ccb833708d5808bfe64-257Cfa7b1b5a7b34438794aed2c178decee1-257C0-257C0-257C636556261107863657-26sdata-3Dtk8Des10hubLs7FNSgzDlsk1ibxDTIqSlXti-252FcAUyz0-253D-26reserved-3D0=DwIGaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=LUthdew4Dt10vSAZSYRBbREqgwWk2PUWc4KDBJtt0uU=3UqWljTQjItMnzWhPrsfD1AF2IX6abtc9dYRfrxb2_M=

> 

> 

> On Fri, Mar 2, 2018 at 5:09 PM Tyson Norris 
<tnor...@adobe.com.invalid>

> wrote:

> 

>> Check your marathon/dcos service config to verify what image is 
used, and

>> that you have the latest image pulled?

>> 

>> The default should be openwhisk/controller - but I see that universe

>> package marathon config is not set to force pull, so if you are 
using that

>> image, make sure you have pulled the latest manually (or change the 
config

>> to force pull in dcos/marathon ui).

>> 

>> Tyson

>> 

>>> On Mar 2, 2018, at 12:45 PM, Kumar Subramanian 
<kumarsubr...@vmware.com>

>> wrote:

>>> 

>>> Hi,

>>> I have installed the following in DCOS successfully:

>>> 1. Apigateway

>>> 2. Exhibitor-dcos

>>> 3. Kafka (name given is mykafka at the time of installation)

>>> 4. Whisk-couchdb

>>> 5. Consul

>>> 6. Registrator

>>> 

>>> Eror when deploying Whisk-Controller in DCOS:

>>> When I tried to deploy whisk-controller with default settings, then 
the

>> service fails to deploy (it just kills and redploys the service

>> continuously on its own when deploying)

>>> 

>>> Here is the content in the Error and Output

>>> 

>>> STDERR:

>>> (AT BEGINNING OF FILE)

>>> I0302 20:38:35.176177 19822 exec.cpp:162] Version: 1.2.3

>>> I0302 20:38:35.180703 19824 exec.cpp:237] Executor registered on 
agent

>> 995020e0-5129-44a3-8cf4-65900838b3af-S6

>>> docker: Error response from daemon: Container command 'init.sh' not

>> found or does not e

Re: Error when deploying Whisk-Controller in dcos

2018-03-02 Thread Kumar Subramanian
Ok, I will try to build the controller image and see. Will keep you posted.

On 3/2/18, 2:39 PM, "Tyson Norris" <tnor...@adobe.com.INVALID> wrote:

Thanks Carlos - I think you’re right. 



Kumar you can either build the controller image with that PR, or else you 
should be able to manually set the docker cmd, e.g. /bin/sh -c \"exec /init.sh 
0 >> /dev/stdout\” on the dcos service for controller; 



I think you will have similar issue with invoker, mostly because this 
universe is far out of date from current openwhisk images. 



For invoker can you use the docker cmd as /bin/sh -c \"exec /init.sh --name 
$LIBPROCESS_IP >> /dev/stdout\”



Additionally, the env vars (both invoker and controller) have changed 
substantially, so I would expect a few hiccups there as well. 



We are working on getting updates to the universe so that our internal 
deployment details are not included, and it will actually work with recent 
openwhisk images (and stay working) but haven’t gotten everything set just yet. 



Hope that helps

Tyson



> On Mar 2, 2018, at 2:21 PM, Carlos Santana <csantan...@gmail.com> wrote:

> 

> Maybe for the init.sh this PR is related

> 
https://urldefense.proofpoint.com/v2/url?u=https-3A__na01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fgithub.com-252Fapache-252Fincubator-2Dopenwhisk-252Fpull-252F3374-252Ffiles-2523diff-2D8f445fbdf6253dd176975ff6c629def4R18-26data-3D02-257C01-257Ctnorris-2540adobe.com-257C605cc50c7a484ccb833708d5808bfe64-257Cfa7b1b5a7b34438794aed2c178decee1-257C0-257C0-257C636556261107863657-26sdata-3Dtk8Des10hubLs7FNSgzDlsk1ibxDTIqSlXti-252FcAUyz0-253D-26reserved-3D0=DwIGaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=LUthdew4Dt10vSAZSYRBbREqgwWk2PUWc4KDBJtt0uU=3UqWljTQjItMnzWhPrsfD1AF2IX6abtc9dYRfrxb2_M=

> 

> 

> On Fri, Mar 2, 2018 at 5:09 PM Tyson Norris <tnor...@adobe.com.invalid>

> wrote:

> 

>> Check your marathon/dcos service config to verify what image is used, and

>> that you have the latest image pulled?

>> 

>> The default should be openwhisk/controller - but I see that universe

>> package marathon config is not set to force pull, so if you are using 
that

>> image, make sure you have pulled the latest manually (or change the 
config

>> to force pull in dcos/marathon ui).

>> 

>> Tyson

>> 

>>> On Mar 2, 2018, at 12:45 PM, Kumar Subramanian <kumarsubr...@vmware.com>

>> wrote:

>>> 

>>> Hi,

>>> I have installed the following in DCOS successfully:

>>> 1. Apigateway

>>> 2. Exhibitor-dcos

>>> 3. Kafka (name given is mykafka at the time of installation)

>>> 4. Whisk-couchdb

>>> 5. Consul

>>> 6. Registrator

>>> 

>>> Eror when deploying Whisk-Controller in DCOS:

>>> When I tried to deploy whisk-controller with default settings, then the

>> service fails to deploy (it just kills and redploys the service

>> continuously on its own when deploying)

>>> 

>>> Here is the content in the Error and Output

>>> 

>>> STDERR:

>>> (AT BEGINNING OF FILE)

>>> I0302 20:38:35.176177 19822 exec.cpp:162] Version: 1.2.3

>>> I0302 20:38:35.180703 19824 exec.cpp:237] Executor registered on agent

>> 995020e0-5129-44a3-8cf4-65900838b3af-S6

>>> docker: Error response from daemon: Container command 'init.sh' not

>> found or does not exist..

>>> 

>>> OUTPUT:

>>> (AT BEGINNING OF FILE)

>>> Registered docker executor on 10.0.6.55

>>> Starting task whisk-controller.adb62c44-1e59-11e8-8754-3afdc003616b

>>> 

>>> Can you please provide your valuable inputs on how to get

>> whisk-controller deployed in dcos?

>>> 

>>> Thanks,

>>> Kumar.

>>> 

>> 

>> 







Re: Error when deploying Whisk-Controller in dcos

2018-03-02 Thread Kumar Subramanian
   "packagingVersion":"3.0",
 "postInstallNotes":"DC/OS OpenWhisk controller has been successfully 
installed!",
 "postUninstallNotes":"DC/OS OpenWhisk controller service has been 
uninstalled.",
 "preInstallNotes":"OpenWhisk Controller requires Kafka, CouchDB, 
Consul, Registrator and APIGateway already installed in the same DC/OS 
cluster.",
     "selected":true,
 "tags":[
"openwhisk",
"controller",
"serverless",
"lambda"
 ],
 "version":"0.1",
 "releaseVersion":0,
 "resource":{
"images":{
   
"icon-small":"https://github.com/dcos/dcos-ui/blob/master/plugins/services/src/img/icon-service-default-small.png?raw=true;,
   
"icon-medium":"https://github.com/dcos/dcos-ui/blob/master/plugins/services/src/img/icon-service-default-medium.png?raw=true;,
   
"icon-large":"https://github.com/dcos/dcos-ui/blob/master/plugins/services/src/img/icon-service-default-large.png?raw=true;
},
"assets":{
   "container":{
  "docker":{
 "whisk-controller":"openwhisk/controller",
 "forcePullImage":"true"
  }
   }
}
 }

On 3/2/18, 2:27 PM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:

What should I do to get this latest change?

On 3/2/18, 2:21 PM, "Carlos Santana" <csantan...@gmail.com> wrote:

Maybe for the init.sh this PR is related

https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk_pull_3374_files-23diff-2D8f445fbdf6253dd176975ff6c629def4R18=DwIBaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=gEDGbaeYZmpWzXpok9PZBQ4Y47XcKSO6PbeVBe18B_M=9cIBBs696HcY-Xz8DZrNfcieyDD_QuEXzGXwOP6jFAM=


On Fri, Mar 2, 2018 at 5:09 PM Tyson Norris <tnor...@adobe.com.invalid>
wrote:

> Check your marathon/dcos service config to verify what image is used, 
and
> that you have the latest image pulled?
>
> The default should be openwhisk/controller - but I see that universe
> package marathon config is not set to force pull, so if you are using 
that
> image, make sure you have pulled the latest manually (or change the 
config
> to force pull in dcos/marathon ui).
>
> Tyson
>
> > On Mar 2, 2018, at 12:45 PM, Kumar Subramanian 
<kumarsubr...@vmware.com>
> wrote:
> >
> > Hi,
> > I have installed the following in DCOS successfully:
> > 1. Apigateway
> > 2. Exhibitor-dcos
> > 3. Kafka (name given is mykafka at the time of installation)
> > 4. Whisk-couchdb
> > 5. Consul
> > 6. Registrator
> >
> > Eror when deploying Whisk-Controller in DCOS:
> > When I tried to deploy whisk-controller with default settings, then 
the
> service fails to deploy (it just kills and redploys the service
> continuously on its own when deploying)
> >
> > Here is the content in the Error and Output
> >
> > STDERR:
> > (AT BEGINNING OF FILE)
> > I0302 20:38:35.176177 19822 exec.cpp:162] Version: 1.2.3
> > I0302 20:38:35.180703 19824 exec.cpp:237] Executor registered on 
agent
> 995020e0-5129-44a3-8cf4-65900838b3af-S6
> > docker: Error response from daemon: Container command 'init.sh' not
> found or does not exist..
> >
> > OUTPUT:
> > (AT BEGINNING OF FILE)
> > Registered docker executor on 10.0.6.55
> > Starting task whisk-controller.adb62c44-1e59-11e8-8754-3afdc003616b
> >
> > Can you please provide your valuable inputs on how to get
> whisk-controller deployed in dcos?
> >
> > Thanks,
> > Kumar.
> >
>
>






Re: Error when deploying Whisk-Controller in dcos

2018-03-02 Thread Kumar Subramanian
  "type":"string",
"default":"5984"
 },
 "username":{
"description":"CouchDB username.",
"type":"string",
"default":"whisk_admin"
 },
 "password":{
"description":"CouchDB password.",
"type":"string",
"default":"some_passw0rd"
 }
  },
  "required":[
 "location",
 "port",
 "username",
 "password"
  ]
   },
   "kafka":{
  "description":"Linked Kafka properties",
  "type":"object",
  "properties":{
 "location":{
"description":"Host location of Kafka cluster.",
"type":"string",
"default":"broker-0.kafka.mesos"
 },
 "port":{
"description":"Host HTTP port of Kafka cluster (default 
= 9092).",
"type":"string",
"default":"9092"
 }
  },
  "required":[
 "location",
 "port"
  ]
   },
   "apigateway":{
  "description":"Linked API Gateway properties",
  "type":"object",
  "properties":{
 "location":{
"description":"Host location of API Gateway cluster.",
"type":"string",
"default":"apigateway.marathon.mesos"
 },
 "port":{
"description":"Host HTTP port of API Gateway cluster 
(default = 80).",
"type":"string",
"default":"80"
 }
  },
  "required":[
 "location",
 "port"
  ]
   }
}
 },
 "command":null
  }

On 3/2/18, 12:45 PM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:

Hi,
I have installed the following in DCOS successfully:
1. Apigateway
2. Exhibitor-dcos
3. Kafka (name given is mykafka at the time of installation)
4. Whisk-couchdb
5. Consul
6. Registrator

Eror when deploying Whisk-Controller in DCOS:
When I tried to deploy whisk-controller with default settings, then the 
service fails to deploy (it just kills and redploys the service continuously on 
its own when deploying)

Here is the content in the Error and Output

STDERR:
(AT BEGINNING OF FILE)
I0302 20:38:35.176177 19822 exec.cpp:162] Version: 1.2.3
I0302 20:38:35.180703 19824 exec.cpp:237] Executor registered on agent 
995020e0-5129-44a3-8cf4-65900838b3af-S6
docker: Error response from daemon: Container command 'init.sh' not found 
or does not exist.. 

OUTPUT:
(AT BEGINNING OF FILE)
Registered docker executor on 10.0.6.55
Starting task whisk-controller.adb62c44-1e59-11e8-8754-3afdc003616b

Can you please provide your valuable inputs on how to get whisk-controller 
deployed in dcos?

Thanks,
Kumar.





Error when deploying Whisk-Controller in dcos

2018-03-02 Thread Kumar Subramanian
Hi,
I have installed the following in DCOS successfully:
1. Apigateway
2. Exhibitor-dcos
3. Kafka (name given is mykafka at the time of installation)
4. Whisk-couchdb
5. Consul
6. Registrator

Eror when deploying Whisk-Controller in DCOS:
When I tried to deploy whisk-controller with default settings, then the service 
fails to deploy (it just kills and redploys the service continuously on its own 
when deploying)

Here is the content in the Error and Output

STDERR:
(AT BEGINNING OF FILE)
I0302 20:38:35.176177 19822 exec.cpp:162] Version: 1.2.3
I0302 20:38:35.180703 19824 exec.cpp:237] Executor registered on agent 
995020e0-5129-44a3-8cf4-65900838b3af-S6
docker: Error response from daemon: Container command 'init.sh' not found or 
does not exist.. 

OUTPUT:
(AT BEGINNING OF FILE)
Registered docker executor on 10.0.6.55
Starting task whisk-controller.adb62c44-1e59-11e8-8754-3afdc003616b

Can you please provide your valuable inputs on how to get whisk-controller 
deployed in dcos?

Thanks,
Kumar.



Re: Install Api Gateway in dcos

2018-03-01 Thread Kumar Subramanian
Hi Tyson/Dragos,
I was able to progress and install apiGateway. The change I made was to the 
config; specifically the “acceptedResourceRoles”: [“slave_public”]; I set this 
to null and I was able to deploy the apiGateway Successfully.

Question: Is it necessary to set the value to “slave_public” ?

Thanks,
Kumar.

On 3/1/18, 12:18 PM, "Tyson Norris" <tnor...@adobe.com.INVALID> wrote:

Ok, you might want to verify your agents are running properly, with the 
resource attributes that you expect. 

On the mesos ui, click the “Agents” nav at the top, and verify the 
apigateway resource requirements can be satisfied (default is 0.5 cpu, 256MB 
memory, and constraint for unique hostname)



> On Mar 1, 2018, at 11:09 AM, Kumar Subramanian <kumarsubr...@vmware.com> 
wrote:

> 

> Hi Tyson,

> Under Debug>>Recent Resource Offers, I only see “Rejected offer analysis 
is not currently supported.” Also on the /mesos pages >> Offers (tab), the 
table contents is empty.

> 

> Thanks,

> Kumar.

> 

> On 3/1/18, 10:29 AM, "Tyson Norris" <tnor...@adobe.com.INVALID> wrote:

> 

>Hi Kumar -

> 

>If it is stuck in “waiting” status check the debug page for that 
service in DCOS gui 
(https://urldefense.proofpoint.com/v2/url?u=https-3A__na01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5Fdocs.mesosphere.com-5F1.10-5Fmonitoring-5Fdebugging-5Fgui-2D2Ddebugging-5F-2526d-253DDwIGaQ-2526c-253DuilaK90D4TOVoH58JNXRgQ-2526r-253DF5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo-2526m-253DPMpLWk-2DomxV9OEMjTizFWDKWJNG85Nf-2DIsvoagjL6X4-2526s-253DTOHffBumq67TyI2YR7oFirrjGztyjBTa1J6kJinwv6I-2526e-26data-3D02-257C01-257Ctnorris-2540adobe.com-257Cb9a19b0d304c4775a32808d57fa7fc19-257Cfa7b1b5a7b34438794aed2c178decee1-257C0-257C0-257C636555281818017113-26sdata-3D1RzoZScZnamq-252FZWEImlDNYqAfloLWjcjNCv7vG2hu0Y-253D-26reserved-3D0-3D=DwIGaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=5Fs4kuHy5ihfjroTdU5Q1qPItydbH9BE5-9DnJmknUU=585OO58K8U6ikUcmpojqPLXUwLI-0Ukoft-Cs6KuOfE=)
 to see why offers are not matching.

> 

> 

> 
    
    >Tyson

> 

> 

> 

>On Mar 1, 2018, at 10:05 AM, Kumar Subramanian 
<kumarsubr...@vmware.com<mailto:kumarsubr...@vmware.com>> wrote:

> 

> 

> 

>Hi Dragos,

> 

>One more information I noticed is that; as the apigateway status is in 
“waiting” status, the Error icon right next to it states “DC/OS has been 
waiting for resources and is unable to complete this deployment for XX minutes.

> 

> 

    > 

>Thanks,

> 

>Kumar.

> 

> 

> 

>On 3/1/18, 9:28 AM, "Kumar Subramanian" 
<kumarsubr...@vmware.com<mailto:kumarsubr...@vmware.com>> wrote:

> 

> 

> 

>   Hi Dragos,

> 

> 

> 

>   I am not sure I understood your point about “Note that by 
default the Gateway listens on this domain defined in config

> 

> 

> 

>   at [2] ( .gw.). Once 
the controller is

> 

> 

> 

>   installed in the cluster, it's accessible on 
controller.gw.,

> 

> 

> 

>   assuming the Marathon app name for the OpenWhisk Controller 
is called

> 

> 

> 

>   "controller" “

> 

> 

> 

> 

> 

> 

> 

>   apigateway is the first app that I tried to install on DCOS. Is 
there any place I have to define the url? (( 
.gw.) and may be I am missing that? The 
only Url I mentioned is the default one in the Environment settings of 
apigateway package (during installation). The default value was 
"default":https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__na01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttp-2D3A-5F-5Fmarathon.mesos-2D3A8080-2526d-253DDwIGaQ-2526c-253DuilaK90D4TOVoH58JNXRgQ-2526r-253DF5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo-2526m-253DSnzzg-2DsR6t5CY7El-5F-2DGNWwuD-5FWMAn1nbqP6taqWUSXo-2526s-253DztUsE0shjeKqrwdPc2TAGnBPCWlRPjo-5FHE9TL74FUcU-2526e-26data-3D02-257C01-257Ctnorris-2540adobe.com%26d%3DDwIGaQ%

Re: Install Api Gateway in dcos

2018-03-01 Thread Kumar Subramanian
Hi Tyson,
Under Debug>>Recent Resource Offers, I only see “Rejected offer analysis is not 
currently supported.” Also on the /mesos pages >> Offers (tab), the table 
contents is empty.

Thanks,
Kumar.

On 3/1/18, 10:29 AM, "Tyson Norris" <tnor...@adobe.com.INVALID> wrote:

Hi Kumar -

If it is stuck in “waiting” status check the debug page for that service in 
DCOS gui 
(https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.mesosphere.com_1.10_monitoring_debugging_gui-2Ddebugging_=DwIGaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=PMpLWk-omxV9OEMjTizFWDKWJNG85Nf-IsvoagjL6X4=TOHffBumq67TyI2YR7oFirrjGztyjBTa1J6kJinwv6I=)
 to see why offers are not matching.



Tyson



On Mar 1, 2018, at 10:05 AM, Kumar Subramanian 
<kumarsubr...@vmware.com<mailto:kumarsubr...@vmware.com>> wrote:



Hi Dragos,

One more information I noticed is that; as the apigateway status is in 
“waiting” status, the Error icon right next to it states “DC/OS has been 
waiting for resources and is unable to complete this deployment for XX minutes.



Thanks,

Kumar.

    

    On 3/1/18, 9:28 AM, "Kumar Subramanian" 
<kumarsubr...@vmware.com<mailto:kumarsubr...@vmware.com>> wrote:



   Hi Dragos,



   I am not sure I understood your point about “Note that by 
default the Gateway listens on this domain defined in config



   at [2] ( .gw.). Once the 
controller is



   installed in the cluster, it's accessible on 
controller.gw.,



   assuming the Marathon app name for the OpenWhisk Controller is 
called



   "controller" “







   apigateway is the first app that I tried to install on DCOS. Is there 
any place I have to define the url? (( 
.gw.) and may be I am missing that? The 
only Url I mentioned is the default one in the Environment settings of 
apigateway package (during installation). The default value was 
"default":https://urldefense.proofpoint.com/v2/url?u=https-3A__na01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttp-2D3A-5F-5Fmarathon.mesos-2D3A8080-2526d-253DDwIGaQ-2526c-253DuilaK90D4TOVoH58JNXRgQ-2526r-253DF5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo-2526m-253DSnzzg-2DsR6t5CY7El-5F-2DGNWwuD-5FWMAn1nbqP6taqWUSXo-2526s-253DztUsE0shjeKqrwdPc2TAGnBPCWlRPjo-5FHE9TL74FUcU-2526e-26data-3D02-257C01-257Ctnorris-2540adobe.com=DwIGaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=PMpLWk-omxV9OEMjTizFWDKWJNG85Nf-IsvoagjL6X4=tzvuX_C6QuK3rjJu7OFDRiN7_cfu4lSdlNGYNlLwahg=<https://urldefense.proofpoint.com/v2/url?u=http-3A__40adobe.com=DwIGaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=PMpLWk-omxV9OEMjTizFWDKWJNG85Nf-IsvoagjL6X4=g6fXy7PHB1uI99PICsXuX5KF9n7OGW60qTMuc5jw1Hw=>%7C4c8760a6baa149a4998608d57f9f015b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636555243255443290=g6fpgmaBZSJyuCkfuYx2fq%2FlUn%2BOTlu%2BfzI6XtuFt5Y%3D=0=;
 and I kept it as is when installing.







   Thanks,



   Kumar.







   On 3/1/18, 9:18 AM, "Kumar Subramanian" 
<kumarsubr...@vmware.com<mailto:kumarsubr...@vmware.com>> wrote:







   Hi Dragos,



   Here is the DCOS Version



   DC/OS VERSION: 1.9.4







   Marathon Version: 1.4.7







   Thanks,



   Kumar.







   On 2/28/18, 11:10 PM, "Dascalita Dragos" 
<ddrag...@gmail.com<mailto:ddrag...@gmail.com>> wrote:







   Hi Kumar,



   Can you provide details on the DCOS version as well ?







   *"...The (api gateway) service status shows waiting and there 
are no logs;



   nothing getting deployed also"*



   Depending on the DCOS version, you may find in the DCOS UI debug



   information in regards to the resource offered by Mesos and 
what's missing.



   [1] It's possible that some constraints are not matched, and 
Marathon is



   still waiting to get offers, which would explain this effect 
you're seeing.



   Note that by default the Gateway listens on this domain defined 
in config



   at [2] ( .gw.). Once the 
controller is



   installed in the clu

Re: Install Api Gateway in dcos

2018-03-01 Thread Kumar Subramanian
Hi Dragos,
One more information I noticed is that; as the apigateway status is in 
“waiting” status, the Error icon right next to it states “DC/OS has been 
waiting for resources and is unable to complete this deployment for XX minutes.

Thanks,
Kumar.

On 3/1/18, 9:28 AM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:

Hi Dragos,

I am not sure I understood your point about “Note that by default 
the Gateway listens on this domain defined in config

at [2] ( .gw.). Once the 
controller is

installed in the cluster, it's accessible on 
controller.gw.,

assuming the Marathon app name for the OpenWhisk Controller is 
called

"controller" “



apigateway is the first app that I tried to install on DCOS. Is there any 
place I have to define the url? (( .gw.) 
and may be I am missing that? The only Url I mentioned is the default one in 
the Environment settings of apigateway package (during installation). The 
default value was 
"default":https://urldefense.proofpoint.com/v2/url?u=http-3A__marathon.mesos-3A8080=DwIGaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=Snzzg-sR6t5CY7El_-GNWwuD_WMAn1nbqP6taqWUSXo=ztUsE0shjeKqrwdPc2TAGnBPCWlRPjo_HE9TL74FUcU=;
 and I kept it as is when installing.



Thanks,

Kumar.



On 3/1/18, 9:18 AM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:



Hi Dragos,

Here is the DCOS Version

DC/OS VERSION: 1.9.4



Marathon Version: 1.4.7



Thanks,

Kumar.



On 2/28/18, 11:10 PM, "Dascalita Dragos" <ddrag...@gmail.com> wrote:



Hi Kumar,

Can you provide details on the DCOS version as well ?



*"...The (api gateway) service status shows waiting and there are 
no logs;

nothing getting deployed also"*

Depending on the DCOS version, you may find in the DCOS UI debug

information in regards to the resource offered by Mesos and what's 
missing.

[1] It's possible that some constraints are not matched, and 
Marathon is

still waiting to get offers, which would explain this effect you're 
seeing.

Note that by default the Gateway listens on this domain defined in 
config

at [2] ( .gw.). Once the 
controller is

installed in the cluster, it's accessible on 
controller.gw.,

assuming the Marathon app name for the OpenWhisk Controller is 
called

"controller". Same goes for the "invoker": 
invoker.gw..

Same for Exhibitor, CouchDB etc, any other app installed in the 
cluster is

exposed in this way. Of course, these domain names can be easily 
configured

differently in NGINX, I'm just explaining the default rules.



We might have to provide a DCOS universe for 1.9 or 1.10 as well. 
We've

tested with both versions successfully; we need to strip 
customizations

particular to our deployment, prior to sharing the updated universe.



HTH,

Dragos



[1] - 
https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.mesosphere.com_1.10_monitoring_debugging_gui-2Ddebugging_=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=Pq6qbuCjIV0NgXrQUGgzHlpwkfQ1iR-hlycfGmbR5_4=67DJMsbbLqbhR82ScYfqZ6g-hvjuOMnMeGOq-M6zmFQ=

[2] -


https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_adobe-2Dapiplatform_apigateway_blob_master_api-2Dgateway-2Dconfig_conf.d_marathon-5Fapis.conf-23L35=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=Pq6qbuCjIV0NgXrQUGgzHlpwkfQ1iR-hlycfGmbR5_4=6BVUN80-tqxdqO0yYyI2IuXRoe5XKGEUUwhJhjD8J-o=







On Wed, Feb 28, 2018 at 6:08 PM Carlos Santana 
<csantan...@gmail.com> wrote:



> Hi Kumar welcome to list

>

>   Adobe team is currently deploying OpenWhisk on DCOS/Mesos I bet 
one of

> them will be able to assist you on this task and point you int he 
right

> direction

>

> The file you point is no longer on the repo, Maybe  Dragos or 
Tyson could

> also clarify that and the apigateway issues.

    >

> -- Carlos

>

> On Wed, Feb 28, 2018 at 8

Re: Install Api Gateway in dcos

2018-03-01 Thread Kumar Subramanian
Hi Dragos,
I am not sure I understood your point about “Note that by default the 
Gateway listens on this domain defined in config
at [2] ( .gw.). Once the 
controller is
installed in the cluster, it's accessible on 
controller.gw.,
assuming the Marathon app name for the OpenWhisk Controller is called
"controller" “

apigateway is the first app that I tried to install on DCOS. Is there any place 
I have to define the url? (( .gw.) and may 
be I am missing that? The only Url I mentioned is the default one in the 
Environment settings of apigateway package (during installation). The default 
value was "default":http://marathon.mesos:8080; and I kept it as is when 
installing.

Thanks,
Kumar.

On 3/1/18, 9:18 AM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:

Hi Dragos,
Here is the DCOS Version
DC/OS VERSION: 1.9.4

Marathon Version: 1.4.7

Thanks,
Kumar.

On 2/28/18, 11:10 PM, "Dascalita Dragos" <ddrag...@gmail.com> wrote:

Hi Kumar,
Can you provide details on the DCOS version as well ?

*"...The (api gateway) service status shows waiting and there are no 
logs;
nothing getting deployed also"*
Depending on the DCOS version, you may find in the DCOS UI debug
information in regards to the resource offered by Mesos and what's 
missing.
[1] It's possible that some constraints are not matched, and Marathon is
still waiting to get offers, which would explain this effect you're 
seeing.
Note that by default the Gateway listens on this domain defined in 
config
at [2] ( .gw.). Once the 
controller is
installed in the cluster, it's accessible on 
controller.gw.,
assuming the Marathon app name for the OpenWhisk Controller is called
"controller". Same goes for the "invoker": 
invoker.gw..
Same for Exhibitor, CouchDB etc, any other app installed in the cluster 
is
exposed in this way. Of course, these domain names can be easily 
configured
differently in NGINX, I'm just explaining the default rules.

We might have to provide a DCOS universe for 1.9 or 1.10 as well. We've
tested with both versions successfully; we need to strip customizations
particular to our deployment, prior to sharing the updated universe.

HTH,
Dragos

[1] - 
https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.mesosphere.com_1.10_monitoring_debugging_gui-2Ddebugging_=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=Pq6qbuCjIV0NgXrQUGgzHlpwkfQ1iR-hlycfGmbR5_4=67DJMsbbLqbhR82ScYfqZ6g-hvjuOMnMeGOq-M6zmFQ=
[2] -

https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_adobe-2Dapiplatform_apigateway_blob_master_api-2Dgateway-2Dconfig_conf.d_marathon-5Fapis.conf-23L35=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=Pq6qbuCjIV0NgXrQUGgzHlpwkfQ1iR-hlycfGmbR5_4=6BVUN80-tqxdqO0yYyI2IuXRoe5XKGEUUwhJhjD8J-o=



On Wed, Feb 28, 2018 at 6:08 PM Carlos Santana <csantan...@gmail.com> 
wrote:

> Hi Kumar welcome to list
>
>   Adobe team is currently deploying OpenWhisk on DCOS/Mesos I bet one 
of
> them will be able to assist you on this task and point you int he 
right
> direction
>
> The file you point is no longer on the repo, Maybe  Dragos or Tyson 
could
> also clarify that and the apigateway issues.
>
> -- Carlos
>
> On Wed, Feb 28, 2018 at 8:27 PM Kumar Subramanian 
<kumarsubr...@vmware.com
> >
> wrote:
>
> > Hi,
> >
> > I am trying to install OpenWhisk on Mesos Cluster.
> >
> >
> >
> > I followed the steps described at
> >
> 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk-2Ddevtools_tree_1f42e6057de42babc2bf88870fabb61d172d728d_dcos-2Duniverse=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=Pq6qbuCjIV0NgXrQUGgzHlpwkfQ1iR-hlycfGmbR5_4=QTfB2-jYGp7UtoXJxEX8WZuWVF8NfYEZiu3nZ9GCJ3g=
> >
> >
> >
> > *Steps Completed:*
> >
> >1. In the universe home directory, run command 
./scripts/build.sh.
> >2. Upload /target/repo-up-to-1.8.json to a host service (e.g. 
AWS S3)
> >   - Make sure Content-Type =
> >   application/vnd.dcos.universe.repo+json in the file's headers.
> >3. In DC/OS admin console, under System > Overview > 
Repositorie

Re: Install Api Gateway in dcos

2018-03-01 Thread Kumar Subramanian
Hi Dragos,
Here is the DCOS Version
DC/OS VERSION: 1.9.4

Marathon Version: 1.4.7

Thanks,
Kumar.

On 2/28/18, 11:10 PM, "Dascalita Dragos" <ddrag...@gmail.com> wrote:

Hi Kumar,
Can you provide details on the DCOS version as well ?

*"...The (api gateway) service status shows waiting and there are no logs;
nothing getting deployed also"*
Depending on the DCOS version, you may find in the DCOS UI debug
information in regards to the resource offered by Mesos and what's missing.
[1] It's possible that some constraints are not matched, and Marathon is
still waiting to get offers, which would explain this effect you're seeing.
Note that by default the Gateway listens on this domain defined in config
at [2] ( .gw.). Once the controller is
installed in the cluster, it's accessible on 
controller.gw.,
assuming the Marathon app name for the OpenWhisk Controller is called
"controller". Same goes for the "invoker": invoker.gw..
Same for Exhibitor, CouchDB etc, any other app installed in the cluster is
exposed in this way. Of course, these domain names can be easily configured
differently in NGINX, I'm just explaining the default rules.

We might have to provide a DCOS universe for 1.9 or 1.10 as well. We've
tested with both versions successfully; we need to strip customizations
particular to our deployment, prior to sharing the updated universe.

HTH,
Dragos

[1] - 
https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.mesosphere.com_1.10_monitoring_debugging_gui-2Ddebugging_=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=Pq6qbuCjIV0NgXrQUGgzHlpwkfQ1iR-hlycfGmbR5_4=67DJMsbbLqbhR82ScYfqZ6g-hvjuOMnMeGOq-M6zmFQ=
[2] -

https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_adobe-2Dapiplatform_apigateway_blob_master_api-2Dgateway-2Dconfig_conf.d_marathon-5Fapis.conf-23L35=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=Pq6qbuCjIV0NgXrQUGgzHlpwkfQ1iR-hlycfGmbR5_4=6BVUN80-tqxdqO0yYyI2IuXRoe5XKGEUUwhJhjD8J-o=



On Wed, Feb 28, 2018 at 6:08 PM Carlos Santana <csantan...@gmail.com> wrote:

> Hi Kumar welcome to list
>
>   Adobe team is currently deploying OpenWhisk on DCOS/Mesos I bet one of
> them will be able to assist you on this task and point you int he right
> direction
>
> The file you point is no longer on the repo, Maybe  Dragos or Tyson could
> also clarify that and the apigateway issues.
>
> -- Carlos
>
> On Wed, Feb 28, 2018 at 8:27 PM Kumar Subramanian <kumarsubr...@vmware.com
> >
> wrote:
>
> > Hi,
> >
> > I am trying to install OpenWhisk on Mesos Cluster.
> >
> >
> >
> > I followed the steps described at
> >
> 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_incubator-2Dopenwhisk-2Ddevtools_tree_1f42e6057de42babc2bf88870fabb61d172d728d_dcos-2Duniverse=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=Pq6qbuCjIV0NgXrQUGgzHlpwkfQ1iR-hlycfGmbR5_4=QTfB2-jYGp7UtoXJxEX8WZuWVF8NfYEZiu3nZ9GCJ3g=
> >
> >
> >
> > *Steps Completed:*
> >
> >1. In the universe home directory, run command ./scripts/build.sh.
> >2. Upload /target/repo-up-to-1.8.json to a host service (e.g. AWS S3)
> >   - Make sure Content-Type =
> >   application/vnd.dcos.universe.repo+json in the file's headers.
> >3. In DC/OS admin console, under System > Overview > Repositories, 
add
> >the link to the new repository.
> >
> >
> >
> > Note: I’ve attached the repository file repo-uo-to-1.8.json.
> >
> >
> >
> > *Next:*
> >
> >1. I added the repository to dcos
> >2. Installed redis successfully.
> >   1. Container port : 6379
> >   2. Host: 
> >   3. Ports: 3774
> >3. Then I tried to install api gateway package (default settings –
> >mentioned below)
> >
> >
> >
> > *Stage I am stuck at:*
> >
> >
> >
> >1. Api Gateway Installation
> >   1. Environment: MarathonHost: 
https://urldefense.proofpoint.com/v2/url?u=http-3A__marathon.mesos-3A8080=DwIFaQ=uilaK90D4TOVoH58JNXRgQ=F5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo=Pq6qbuCjIV0NgXrQUGgzHlpwkfQ1iR-hlycfGmbR5_4=iJzQ1LOzvwJ64ic_jZqFpVNTGMNzMROVn2tOwIqoiOE=
> >
> >
> >
> > *What’s happening?* The (api gateway) service status shows waiting and
> >

Install Api Gateway in dcos

2018-02-28 Thread Kumar Subramanian
Hi,
I am trying to install OpenWhisk on Mesos Cluster.

I followed the steps described at 
https://github.com/apache/incubator-openwhisk-devtools/tree/1f42e6057de42babc2bf88870fabb61d172d728d/dcos-universe

Steps Completed:

  1.  In the universe home directory, run command ./scripts/build.sh.
  2.  Upload /target/repo-up-to-1.8.json to a host service (e.g. AWS S3)
 *   Make sure Content-Type = application/vnd.dcos.universe.repo+json in 
the file's headers.
  3.  In DC/OS admin console, under System > Overview > Repositories, add the 
link to the new repository.

Note: I’ve attached the repository file repo-uo-to-1.8.json.

Next:

  1.  I added the repository to dcos
  2.  Installed redis successfully.
 *   Container port : 6379
 *   Host: 
 *   Ports: 3774
  3.  Then I tried to install api gateway package (default settings – mentioned 
below)

Stage I am stuck at:


  1.  Api Gateway Installation
 *   Environment: MarathonHost: http://marathon.mesos:8080

What’s happening? The (api gateway) service status shows waiting and there are 
no logs; nothing getting deployed also.

Questions:

  1.  Why is it stuck and not even getting deployed?
  2.  How can I debug
  3.  Where can I look for logs
  4.  Is there anything wrong with my settings for api-gateway(from json file 
attached)?
  5.  Is there anything else that needs to be installed?

Thanks,
Kumar.


repo-up-to-1.8.json
Description: repo-up-to-1.8.json