Hello James, Just tested, and that works a treat :)
Thanks for looking out for all of us caught on old OS versions with no choice :( Cheers, --Mark On 30 Apr 2014, at 21:58, James Cammarata <[email protected]> wrote: > Mark, our main concern was not hiding a warning pertaining to a security > issue, even if there was no current fix available. In order to find some > middle ground, we've gone ahead and added a new configuration option: > system_warnings. In 1.6, just set "system_warnings = False" in your > ansible.cfg and it will suppress these warning messages. > > Thanks! > > > On Wed, Apr 30, 2014 at 1:16 PM, Mark Phillips <[email protected]> wrote: > The trouble is Michael it's not an easy resolution for many people. RHEL6 is > probably very widely used, so we're now getting into 'dependency hell' > territory. Upgrading libgmp just isn't practical. > > If the problem isn't that severe, and the error message can be suppressed, > I'd like to be able to suppress it altogether too. It'll just generate > questions that don't have an easy answer. > > > On Wednesday, 30 April 2014 04:40:36 UTC+1, Michael DeHaan wrote: > The current code does in fact say how to resolve the warning. > > > On Tue, Apr 29, 2014 at 3:42 PM, Jeremy Schneider > <[email protected]> wrote: > On Tue, Apr 29, 2014 at 2:32 PM, James Cammarata <[email protected]> wrote: > > 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. > > Nice - I knew I wasn't the only person bothered by this. One thought - as > long as there's a block in __init__ to specifically catch > PowmInsecureWarning, it would be nice if there were a way to just suppress > the output. I'd prefer not to redirect stderr from my cron jobs just in case > some other error message pops up. Ideally I could do something like "export > PowmInsecureWarning=ignore" to suppress only this message. > > -J > > -- > http://about.me/jeremy_schneider > > > 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. > > For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to a topic in the Google > Groups "Ansible Project" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/ansible-project/2G_BwedPLps/unsubscribe. > To unsubscribe from this group and all its topics, 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. > > > -- > 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%2BfnDAY9rPb_1EYYn1GB_sh46P41VKLMvFAa458FQ4T2rwwo5Q%40mail.gmail.com. > > 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/dca29b45-5da4-4626-a3bc-59c75bdd17ec%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to a topic in the Google > Groups "Ansible Project" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/ansible-project/2G_BwedPLps/unsubscribe. > To unsubscribe from this group and all its topics, 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/CAMFyvFh9jK%3DHRoqdd3HqJXypfExRAuC6JPfZWcafGyLz4CZxtw%40mail.gmail.com. > 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/C6A6CF72-2628-40B7-9867-F659BB0FC0EE%40probably.co.uk. For more options, visit https://groups.google.com/d/optout.
