-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue about couchdb #21
Comments
kubectl -n openwhisk get svc NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE |
I run CLI as below: fatal: [127.0.0.1]: FAILED! => {"changed": false, "elapsed": 60, "failed": true, "msg": "Timeout when waiting for couchdb.openwhisk:5984"} Questions: |
@zhy989 That first issue looks like a timeout when trying to pull the docker images. Also, it sounds like you are running When you posted:
It looks like your Kubernetes environment is not able to stand up correctly since the KubeDNS pods should be running by default. Specifically |
Run cli "kubectl apply -f configure/configure_whisk.yml" on the local host. Run script "/incubator-openwhisk-deploy-kube/configure/configure.sh" on the Image (danlavine/whisk_config v1.5.6), the cli "kubectl " is in the script file configure.sh. So cli kubectl should be run successfully on both localhost and Image , right? What components are installed on the localhost and what components are installed on the image ? |
currently everything is installed via the image. This is because it uses KubeDNS to perform any configuration to components that come up. To do this on local host, then all of the images would need a public endpoint so they can be configured. But that shouldn't be required and is unsafe. So everything needs to be configured from the image running in Kubernetes. |
Also @zhy989 when checking for logs, the current |
@DanLavine thanks! |
@zhy989 I was able to deploy OpenWhisk by running For example, take a look at this and this as an example what that configuration pod is trying to do. Lastly, there are a number of things currently happening as we are trying to remove this pod and deploy OpenWhisk in a more "Kubernetes way". Only using yaml files. If you take a look at #issue22, things might need to be deployed by hand moving forward. |
Is couchdb deployed successfully ?
but when I run "ansible-playbook -i environments/kube couchdb.yml" , there is also "time out" like this:
when I run "ansible-playbook -i environments/kube initdb.yml", the error is as below:
|
@zhy989 yes CouchDB is deployed successfully and has already been configured. You should not need to run any |
@DanLavine
|
hi @zhy989. This is a problem with the configuration image. There is a PR that removes the Invoker, but the problem is that the configuration Image needs to be fixed so CI passes before the code goes into the repo. Just look at the PR for how to deploy the Invoker. This will probably be a problem with other pieces as well until the configuration image goes away. PRs just need to be merged in with additional docs, so that would be the place to check if something isn't deploying anymore. |
@DanLavine thanks! I download invoker script file from branch "remotes/origin/ansible_invoker_remove", and I have set up the openwhisk+k8s environment succesfully
|
@zhy989 👍. Glad you have everything deployed. If all your issues have been resolved, could you please close this issue. Thanks! |
when I run "ansible-playbook -i environments/kube couchdb.yml", the error is
**TASK [couchdb : wait until the CouchDB in this host is up and running] ************************************************************************
Wednesday 21 June 2017 01:28:22 +0000 (0:00:00.681) 0:00:01.859 ********
fatal: [127.0.0.1]: FAILED! => {"changed": false, "elapsed": 60, "failed": true, "msg": "Timeout when waiting for couchdb.openwhisk:5984"}
PLAY RECAP ************************************************************************************************************************************
127.0.0.1 : ok=2 changed=1 unreachable=0 failed=1**
The text was updated successfully, but these errors were encountered: