This is pretty unusual. This is a function inside the paramiko source code that does not (at least obviously does not) do anything like DNS lookups.
I'm at a bit of a loss, perhaps you can debug further? Fedora 20 has a new enough SSH so the default connection type is "ssh" not paramiko there, curious if you have the same with "-c paramiko" on that box (and using the same key?) On Fri, Mar 14, 2014 at 7:50 PM, Filip Slunecko <[email protected]>wrote: > Hi, > > I installed a fresh Ansible from git hub on CentOS 6.3 and run a simple > command takes over 40s with CPU 100% for Ansible. > > This is a line from cProfile(http://pastebin.com/mX4qXsiN). > > 11523 40.093 0.003 54.893 0.005 hostkeys.py:181(lookup) > > It seems to that Ansible is doing a lot of lookups. > The same version works on my box without an issue(Fedora 20). > > Command: > ansible/bin/ansible XXX -u root --private-key /root/.ssh/id_rsa -i > inventory/ -m shell -a echo test -vvv > > I ran Ansible on CentOS 6.3 boxes and I've never seen like this before. > > Thanks > > -- > 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/1f88ea77-ec8a-47ce-b97e-a9ac10c7fcc0%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/1f88ea77-ec8a-47ce-b97e-a9ac10c7fcc0%40googlegroups.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/CAEVJ8QPZJ8vgqqYtN8xGDcTdxFRmNWo2g%2BD0XK9XbNuf-fZewA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
