accelerated mode error "python-keyczar must be installed"

271 views
Skip to first unread message

Marc Petrivelli

unread,
May 1, 2014, 12:20:33 PM5/1/14
to ansible...@googlegroups.com
I am trying to use accelerated mode for a play in my playbook and I get the following error: " python-keyczar must be installed on the control machine to use accelerated modes".  Python-keyczar is certainly installed:

[root@zz01-ansible platform_cm]# yum list installed | grep python-keyczar
This system is receiving updates from Red Hat Subscription Management.
python-keyczar.noarch              0.71c-1.el6             @epel  

Both the control and managed machine are running RHEL 6.5.  In addition I also verified -

python-pyasn1.noarch               0.0.12a-1.el6           @rhel-6-server-rpms  
python-crypto.x86_64               2.0.1-22.el6            @rhel-6-server-rpms  
python-crypto2.6.x86_64            2.6.1-1.el6             @epel 


My ansible version is

[root@zz01-ansible platform_cm]# ansible --version
ansible 1.6 (devel 6069ff6e9e) last updated 2014/04/30 16:28:40 (GMT -400)


Any ideas?

James Cammarata

unread,
May 1, 2014, 1:08:08 PM5/1/14
to ansible...@googlegroups.com
If you open a python shell and type the following, what do you get back? 

from Crypto.pct_warnings import PowmInsecureWarning
import keyczar.errors as key_errors
from keyczar.keys import AesKey

I did notice yesterday that - depending on how pycrypto and keyczar were installed, the first line there may fail, but I thought it might only be related to my system since I was trying to reproduce an error.


--
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-proje...@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/aa43a700-7ce0-4af5-84b0-95aeae09c2ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages