install error? Monolith issue

33 views
Skip to first unread message

John Harper

unread,
Sep 10, 2017, 2:19:57 PM9/10/17
to CommCare Developers


I am stuck at this step in the ansible monolith install..........I want to get this working on my mobile machine as I an flying so much i loose a lot of time developing applications and would like to get a copy working.  I am giving this another try as I would think this would be the closest to a production model.

any body give me a hand getting past this one.....?  This is self contained and should not need SSL on the instance.......if I can bypass the validate cert portion that would be okay from my point just not sure where to declare this in the ansible set up...........



TASK [andrewrothstein.couchdb : install dep pkgs...] ***************************
changed: [192.168.33.21] => (item=[u'ca-certificates', u'erlang-nox', u'libicu52', u'libmozjs185-1.0', u'libnspr4', u'libnspr4-0d', u'gcc', u'g++', u'make', u'erlang-dev', u'erlang-reltool', u'libcurl4-openssl-dev', u'libicu-dev', u'libmozjs185-dev', u'libnspr4-dev'])

TASK [andrewrothstein.couchdb : download...] ***********************************
fatal: [192.168.33.21]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to validate the SSL certificate for www.apache.org:443. Make sure your managed systems have a valid CA certificate installed. If the website serving the url uses SNI you need python >= 2.7.9 on your managed machine or you can install the `urllib3`, `pyopenssl`, `ndg-httpsclient`, and `pyasn1` python modules to perform SNI verification in python >= 2.6. You can use validate_certs=False if you do not need to confirm the servers identity but this is unsafe and not recommended. Paths checked for this platform: /etc/ssl/certs, /etc/pki/ca-trust/extracted/pem, /etc/pki/tls/certs, /usr/share/ca-certificates/cacert.org, /etc/ansible"}
    to retry, use: --limit @/vagrant/ansible/deploy_stack.retry

PLAY RECAP *********************************************************************
192.168.33.21              : ok=125  changed=13   unreachable=0    failed=1  

(ansible) vagrant@control:~/commcarehq-ansible/ansible$

Cameron Grundy

unread,
Sep 15, 2017, 3:55:41 PM9/15/17
to CommCare Developers
Having a similar issue, have you made any progress? Unsure of what it means

Simon Kelly

unread,
Sep 29, 2017, 3:24:06 PM9/29/17
to CommCare Developers
If you upgrade python to > 2.79 then this will go through.

This page has a method of doing the upgrade: https://askubuntu.com/a/725173

Simon Kelly
Director of Server Engineer | Dimagi

--

---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages