Discussion:
[ansible-project] ssl issues with hipchat module?
Samnang Sen
2015-07-24 17:50:55 UTC
Permalink
So here's what I did. If I run it from source (source
ansible/hacking/env-setup) it seems to work. However, I created an RPM for
my RH5 boxes (don't ask) and installed it across our web servers. I dont
know if this means anything but I am getting the following message when
running "ansible --version"

ansible 1.9.2
configured module search path = None

Now when running my role, everything before it works (installing RPMs) but
the hipchat part is throwing an error.

failed: [127.0.0.1 -> 127.0.0.1] => {"failed": true, "parsed": false}
Traceback (most recent call last):
File
"/home/deployment/.ansible/tmp/ansible-tmp-1437759950.33-224089137808292/hipchat",
line 1918, in ?
PROTOCOL = ssl.PROTOCOL_TLSv1
NameError: name 'ssl' is not defined


FATAL: all hosts have already failed -- aborting
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+***@googlegroups.com.
To post to this group, send email to ansible-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/d941886f-c643-43bb-8741-88f51d4c53a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Toshio Kuratomi
2015-07-26 03:25:32 UTC
Permalink
Post by Samnang Sen
So here's what I did. If I run it from source (source
ansible/hacking/env-setup) it seems to work. However, I created an RPM for
my RH5 boxes (don't ask) and installed it across our web servers.

So this is an rpm of a source checkout? And you're running it on rhel5.
Did you also create a newer python package?
Post by Samnang Sen
I dont know if this means anything but I am getting the following message
when running "ansible --version"
Post by Samnang Sen
ansible 1.9.2
configured module search path = None
Now when running my role, everything before it works (installing RPMs)
but the hipchat part is throwing an error.
Post by Samnang Sen
failed: [127.0.0.1 -> 127.0.0.1] => {"failed": true, "parsed": false}
File
"/home/deployment/.ansible/tmp/ansible-tmp-1437759950.33-224089137808292/hipchat",
line 1918, in ?
Post by Samnang Sen
PROTOCOL = ssl.PROTOCOL_TLSv1
NameError: name 'ssl' is not defined
This should have been fixed (the throwing of a traceback) on Friday. Be
sure your checkout is the very latest. However, if the ssl module is
missing (for instance, when running on python2.4 which didn't have the ssl
module built-in to the stdlib) this may fail later with a message that the
server's certificates could not be verified. There is a python-ssl module
which might be available via epel to fix that problem, though.

-Toshio
Post by Samnang Sen
FATAL: all hosts have already failed -- aborting
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
Post by Samnang Sen
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/d941886f-c643-43bb-8741-88f51d4c53a4%40googlegroups.com
.
Post by Samnang Sen
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+***@googlegroups.com.
To post to this group, send email to ansible-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAG9juEok0imadCxDatOXLrH_j1e5RGYsbKyMiRQ%3DxauF4Lwuyw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...