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/11/10 23:44:45 UTC

[GitHub] [openwhisk] mehirpandit opened a new issue #4721: openwhisk postdeploy.yml error

mehirpandit opened a new issue #4721: openwhisk postdeploy.yml error
URL: https://github.com/apache/openwhisk/issues/4721
 
 
   <!--
   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/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:
   
   * ubuntu virtual machine
   * version of docker-engine= 19.03.4, ubuntu=16.04 
   ## Steps to reproduce the issue:
   
   1.   ansible-playbook initdb.yml
   2.   ansible-playbook wipe.yml
   3.   ansible-playbook apigateway.yml
   4.   ansible-playbook openwhisk.yml
   5.   ansible-playbook postdeploy.yml
      
   
   
   
   
   ## Provide the actual results and outputs:
   
   ```
   The output that i get is as follows:
   
   fatal: [ansible]: FAILED! => {"changed": true, "cmd": "./installCatalogUsingWskdeploy.sh /home/student/openwhisk/ansible/files/auth.whisk.system 172.17.0.1 /home/student/openwhisk/ansible/../bin/wsk", "delta": "0:00:00.448649", "end": "2019-11-10 18:28:41.351221", "msg": "non-zero return code", "rc": 2, "start": "2019-11-10 18:28:40.902572", "stderr": "Error: Deployment did not complete sucessfully. Run `wskdeploy undeploy` to remove partially deployed assets.\nservicedeployer.go [1656]: [ERROR_WHISK_CLIENT_ERROR]: Error code: 244: There was an internal server error. (code 57928fe6e8638af1dcc356ed244d080d): HTTP Response Status: 500 Internal Server Error HTTP Response Body: {\"code\":\"57928fe6e8638af1dcc356ed244d080d\",\"error\":\"There was an internal server error.\"}\n\nError: Deployment did not complete sucessfully. Run `wskdeploy undeploy` to remove partially deployed assets.\nservicedeployer.go [1656]: [ERROR_WHISK_CLIENT_ERROR]: Error code: 244: There was an internal server error. (code b989fc3d6f7d47c7beb4db40306c6d29): HTTP Response Status: 500 Internal Server Error HTTP Response Body: {\"code\":\"b989fc3d6f7d47c7beb4db40306c6d29\",\"error\":\"There was an internal server error.\"}", "stderr_lines": ["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 57928fe6e8638af1dcc356ed244d080d): HTTP Response Status: 500 Internal Server Error HTTP Response Body: {\"code\":\"57928fe6e8638af1dcc356ed244d080d\",\"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 b989fc3d6f7d47c7beb4db40306c6d29): HTTP Response Status: 500 Internal Server Error HTTP Response Body: {\"code\":\"b989fc3d6f7d47c7beb4db40306c6d29\",\"error\":\"There was an internal server error.\"}"], "stdout": "Installing OpenWhisk packages\nDeploying /home/student/openwhisk-catalog/packages/github/ with pid 25724\nDeploying /home/student/openwhisk-catalog/packages/slack/ with pid 25725\nDeploying /home/student/openwhisk-catalog/packages/utils/ with pid 25726\nDeploying /home/student/openwhisk-catalog/packages/weather/ with pid 25727\nDeploying /home/student/openwhisk-catalog/packages/websocket/ with pid 25728\nDeploying /home/student/openwhisk-catalog/packages/samples/ with pid 25729\nSuccess: Deployment completed successfully.\n25724 finished with status 0\nSuccess: Deployment completed successfully.\n25725 finished with status 0\nSuccess: Deployment completed successfully.\nSuccess: Deployment completed successfully.\n25726 finished with status 1\n25727 finished with status 0\n25728 finished with status 0\n25729 finished with status 1\nopen catalog ERRORS = 2", "stdout_lines": ["Installing OpenWhisk packages", "Deploying /home/student/openwhisk-catalog/packages/github/ with pid 25724", "Deploying /home/student/openwhisk-catalog/packages/slack/ with pid 25725", "Deploying /home/student/openwhisk-catalog/packages/utils/ with pid 25726", "Deploying /home/student/openwhisk-catalog/packages/weather/ with pid 25727", "Deploying /home/student/openwhisk-catalog/packages/websocket/ with pid 25728", "Deploying /home/student/openwhisk-catalog/packages/samples/ with pid 25729", "Success: Deployment completed successfully.", "25724 finished with status 0", "Success: Deployment completed successfully.", "25725 finished with status 0", "Success: Deployment completed successfully.", "Success: Deployment completed successfully.", "25726 finished with status 1", "25727 finished with status 0", "25728 finished with status 0", "25729 finished with status 1", "open catalog ERRORS = 2"]}
   
   [FAILED]
   > ./installCatalogUsingWskdeploy.sh /home/student/openwhisk/ansible/files/auth.whisk.system 172.17.0.1 /home/student/openwhisk/ansible/../bin/wsk
   non-zero return code
   Installing OpenWhisk packages Deploying /home/student/openwhisk-
   catalog/packages/github/ with pid 25724 Deploying /home/student/openwhisk-
   catalog/packages/slack/ with pid 25725 Deploying /home/student/openwhisk-
   catalog/packages/utils/ with pid 25726 Deploying /home/student/openwhisk-
   catalog/packages/weather/ with pid 25727 Deploying /home/student/openwhisk-
   catalog/packages/websocket/ with pid 25728 Deploying /home/student/openwhisk-
   catalog/packages/samples/ with pid 25729 Success: Deployment completed
   successfully. 25724 finished with status 0 Success: Deployment completed
   successfully. 25725 finished with status 0 Success: Deployment completed
   successfully. Success: Deployment completed successfully. 25726 finished with
   status 1 25727 finished with status 0 25728 finished with status 0 25729
   finished with status 1 open catalog ERRORS = 2
   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 57928fe6e8638af1dcc356ed244d080d): HTTP Response Status: 500 Internal
   Server Error HTTP Response Body:
   {"code":"57928fe6e8638af1dcc356ed244d080d","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 b989fc3d6f7d47c7beb4db40306c6d29): HTTP Response Status: 500 Internal
   Server Error HTTP Response Body:
   {"code":"b989fc3d6f7d47c7beb4db40306c6d29","error":"There was an internal server
   error."}
   ```
   
   ## Additional information you deem important:
   
   nano db_local.ini
   
   [db_creds]
   db_provider=CouchDB
   db_username=USERNAME
   db_password=PASSWORD
   db_protocol=http
   db_host=172.17.0.1
   db_port=5984
   
   [controller]
   db_username=whisk_local_controller0
   db_password=some_controller_passw0rd
   
   [invoker]
   db_username=whisk_local_invoker0
   db_password=some_invoker_passw0rd
   
   also, bind_address = 0.0.0.0
   in both 
   /etc/couchdb/default.ini
   and 
   /etc/couchdb/local.ini
   
   Following these 2 tutorials:
   https://gist.github.com/epiphone/8fe223bbfc375d01f12822e405f6aa54
   https://developer.ibm.com/code/2016/05/23/setup-openwhisk-use-local-couchdb/
   
   
   Please help with the issue.
   
   
   

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