Jeremy, I've merged in a patch to address this ( https://github.com/ansible/ansible/commit/4cadcccc488fd12cb9d765cbcf5b2781072dc712), which essentially catches the warning and prints a nicely formatted warning to stderr. This error is also only printed once, so the verbose output from the original warning doesn't show up for every host in the list.
Let us know if you have any further questions about this. Thanks! On Tue, Apr 29, 2014 at 10:54 AM, Jeremy Schneider < [email protected]> wrote: > Should have search issues on github before posting to the list. Looks > like I'm hitting https://github.com/ansible/ansible/issues/6941 exactly. > > For posterity (anyone else who searches the list before looking on > github), it looks like commenting out a few lines > in > /usr/lib64/python2.6/site-packages/pycrypto-2.6.1-py2.6-linux-x86_64.egg/Crypto/Util/number.py > is the preferred workaround. > > FYI, Bruce's workaround (disabling atfork) didn't work for me anyway with > ansible 1.5.3. > > -Jeremy > > -- > http://about.me/jeremy_schneider > > > On Tue, Apr 29, 2014 at 10:25 AM, Jeremy Schneider < > [email protected]> wrote: > >> I recently upgraded a control server to ansible 1.5.x and started getting >> these messages. The server where we have to run ansible is RHEL 6.x but it >> seems that the newest version of gmp available from RH is still only 4.3. >> (I suspect that python is using libgmp dynamically rather than statically >> linking it...) >> >> The warning shows up on every single ansible run and spams us with email >> from some ansible jobs that launch from cron. I think I'm going to comment >> out the atfork block on our system just because this is so annoying - is >> there a better approach for RHEL6? Any way to suppress the warning or fix >> the issue without installing packages outside the standard repos? >> >> -Jeremy >> >> -- > 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 [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CA%2BfnDAadDJ%3D-H%2BeY5EKTmQwneDiXAkvYGL5W-dhY8%3DG35AEYUw%40mail.gmail.com<https://groups.google.com/d/msgid/ansible-project/CA%2BfnDAadDJ%3D-H%2BeY5EKTmQwneDiXAkvYGL5W-dhY8%3DG35AEYUw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAMFyvFiJ-1LMbKf0oCUquSww2mSZCvqUbdLUrW_hD5aXxbyc7g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
