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 2018/11/30 14:34:53 UTC

[GitHub] axiqia opened a new issue #4148: check if whisk_local_subjects with CouchDB,exists Status code was -1 and not [200, 404]: Request failed:

axiqia opened a new issue #4148: check if whisk_local_subjects with CouchDB,exists Status code was -1 and not [200, 404]: Request failed: <urlopen error timed out>
URL: https://github.com/apache/incubator-openwhisk/issues/4148
 
 
   <!--
   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.
   -->
   I got error when I tried to build openwhisk on both my server, and the error are the same. Can someone help me? Thank you very much.
   
   ## Environment details:
   ```
   root@ubuntu-s-1vcpu-1gb-sfo2-01:~/openwhisk/ansible# uname -a
   Linux ubuntu-s-1vcpu-1gb-sfo2-01 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
   ```
   ```
   root@ubuntu-s-1vcpu-1gb-sfo2-01:~/openwhisk/ansible# docker --version
   Docker version 18.09.0, build 4d60db4
   ```
   
   
   ## Steps to reproduce the issue:
   
   
   `ansible-playbook -i environments/local initdb.yml`
   
   
   
   ## Provide the actual results and outputs:
   
   ```
   root@ubuntu-s-1vcpu-1gb-sfo2-01:~/openwhisk/ansible# ansible-playbook -i environments/local initdb.yml
   
   PLAY [ansible] ***************************************************************************************************************************************************************************
   
   TASK [Gathering Facts] *******************************************************************************************************************************************************************
   Friday 30 November 2018  14:23:39 +0000 (0:00:00.176)       0:00:00.176 ******* 
   ok: [ansible]
   
   TASK [include_tasks] *********************************************************************************************************************************************************************
   Friday 30 November 2018  14:23:40 +0000 (0:00:00.925)       0:00:01.101 ******* 
   included: /root/openwhisk/ansible/tasks/initdb.yml for ansible
   
   TASK [include_tasks] *********************************************************************************************************************************************************************
   Friday 30 November 2018  14:23:40 +0000 (0:00:00.080)       0:00:01.182 ******* 
   included: /root/openwhisk/ansible/tasks/db/recreateDb.yml for ansible
   
   TASK [check if whisk_local_subjects with CouchDB exists] *********************************************************************************************************************************
   Friday 30 November 2018  14:23:40 +0000 (0:00:00.096)       0:00:01.279 ******* 
   fatal: [ansible]: FAILED! => {"changed": false, "content": "", "msg": "Status code was -1 and not [200, 404]: Request failed: <urlopen error timed out>", "redirected": false, "status": -1, "url": "http://192.168.222.140:5984/whisk_local_subjects"}
   
   Status code was -1 and not [200, 404]: Request failed: <urlopen error timed
   out>
   
   PLAY RECAP *******************************************************************************************************************************************************************************
   ansible                    : ok=3    changed=0    unreachable=0    failed=1   
   
   Friday 30 November 2018  14:24:11 +0000 (0:00:30.494)       0:00:31.773 ******* 
   =============================================================================== 
   check if whisk_local_subjects with CouchDB exists -------------------------------------------------------------------------------------------------------------------------------- 30.49s
   Gathering Facts ------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.93s
   include_tasks --------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.10s
   include_tasks --------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.08s
   ```
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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