openwhisk-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 张海勇 <zhy...@mail.ustc.edu.cn>
Subject issue about invoker
Date Mon, 10 Jul 2017 06:09:39 GMT

Hi Daniel Lavine,


I set up some components successfully , but there is no invoker component.
so I install it by hand like this:

kubectl apply -f environments/kube/files/invoker.yml
when I run  "wsk -i action invoke hello"
there is an error like this:
error: Unable to invoke action 'hello1': There was an internal server error. (code 15)
I check the log by cli "kubectl -n openwhisk logs invoker-0":
[2017-07-10T03:58:06.929Z] [INFO] Slf4jLogger started 
[2017-07-10T03:58:06.961Z] [INFO] [??] [Config] environment set value for consulserver.host

[2017-07-10T03:58:06.963Z] [INFO] [??] [Config] environment set value for self.docker.endpoint

[2017-07-10T03:58:06.963Z] [INFO] [??] [Config] environment set value for consul.host.port4

[2017-07-10T03:58:06.963Z] [INFO] [??] [Config] environment set value for port 
[2017-07-10T03:58:06.963Z] [INFO] [??] [WhiskConfig] reading properties from consul at consul.openwhisk:8500

[2017-07-10T03:58:07.888Z] [ERROR] [??] [Config] required property whisk.api.host still not
set


How can I fix this issue about required property whisk.api.host still not set?


notes: invoker image is adobeapiplatform/whisk-invoker, the openwhisk/invoker image seems
not work well




Best regards,
Zhang Haiyong

-----原始邮件-----
发件人:"张海勇" <zhy989@mail.ustc.edu.cn>
发送时间:2017-07-05 15:36:59 (星期三)
收件人: "Daniel Lavine" <dlavine@us.ibm.com>
抄送: dev@openwhisk.incubator.apache.org
主题: isuue about deployment without ansible


Hi Daniel Lavine,




when I set up Kubernetes environment , just run 
1. kubectl apply -f environments/kube/files/xxx.yml
2. kubectl apply -f environments/kube/files/xxx-service.yml


Can I deploy XXX component successfully instead of run "ansible-playbook -i environments/kube
openwhisk.yml"?





Best regards,
Zhang Haiyong
-----原始邮件-----
发件人:"张海勇" <zhy989@mail.ustc.edu.cn>
发送时间:2017-07-05 15:04:19 (星期三)
收件人: "Daniel Lavine" <dlavine@us.ibm.com>
抄送:dev@openwhisk.incubator.apache.org
主题: issue about mountPath


Hi Daniel Lavine,


When I deploy components such as consul nginx by CLI "ansible-playbook -i environments/kube
openwhisk.yml", 
there are some mountPath in the yml config file , where can I get these files ?




for example: nginx






best regards,
Zhang Haiyong
-----原始邮件-----
发件人:"Daniel Lavine" <dlavine@us.ibm.com>
发送时间:2017-06-23 00:12:21 (星期五)
收件人: "张海勇" <zhy989@mail.ustc.edu.cn>
抄送:dev@openwhisk.incubator.apache.org
主题: Re: issue about Image danlavine/whisk_config:v1.5.6



Hey Zhanghaiyong,

For theses types of issues, I would open up an issue against the github repo directly so that
it can be better addressed by the people who know most about that code base. Also, we would
be able to integrate any code changes that might need to happen. That being said, I would
take a look at these instructions https://github.com/apache/incubator-openwhisk-deploy-kube#configure-openwhisk.
Whenever deploying Docker images --> Kubernetes Pods you should always be using the Kubernetes
cli "kubectl", not Docker commands directly.

git repo: https://github.com/apache/incubator-openwhisk-deploy-kube/issues

Thanks,

Dan Lavine

张海勇 ---06/22/2017 07:36:07 AM---Hi Daniel Lavine, I am a learner about deploying openwhisk
on kubernetes, when I run the script

From: 张海勇 <zhy989@mail.ustc.edu.cn>
To: dlavine@us.ibm.com
Cc: dev@openwhisk.incubator.apache.org
Date: 06/22/2017 07:36 AM
Subject: issue about Image danlavine/whisk_config:v1.5.6





Hi Daniel Lavine,

I am a learner about deploying openwhisk on kubernetes, when I run the script

$TRAVIS_KUBE_VERSION=v1.5.6 TRAVIS_ETCD_VERSION=v3.0.14 ./setup.sh
$TRAVIS_KUBE_VERSION=v1.5.6 ./build.sh
$kubectl -n openwhisk logs configure-openwhisk-xxxxx

there is no log , then I download the image whisk_config:v1.5.6, and run

$docker run danlavine/whisk_config:v1.5.6 /incubator-openwhisk-deploy-kube/configure/configure.sh

and noted that the command kubectl did not run successfully, the log is as below:

The connection to the server localhost:8080 was refused - did you specify the right host or
port?

so I think the kubernetes environments in the image (danlavine/whisk_config:v1.5.6) is not
complete.

need you to confirm , thanks !


Best regards,
zhanghaiyong



Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message