You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/04/27 22:03:04 UTC
[GitHub] [incubator-openwhisk] saj9191 opened a new issue #4462: postdeploy
internal server error
saj9191 opened a new issue #4462: postdeploy internal server error
URL: https://github.com/apache/incubator-openwhisk/issues/4462
<!--
We use the issue tracker for bugs and feature requests. For general questions and discussion please use http://slack.openwhisk.org/ or https://openwhisk.apache.org/contact.html instead.
Do NOT share passwords, credentials or other confidential information.
Before creating a new issue, please check if there is one already open that
fits the defect you are reporting.
If you open an issue and realize later it is a duplicate of a pre-existing
open issue, please close yours and add a comment to the other.
Issues can be created for either defects or enhancement requests. If you are a committer than please add the labels "bug" or "feature". If you are not a committer please make clear in the comments which one it is, so that committers can add these labels later.
If you are reporting a defect, please edit the issue description to include the
information shown below.
If you are reporting an enhancement request, please include information on what you are trying to achieve and why that enhancement would help you.
For more information about reporting issues, see
https://github.com/apache/incubator-openwhisk/blob/master/CONTRIBUTING.md#raising-issues
Use the commands below to provide key information from your environment:
You do not have to include this information if this is a feature request.
-->
## Environment details:
AWS Ubuntu Server 16.04 LTS (HVM), SSD Volume Type
## Steps to reproduce the issue:
I was trying to follow these instructions
https://gist.github.com/epiphone/8fe223bbfc375d01f12822e405f6aa54
to setup couchdb. When I get to the `ansible-playbook postdeploy.yml` step, I get the error
fatal: [ansible]: FAILED! => {"changed": true, "cmd": "./installCatalogUsingWskdeploy.sh /home/ubuntu
/openwhisk/ansible/files/auth.whisk.system 172.17.0.1 /home/ubuntu/openwhisk/bin/wsk", "delta": "0:00
:00.618967", "end": "2019-04-27 21:57:27.839333", "msg": "non-zero return code", "rc": 3, "start": "2
019-04-27 21:57:27.220366", "stderr": "Error: Deployment did not complete sucessfully. Run `wskdeploy
undeploy` to remove partially deployed assets.\nError: Deployment did not complete sucessfully. Run
`wskdeploy undeploy` to remove partially deployed assets.\nservicedeployer.go [1656]: [ERROR_WHISK_CL
IENT_ERROR]: Error code: 244: There was an internal server error. (code 21df2624bcedb62a82389cc73521d
4f8): HTTP Response Status: 500 Internal Server Error HTTP Response Body: {\"code\":\"21df2624bcedb62
a82389cc73521d4f8\",\"error\":\"There was an internal server error.\"}\n\nservicedeployer.go [1656]:
[ERROR_WHISK_CLIENT_ERROR]: Error code: 244: There was an internal server error. (code a13e9725a2b6b6
c48be3253577eeb3f9): HTTP Response Status: 500 Internal Server Error HTTP Response Body: {\"code\":\"
a13e9725a2b6b6c48be3253577eeb3f9\",\"error\":\"There was an internal server error.\"}\n\nError: Deplo
yment did not complete sucessfully. Run `wskdeploy undeploy` to remove partially deployed assets.\nse
rvicedeployer.go [1656]: [ERROR_WHISK_CLIENT_ERROR]: Error code: 244: There was an internal server er
ror. (code 90cd7136872f57f16a713396bdfbf4ad): HTTP Response Status: 500 Internal Server Error HTTP Re
sponse Body: {\"code\":\"90cd7136872f57f16a713396bdfbf4ad\",\"error\":\"There was an internal server
error.\"}", "stderr_lines": ["Error: Deployment did not complete sucessfully. Run `wskdeploy undeploy
` to remove partially deployed assets.", "Error: Deployment did not complete sucessfully. Run `wskdep
loy undeploy` to remove partially deployed assets.", "servicedeployer.go [1656]: [ERROR_WHISK_CLIENT_
ERROR]: Error code: 244: There was an internal server error. (code 21df2624bcedb62a82389cc73521d4f8):
HTTP Response Status: 500 Internal Server Error HTTP Response Body: {\"code\":\"21df2624bcedb62a8238
9cc73521d4f8\",\"error\":\"There was an internal server error.\"}", "", "servicedeployer.go [1656]: [
ERROR_WHISK_CLIENT_ERROR]: Error code: 244: There was an internal server error. (code a13e9725a2b6b6c
48be3253577eeb3f9): HTTP Response Status: 500 Internal Server Error HTTP Response Body: {\"code\":\"a
13e9725a2b6b6c48be3253577eeb3f9\",\"error\":\"There was an internal server error.\"}", "", "Error: De
ployment did not complete sucessfully. Run `wskdeploy undeploy` to remove partially deployed assets."
, "servicedeployer.go [1656]: [ERROR_WHISK_CLIENT_ERROR]: Error code: 244: There was an internal serv
er error. (code 90cd7136872f57f16a713396bdfbf4ad): HTTP Response Status: 500 Internal Server Error HT
TP Response Body: {\"code\":\"90cd7136872f57f16a713396bdfbf4ad\",\"error\":\"There was an internal se
rver error.\"}"], "stdout": "Installing OpenWhisk packages\nDeploying /home/ubuntu/openwhisk-catalog/
packages/combinators/ with pid 18977\nDeploying /home/ubuntu/openwhisk-catalog/packages/github/ with
pid 18978\nDeploying /home/ubuntu/openwhisk-catalog/packages/slack/ with pid 18979\nDeploying /home/u
buntu/openwhisk-catalog/packages/utils/ with pid 18980\nDeploying /home/ubuntu/openwhisk-catalog/pack
ages/watson-speechToText/ with pid 18981\nDeploying /home/ubuntu/openwhisk-catalog/packages/watson-te
xtToSpeech/ with pid 18984\nDeploying /home/ubuntu/openwhisk-catalog/packages/weather/ with pid 18991
\nDeploying /home/ubuntu/openwhisk-catalog/packages/websocket/ with pid 18996\nDeploying /home/ubuntu
/openwhisk-catalog/packages/samples/ with pid 18999\nSuccess: Deployment completed successfully.\nSuc
cess: Deployment completed successfully.\nSuccess: Deployment completed successfully.\nSuccess: Deplo
yment completed successfully.\nSuccess: Deployment completed successfully.\nSuccess: Deployment compl
eted successfully.\n18977 finished with status 1\n18978 finished with status 0\n18979 finished with s
tatus 0\n18980 finished with status 1\n18981 finished with status 0\n18984 finished with status 0\n18
991 finished with status 0\n18996 finished with status 0\n18999 finished with status 1\nopen catalog
ERRORS = 3", "stdout_lines": ["Installing OpenWhisk packages", "Deploying /home/ubuntu/openwhisk-cata
log/packages/combinators/ with pid 18977", "Deploying /home/ubuntu/openwhisk-catalog/packages/github/
with pid 18978", "Deploying /home/ubuntu/openwhisk-catalog/packages/slack/ with pid 18979", "Deployi
ng /home/ubuntu/openwhisk-catalog/packages/utils/ with pid 18980", "Deploying /home/ubuntu/openwhisk-
catalog/packages/watson-speechToText/ with pid 18981", "Deploying /home/ubuntu/openwhisk-catalog/pack
ages/watson-textToSpeech/ with pid 18984", "Deploying /home/ubuntu/openwhisk-catalog/packages/weather
/ with pid 18991", "Deploying /home/ubuntu/openwhisk-catalog/packages/websocket/ with pid 18996", "De
ploying /home/ubuntu/openwhisk-catalog/packages/samples/ with pid 18999", "Success: Deployment comple
ted successfully.", "Success: Deployment completed successfully.", "Success: Deployment completed suc
cessfully.", "Success: Deployment completed successfully.", "Success: Deployment completed successful
ly.", "Success: Deployment completed successfully.", "18977 finished with status 1", "18978 finished
with status 0", "18979 finished with status 0", "18980 finished with status 1", "18981 finished with
status 0", "18984 finished with status 0", "18991 finished with status 0", "18996 finished with statu
s 0", "18999 finished with status 1", "open catalog ERRORS = 3"]}
[FAILED]
> ./installCatalogUsingWskdeploy.sh /home/ubuntu/openwhisk/ansible/files/auth.whisk.system 172.17.0.1
/home/ubuntu/openwhisk/bin/wsk
non-zero return code
Installing OpenWhisk packages Deploying /home/ubuntu/openwhisk-
catalog/packages/combinators/ with pid 18977 Deploying /home/ubuntu/openwhisk-
catalog/packages/github/ with pid 18978 Deploying /home/ubuntu/openwhisk-
catalog/packages/slack/ with pid 18979 Deploying /home/ubuntu/openwhisk-
catalog/packages/utils/ with pid 18980 Deploying /home/ubuntu/openwhisk-
catalog/packages/watson-speechToText/ with pid 18981 Deploying /home/ubuntu
/openwhisk-catalog/packages/watson-textToSpeech/ with pid 18984 Deploying
/home/ubuntu/openwhisk-catalog/packages/weather/ with pid 18991 Deploying
/home/ubuntu/openwhisk-catalog/packages/websocket/ with pid 18996 Deploying
/home/ubuntu/openwhisk-catalog/packages/samples/ with pid 18999 Success:
Deployment completed successfully. Success: Deployment completed successfully.
Success: Deployment completed successfully. Success: Deployment completed
successfully. Success: Deployment completed successfully. Success: Deployment
completed successfully. 18977 finished with status 1 18978 finished with status
0 18979 finished with status 0 18980 finished with status 1 18981 finished with
status 0 18984 finished with status 0 18991 finished with status 0 18996
finished with status 0 18999 finished with status 1 open catalog ERRORS = 3
Error: Deployment did not complete sucessfully. Run `wskdeploy undeploy` to
remove partially deployed assets. Error: Deployment did not complete
sucessfully. Run `wskdeploy undeploy` to remove partially deployed assets.
servicedeployer.go [1656]: [ERROR_WHISK_CLIENT_ERROR]: Error code: 244: There
was an internal server error. (code 21df2624bcedb62a82389cc73521d4f8): HTTP
Response Status: 500 Internal Server Error HTTP Response Body:
{"code":"21df2624bcedb62a82389cc73521d4f8","error":"There was an internal server
error."} servicedeployer.go [1656]: [ERROR_WHISK_CLIENT_ERROR]: Error code:
244: There was an internal server error. (code
a13e9725a2b6b6c48be3253577eeb3f9): HTTP Response Status: 500 Internal Server
Error HTTP Response Body:
{"code":"a13e9725a2b6b6c48be3253577eeb3f9","error":"There was an internal server
error."} Error: Deployment did not complete sucessfully. Run `wskdeploy
undeploy` to remove partially deployed assets. servicedeployer.go [1656]:
[ERROR_WHISK_CLIENT_ERROR]: Error code: 244: There was an internal server error.
(code 90cd7136872f57f16a713396bdfbf4ad): HTTP Response Status: 500 Internal
Server Error HTTP Response Body:
{"code":"90cd7136872f57f16a713396bdfbf4ad","error":"There was an internal server
error."}
I tried wskdeploy undeploy, but it says the manifest file is not found in the openwhisk/ansible directory.
Does anyone know how to fix this issue? Thank you!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services