You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by gi...@git.apache.org on 2017/06/04 18:31:36 UTC

[GitHub] anasanjaria opened a new issue #2330: Openwhisk deployment fail locally

anasanjaria opened a new issue #2330: Openwhisk deployment fail locally
URL: https://github.com/apache/incubator-openwhisk/issues/2330
 
 
   <!--
   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:
   
   * local deployment, ubuntu VM (16.04 LTS - 64 bit Memory 3.8 GB , Disk 14.7 GB)
   * version of docker 
   `Containers: 6
    Running: 6
    Paused: 0
    Stopped: 0
   Images: 116
   Server Version: 17.03.1-ce
   Storage Driver: aufs
   ..`
   
   
   ## Deploying Using CouchDB
   
   The command `ansible-playbook -i environments/<environment> openwhisk..yml` produces error.
   
   ## Provide the actual results and outputs:
   
   ```
   TASK [invoker : determine docker root dir] *************************************
   Sunday 04 June 2017  18:00:25 +0000 (0:00:00.329)       0:04:19.028 *********** 
   fatal: [172.17.0.1]: FAILED! => {"changed": false, "content": "", "failed": true, "msg": "Status code was not [200]: Request failed: <urlopen error [Errno 111] Connection refused>", "redirected": false, "status": -1, "url": "http://172.17.0.1:4243/info"}
   
   PLAY RECAP *********************************************************************
   172.17.0.1                 : ok=25   changed=18   unreachable=0    failed=1   
   ansible                    : ok=2    changed=1    unreachable=0    failed=0   
   
   Sunday 04 June 2017  18:00:26 +0000 (0:00:00.918)       0:04:19.947 *********** 
   =============================================================================== 
   kafka : pull the ches/kafka:0.10.0.1 image ----------------------------- 98.14s
   controller : wait until the Controller in this host is up and running -- 39.38s
   kafka : pull the zookeeper:3.4 image ----------------------------------- 38.62s
   kafka : wait until the kafka server started up ------------------------- 11.44s
   kafka : create the active-ack and health topic -------------------------- 9.38s
   kafka : wait until the Zookeeper in this host is up and running --------- 8.43s
   consul : start registrator using docker cli ----------------------------- 7.34s
   consul : pull the consul:0.7.0 image ------------------------------------ 6.89s
   consul : wait until the Consul Server/Agent in this host is up and running --- 6.44s
   kafka : create the invoker topics --------------------------------------- 4.76s
   consul : fill consul kv ------------------------------------------------- 4.66s
   consul : (re)start consul server/agent ---------------------------------- 2.32s
   kafka : (re)start zookeeper --------------------------------------------- 2.10s
   controller : (re)start controller --------------------------------------- 1.99s
   write whisk.properties template to openwhisk_home ----------------------- 1.85s
   Gathering Facts --------------------------------------------------------- 1.81s
   kafka : (re)start kafka ------------------------------------------------- 1.79s
   Gathering Facts --------------------------------------------------------- 1.78s
   Gathering Facts --------------------------------------------------------- 1.74s
   Gathering Facts --------------------------------------------------------- 1.39s
   
   ```
   `ansible-playbook -i environments/<environment> postdeploy.yml` produces 
   
   `dial tcp 172.17.0.1:443: getsockopt: connection refused`
   
   ## Additional information you deem important:
   * The command `docker ps --format "{{.Names}} - {{.Image}}"` provide the following output.
   `controller - whisk/controller:latest
   kafka - ches/kafka:0.10.0.1
   zookeeper - zookeeper:3.4
   registrator - gliderlabs/registrator
   consul - consul:0.7.0
   couchdb - couchdb:1.6
   `
   * There is no nginx and invoker. 
   
 
----------------------------------------------------------------
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