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/02/02 15:24:19 UTC

[GitHub] dottorsaimon commented on issue #2586: issue about deploy openwhisk with ansible

dottorsaimon commented on issue #2586: issue about deploy openwhisk with ansible 
URL: https://github.com/apache/incubator-openwhisk/issues/2586#issuecomment-362616341
 
 
   Same problem on Ubuntu 14.04, i tried a lot of times but i arrived alwais at the same error:
   
   Fatal: [172.17.0.1]: FAILED! => {"attempts": 22, "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:10001/ping"}
   
   My last try was this:
   
   apt-get install git -y
   cd /
   git clone https://github.com/apache/incubator-openwhisk.git openwhisk
   cd /openwhisk
   echo "deb http://cz.archive.ubuntu.com/ubuntu trusty main" >> /etc/apt/sources.list
   apt-get update
   (cd tools/ubuntu-setup && ./all.sh)
   apt-get install couchdb -y
   curl -X PUT localhost:5984/_config/admins/admin -d '"pass"'
   curl -X PUT localhost:5984/_config/query_server_config/reduce_limit -d '"false"' -u admin:pass
   printf "[db_creds]\ndb_provider=CouchDB\ndb_username=admin\ndb_password=pass\ndb_protocol=http\ndb_host=127.0.0.1\ndb_port=5984" > /openwhisk/ansible/db_local.ini
   sed -i 's/;bind_address = 127.0.0.1/bind_address = 0.0.0.0/g' /etc/couchdb/local.ini
   cd /openwhisk
   ./gradlew distDocker
   cd /openwhisk/ansible
   ansible-playbook -i environments/local setup.yml
   ansible-playbook -i environments/local couchdb.yml --tags ini
   ansible-playbook -i environments/local prereq.yml
   ansible-playbook -i environments/local initdb.yml
   ansible-playbook -i environments/local wipe.yml
   ansible-playbook -i environments/local apigateway.yml
   ansible-playbook -i environments/local openwhisk.yml
   ansible-playbook -i environments/local postdeploy.yml
   
   

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